Re: Maven compile - skiptests - error
Philip Aston <[email protected]> Mon, 13 Apr 2015 22:29:39 +0100
| Newsgroups | gmane.comp.java.grinder.devel |
|---|---|
| Message-ID | <[email protected]> |
Yeah - you want -DskipTests=true. -Dmaven.test.skip disable compilation of tests as well as execution, hence the issue. - Phil On 13/04/15 17:37, Darren Ball wrote: > This seems to solve the problem: > > mvn -e -Dverbose=true -Dskipit -DskipTests=true clean install > > On Mon, Apr 13, 2015 at 12:30 PM, Darren Ball <[email protected]> wrote: >> Hi All, >> >> As I am attempting to resolve a compatibility issue potentially, I >> decided to compile this project locally, but I am encountering the >> following error: >> >> I am using the following command to build: >> >> mvn -e -Dverbose=true -Dmaven.test.skip=true -Dskipit -DskipTests clean install >> >> The following (test dependency resolution) is encountered: >> >> [INFO] >> [INFO] ------------------------------------------------------------------------ >> [INFO] Building grinder-http 3.12-SNAPSHOT >> [INFO] ------------------------------------------------------------------------ >> [INFO] ------------------------------------------------------------------------ >> [INFO] Reactor Summary: >> [INFO] >> [INFO] grinder-parent .................................... SUCCESS [0.237s] >> [INFO] grinder-dcr-agent ................................. SUCCESS [0.662s] >> [INFO] grinder-translation ............................... SUCCESS [1.691s] >> [INFO] grinder-test-support .............................. SUCCESS [0.546s] >> [INFO] grinder-core ...................................... SUCCESS [2.403s] >> [INFO] grinder-httpclient ................................ SUCCESS [0.657s] >> [INFO] grinder-xmlbeans .................................. SUCCESS [2.601s] >> [INFO] grinder-http ...................................... FAILURE [0.021s] >> [INFO] grinder-console-service ........................... SKIPPED >> [INFO] grinder-swing-console ............................. SKIPPED >> [INFO] grinder ........................................... SKIPPED >> [INFO] ------------------------------------------------------------------------ >> [INFO] BUILD FAILURE >> [INFO] ------------------------------------------------------------------------ >> [INFO] Total time: 9.226s >> [INFO] Finished at: Mon Apr 13 12:29:19 EDT 2015 >> [INFO] Final Memory: 43M/383M >> [INFO] ------------------------------------------------------------------------ >> [ERROR] Failed to execute goal on project grinder-http: Could not >> resolve dependencies for project >> net.sf.grinder:grinder-http:jar:3.12-SNAPSHOT: Failure to find >> net.sf.grinder:grinder-core:jar:tests:3.12-SNAPSHOT in >> https://oss.sonatype.org/content/repositories/snapshots was cached in >> the local repository, resolution will not be reattempted until the >> update interval of sonatype-nexus-snapshots has elapsed or updates are >> forced -> [Help 1] >> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to >> execute goal on project grinder-http: Could not resolve dependencies >> for project net.sf.grinder:grinder-http:jar:3.12-SNAPSHOT: Failure to >> find net.sf.grinder:grinder-core:jar:tests:3.12-SNAPSHOT in >> https://oss.sonatype.org/content/repositories/snapshots was cached in >> the local repository, resolution will not be reattempted until the >> update interval of sonatype-nexus-snapshots has elapsed or updates are >> forced > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > Grinder-development mailing list > Grinder-development-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/grinder-development ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF