I'm going through the readme at http://svn.codehaus.org/m2eclipse/tycho/trunk/readme.txt

But have had a number of issues logged at http://jira.codehaus.org/browse/MNGECLIPSE-303 the first one is simple, org.codehaus.tycho is not in the standard plugin search space, easily solved. The second one trying to get org.drools.core.variables to "mvn clean install" has me stumped, here is a paste from the jira showing the problem:

I ran "mvn org.codehaus.tycho:maven-tycho-plugin:synchronize-plugin-pom -DtargetPlatform=c:\eclipse" and got the output:
C:\dev\workspace\org.eclipse.core.variables>mvn org.codehaus.tycho:maven-tycho-plugin:synchronize-plugin-pom -DtargetPlatform=c:\eclipse
[INFO] Scanning for projects...
[INFO] ----------------------------------------------------------------------------
[INFO] Building Unnamed - org.eclipse:org.eclipse.core.variables:osgi-bundle:1.0-SNAPSHOT
[INFO] task-segment: [org.codehaus.tycho:maven-tycho-plugin:synchronize-plugin-pom]
[INFO] ----------------------------------------------------------------------------
[INFO] [tycho:synchronize-plugin-pom]
[ERROR] Errors for bundle: org.eclipse.core.variables
[ERROR] Another singleton version selected: org.eclipse.core.variables_3.1.100.v20060605
[INFO] Dependent bundles:
<?xml version="1.0" encoding="UTF-8"?><project>
<modelVersion>4.0.0</modelVersion>
<groupId>org.eclipse</groupId>
<artifactId>org.eclipse.core.variables</artifactId>
<packaging>osgi-bundle</packaging>
<version>1.0-SNAPSHOT</version>
<build>
<sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
<groupId>org.codehaus.tycho</groupId>
<artifactId>maven-osgi-lifecycle-plugin</artifactId>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
</project>[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Sat Mar 17 22:51:21 GMT 2007
[INFO] Final Memory: 5M/10M
[INFO] ------------------------------------------------------------------------

The pom information is the same as in the readme.txt:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.eclipse</groupId>
<artifactId>org.eclipse.core.variables</artifactId>
<packaging>osgi-bundle</packaging>
<version>1.0-SNAPSHOT</version>
<build>
<sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
<groupId>org.codehaus.tycho</groupId>
<artifactId>maven-osgi-lifecycle-plugin</artifactId>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
</project>

Yet the docs say "This will print out a pom with dependencies for the project. Copy/paste the dependencies into the POM".

Assuming the pom.xml is correct "mvn clean install" isn't working:

C:\dev\workspace\org.eclipse.core.variables>mvn clean install
[INFO] Scanning for projects...
[INFO] ----------------------------------------------------------------------------
[INFO] Building Unnamed - org.eclipse:org.eclipse.core.variables:osgi-bundle:1.0-SNAPSHOT
[INFO] task-segment: [clean, install]
[INFO] ----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory C:\dev\workspace\org.eclipse.core.variables\target
[INFO] Deleting directory C:\dev\workspace\org.eclipse.core.variables\target\classes
[INFO] Deleting directory C:\dev\workspace\org.eclipse.core.variables\target\test-classes
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [osgi-compiler:compile]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Could not find system artifact!
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Sat Mar 17 22:53:24 GMT 2007
[INFO] Final Memory: 4M/8M
[INFO] ------------------------------------------------------------------------

Reply via email to