camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet" <gno...@gmail.com>
Subject Re: Error when building the actual trunk of camel
Date Tue, 19 Feb 2008 20:23:33 GMT
Is this a bug in maven or the pom that the resources:testResources
phase is executed even if the tests are not executed ?

On Feb 19, 2008 8:00 PM, lhe77 <lars.heinemann@compart.net> wrote:
>
> -Dmaven.test.skip.exec=true
>
>
>
> lhe wrote:
> >
> > Hi,
> >
> > when trying to do "mvn -Dmaven.test.skip=true install" the following error
> > occurs:
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Building Camel :: Atom
> > [INFO]    task-segment: [install]
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] [resources:resources]
> > [INFO] Using default encoding to copy filtered resources.
> > [INFO] [compiler:compile]
> > [INFO] Nothing to compile - all classes are up to date
> > [INFO] [resources:testResources]
> > [INFO] Using default encoding to copy filtered resources.
> > Downloading:
> > http://people.apache.org/repo/m2-incubating-repository/org/apache/camel/camel-core/1.3-SNAPSHOT/camel-core-1.3-SNAPSHOT-tests.jar
> > Downloading:
> > http://people.apache.org/repo/m2-snapshot-repository/org/apache/camel/camel-core/1.3-SNAPSHOT/camel-core-1.3-SNAPSHOT-tests.jar
> > Downloading:
> > http://repo.open.iona.com/maven2-all/org/apache/camel/camel-core/1.3-SNAPSHOT/camel-core-1.3-SNAPSHOT-tests.jar
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Failed to resolve artifact.
> >
> > Missing:
> > ----------
> > 1) org.apache.camel:camel-core:test-jar:tests:1.3-SNAPSHOT
> >
> >   Try downloading the file manually from the project website.
> >
> >   Then, install it using the command:
> >       mvn install:install-file -DgroupId=org.apache.camel
> > -DartifactId=camel-core -Dversion=1.3-SNAPSHOT -Dclassifier=tests
> > -Dpackaging=test-jar -Dfile=/path/to/file
> >
> >   Alternatively, if you host your own repository you can deploy the file
> > there:
> >       mvn deploy:deploy-file -DgroupId=org.apache.camel
> > -DartifactId=camel-core -Dversion=1.3-SNAPSHOT -Dclassifier=tests
> > -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> >
> >   Path to dependency:
> >         1) org.apache.camel:camel-atom:bundle:1.3-SNAPSHOT
> >         2) org.apache.camel:camel-core:test-jar:tests:1.3-SNAPSHOT
> >
> > ----------
> > 1 required artifact is missing.
> >
> > for artifact:
> >   org.apache.camel:camel-atom:bundle:1.3-SNAPSHOT
> >
> > from the specified remote repositories:
> >   central (http://repo1.maven.org/maven2),
> >   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
> >   open.iona.m2-all (http://repo.open.iona.com/maven2-all),
> >   apache.incubating.releases
> > (http://people.apache.org/repo/m2-incubating-repository)
> >
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 13 seconds
> > [INFO] Finished at: Tue Feb 19 08:39:35 CET 2008
> > [INFO] Final Memory: 23M/110M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > How can this be solved?
> >
> > Regards,
> > Lars
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Error-when-building-the-actual-trunk-of-camel-tp15560336s22882p15562401.html
>
> Sent from the Camel - Development mailing list archive at Nabble.com.
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Mime
View raw message