Re: Build error after updating to latest uimaj/pom.xml (rev. 807808)

2009-09-04 Thread Jörn Kottmann

Tommaso Teofili wrote:

no particular difficulty in my opinion: you only have to download the
archive from maven.apache.org and, eventually, change your system path to
new Maven location.
However, as Jason Van Zyl stated in the last JUG meeting here in Rome, Maven
is on its way towards 3.0 release and newer Maven versions begin to get some
features of the upcoming release (but personally I don't know which ones).
Tommaso
  
Yes, but it is still annoying since 2.0.9 is the default on many 
installed systems.


Jörn


Re: Build error after updating to latest uimaj/pom.xml (rev. 807808)

2009-09-04 Thread Jörn Kottmann

Marshall Schor wrote:

Jörn Kottmann wrote:
  

Marshall Schor wrote:


Tommaso Teofili wrote:
 
  

yes, there are many changes from 2.0.9, you could try with newest
2.2.1.
I have no problem with both 2.1.0 and 2.2.1 on MacOS X 10.5, but get
the
same error Jorn gets with maven 2.0.9.
Tommaso
  


Thanks Tommaso, for the investigation !

I'm on 2.2, and saw a bunch of messages that 2.1 is not a good level
(unless I'm confusing this with something else) - so I encourage
everyone to migrate to 2.2.x.
  
  

Sure I can update to 2.2.x, but I do not appreciate the change because
OS X 10.5 and Ubuntu 9.10 both are shipped with maven 2.0.9.
For me that sounds like many users will run into this issue.

What do we get anything that is worth depending on 2.2.x ?


Good question.  I think some dependencies have been creeping in...

Before going down the path of trying to find all of these, how hard is
it to get/use the 2.2.x maven on these systems?
  

For Ubuntu I downloaded maven 2.2.1 and placed it in
the home folder, then I updated the .profile to place it on
the path before the already installed maven.

The .profile now has this additional entry:
PATH=$HOME/maven/bin:$PATH

Jörn


Re: Build error after updating to latest uimaj/pom.xml (rev. 807808)

2009-09-03 Thread Jörn Kottmann

Marshall Schor wrote:

Tommaso Teofili wrote:
  

yes, there are many changes from 2.0.9, you could try with newest 2.2.1.
I have no problem with both 2.1.0 and 2.2.1 on MacOS X 10.5, but get the
same error Jorn gets with maven 2.0.9.
Tommaso
  


Thanks Tommaso, for the investigation !

I'm on 2.2, and saw a bunch of messages that 2.1 is not a good level
(unless I'm confusing this with something else) - so I encourage
everyone to migrate to 2.2.x.
  

Sure I can update to 2.2.x, but I do not appreciate the change because
OS X 10.5 and Ubuntu 9.10 both are shipped with maven 2.0.9.
For me that sounds like many users will run into this issue.

What do we get anything that is worth depending on 2.2.x ?

Jörn



Re: Build error after updating to latest uimaj/pom.xml (rev. 807808)

2009-09-03 Thread Marshall Schor


Jörn Kottmann wrote:
 Marshall Schor wrote:
 Tommaso Teofili wrote:
  
 yes, there are many changes from 2.0.9, you could try with newest
 2.2.1.
 I have no problem with both 2.1.0 and 2.2.1 on MacOS X 10.5, but get
 the
 same error Jorn gets with maven 2.0.9.
 Tommaso
   
 Thanks Tommaso, for the investigation !

 I'm on 2.2, and saw a bunch of messages that 2.1 is not a good level
 (unless I'm confusing this with something else) - so I encourage
 everyone to migrate to 2.2.x.
   
 Sure I can update to 2.2.x, but I do not appreciate the change because
 OS X 10.5 and Ubuntu 9.10 both are shipped with maven 2.0.9.
 For me that sounds like many users will run into this issue.

 What do we get anything that is worth depending on 2.2.x ?
Good question.  I think some dependencies have been creeping in...

Before going down the path of trying to find all of these, how hard is
it to get/use the 2.2.x maven on these systems?

-Marshall

 Jörn




Re: Build error after updating to latest uimaj/pom.xml (rev. 807808)

2009-09-03 Thread Tommaso Teofili
no particular difficulty in my opinion: you only have to download the
archive from maven.apache.org and, eventually, change your system path to
new Maven location.
However, as Jason Van Zyl stated in the last JUG meeting here in Rome, Maven
is on its way towards 3.0 release and newer Maven versions begin to get some
features of the upcoming release (but personally I don't know which ones).
Tommaso

2009/9/3 Marshall Schor m...@schor.com



 Jörn Kottmann wrote:
  Marshall Schor wrote:
  Tommaso Teofili wrote:
 
  yes, there are many changes from 2.0.9, you could try with newest
  2.2.1.
  I have no problem with both 2.1.0 and 2.2.1 on MacOS X 10.5, but get
  the
  same error Jorn gets with maven 2.0.9.
  Tommaso
 
  Thanks Tommaso, for the investigation !
 
  I'm on 2.2, and saw a bunch of messages that 2.1 is not a good level
  (unless I'm confusing this with something else) - so I encourage
  everyone to migrate to 2.2.x.
 
  Sure I can update to 2.2.x, but I do not appreciate the change because
  OS X 10.5 and Ubuntu 9.10 both are shipped with maven 2.0.9.
  For me that sounds like many users will run into this issue.
 
  What do we get anything that is worth depending on 2.2.x ?
 Good question.  I think some dependencies have been creeping in...

 Before going down the path of trying to find all of these, how hard is
 it to get/use the 2.2.x maven on these systems?

 -Marshall
 
  Jörn
 
 



Build error after updating to latest uimaj/pom.xml (rev. 807808)

2009-09-02 Thread Jörn Kottmann

After updating to the newest uimaj/pom.xml file the build fails,
with the following error message:

jo...@karkand:~/uima-dev3/uimaj$ mvn -e install
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Apache UIMA Java SDK
[INFO]   Apache UIMA Utility Classes For JUnit Tests
[INFO]   Apache UIMA Java Framework Core
[INFO]   Apache UIMA - Java Vinci Transport Library
[INFO]   Apache UIMA Java Vinci Adapter
[INFO]   Apache UIMA Java Collection Processing Engine
[INFO]   Apache UIMA Java Framework - Document Annotation
[INFO]   Apache UIMA Java SDK Tools
[INFO]   Apache UIMA Java SDK Examples
[INFO]   Apache UIMA Java SOAP Adapter
[INFO]   Apache UIMA Utility Classes For Component JUnit Tests
[INFO]   Apache UIMA Java SDK common Eclipse plugin settings
[INFO]   Apache UIMA Debug Eclipse Plugin
[INFO]   Apache UIMA JCasGen Eclipse Plugin
[INFO]   Apache UIMA Configurator Eclipse Plugin
[INFO]   Apache UIMA PEAR Packager Eclipse Plugin
[INFO]   Apache UIMA Cas Editor Eclipse Plugin
[INFO]   Apache UIMA Runtime Plugin
[INFO]   Apache UIMA - PearPackagingMavenPlugin
[INFO]   Apache UIMA internal Tools
[INFO] 


[INFO] Building Apache UIMA Java SDK
[INFO]task-segment: [install]
[INFO] 

[FATAL ERROR] 
org.codehaus.plexus.component.configurator.BasicComponentConfigurator#configureComponent(...) 
caused a linkage error (java.lang.NoSuchMethodError) and may be 
out-of-date. Check the realms:
[FATAL ERROR] Plugin realm = 
app0.child-container[org.apache.maven.plugins:maven-antrun-plugin]
urls[0] = 
file:/home/joern/.m2/repository/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1.3.jar
urls[1] = 
file:/home/joern/.m2/repository/ant-contrib/ant-contrib/1.0b3/ant-contrib-1.0b3.jar

urls[2] = file:/home/joern/.m2/repository/ant/ant/1.5/ant-1.5.jar
urls[3] = 
file:/home/joern/.m2/repository/org/apache/ant/ant/1.7.1/ant-1.7.1.jar
urls[4] = 
file:/home/joern/.m2/repository/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.jar
urls[5] = 
file:/home/joern/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.6/plexus-utils-1.5.6.jar

[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/usr/share/maven2/lib/wagon-ssh-common.jar
urls[1] = file:/usr/share/maven2/lib/jsch.jar
urls[2] = file:/usr/share/maven2/lib/wagon-http-shared.jar
urls[3] = file:/usr/share/maven2/lib/wagon-ssh.jar
urls[4] = file:/usr/share/maven2/lib/wagon-ssh-external.jar
urls[5] = file:/usr/share/maven2/lib/xml-apis.jar
urls[6] = file:/usr/share/maven2/lib/plexus-utils.jar
urls[7] = file:/usr/share/maven2/lib/plexus-container-default.jar
urls[8] = file:/usr/share/maven2/lib/wagon-provider-api.jar
urls[9] = file:/usr/share/maven2/lib/wagon-http-lightweight.jar
urls[10] = file:/usr/share/maven2/lib/jtidy.jar
urls[11] = file:/usr/share/maven2/lib/doxia-sink-api.jar
urls[12] = file:/usr/share/maven2/lib/wagon-file.jar
urls[13] = file:/usr/share/maven2/lib/plexus-interactivity-api.jar
urls[14] = file:/usr/share/maven2/lib/maven2.jar
urls[15] = file:/usr/share/maven2/lib/commons-cli.jar
[INFO] 


[ERROR] BUILD ERROR
[INFO] 

[INFO] Error configuring: org.apache.maven.plugins:maven-antrun-plugin. 
Reason: java.lang.NoSuchMethodError: 
org.apache.tools.ant.util.FileUtils.close(Ljava/io/InputStream;)V
[INFO] 


[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error 
configuring: org.apache.maven.plugins:maven-antrun-plugin. Reason: 
java.lang.NoSuchMethodError: 
org.apache.tools.ant.util.FileUtils.close(Ljava/io/InputStream;)V
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:587)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
   at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)

   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 

Re: Build error after updating to latest uimaj/pom.xml (rev. 807808)

2009-09-02 Thread Thilo Goetz
Have you tried deleting m2 repository?  I did an svn up
and build yesterday, and it worked for me.

--Thilo

Jörn Kottmann wrote:
 After updating to the newest uimaj/pom.xml file the build fails,
 with the following error message:
 
 jo...@karkand:~/uima-dev3/uimaj$ mvn -e install
 + Error stacktraces are turned on.
 [INFO] Scanning for projects...
 [INFO] Reactor build order:
 [INFO]   Apache UIMA Java SDK
 [INFO]   Apache UIMA Utility Classes For JUnit Tests
 [INFO]   Apache UIMA Java Framework Core
 [INFO]   Apache UIMA - Java Vinci Transport Library
 [INFO]   Apache UIMA Java Vinci Adapter
 [INFO]   Apache UIMA Java Collection Processing Engine
 [INFO]   Apache UIMA Java Framework - Document Annotation
 [INFO]   Apache UIMA Java SDK Tools
 [INFO]   Apache UIMA Java SDK Examples
 [INFO]   Apache UIMA Java SOAP Adapter
 [INFO]   Apache UIMA Utility Classes For Component JUnit Tests
 [INFO]   Apache UIMA Java SDK common Eclipse plugin settings
 [INFO]   Apache UIMA Debug Eclipse Plugin
 [INFO]   Apache UIMA JCasGen Eclipse Plugin
 [INFO]   Apache UIMA Configurator Eclipse Plugin
 [INFO]   Apache UIMA PEAR Packager Eclipse Plugin
 [INFO]   Apache UIMA Cas Editor Eclipse Plugin
 [INFO]   Apache UIMA Runtime Plugin
 [INFO]   Apache UIMA - PearPackagingMavenPlugin
 [INFO]   Apache UIMA internal Tools
 [INFO]
 
 [INFO] Building Apache UIMA Java SDK
 [INFO]task-segment: [install]
 [INFO]
 
 [FATAL ERROR]
 org.codehaus.plexus.component.configurator.BasicComponentConfigurator#configureComponent(...)
 caused a linkage error (java.lang.NoSuchMethodError) and may be
 out-of-date. Check the realms:
 [FATAL ERROR] Plugin realm =
 app0.child-container[org.apache.maven.plugins:maven-antrun-plugin]
 urls[0] =
 file:/home/joern/.m2/repository/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1.3.jar
 
 urls[1] =
 file:/home/joern/.m2/repository/ant-contrib/ant-contrib/1.0b3/ant-contrib-1.0b3.jar
 
 urls[2] = file:/home/joern/.m2/repository/ant/ant/1.5/ant-1.5.jar
 urls[3] =
 file:/home/joern/.m2/repository/org/apache/ant/ant/1.7.1/ant-1.7.1.jar
 urls[4] =
 file:/home/joern/.m2/repository/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.jar
 
 urls[5] =
 file:/home/joern/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.6/plexus-utils-1.5.6.jar
 
 [FATAL ERROR] Container realm = plexus.core
 urls[0] = file:/usr/share/maven2/lib/wagon-ssh-common.jar
 urls[1] = file:/usr/share/maven2/lib/jsch.jar
 urls[2] = file:/usr/share/maven2/lib/wagon-http-shared.jar
 urls[3] = file:/usr/share/maven2/lib/wagon-ssh.jar
 urls[4] = file:/usr/share/maven2/lib/wagon-ssh-external.jar
 urls[5] = file:/usr/share/maven2/lib/xml-apis.jar
 urls[6] = file:/usr/share/maven2/lib/plexus-utils.jar
 urls[7] = file:/usr/share/maven2/lib/plexus-container-default.jar
 urls[8] = file:/usr/share/maven2/lib/wagon-provider-api.jar
 urls[9] = file:/usr/share/maven2/lib/wagon-http-lightweight.jar
 urls[10] = file:/usr/share/maven2/lib/jtidy.jar
 urls[11] = file:/usr/share/maven2/lib/doxia-sink-api.jar
 urls[12] = file:/usr/share/maven2/lib/wagon-file.jar
 urls[13] = file:/usr/share/maven2/lib/plexus-interactivity-api.jar
 urls[14] = file:/usr/share/maven2/lib/maven2.jar
 urls[15] = file:/usr/share/maven2/lib/commons-cli.jar
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Error configuring: org.apache.maven.plugins:maven-antrun-plugin.
 Reason: java.lang.NoSuchMethodError:
 org.apache.tools.ant.util.FileUtils.close(Ljava/io/InputStream;)V
 [INFO]
 
 [INFO] Trace
 org.apache.maven.lifecycle.LifecycleExecutionException: Error
 configuring: org.apache.maven.plugins:maven-antrun-plugin. Reason:
 java.lang.NoSuchMethodError:
 org.apache.tools.ant.util.FileUtils.close(Ljava/io/InputStream;)V
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:587)
 
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
 
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
 
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
 
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
 
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
 
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
at 

Re: Build error after updating to latest uimaj/pom.xml (rev. 807808)

2009-09-02 Thread Jörn Kottmann

Thilo Goetz wrote:

Have you tried deleting m2 repository?  I did an svn up
and build yesterday, and it worked for me.
  

Yes that I tried on the day the apache servers where down, and then it took
a while until i could build my projects again, but it did not help.

Does anyone now more about this issue ?

Jörn



Re: Build error after updating to latest uimaj/pom.xml (rev. 807808)

2009-09-02 Thread Tommaso Teofili
Hi Jorn,
which Maven version are you using?
Cheers,
Tommaso

2009/9/2 Jörn Kottmann kottm...@gmail.com

 Thilo Goetz wrote:

 Have you tried deleting m2 repository?  I did an svn up
 and build yesterday, and it worked for me.


 Yes that I tried on the day the apache servers where down, and then it took
 a while until i could build my projects again, but it did not help.

 Does anyone now more about this issue ?

 Jörn




Re: Build error after updating to latest uimaj/pom.xml (rev. 807808)

2009-09-02 Thread Jörn Kottmann

Tommaso Teofili wrote:

Hi Jorn,
which Maven version are you using?
  

2.0.9 on Ubuntu linux

Jörn


Re: Build error after updating to latest uimaj/pom.xml (rev. 807808)

2009-09-02 Thread Thilo Goetz
Jörn Kottmann wrote:
 Tommaso Teofili wrote:
 Hi Jorn,
 which Maven version are you using?
   
 2.0.9 on Ubuntu linux
 
 Jörn

I'm using Apache Maven 2.1.0 (r755702; 2009-03-18 20:10:27+0100)
on windows.  I think maven is at 2.2.x now?

--Thilo


Re: Build error after updating to latest uimaj/pom.xml (rev. 807808)

2009-09-02 Thread Tommaso Teofili
yes, there are many changes from 2.0.9, you could try with newest 2.2.1.
I have no problem with both 2.1.0 and 2.2.1 on MacOS X 10.5, but get the
same error Jorn gets with maven 2.0.9.
Tommaso

2009/9/2 Thilo Goetz twgo...@gmx.de

 Jörn Kottmann wrote:
  Tommaso Teofili wrote:
  Hi Jorn,
  which Maven version are you using?
 
  2.0.9 on Ubuntu linux
 
  Jörn

 I'm using Apache Maven 2.1.0 (r755702; 2009-03-18 20:10:27+0100)
 on windows.  I think maven is at 2.2.x now?

 --Thilo



Re: Build error after updating to latest uimaj/pom.xml (rev. 807808)

2009-09-02 Thread Marshall Schor


Tommaso Teofili wrote:
 yes, there are many changes from 2.0.9, you could try with newest 2.2.1.
 I have no problem with both 2.1.0 and 2.2.1 on MacOS X 10.5, but get the
 same error Jorn gets with maven 2.0.9.
 Tommaso
   
Thanks Tommaso, for the investigation !

I'm on 2.2, and saw a bunch of messages that 2.1 is not a good level
(unless I'm confusing this with something else) - so I encourage
everyone to migrate to 2.2.x.

-Marshall
 2009/9/2 Thilo Goetz twgo...@gmx.de

   
 Jörn Kottmann wrote:
 
 Tommaso Teofili wrote:
   
 Hi Jorn,
 which Maven version are you using?

 
 2.0.9 on Ubuntu linux

 Jörn
   
 I'm using Apache Maven 2.1.0 (r755702; 2009-03-18 20:10:27+0100)
 on windows.  I think maven is at 2.2.x now?

 --Thilo