2009/2/23 Niclas Hedhman <[email protected]> > Gang, > We have a failure that I think has come up before. When building > 'release:perform', I get a strange Maven error; > > [INFO] [install:install] > [INFO] Installing > > /home/niclas/dev/ops4j/projects/qi4j/target/checkout/samples/dddsample/target/dddsample-1.2.war > to /home/niclas/.m2/repository/se/citerus/dddsample/1.2/dddsample-1.2.war > [INFO] Installing > > /home/niclas/dev/ops4j/projects/qi4j/target/checkout/samples/dddsample/target/dddsample-1.2-sources.jar > to > /home/niclas/.m2/repository/se/citerus/dddsample/1.2/dddsample-1.2-sources.jar > [INFO] Installing > > /home/niclas/dev/ops4j/projects/qi4j/target/checkout/samples/dddsample/target/dddsample-1.2-javadoc.jar > to > /home/niclas/.m2/repository/se/citerus/dddsample/1.2/dddsample-1.2-javadoc.jar > [INFO] Installing > > /home/niclas/dev/ops4j/projects/qi4j/target/checkout/samples/dddsample/target/dddsample-1.2-ws-client.jar > to > /home/niclas/.m2/repository/se/citerus/dddsample/1.2/dddsample-1.2-ws-client.jar > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to configure plugin parameters for: > org.apache.maven.plugins:maven-deploy-plugin:2.3 > > check that the following section of the pom.xml is present and correct: > > <distributionManagement> > <!-- use the following if you're not using a snapshot version. --> > <repository> > <id>repo</id> > <name>Repository Name</name> > <url>scp://host/path/to/repo</url> > </repository> > <!-- use the following if you ARE using a snapshot version. --> > <snapshotRepository> > <id>repo</id> > <name>Repository Name</name> > <url>scp://host/path/to/repo</url> > </snapshotRepository> > </distributionManagement> > > Cause: Class > 'org.apache.maven.artifact.repository.ArtifactRepository' cannot be > instantiated > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 43 minutes 22 seconds > [INFO] Finished at: Mon Feb 23 09:43:38 CET 2009 > [INFO] Final Memory: 85M/190M > [INFO] > ------------------------------------------------------------------------ > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Maven execution failed, exit code: '1' > > > > Does ANYONE have any clue whatsoever? >
the dddsample pom.xml doesn't define any parent so therefore it doesn't pick up the default distributionManagement from Qi4j Cheers > Niclas > -- > http://www.qi4j.org - New Energy for Java > > _______________________________________________ > qi4j-dev mailing list > [email protected] > http://lists.ops4j.org/mailman/listinfo/qi4j-dev > -- Cheers, Stuart
_______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

