On Oct 10, 2012, at 11:06 AM, Dmitriy Dligach <[email protected]> wrote: > I ran mvn install.
Yeah, definitely don't `mvn install`. > I didn't run mvn compile because it's not available > on the list of commands that get displayed when I right click on pom.xml > and select 'run as'. Of course I could run it manually. You shouldn't ever need to use any of the "Run As…" commands. Instead, if things don't compile, there's usually an error message that says something like: "Project configuration is not up-to-date with pom.xml. Run Maven->Update Project or use Quick Fix." You should then do what it says and run "Maven->Update Project". Steve > > Thanks again, > > Dima > > On 10/10/2012 12:05 PM, Steven Bethard wrote: >> On Oct 10, 2012, at 9:51 AM, Dmitriy Dligach >> <[email protected]> wrote: >>> ------------------------------------------------------------------------ >>> [INFO] BUILD FAILURE >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] Total time: 28.930s >>> [INFO] Finished at: Wed Oct 10 11:50:48 EDT 2012 >>> [INFO] Final Memory: 20M/202M >>> [INFO] >>> ------------------------------------------------------------------------ >>> [ERROR] Failed to execute goal >>> org.codehaus.mojo:exec-maven-plugin:1.2.1:java >>> (run-jcasgen-ctakes-smoking-status) on project ctakes-smoking-status: An >>> exception occured while executing the Java class. null: >>> InvocationTargetException: An import could not be resolved. No .xml >>> file with name "org.apache.ctakes.smokingstatus.types.I2B2TypeSystem" >>> was found in the class path or data path. (Descriptor: >>> file:/home/dima/workspaces/apache/ctakes/ctakes-smoking-status/target/classes/org/apache/ctakes/smokingstatus/types/TypeSystem.xml) >> I don't get that error with a clean checkout. Are there any local changes in >> your checkout? Are you running `mvn compile` or something else? >> >> Steve >> >> >
