`mvn clean` does not always do the trick...
This works much better:
find . -name target -type d | xargs rm -rf
--jason
On Feb 22, 2007, at 9:14 AM, Prasad Kashyap wrote:
Every automated build does a 'mvn clean' before doing a 'mvn install'.
It also removes the local repo completely every time.
The tests are included in the build only at 5 am. So this still is
a problem.
(BTW, I did remove the target and build again. Test classes are
failing to compile )
Cheers
Prasad
On 2/22/07, Lasantha Ranaweera <[EMAIL PROTECTED]> wrote:
Please remove geronimo-axis2/target folder and give a try.
Thanks,
Lasantha
[EMAIL PROTECTED] wrote:
> Building with Maven version: 2.0.5
> Revision: 510454 built with tests included
> See the full build-0500.log file at http://people.apache.org/
~prasad/binaries/20070222/build-0500.log
>
> [WARNING] Unable to get resource
'org.apache.geronimo.specs:geronimo-jms_1.1_spec:jar:1.0.1' from
repository apache-incubator (http://people.apache.org/repo/m2-
incubating-repository/)
> Downloading: http://repository.codehaus.org/org/apache/geronimo/
specs/geronimo-jms_1.1_spec/1.0.1/geronimo-jms_1.1_spec-1.0.1.jar
> [WARNING] Unable to get resource
'org.apache.geronimo.specs:geronimo-jms_1.1_spec:jar:1.0.1' from
repository codehaus (http://repository.codehaus.org)
> Downloading: http://ws.zones.apache.org/repository2//org/apache/
geronimo/specs/geronimo-jms_1.1_spec/1.0.1/geronimo-
jms_1.1_spec-1.0.1.jar
> [WARNING] Unable to get resource
'org.apache.geronimo.specs:geronimo-jms_1.1_spec:jar:1.0.1' from
repository apache-ws-snapshots2 (http://ws.zones.apache.org/
repository2/)
> Downloading: http://repo1.maven.org/maven2//org/apache/geronimo/
specs/geronimo-jms_1.1_spec/1.0.1/geronimo-jms_1.1_spec-1.0.1.jar
> 30K downloaded
> Downloading: http://tomcat.apache.org/dev/dist/m2-repository//
annogen/annogen/0.1.0/annogen-0.1.0.jar
> [WARNING] Unable to get resource 'annogen:annogen:jar:0.1.0'
from repository tomcat-m2-repo (http://tomcat.apache.org/dev/dist/
m2-repository/)
> Downloading: http://ws.zones.apache.org/repository2//annogen/
annogen/0.1.0/annogen-0.1.0.jar
> [WARNING] Unable to get resource 'annogen:annogen:jar:0.1.0'
from repository axis2-m2-repo (http://ws.zones.apache.org/
repository2/)
> Downloading: http://people.apache.org/repo/m2-incubating-
repository//annogen/annogen/0.1.0/annogen-0.1.0.jar
> [WARNING] Unable to get resource 'annogen:annogen:jar:0.1.0'
from repository apache-incubator (http://people.apache.org/repo/m2-
incubating-repository/)
> Downloading: http://repository.codehaus.org/annogen/annogen/
0.1.0/annogen-0.1.0.jar
> [WARNING] Unable to get resource 'annogen:annogen:jar:0.1.0'
from repository codehaus (http://repository.codehaus.org)
> Downloading: http://ws.zones.apache.org/repository2//annogen/
annogen/0.1.0/annogen-0.1.0.jar
> [WARNING] Unable to get resource 'annogen:annogen:jar:0.1.0'
from repository apache-ws-snapshots2 (http://ws.zones.apache.org/
repository2/)
> Downloading: http://repo1.maven.org/maven2//annogen/annogen/
0.1.0/annogen-0.1.0.jar
> 242K downloaded
> Downloading: http://tomcat.apache.org/dev/dist/m2-repository//
org/apache/ant/ant/1.7.0/ant-1.7.0.jar
> [WARNING] Unable to get resource 'org.apache.ant:ant:jar:1.7.0'
from repository tomcat-m2-repo (http://tomcat.apache.org/dev/dist/
m2-repository/)
> Downloading: http://ws.zones.apache.org/repository2//org/apache/
ant/ant/1.7.0/ant-1.7.0.jar
> [WARNING] Unable to get resource 'org.apache.ant:ant:jar:1.7.0'
from repository axis2-m2-repo (http://ws.zones.apache.org/
repository2/)
> Downloading: http://people.apache.org/repo/m2-incubating-
repository//org/apache/ant/ant/1.7.0/ant-1.7.0.jar
> [WARNING] Unable to get resource 'org.apache.ant:ant:jar:1.7.0'
from repository apache-incubator (http://people.apache.org/repo/m2-
incubating-repository/)
> Downloading: http://repository.codehaus.org/org/apache/ant/ant/
1.7.0/ant-1.7.0.jar
> [WARNING] Unable to get resource 'org.apache.ant:ant:jar:1.7.0'
from repository codehaus (http://repository.codehaus.org)
> Downloading: http://ws.zones.apache.org/repository2//org/apache/
ant/ant/1.7.0/ant-1.7.0.jar
> [WARNING] Unable to get resource 'org.apache.ant:ant:jar:1.7.0'
from repository apache-ws-snapshots2 (http://ws.zones.apache.org/
repository2/)
> Downloading: http://repo1.maven.org/maven2//org/apache/ant/ant/
1.7.0/ant-1.7.0.jar
> 1259K downloaded
> Downloading: http://people.apache.org/repo/m2-snapshot-
repository/org/apache/ws/commons/axiom/axiom-dom/SNAPSHOT/axiom-
dom-20070221.213536-9.jar
> 128K downloaded
> Downloading: http://people.apache.org/repo/m2-snapshot-
repository/org/apache/axis2/axis2-metadata/SNAPSHOT/axis2-
metadata-20070222.070128-16.jar
> 329K downloaded
> Downloading: http://tomcat.apache.org/dev/dist/m2-repository//
org/codehaus/woodstox/wstx-asl/3.2.0/wstx-asl-3.2.0.jar
> [WARNING] Unable to get resource 'org.codehaus.woodstox:wstx-
asl:jar:3.2.0' from repository tomcat-m2-repo (http://
tomcat.apache.org/dev/dist/m2-repository/)
> Downloading: http://ws.zones.apache.org/repository2//org/
codehaus/woodstox/wstx-asl/3.2.0/wstx-asl-3.2.0.jar
> [WARNING] Unable to get resource 'org.codehaus.woodstox:wstx-
asl:jar:3.2.0' from repository axis2-m2-repo (http://
ws.zones.apache.org/repository2/)
> Downloading: http://people.apache.org/repo/m2-incubating-
repository//org/codehaus/woodstox/wstx-asl/3.2.0/wstx-asl-3.2.0.jar
> [WARNING] Unable to get resource 'org.codehaus.woodstox:wstx-
asl:jar:3.2.0' from repository apache-incubator (http://
people.apache.org/repo/m2-incubating-repository/)
> Downloading: http://repository.codehaus.org/org/codehaus/
woodstox/wstx-asl/3.2.0/wstx-asl-3.2.0.jar
> 493K downloaded
> [WARNING] *** CHECKSUM FAILED - Error retrieving checksum file
for org/codehaus/woodstox/wstx-asl/3.2.0/wstx-asl-3.2.0.jar -
IGNORING
> Downloading: http://tomcat.apache.org/dev/dist/m2-repository//
org/apache/neethi/neethi/2.0/neethi-2.0.jar
> [WARNING] Unable to get resource 'org.apache.neethi:neethi:jar:
2.0' from repository tomcat-m2-repo (http://tomcat.apache.org/dev/
dist/m2-repository/)
> Downloading: http://ws.zones.apache.org/repository2//org/apache/
neethi/neethi/2.0/neethi-2.0.jar
> [WARNING] Unable to get resource 'org.apache.neethi:neethi:jar:
2.0' from repository axis2-m2-repo (http://ws.zones.apache.org/
repository2/)
> Downloading: http://people.apache.org/repo/m2-incubating-
repository//org/apache/neethi/neethi/2.0/neethi-2.0.jar
> [WARNING] Unable to get resource 'org.apache.neethi:neethi:jar:
2.0' from repository apache-incubator (http://people.apache.org/
repo/m2-incubating-repository/)
> Downloading: http://repository.codehaus.org/org/apache/neethi/
neethi/2.0/neethi-2.0.jar
> [WARNING] Unable to get resource 'org.apache.neethi:neethi:jar:
2.0' from repository codehaus (http://repository.codehaus.org)
> Downloading: http://ws.zones.apache.org/repository2//org/apache/
neethi/neethi/2.0/neethi-2.0.jar
> [WARNING] Unable to get resource 'org.apache.neethi:neethi:jar:
2.0' from repository apache-ws-snapshots2 (http://
ws.zones.apache.org/repository2/)
> Downloading: http://repo1.maven.org/maven2//org/apache/neethi/
neethi/2.0/neethi-2.0.jar
> 42K downloaded
> Downloading: http://tomcat.apache.org/dev/dist/m2-repository//
com/sun/xml/bind/jaxb-xjc/2.0.2/jaxb-xjc-2.0.2.jar
> [WARNING] Unable to get resource 'com.sun.xml.bind:jaxb-xjc:jar:
2.0.2' from repository tomcat-m2-repo (http://tomcat.apache.org/
dev/dist/m2-repository/)
> Downloading: http://ws.zones.apache.org/repository2//com/sun/xml/
bind/jaxb-xjc/2.0.2/jaxb-xjc-2.0.2.jar
> [WARNING] Unable to get resource 'com.sun.xml.bind:jaxb-xjc:jar:
2.0.2' from repository axis2-m2-repo (http://ws.zones.apache.org/
repository2/)
> Downloading: http://people.apache.org/repo/m2-incubating-
repository//com/sun/xml/bind/jaxb-xjc/2.0.2/jaxb-xjc-2.0.2.jar
> [WARNING] Unable to get resource 'com.sun.xml.bind:jaxb-xjc:jar:
2.0.2' from repository apache-incubator (http://people.apache.org/
repo/m2-incubating-repository/)
> Downloading: http://repository.codehaus.org/com/sun/xml/bind/
jaxb-xjc/2.0.2/jaxb-xjc-2.0.2.jar
> [WARNING] Unable to get resource 'com.sun.xml.bind:jaxb-xjc:jar:
2.0.2' from repository codehaus (http://repository.codehaus.org)
> Downloading: http://ws.zones.apache.org/repository2//com/sun/xml/
bind/jaxb-xjc/2.0.2/jaxb-xjc-2.0.2.jar
> [WARNING] Unable to get resource 'com.sun.xml.bind:jaxb-xjc:jar:
2.0.2' from repository apache-ws-snapshots2 (http://
ws.zones.apache.org/repository2/)
> Downloading: http://repo1.maven.org/maven2//com/sun/xml/bind/
jaxb-xjc/2.0.2/jaxb-xjc-2.0.2.jar
> 2917K downloaded
> [INFO] [compiler:compile]
> [INFO] Compiling 77 source files to /home/prasad/geronimo/trunk/
modules/geronimo-axis2/target/classes
> [INFO] [antrun:run {execution: generate-test-sources}]
> [INFO] Executing tasks
> [echo] Generating java from test_service_doc_lit.wsdl
> [mkdir] Created dir: /home/prasad/geronimo/trunk/modules/
geronimo-axis2/target/schema/src
> [INFO] Executed tasks
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Compiling 15 source files to /home/prasad/geronimo/trunk/
modules/geronimo-axis2/target/test-classes
> [INFO]
---------------------------------------------------------------------
---
> [ERROR] BUILD FAILURE
> [INFO]
---------------------------------------------------------------------
---
> [INFO] Compilation failure
>
> /home/prasad/geronimo/trunk/modules/geronimo-axis2/target/schema/
src/org/apache/hello_control/types/ObjectFactory.java:[29,7]
duplicate class: org.apache.hello_control.types.ObjectFactory
>
> /home/prasad/geronimo/trunk/modules/geronimo-axis2/src/test/java/
org/apache/hello_control/types/SayHelloResponse.java:[42,7]
duplicate class: org.apache.hello_control.types.SayHelloResponse
>
> /home/prasad/geronimo/trunk/modules/geronimo-axis2/src/test/java/
org/apache/hello_control/types/SayHello.java:[42,7] duplicate
class: org.apache.hello_control.types.SayHello
>
> /home/prasad/geronimo/trunk/modules/geronimo-axis2/target/schema/
src/org/apache/hello_control/types/package-info.java:[8,146]
package org.apache.hello_control.types has already been annotated
>
>
> [INFO]
---------------------------------------------------------------------
---
> [INFO] For more information, run Maven with the -e switch
> [INFO]
---------------------------------------------------------------------
---
> [INFO] Total time: 17 minutes 42 seconds
> [INFO] Finished at: Thu Feb 22 05:19:43 EST 2007
> [INFO] Final Memory: 69M/982M
> [INFO]
---------------------------------------------------------------------
---
>
>