From: Rutger V. <rut...@gm...> - 2009-12-16 09:54:12
|
To be honest, I never even worried about checking or unchecking the "resolve workspace artifacts" option, so if this solution works for you I'm not in the least disturbed. On Tue, Dec 15, 2009 at 7:18 PM, Vladimir Gapeyev <vla...@du...> wrote: > Ok, I managed to build treebase-web.war > This required *unchecking* the 'Resolve Workspace artifacts' option in a > Maven build configuration. > Unless this resolution disturbs anyone, I suggest to close the current > thread. I'll post further trouble under new titles. > Thanks for all the help so far! > --Vladimir > > > On Dec 15, 2009, at 12:40 PM, Vladimir Gapeyev wrote: > > On Dec 14, 2009, at 8:16 PM, youjun guo wrote: > > I checked the newest version of TreeBASE code, the mesquite is not among our > dependencies anymore, it was commented, and Maven package running well. > > Check out the newest version and run, you may want to keep mesquite > commented. > > I have started all over in a new Eclipse workspace, with a new Maven project > built from SVN. The new failure log is below. > I have also tried putting treebase-core on the Java Build Path for > treebase-web, with no change to the outcome. > The log suggests "For more information, run with the -e flag". Is this a > Maven flag? How can I specify it in Eclipse? > --Vladimir > > > [INFO] Scanning for projects... > [INFO] Reactor build order: > [INFO] Treebase > [INFO] treebase-core > [INFO] treebase-web > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Treebase > [INFO] > [INFO] Id: org.cipres.treebase:treebase:pom:1.0-SNAPSHOT > [INFO] task-segment: [package] > [INFO] > ------------------------------------------------------------------------ > [INFO] [site:attach-descriptor] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building treebase-core > [INFO] > [INFO] Id: org.cipres.treebase:treebase-core:jar:1.0-SNAPSHOT > [INFO] task-segment: [package] > [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. > [INFO] [compiler:testCompile] > [INFO] Not compiling test sources > [INFO] [surefire:test] > [INFO] Tests are skipped. > [INFO] [jar:jar] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building treebase-web > [INFO] > [INFO] Id: org.cipres.treebase:treebase-web:war:1.0-SNAPSHOT > [INFO] task-segment: [package] > [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. > [INFO] [compiler:testCompile] > [INFO] Not compiling test sources > [INFO] [surefire:test] > [INFO] Tests are skipped. > [INFO] [war:war] > [INFO] Packaging webapp > [INFO] Assembling webapp[treebase-web] in > [/Users/vgapeyev/Work/TreeBase/EclipseMaven2/maven.1260896355245/trunk/treebase-web/target/treebase-web] > [INFO] Processing war project > [INFO] > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > ------------------------------------------------------------------------ > [INFO] Treebase .............................................. SUCCESS > [0.830s] > [INFO] treebase-core ......................................... SUCCESS > [2.405s] > [INFO] treebase-web .......................................... FAILED > [2.600s] > [INFO] > ------------------------------------------------------------------------ > [ERROR] > The following mojo encountered an error while executing: > Group-Id: org.apache.maven.plugins > Artifact-Id: maven-war-plugin > Version: 2.1-alpha-1 > Mojo: war > brought in via: packaging: war > While building project: > Group-Id: org.cipres.treebase > Artifact-Id: treebase-web > Version: 1.0-SNAPSHOT > From file: > /Users/vgapeyev/Work/TreeBase/EclipseMaven2/maven.1260896355245/trunk/treebase-web/pom.xml > Reason: Failed to copy file for artifact[active project artifact: > artifact = org.cipres.treebase:treebase-core:jar:1.0-SNAPSHOT:compile; > project: MavenProject: org.cipres.treebase:treebase-core:1.0-SNAPSHOT @ > /Users/vgapeyev/Work/TreeBase/EclipseMaven2/maven.1260896355245/trunk/treebase-core/pom.xml] > > > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run with the -e flag > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILED > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 6 seconds > [INFO] Finished at: Tue Dec 15 12:26:47 EST 2009 > [INFO] Final Memory: 4M/27M > [INFO] > ------------------------------------------------------------------------ > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Treebase-devel mailing list > Tre...@li... > https://lists.sourceforge.net/lists/listinfo/treebase-devel > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Treebase-devel mailing list > Tre...@li... > https://lists.sourceforge.net/lists/listinfo/treebase-devel > > -- Dr. Rutger A. Vos School of Biological Sciences Philip Lyle Building, Level 4 University of Reading Reading RG6 6BX United Kingdom Tel: +44 (0) 118 378 7535 http://www.nexml.org http://rutgervos.blogspot.com |