From: youjun g. <you...@ya...> - 2009-12-14 19:33:56
|
Vladimir, The TreeBASE is a whole Maven project with two modules treebase-core and treebase-web, you need to run the "maven package" on project treebase instead of treebase-web. To build treebase-web, the treebase-core need to be built first that's all setup in the pom.xml, mesquite is one of the treebase-core's dependencies. Check your local .m2 directory see if there is a folder called mesquite. If not then you can mannualy install it as maven dependency, our maven dependency repository's url is: http://treebase.sourceforge.net/maven2/, your Maven pom.xml have already pointed here every dependency should be downloaded automaticly. remember if you use my solution to build the war file, your java sdk version cannot be newer then the server's sdk. Youjun On Mon, Dec 14, 2009 at 2:02 PM, Vladimir Gapeyev <vga...@ne...>wrote: > > On Dec 11, 2009, at 8:00 PM, youjun guo wrote: > > Alternative solution is run "maven package" on the project from your > eclipse to build the war file then copy the treebase-web.war to your tomcat > webapp directory, then restart the tomcat if you didn't set the autodeploy. > > > On the treebase-web project, I did Run As > m2 Maven Package. This > failed due to the missing mesquite dependency -- see the partial log below. > I see that the dependency on mesquite is commented out from > treebase-core/pom.xml -- any idea why's the build failure then? > > --Vladimir > > > > > Downloading: > http://snapshots.maven.codehaus.org/maven2/mesquite/mesquite/2.6+SNAPSHOT/mesquite-2.6+SNAPSHOT.jar > [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: 1 minute 11 seconds > [INFO] Finished at: Mon Dec 14 10:18:21 EST 2009 > [INFO] Final Memory: 2M/18M > [INFO] > ------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------------ > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > > _______________________________________________ > Treebase-devel mailing list > Tre...@li... > https://lists.sourceforge.net/lists/listinfo/treebase-devel > > |