Marshall Schor wrote:
Ian Holsman wrote:
Hi Again.

I'm still getting this error, and am stumped on how to resolve this.

any hints?

It's OS/X using the maven (2.0.6), and a clean install.

regards
Ian

On 05/04/2007, at 12:22 PM, Ian Holsman wrote:

Hi.

I've trying to build the SVN head of UIMA, following the instructions on the web page and have struck a problem.

any hints?

----8<-----

[INFO] Installing /src/java/uimaj/uimaj/pom.xml to /Users/iholsman/.m2/repository/org/apache/uima/uimaj/2.2-incubating-SNAPSHOT/uimaj-2.2-incubating-SNAPSHOT.pom [INFO] ----------------------------------------------------------------------------
[INFO] Building Apache UIMA Utility Classes For JUnit Tests
[INFO]    task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
[INFO] Executed tasks
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error assembling JAR

Embedded error: The attribute "Implementation-Title" may not occur more than once in the same section [INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error assembling JAR at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error assembling JAR at org.apache.maven.plugin.jar.AbstractJarMojo.createArchive(AbstractJarMojo.java:151) at org.apache.maven.plugin.jar.AbstractJarMojo.execute(AbstractJarMojo.java:163) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
        ... 16 more
Caused by: org.codehaus.plexus.archiver.jar.ManifestException: The attribute "Implementation-Title" may not occur more than once in the same section at org.codehaus.plexus.archiver.jar.Manifest$Section.addAttributeAndCheck(Manifest.java:699) at org.codehaus.plexus.archiver.jar.Manifest$Section.addConfiguredAttribute(Manifest.java:630) at org.codehaus.plexus.archiver.jar.Manifest.addConfiguredAttribute(Manifest.java:972) at org.apache.maven.archiver.MavenArchiver.createArchive(MavenArchiver.java:292) at org.apache.maven.plugin.jar.AbstractJarMojo.createArchive(AbstractJarMojo.java:144)
        ... 19 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Thu Apr 05 12:20:25 EST 2007
[INFO] Final Memory: 7M/13M
[INFO] ------------------------------------------------------------------------


--
Ian Holsman
[EMAIL PROTECTED]
http://VC-chat.com It's what the VC's talk about



--
Ian Holsman
[EMAIL PROTECTED]
http://med-chatter.com/ it's about the medicine





Ian - I'm not a Maven maven, but here's some things to try:

1) If you have access to a Linux or Windows machine, try doing this on that machine. We don't normally have access
to Macs so the testing is more spotty there.

2) try scanning the uimaj project's "pom.xml" file to see if it has somehow been corrupted on your system. When I scan it, it shows only one instance of "Implementation-Title".

3) This may be a Maven issue. There are some recent hits of others on google, if you put this error message into the search engine. One says to get more info by running Maven with the -e flag. You might try that and see what happens.

If it runs on Windows but not on the Mac, I'd suggest posting a message to the Maven mailing list to see if anyone else is having this problem.

Good Luck :-) and keep us posted with what you find.  -Marshall


One other thing: typing mvn -help gives you the options. The -X option turns on 'debugging' info - which may give some insight if all else fails. -Marshall

Reply via email to