Did you run: mvn eclipse:clean pax:eclipse
By default, pax:eclipse will not over write existing .project and .classpath files. Doug On Tue, 2009-02-10 at 16:38 +0100, Charles Moulliard (JIRA) wrote: > No eclipse .project/.classpath is created when the command mvn pax:eclipse is > executed > -------------------------------------------------------------------------------------- > > Key: PAXCONSTRUCT-101 > URL: http://issues.ops4j.org/browse/PAXCONSTRUCT-101 > Project: Pax Construct > Issue Type: Bug > Reporter: Charles Moulliard > Assignee: Stuart McCulloch > > > Hi, > > No eclipse .project/.classpath are created when the following command is > executed. By the way, PAX claim that the build is successul !! > > Remark : I have downloaded from svn the last snapshot and build it. > > D:\Dvlpt\Java\workspace-ganymede\osgi\reportincident.service.osgi>mvn > pax:eclipse mvn clean install pax:eclipse -DdownloadSources > [INFO] Scanning for projects... > [INFO] Reactor build order: > [INFO] org.apache.camel.example.reportincident.service.osgi (OSGi project) > [INFO] reportincident.service.osgi - plugin configuration > [INFO] reportincident.service.osgi - wrapper instructions > [INFO] reportincident.service.osgi - bundle instructions > [INFO] reportincident.service.osgi - imported bundles > [INFO] Searching repository for plugin with prefix: 'pax'. > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Invalid task 'mvn': you must specify a valid lifecycle phase, or a > goal in the format plugin:goal or pluginGroupI > d:pluginArtifactId:pluginVersion:goal > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: < 1 second > [INFO] Finished at: Tue Feb 10 16:32:52 CET 2009 > [INFO] Final Memory: 3M/5M > [INFO] > ------------------------------------------------------------------------ > > D:\Dvlpt\Java\workspace-ganymede\osgi\reportincident.service.osgi>mvn clean > install pax:eclipse -DdownloadSources > [INFO] Scanning for projects... > [INFO] Reactor build order: > [INFO] org.apache.camel.example.reportincident.service.osgi (OSGi project) > [INFO] reportincident.service.osgi - plugin configuration > [INFO] reportincident.service.osgi - wrapper instructions > [INFO] reportincident.service.osgi - bundle instructions > [INFO] reportincident.service.osgi - imported bundles > [INFO] Searching repository for plugin with prefix: 'pax'. > [INFO] > ------------------------------------------------------------------------ > [INFO] Building org.apache.camel.example.reportincident.service.osgi (OSGi > project) > [INFO] task-segment: [clean, install, pax:eclipse] > [INFO] > ------------------------------------------------------------------------ > [INFO] [clean:clean] > [INFO] [site:attach-descriptor] > [INFO] [install:install] > [INFO] Installing > D:\Dvlpt\Java\workspace-ganymede\osgi\reportincident.service.osgi\pom.xml to > c:\.m2\repository\org\apa > che\camel\example\reportincident.service.osgi\1.0-SNAPSHOT\reportincident.service.osgi-1.0-SNAPSHOT.pom > [INFO] [pax:eclipse] > [INFO] Not running eclipse plugin goal for pom project > [INFO] Using as WTP server : null > [INFO] Adding default classpath contaigner: > org.eclipse.jdt.launching.JRE_CONTAINER > [INFO] > ------------------------------------------------------------------------ > [INFO] Building reportincident.service.osgi - plugin configuration > [INFO] task-segment: [clean, install, pax:eclipse] > [INFO] > ------------------------------------------------------------------------ > [INFO] [clean:clean] > [INFO] [site:attach-descriptor] > [INFO] [install:install] > [INFO] Installing > D:\Dvlpt\Java\workspace-ganymede\osgi\reportincident.service.osgi\poms\pom.xml > to c:\.m2\repository\or > g\apache\camel\example\reportincident\service\osgi\build\shared-plugin-settings\1.0-SNAPSHOT\shared-plugin-settings-1.0- > SNAPSHOT.pom > [INFO] [pax:eclipse] > [INFO] Not running eclipse plugin goal for pom project > [INFO] Using as WTP server : null > [INFO] Adding default classpath contaigner: > org.eclipse.jdt.launching.JRE_CONTAINER > [INFO] > ------------------------------------------------------------------------ > [INFO] Building reportincident.service.osgi - wrapper instructions > [INFO] task-segment: [clean, install, pax:eclipse] > [INFO] > ------------------------------------------------------------------------ > [INFO] [clean:clean] > [INFO] [site:attach-descriptor] > [INFO] [install:install] > [INFO] Installing > D:\Dvlpt\Java\workspace-ganymede\osgi\reportincident.service.osgi\poms\wrappers\pom.xml > to c:\.m2\repo > sitory\org\apache\camel\example\reportincident\service\osgi\build\wrapper-bundle-settings\1.0-SNAPSHOT\wrapper-bundle-se > ttings-1.0-SNAPSHOT.pom > [INFO] [pax:eclipse] > [INFO] Not running eclipse plugin goal for pom project > [INFO] Using as WTP server : null > [INFO] Adding default classpath contaigner: > org.eclipse.jdt.launching.JRE_CONTAINER > [INFO] > ------------------------------------------------------------------------ > [INFO] Building reportincident.service.osgi - bundle instructions > [INFO] task-segment: [clean, install, pax:eclipse] > [INFO] > ------------------------------------------------------------------------ > [INFO] [clean:clean] > [INFO] [site:attach-descriptor] > [INFO] [install:install] > [INFO] Installing > D:\Dvlpt\Java\workspace-ganymede\osgi\reportincident.service.osgi\poms\compiled\pom.xml > to c:\.m2\repo > sitory\org\apache\camel\example\reportincident\service\osgi\build\compiled-bundle-settings\1.0-SNAPSHOT\compiled-bundle- > settings-1.0-SNAPSHOT.pom > [INFO] [pax:eclipse] > [INFO] Not running eclipse plugin goal for pom project > [INFO] Using as WTP server : null > [INFO] Adding default classpath contaigner: > org.eclipse.jdt.launching.JRE_CONTAINER > [INFO] > ------------------------------------------------------------------------ > [INFO] Building reportincident.service.osgi - imported bundles > [INFO] task-segment: [clean, install, pax:eclipse] > [INFO] > ------------------------------------------------------------------------ > [INFO] [clean:clean] > [INFO] [site:attach-descriptor] > [INFO] [install:install] > [INFO] Installing > D:\Dvlpt\Java\workspace-ganymede\osgi\reportincident.service.osgi\provision\pom.xml > to c:\.m2\reposito > ry\org\apache\camel\example\reportincident\service\osgi\build\provision\1.0-SNAPSHOT\provision-1.0-SNAPSHOT.pom > [INFO] [pax:eclipse] > [INFO] Not running eclipse plugin goal for pom project > [INFO] Using as WTP server : null > [INFO] Adding default classpath contaigner: > org.eclipse.jdt.launching.JRE_CONTAINER > [INFO] > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > ------------------------------------------------------------------------ > [INFO] org.apache.camel.example.reportincident.service.osgi (OSGi project) > SUCCESS [10.937s] > [INFO] reportincident.service.osgi - plugin configuration .... SUCCESS > [0.079s] > [INFO] reportincident.service.osgi - wrapper instructions .... SUCCESS > [0.203s] > [INFO] reportincident.service.osgi - bundle instructions ..... SUCCESS > [0.047s] > [INFO] reportincident.service.osgi - imported bundles ........ SUCCESS > [0.046s] > [INFO] > ------------------------------------------------------------------------ > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD SUCCESSFUL > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 12 seconds > [INFO] Finished at: Tue Feb 10 16:33:12 CET 2009 > [INFO] Final Memory: 15M/28M > [INFO] > ------------------------------------------------------------------------ > > D:\Dvlpt\Java\workspace-ganymede\osgi\reportincident.service.osgi> > _______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general
