4 Replies Latest reply: Aug 18, 2010 5:53 PM by Michael Schuetz RSS

Can't do clean build due to Maven repo assumption

Michael Schuetz Novice

Hi to all,

 

i updated latest arquillian trunk and wanted to perform a "mvn clean install". It stopped at

 

Caused by: java.lang.IllegalArgumentException: File must exist: C:\Users\m.schuetz\.m2\repository\org\jboss\weld\servlet\weld-servlet\1.0.1-Final\weld-servlet-1.0.1-Final.jar

 

org.jboss.arquillian.container.jetty.embedded_6_1.JettyEmbeddedInContainerTestCase  Time  elapsed: 0.001 sec  <<<  ERROR!

 

org.jboss.arquillian.impl.event.FiredEventException: java.lang.IllegalStateException: No  org.jboss.shrinkwrap.api.Archive found in  context

 

 

Unfortunately, my local repo is not in path "C:\Users\m.schuetz\.m2\repository".

 

Andrew Rubinger helped to find that error in IRC. Thanks.

 

Here is, where the hack/assumption is:

http://anonsvn.jboss.org/repos/common/arquillian/trunk/containers/jetty-embedded-6.1/src/test/java/org/jboss/arquillian/container/jetty/embedded_6_1/MavenArtifactResolver.java

 

@Dan: Don't get my wrong - i do like your code - it simply not works for me

 

 

Regards

Michael