From: youjun g. <you...@ya...> - 2009-12-15 01:16:14
|
Vladimir, 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. Youjun On Mon, Dec 14, 2009 at 6:12 PM, Vladimir Gapeyev <vga...@ne...>wrote: > > On Dec 14, 2009, at 5:13 PM, youjun guo wrote: > > The TreeBASE test suite may have some problem. You can skip the test for > now by check the "skip test" boxes. > > > I think I did this by: > > On treebase project, Run As > 6 Maven Build ... > in Main tab specify: > Goals: package > Skip tests - checkmark > > This fails: mesquite is missing as a "transitive dependency" for > treebase-web (see log below). > My only guess for solving this was putting treebase-core project on Java > Build Path for treebase-web. It did not help. > Recall that I do have mesquite in ~/.m2 > > --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] > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > ------------------------------------------------------------------------ > [INFO] Treebase .............................................. SUCCESS > [0.973s] > [INFO] treebase-core ......................................... SUCCESS > [2.885s] > [INFO] treebase-web .......................................... FAILED > [0.651s] > [INFO] > ------------------------------------------------------------------------ > [ERROR] > > Transitive dependency resolution for scope: compile has failed for your > project. > > > > Error message: Missing: > ---------- > 1) mesquite:mesquite:jar:2.6+SNAPSHOT > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=mesquite -DartifactId=mesquite > -Dversion=2.6+SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=mesquite -DartifactId=mesquite > -Dversion=2.6+SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] > -DrepositoryId=[id] > > Path to dependency: > 1) org.cipres.treebase:treebase-web:war:1.0-SNAPSHOT > 2) org.nexml.model:nexml:jar:1.5-SNAPSHOT > 3) mesquite:mesquite:jar:2.6+SNAPSHOT > > ---------- > 1 required artifact is missing. > > for artifact: > org.cipres.treebase:treebase-web:war:1.0-SNAPSHOT > > from the specified remote repositories: > Maven Snapshots (http://snapshots.maven.codehaus.org/maven2), > m2.remote.repos (http://treebase.sourceforge.net/maven2/), > central (http://repo1.maven.org/maven2), > m2.nexml.repos (http://nexml-dev.nescent.org/.m2/repository/), > repository.jboss.org (http://repository.jboss.org/maven2), > maven2 (http://repo1.maven.org/maven2) > > Group-Id: org.cipres.treebase > Artifact-Id: treebase-web > Version: 1.0-SNAPSHOT > From file: > /Users/vgapeyev/Work/TreeBase/EclipseMaven/treebase/treebase-web/pom.xml > > > > > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run with the -e flag > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILED > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 4 seconds > [INFO] Finished at: Mon Dec 14 17:59:49 EST 2009 > [INFO] Final Memory: 3M/25M > [INFO] > ------------------------------------------------------------------------ > > |