[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[tycho-user] tycho-p2-extras-plugin (for tycho 0.12.0)
|
I have some problems using the tycho-p2-extras-plugin with tycho
0.12.0. I have tried to find a solution from this page:
http://dev.eclipse.org/mhonarc/lists/tycho-user/msg00163.html
So far it seems that tycho 0.12.0-SNAPSHOT should contain the
tycho-p2-extras-plugin but that the groupId is the old:
org.sonatype.tycho. I have tried to build this pom file:
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>tycho-extras-tests</groupId>
<artifactId>publishedRepository</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<tycho-groupId>org.sonatype.tycho</tycho-groupId>
<tycho-version>0.12.0-SNAPSHOT</tycho-version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.tycho</groupId>
<artifactId>tycho-p2-extras-plugin</artifactId>
<version>0.12.0-SNAPSHOT</version>
<!-- <version>${tycho-version}</version> -->
<executions>
<execution>
<phase>prepare-package</phase>
<goals>
<goal>publish-features-and-bundles</goal>
</goals>
</execution>
</executions>
<configuration>
<compress>false</compress>
<!-- additional arguments example <additionalArgs>-configs
win32.win32.x86</additionalArgs> -->
</configuration>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-bundles-for-publishing</id>
<phase>process-resources</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-bundle</artifactId>
<version>2.3.1</version>
</artifactItem>
</artifactItems>
<outputDirectory>${project.basedir}/target/source/plugins</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>org.sonatype.tycho</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>archive-repository</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
but I keep getting:
[ERROR] Plugin org.sonatype.tycho:tycho-p2-extras-plugin:0.12.0-SNAPSHOT
or one of its dependencies could not be resolved: Failed to read
artifact descriptor for org
ycho-p2-extras-plugin:jar:0.12.0-SNAPSHOT: Could not find artifact
org.sonatype.tycho:tycho-p2-extras-plugin:pom:0.12.0-SNAPSHOT in nexus
(http://repository:8081/nex
/public) -> [Help 1]
I assume that I have not updated to the correct 0.12.0-SNAPSHOT
repository. What is the latest location of this repo? I used to have:
<pluginRepositories>
<pluginRepository>
<id>tycho-extras</id>
<url>http://repository.sonatype.org/content/groups/forge/</url>
</pluginRepository>
</pluginRepositories>
but this no longer seems to have the SNAPSHOT's. Any ideas?