maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: Maven broke my build next day - out of the blue remote dependencies?
Date Fri, 29 Feb 2008 15:16:09 GMT
did you follow these instructions?
maven-2.0.6 installed?
JAVA_HOME points to valid JDK(the instructions allude to JRE but JRE should
be JRE_HOME)
locate tools.jar and install tools file
mvn
install:install-file -DgroupId=com.sun -DartifactId=tools -Dversion=1.5.0 -D
packaging=jar -Dfile=tools.jar
check out the project on: http://svn.codehaus.org/trails/tags/trails-1.1
mvn clean
mvn clean install -e > log.txt (so you can look at the errors better later
on)
mvn eclipse:eclipse

specific instructions located at
http://www.classnotfoundexception.info/category/java/eclipse/

Be mindful that network errors can interfere in the process and you may have
to accomodate
s working solution by using a 'localRepository'..

FWIW
M--
----- Original Message -----
From: "nhhockeyplayer" <nhhockeyplayer@hotmail.com>
To: <users@maven.apache.org>
Sent: Friday, February 29, 2008 9:53 AM
Subject: Maven broke my build next day - out of the blue remote
dependencies?


>
> Folks,
>
> Am I thinking right that you can wake up the next day and your build will
> fail because of some repo somwhere instrumented it's dependencies somehow?
> If thats the case then why isn't the rest of the world failing on their
> builds with same dependencies I have.
>
> My build was fine yesterday clean checkout on separate desktop machine. I
> made no checkouts since and built it fine yesterday.
>
> My laptop build was failing this morning due to this maven2 dependency
> instrumentation.
>
> So i decided to goto my clean desktop machine and attempt the build... and
> it fails now.
>
> mvn clean install
>
> ???
>
> Is something going on? Why am I being taken out?
>
> C:\Prototype\Mavenized\Product\trails\trunk\trails>mvn clean install
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   Trails
> [INFO]   Trails Modules
> [INFO]   Trails Core
> [INFO]   Trails Test
> [INFO]   Trails Hibernate
> [INFO]   Trails Security
> [INFO]   Trails Examples
> [INFO]   Trails Example - Ajax List
> [INFO]   Trails Example - Simple
> [INFO]   Trails Example - Recipe
> [INFO]   Trails Example - Classic Hibernate Roster Demo
> [INFO]   Trails Example - Security
> [INFO]   Trails Example - Compass Library
> [INFO]   Trails Archetypes
> [INFO]   Archetype - trails-archetype
> [INFO]   Archetype - trails-secure-archetype
> WAGON_VERSION: 1.0-beta-2
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Trails
> [INFO]    task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory
> C:\Prototype\Mavenized\Product\trails\trunk\trails\target
> [INFO] Deleting directory
> C:\Prototype\Mavenized\Product\trails\trunk\trails\target\classes
> [INFO] Deleting directory
> C:\Prototype\Mavenized\Product\trails\trunk\trails\target\test-class
> es
> [INFO] Deleting directory
> C:\Prototype\Mavenized\Product\trails\trunk\trails\target\site
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing
C:\Prototype\Mavenized\Product\trails\trunk\trails\pom.xml
> to C:\Tomcat-5.5.
>
17\webapps\m2.repository\org\trailsframework\trails\1.2-SNAPSHOT\trails-1.2-
SNAPSHOT.pom
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Trails Modules
> [INFO]    task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory
> C:\Prototype\Mavenized\Product\trails\trunk\trails\modules\target
> [INFO] Deleting directory
> C:\Prototype\Mavenized\Product\trails\trunk\trails\modules\target\cl
> asses
> [INFO] Deleting directory
> C:\Prototype\Mavenized\Product\trails\trunk\trails\modules\target\te
> st-classes
> [INFO] Deleting directory
> C:\Prototype\Mavenized\Product\trails\trunk\trails\modules\target\si
> te
> [INFO] [cobertura:clean {execution: default}]
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing
> C:\Prototype\Mavenized\Product\trails\trunk\trails\modules\pom.xml to
C:\Tom
>
cat-5.5.17\webapps\m2.repository\org\trailsframework\modules\1.2-SNAPSHOT\mo
dules-1.2-SNAPSHOT
> .pom
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Trails Core
> [INFO]    task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] artifact org.codehaus.mojo:aspectj-maven-plugin: checking for
updates
> from tacos.stable
>
> [INFO] artifact org.codehaus.mojo:aspectj-maven-plugin: checking for
updates
> from codehaus
> [INFO] [clean:clean]
> [INFO] Deleting directory
> C:\Prototype\Mavenized\Product\trails\trunk\trails\modules\trails-co
> re\target
> [INFO] Deleting directory
> C:\Prototype\Mavenized\Product\trails\trunk\trails\modules\trails-co
> re\target\classes
> [INFO] Deleting directory
> C:\Prototype\Mavenized\Product\trails\trunk\trails\modules\trails-co
> re\target\test-classes
> [INFO] Deleting directory
> C:\Prototype\Mavenized\Product\trails\trunk\trails\modules\trails-co
> re\target\site
> [INFO] [cobertura:clean {execution: default}]
> [INFO] [aspectj:compile {execution: default}]
> [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] [aspectj:test-compile {execution: default}]
> [WARNING] advice defined in org.trails.i18n.DescriptorInternationalization
> has not been applie
> d [Xlint:adviceDidNotMatch]
> [WARNING] advice defined in org.trails.i18n.DescriptorInternationalization
> has not been applie
> d [Xlint:adviceDidNotMatch]
> [WARNING] advice defined in org.trails.i18n.DescriptorInternationalization
> has not been applie
> d [Xlint:adviceDidNotMatch]
> [WARNING] advice defined in org.trails.i18n.DescriptorInternationalization
> has not been applie
> d [Xlint:adviceDidNotMatch]
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [surefire:test]
> [INFO] Surefire report directory:
> C:\Prototype\Mavenized\Product\trails\trunk\trails\modules\t
> rails-core\target\surefire-reports
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.trails.component.IdentifierTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.094 sec
> Running org.trails.validation.TrailsValidationDelegateTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.406 sec
> Running org.trails.component.EnumSelectionModelTest
> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 sec
> Running org.trails.component.UtilsTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.296 sec
> Running org.trails.descriptor.CollectionDescriptorTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.11 sec
> Running org.trails.component.EditPropertiesTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.422 sec
> Running org.trails.engine.encoders.PagesEncoderTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.093 sec
> Running org.trails.component.IdentifierSelectionModelTest
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec
> Running org.trails.descriptor.PropertyDescriptorTest
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec
> Running org.trails.page.EditPageTest
> Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.5 sec
> Running org.trails.io.CallbackStackAdaptorTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
> Running org.trails.io.EntitySquezerTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> Running org.trails.component.AssociationSelectTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.156 sec
> Running org.trails.descriptor.annotation.CollectionDecoratorTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
> Running org.trails.descriptor.ObjectReferenceDescriptorTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> Running org.trails.descriptor.annotation.AnnotationDecoratorTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.156 sec
> Running org.trails.component.TrailsTableColumnTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.109 sec
> Running org.trails.component.PropertyEditorTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 sec
> Running org.trails.validation.ValidatorTranslatorServiceTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
> Running org.trails.callback.CallbackStackTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> Running org.trails.component.InvokeMethodTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.093 sec
> Running org.trails.i18n.DescriptorInternationalizationTest
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 sec
> Running org.trails.component.EnumSelectTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec
> Running org.trails.io.ClassAdaptorTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> Running org.trails.io.ClassDescriptorSqueezerStrategyTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> Running org.trails.descriptor.EmbeddedDescriptorTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
> Running org.trails.record.SqueezerDataEncoderTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> Running org.trails.page.PageResolverTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.187 sec
> Running org.trails.descriptor.annotation.PropertyDescriptorDecoratorTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec
> Running org.trails.io.PropertyDescriptorSqueezerStrategyTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
> Running org.trails.descriptor.TrailsBlockFinderTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.188 sec
> Running org.trails.component.ObjectActionsTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.062 sec
> Running org.trails.descriptor.TrailsClassDescriptorTest
> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
> Running org.trails.engine.state.RequestScopeManagerTest
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 sec
> Running org.trails.component.ObjectTableTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.422 sec
> Running org.trails.component.ObjectEditComponentTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec
> Running org.trails.component.EditCollectionTest
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.204 sec
> Running org.trails.test.TestTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
> Running org.trails.descriptor.TrailsDescriptorServiceTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.11 sec
> Running org.trails.descriptor.annotation.ClassDescriptorDecoratorTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 sec
>
> Results :
>
> Tests run: 114, Failures: 0, Errors: 0, Skipped: 0
>
> [INFO] [jar:jar]
> [INFO] Building jar:
> C:\Prototype\Mavenized\Product\trails\trunk\trails\modules\trails-core\ta
> rget\trails-core-1.2-SNAPSHOT.jar
> [INFO] [install:install]
> [INFO] Installing
>
C:\Prototype\Mavenized\Product\trails\trunk\trails\modules\trails-core\targe
> t\trails-core-1.2-SNAPSHOT.jar to
> C:\Tomcat-5.5.17\webapps\m2.repository\org\trailsframework\t
> rails-core\1.2-SNAPSHOT\trails-core-1.2-SNAPSHOT.jar
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Trails Test
> [INFO]    task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory
> C:\Prototype\Mavenized\Product\trails\trunk\trails\modules\trails-te
> st\target
> [INFO] Deleting directory
> C:\Prototype\Mavenized\Product\trails\trunk\trails\modules\trails-te
> st\target\classes
> [INFO] Deleting directory
> C:\Prototype\Mavenized\Product\trails\trunk\trails\modules\trails-te
> st\target\test-classes
> [INFO] Deleting directory
> C:\Prototype\Mavenized\Product\trails\trunk\trails\modules\trails-te
> st\target\site
> [INFO] [cobertura:clean {execution: default}]
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 9 source files to
> C:\Prototype\Mavenized\Product\trails\trunk\trails\modules\
> trails-test\target\classes
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] No sources to compile
> [INFO] [surefire:test]
> [INFO] No tests to run.
> [INFO] [jar:jar]
> [INFO] Building jar:
> C:\Prototype\Mavenized\Product\trails\trunk\trails\modules\trails-test\ta
> rget\trails-test-1.2-SNAPSHOT.jar
> [INFO] [install:install]
> [INFO] Installing
>
C:\Prototype\Mavenized\Product\trails\trunk\trails\modules\trails-test\targe
> t\trails-test-1.2-SNAPSHOT.jar to
> C:\Tomcat-5.5.17\webapps\m2.repository\org\trailsframework\t
> rails-test\1.2-SNAPSHOT\trails-test-1.2-SNAPSHOT.jar
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Trails Hibernate
> [INFO]    task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory
> C:\Prototype\Mavenized\Product\trails\trunk\trails\modules\trails-hi
> bernate\target
> [INFO] Deleting directory
> C:\Prototype\Mavenized\Product\trails\trunk\trails\modules\trails-hi
> bernate\target\classes
> [INFO] Deleting directory
> C:\Prototype\Mavenized\Product\trails\trunk\trails\modules\trails-hi
> bernate\target\test-classes
> [INFO] Deleting directory
> C:\Prototype\Mavenized\Product\trails\trunk\trails\modules\trails-hi
> bernate\target\site
> [INFO] [cobertura:clean {execution: default}]
> [INFO] snapshot com.javaforge.tapestry:tapestry-javaforge:1.0.0-SNAPSHOT:
> checking for updates
>  from trails.codehaus.org
> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
> '23cac165d6dd0077171c545f
> 8ca626a1af560037'; remote = 'Null' - RETRYING
> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
> '23cac165d6dd0077171c545f
> 8ca626a1af560037'; remote = 'Null' - IGNORING
> [INFO] snapshot com.javaforge.tapestry:tapestry-javaforge:1.0.0-SNAPSHOT:
> checking for updates
>  from apache.snapshots
> [INFO] snapshot com.javaforge.tapestry:tapestry-javaforge:1.0.0-SNAPSHOT:
> checking for updates
>  from howardlewisship.com
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: com.javaforge.tapestry:tapestry-spring:jar:1.0.0
>
> Reason: Cannot find parent: com.javaforge.tapestry:tapestry-javaforge for
> project: com.javafor
> ge.tapestry:tapestry-spring:jar:1.0.0 for project
> com.javaforge.tapestry:tapestry-spring:jar:1
> .0.0
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2 minutes 9 seconds
> [INFO] Finished at: Fri Feb 29 09:35:15 EST 2008
> [INFO] Final Memory: 16M/49M
> [INFO]
> ------------------------------------------------------------------------
>
>
> -----
> Best regards
> Ken in nashua
> --
> View this message in context:
http://www.nabble.com/Maven-broke-my-build-next-day---out-of-the-blue-remote
-dependencies--tp15760163s177p15760163.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message