Hi,
(Cedric: Updated to new TestNG version..Thanks for that hint)...
But i'm currently in the situation where my tests still failing...with the
following message:
Failed tests:
commandWorkspaceCreateTest(com.oneandone.devel.modules.pws.cli.PustefixWorkspaceCLIWorkspaceIT):
org.codehaus.plexus.component.repository.exception.ComponentLookupException:
com.google.inject.ProvisionException: Guice provision errors:
1) Error injecting:
org.apache.maven.repository.legacy.LegacyRepositorySystem
at ClassRealm[plexus.core, parent: null]
at ClassRealm[plexus.core, parent: null]
while locating org.apache.maven.repository.RepositorySystem
1 error
role: org.apache.maven.repository.RepositorySystem
roleHint:
The cause seemed to be laying inside the following code part:
public ArtifactRepository getLocalRepository() throws
ComponentLookupException {
try {
String localRepositoryPath = getLocalRepositoryPath();
if ( localRepositoryPath != null ) {
return getPlexusContainer().lookup( RepositorySystem.class
).createLocalRepository( new File( localRepositoryPath ) );
}
return getPlexusContainer().lookup( RepositorySystem.class
).createLocalRepository( RepositorySystem.defaultUserLocalRepository );
} catch ( InvalidRepositoryException e ) {
// never happened
throw new IllegalStateException( e );
}
}
And the real cause is the following line:
return getPlexusContainer().lookup( RepositorySystem.class
).createLocalRepository( new File( localRepositoryPath ) );
Does anybody has an idea or a hint about that?
Kind regards
Karl Heinz Marbaise
-----
Kind regards
Karl Heinz Marbaise
----
http://www.soebes.de
http://www.skmwiki.de
http://supose.org/wiki/supose
--
View this message in context:
http://maven.40175.n5.nabble.com/Integrate-Maven-Plugin-Code-Mojo-s-into-Application-tp3397120p3694803.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]