Hi Ashish, the uimaj-test-util jar is built and deployed to you local maven repository during mvn install. So if that goes through successfully, you should have it and mvn eclipse:eclipse should succeed.
Check your local maven repository for the uima artifacts it contains. --Thilo ashish mahale wrote: > Thanks Thilo for the prompt reply... :) > > I have already done that. The source build was successful from the command > line using the "mvn install" command. But the issue starts when I try to > build using eclipse. Actually the issue starts after the "mvn > eclipse:eclipse" command. I am stuck up on how to solve the dependency issue. > > Thanks > Ashish > > > > Thilo Goetz <[EMAIL PROTECTED]> wrote: You need to build the source first > with "mvn install", > then do "mvn eclipse:eclipse". Don't ask me why, I don't > understand the build either, but I recently went through > the same experience ;-) > > --Thilo > > ashish mahale wrote: >> Hello Friends.... >> >> I am a novice to UIMA.... >> I am building UIMA from the source code. As per the instructions listed on >> the Apache-UIMA website I installed maven, did the initial source build from >> the command line. Upto this point everything went fine.... >> >> The next thing I did was building UIMA from eclipse; for that I installed >> subclipse plugin for eclipse and set up the svn repository path to point to >> the trunk of uima projects. The projects were imported successfully in my >> workspace.Now I want to build them as Java projects. For that I changed to >> the uimaj project directory and executed the mvn eclipse:eclipse command. At >> this point I get a build error message. The exact message is as given below. >> >> >> ************************************************************************************************************************** >> >> [INFO] Building Apache UIMA Java Framework Core >> [INFO] task-segment: [eclipse:eclipse] >> [INFO] >> ------------------------------------------------------------------------- >> --- >> [INFO] Preparing eclipse:eclipse >> [INFO] snapshot org.apache.uima:uimaj-test-util:2.3.0-SNAPSHOT: checking for >> upd >> ates from eclipsePlugins >> Downloading: >> http://repo1.maven.org/eclipse/org/apache/uima/uimaj-test-util/2.3. >> 0-SNAPSHOT/uimaj-test-util-2.3.0-SNAPSHOT.jar >> >> >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] BUILD ERROR >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Failed to resolve artifact. >> >> Missing: >> ---------- >> 1) org.apache.uima:uimaj-test-util:jar:2.3.0-SNAPSHOT >> >> Try downloading the file manually from the project website. >> >> Then, install it using the command: >> mvn install:install-file -DgroupId=org.apache.uima-DartifactId=uimaj-test >> -util \ >> -Dversion=2.3.0-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=org.apache.uima-DartifactId=uimaj-test-uti >> l \ >> -Dversion=2.3.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file \ >> -Durl=[url] -DrepositoryId=[id] >> >> Path to dependency: >> 1) org.apache.uima:uimaj-core:jar:2.3.0-SNAPSHOT >> 2) org.apache.uima:uimaj-test-util:jar:2.3.0-SNAPSHOT >> >> ---------- >> 1 required artifact is missing. >> >> for artifact: >> org.apache.uima:uimaj-core:jar:2.3.0-SNAPSHOT >> >>> >from the specified remote repositories: >> central (http://repo1.maven.org/maven2), >> eclipsePlugins (http://repo1.maven.org/eclipse) >> >> >> ********************************************************************************************************** >> >> I tried to get the file from >> >> http://repo1.maven.org/eclipse/org/apache/uima/uimaj-test-util/2.3. >> 0-SNAPSHOT/uimaj-test-util-2.3.0-SNAPSHOT.jar >> >> but the path is invalid.... can u tell me where to lookout for these missing >> dependencies or were I am going wrong.... >> >> Thanks in advance.... >> Regards, >> >> Ashish >> > >
