Hi Pei,

Still getting some errors (but different ones):

Description    Resource    Path    Location    Type
Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:build-helper-maven-plugin:1.7:add-source (execution: add-jcasgen-sources-ctakes-assertion, phase: process-resources) pom.xml /ctakes-assertion line 6 Maven Project Build Lifecycle Mapping Problem Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:build-helper-maven-plugin:1.7:add-source (execution: add-jcasgen-sources-ctakes-constituency-parser, phase: process-resources) pom.xml /ctakes-constituency-parser line 6 Maven Project Build Lifecycle Mapping Problem Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:build-helper-maven-plugin:1.7:add-source (execution: add-jcasgen-sources-ctakes-coreference, phase: process-resources) pom.xml /ctakes-coreference line 6 Maven Project Build Lifecycle Mapping Problem Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:build-helper-maven-plugin:1.7:add-source (execution: add-jcasgen-sources-ctakes-drug-ner, phase: process-resources) pom.xml /ctakes-drug-ner line 6 Maven Project Build Lifecycle Mapping Problem Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:build-helper-maven-plugin:1.7:add-source (execution: add-jcasgen-sources-ctakes-pad-term-spotter, phase: process-resources) pom.xml /ctakes-pad-term-spotter line 6 Maven Project Build Lifecycle Mapping Problem Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:build-helper-maven-plugin:1.7:add-source (execution: add-jcasgen-sources-ctakes-side-effect, phase: process-resources) pom.xml /ctakes-side-effect line 6 Maven Project Build Lifecycle Mapping Problem Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:build-helper-maven-plugin:1.7:add-source (execution: add-jcasgen-sources-ctakes-smoking-status, phase: process-resources) pom.xml /ctakes-smoking-status line 6 Maven Project Build Lifecycle Mapping Problem Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:build-helper-maven-plugin:1.7:add-source (execution: add-jcasgen-sources-ctakes-type-system, phase: process-resources) pom.xml /ctakes-type-system line 7 Maven Project Build Lifecycle Mapping Problem Project 'ctakes-preprocessor' is missing required source folder: 'test' ctakes-preprocessor Build path Build Path Problem The project cannot be built until build path errors are resolved ctakes-assertion Unknown Java Problem The project cannot be built until build path errors are resolved ctakes-constituency-parser Unknown Java Problem The project cannot be built until build path errors are resolved ctakes-coreference Unknown Java Problem The project cannot be built until build path errors are resolved ctakes-drug-ner Unknown Java Problem The project cannot be built until build path errors are resolved ctakes-pad-term-spotter Unknown Java Problem The project cannot be built until build path errors are resolved ctakes-preprocessor Unknown Java Problem The project cannot be built until build path errors are resolved ctakes-side-effect Unknown Java Problem The project cannot be built until build path errors are resolved ctakes-smoking-status Unknown Java Problem The project cannot be built until build path errors are resolved ctakes-type-system Unknown Java Problem The project was not built since it depends on ctakes-type-system, which has build path errors ctakes-chunker Unknown Java Problem The project was not built since it depends on ctakes-type-system, which has build path errors ctakes-clinical-pipeline Unknown Java Problem The project was not built since it depends on ctakes-type-system, which has build path errors ctakes-context-tokenizer Unknown Java Problem The project was not built since it depends on ctakes-type-system, which has build path errors ctakes-core Unknown Java Problem The project was not built since it depends on ctakes-type-system, which has build path errors ctakes-dependency-parser Unknown Java Problem The project was not built since it depends on ctakes-type-system, which has build path errors ctakes-dictionary-lookup Unknown Java Problem The project was not built since it depends on ctakes-type-system, which has build path errors ctakes-lvg Unknown Java Problem The project was not built since it depends on ctakes-type-system, which has build path errors ctakes-ne-contexts Unknown Java Problem The project was not built since it depends on ctakes-type-system, which has build path errors ctakes-pos-tagger Unknown Java Problem The project was not built since it depends on ctakes-type-system, which has build path errors ctakes-relation-extractor Unknown Java Problem The project was not built since it depends on ctakes-type-system, which has build path errors ctakes-utils Unknown Java Problem XML format error in '.classpath' file of project 'ctakes-assertion': Bad format ctakes-assertion Build path Build Path Problem XML format error in '.classpath' file of project 'ctakes-constituency-parser': Bad format ctakes-constituency-parser Build path Build Path Problem XML format error in '.classpath' file of project 'ctakes-coreference': Bad format ctakes-coreference Build path Build Path Problem XML format error in '.classpath' file of project 'ctakes-drug-ner': Bad format ctakes-drug-ner Build path Build Path Problem XML format error in '.classpath' file of project 'ctakes-pad-term-spotter': Bad format ctakes-pad-term-spotter Build path Build Path Problem XML format error in '.classpath' file of project 'ctakes-side-effect': Bad format ctakes-side-effect Build path Build Path Problem XML format error in '.classpath' file of project 'ctakes-smoking-status': Bad format ctakes-smoking-status Build path Build Path Problem XML format error in '.classpath' file of project 'ctakes-type-system': Bad format ctakes-type-system Build path Build Path Problem



On 10/10/2012 04:52 PM, Chen, Pei wrote:
Hi Dima,
I thinks something weird happens when a type system  tries to import from it's 
own project with ubuntu.
There are 2 projects (sideeffect and padtermspotter) that has a type system 
which imports other type system files from it's own project which seemed to 
cause issues with Ubuntu not picking them up even though I can confirm the 
files are physically there).  I didn't get a chance to debug deeply as there's 
a fairly easy workaround (I just merged them).
I made the temp workaround in trunk.  Verified it works in CI now 
https://builds.apache.org/job/cTAKES-trunk/6/console.
Would you mind updating to see if you still get the same error?

--Pei

-----Original Message-----
From: Steven Bethard [mailto:[email protected]]
Sent: Wednesday, October 10, 2012 3:19 PM
To: [email protected]
Subject: Re: build problem

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/targe
t/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



Reply via email to