Try running

mvn eclipse:eclipse -DdownloadSources=true

You may be unlucky and maven will try and retrieve the 2.8-SNAPSHOT version 
which is not in the repo. If this happens, add the following to the plugins 
sectin of your pom

<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-eclipse-plugin</artifactId>
        <version>2.7</version>
      </plugin>  

You don't need the -DdownloadSources=tru, but its very useful for debugging.

Try this and shout if you've trouble.

ste
________________________________________
From: [email protected] [[email protected]] On 
Behalf Of David Donohue [[email protected]]
Sent: Wednesday, September 30, 2009 8:10 PM
To: [email protected]
Subject: Re: error building Pax Wicket

Alin,
I am still trying to "Running on Eclipse Equinox with Eclipse" here
http://www.ops4j.org/projects/pax/wicket/getting-started/installation.html

I looked at my Pax directories after installation and I do not see any
Eclipse .project files.  I tried importing from the root folder but
Eclipse recognizes no projects.  So I installed again.  This time I
ran:
mvn install
and I get an error (output below).
How can I overcome this error and get Eclipse .project files to be built?

Thanks again,
Dave Donnohue

org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher]
: Releasing bundle [org.o
ps4j.pax.exam.junit.extender]
org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher]
: Releasing bundle [osgi.
compendium]
org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher]
: Releasing bundle [org.o
ps4j.pax.exam]
org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher]
: Releasing bundle [syste
m.bundle]

[             DefaultJavaRunner] - Platform has been shutdown.
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 35.321
sec <<< FAILURE!

Results :

Tests in error:
  
testPrivateLibrariesByUpdatingConfigurationByInvokingDirectly(org.ops4j.pax.wicket.it.classResolver.ClassRes
olverByPidTest)

Tests run: 2, Failures: 0, Errors: 1, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to
C:\dave_work\pax\wicket\integrationTest\classResolverTest\target\surefire-reports
for the indi
vidual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 minutes 23 seconds
[INFO] Finished at: Wed Sep 30 22:30:21 EDT 2009
[INFO] Final Memory: 30M/54M

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to