You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shale.apache.org by Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de> on 2007/02/02 14:33:13 UTC
maven build problem of latest svn trunk
Results :
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0
Found PropertyDescriptor java.beans.PropertyDescriptor@3185c13c
[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
Any hints for me whats wrong?
kind regards
Torsten
SV: maven build problem of latest svn trunk
Posted by Hermod Opstvedt <he...@opstvedt.com>.
Hi
The M2 2.05 was released today. Download it and retry to see if that not
fixes your problem (I'm in progress of downloading it now)
Hermod
-----Opprinnelig melding-----
Fra: Rahul Akolkar [mailto:rahul.akolkar@gmail.com]
Sendt: 15. februar 2007 17:24
Til: user@shale.apache.org
Emne: Re: maven build problem of latest svn trunk
On 2/15/07, Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de> wrote:
> I have still no success - i got the plugin version 2.0 and 2.1, if i
> delete the 2.0 ones, they get downloaded again.
> The error stays the same.
>
> Any other hints?
>
<snip/>
Not from me, like many things m2, it is just supposed to work.
If its mission critical to build today, try removing
<Implementation-Title> from the jar/war plugin <configuration>s of
your working copy of the parent pom [1], but thats no fix. *shrug*
-Rahul
[1] http://svn.apache.org/repos/asf/shale/framework/trunk/pom.xml
> Torsten
>
> Am Freitag, den 02.02.2007, 20:21 +0100 schrieb Torsten Krah:
> > Got:
> >
> > [DEBUG]
> > org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.0:runtime
> > (selected for runtime)
> >
> > mvn -up install does not help, same error like before, any other hints?
> >
> > A bigger trace output:
> >
> > [INFO] Using default encoding to copy filtered resources.
> > [WARNING]
> > Artifact javax.servlet:servlet-api:jar:2.5:provided retains
> > local scope 'provided' overriding broader scope 'compile'
> > given by a dependency. If this is not intended, modify or remove
> > the local scope.
> >
> > [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] Surefire report
> > directory:
/home/tkrah/Development/src/shale-parent/shale-test/target/surefire-reports
> >
> > -------------------------------------------------------
> > T E S T S
> > -------------------------------------------------------
> > Running org.apache.shale.test.mock.MockObjectsTestCase
> > Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.264
> > sec
> > Running org.apache.shale.test.config.ConfigParserTestCase
> > log4j:WARN No appenders could be found for logger
> > (org.apache.commons.digester.Digester.sax).
> > log4j:WARN Please initialize the log4j system properly.
> > Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.507
> > sec
> > Running org.apache.shale.test.mock.ValueBindingTest
> > descriptor(class=org.apache.shale.test.mock.data.Bean, name=name
> > Found BeanInfo java.beans.GenericBeanInfo@b8c8e6
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015
> > sec
> > Running org.apache.shale.test.el.MockExpressionFactoryTestCase
> > Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.217
> > sec
> > Running org.apache.shale.test.mock.TestMockBean
> > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005
> > sec
> >
> > Results :
> > Tests run: 18, Failures: 0, Errors: 0, Skipped: 0
> >
> > Found PropertyDescriptor java.beans.PropertyDescriptor@3185c13c
> > [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] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 6 seconds
> > [INFO] Finished at: Fri Feb 02 20:19:54 CET 2007
> > [INFO] Final Memory: 8M/14M
> > [INFO]
> > ------------------------------------------------------------------------
> >
<snap/>
Re: maven build problem of latest svn trunk
Posted by Rahul Akolkar <ra...@gmail.com>.
On 2/15/07, Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de> wrote:
> I have still no success - i got the plugin version 2.0 and 2.1, if i
> delete the 2.0 ones, they get downloaded again.
> The error stays the same.
>
> Any other hints?
>
<snip/>
Not from me, like many things m2, it is just supposed to work.
If its mission critical to build today, try removing
<Implementation-Title> from the jar/war plugin <configuration>s of
your working copy of the parent pom [1], but thats no fix. *shrug*
-Rahul
[1] http://svn.apache.org/repos/asf/shale/framework/trunk/pom.xml
> Torsten
>
> Am Freitag, den 02.02.2007, 20:21 +0100 schrieb Torsten Krah:
> > Got:
> >
> > [DEBUG]
> > org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.0:runtime
> > (selected for runtime)
> >
> > mvn -up install does not help, same error like before, any other hints?
> >
> > A bigger trace output:
> >
> > [INFO] Using default encoding to copy filtered resources.
> > [WARNING]
> > Artifact javax.servlet:servlet-api:jar:2.5:provided retains
> > local scope 'provided' overriding broader scope 'compile'
> > given by a dependency. If this is not intended, modify or remove
> > the local scope.
> >
> > [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] Surefire report
> > directory: /home/tkrah/Development/src/shale-parent/shale-test/target/surefire-reports
> >
> > -------------------------------------------------------
> > T E S T S
> > -------------------------------------------------------
> > Running org.apache.shale.test.mock.MockObjectsTestCase
> > Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.264
> > sec
> > Running org.apache.shale.test.config.ConfigParserTestCase
> > log4j:WARN No appenders could be found for logger
> > (org.apache.commons.digester.Digester.sax).
> > log4j:WARN Please initialize the log4j system properly.
> > Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.507
> > sec
> > Running org.apache.shale.test.mock.ValueBindingTest
> > descriptor(class=org.apache.shale.test.mock.data.Bean, name=name
> > Found BeanInfo java.beans.GenericBeanInfo@b8c8e6
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015
> > sec
> > Running org.apache.shale.test.el.MockExpressionFactoryTestCase
> > Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.217
> > sec
> > Running org.apache.shale.test.mock.TestMockBean
> > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005
> > sec
> >
> > Results :
> > Tests run: 18, Failures: 0, Errors: 0, Skipped: 0
> >
> > Found PropertyDescriptor java.beans.PropertyDescriptor@3185c13c
> > [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] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 6 seconds
> > [INFO] Finished at: Fri Feb 02 20:19:54 CET 2007
> > [INFO] Final Memory: 8M/14M
> > [INFO]
> > ------------------------------------------------------------------------
> >
<snap/>
Re: maven build problem of latest svn trunk
Posted by Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de>.
I have still no success - i got the plugin version 2.0 and 2.1, if i
delete the 2.0 ones, they get downloaded again.
The error stays the same.
Any other hints?
Torsten
Am Freitag, den 02.02.2007, 20:21 +0100 schrieb Torsten Krah:
> Got:
>
> [DEBUG]
> org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.0:runtime
> (selected for runtime)
>
> mvn -up install does not help, same error like before, any other hints?
>
> A bigger trace output:
>
> [INFO] Using default encoding to copy filtered resources.
> [WARNING]
> Artifact javax.servlet:servlet-api:jar:2.5:provided retains
> local scope 'provided' overriding broader scope 'compile'
> given by a dependency. If this is not intended, modify or remove
> the local scope.
>
> [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] Surefire report
> directory: /home/tkrah/Development/src/shale-parent/shale-test/target/surefire-reports
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.apache.shale.test.mock.MockObjectsTestCase
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.264
> sec
> Running org.apache.shale.test.config.ConfigParserTestCase
> log4j:WARN No appenders could be found for logger
> (org.apache.commons.digester.Digester.sax).
> log4j:WARN Please initialize the log4j system properly.
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.507
> sec
> Running org.apache.shale.test.mock.ValueBindingTest
> descriptor(class=org.apache.shale.test.mock.data.Bean, name=name
> Found BeanInfo java.beans.GenericBeanInfo@b8c8e6
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015
> sec
> Running org.apache.shale.test.el.MockExpressionFactoryTestCase
> Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.217
> sec
> Running org.apache.shale.test.mock.TestMockBean
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005
> sec
>
> Results :
> Tests run: 18, Failures: 0, Errors: 0, Skipped: 0
>
> Found PropertyDescriptor java.beans.PropertyDescriptor@3185c13c
> [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] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 6 seconds
> [INFO] Finished at: Fri Feb 02 20:19:54 CET 2007
> [INFO] Final Memory: 8M/14M
> [INFO]
> ------------------------------------------------------------------------
>
> Maybe that helps?
>
> kind regards
>
> Torsten
>
> Am Freitag, den 02.02.2007, 13:10 -0500 schrieb Rahul Akolkar:
> > On 2/2/07, Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de> wrote:
> > > Hm updated the complete shale-parent tree and using maven 2.0.4, don't
> > > know of what plugins you are speaking.
> > > Did nothing on the svn tree myself. What should i delete?
> > >
> > <snip/>
> >
> > Nothing. Try "mvn -X install", I see 2.1 for the jar plugin (the bit
> > that maven actually uses to build the jar file), heres the relevant
> > line:
> >
> > [DEBUG] org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.1:runtime
> > (selected for runtime)
> >
> > What version do you see? If < 2.1, try "mvn -up install" and see if that helps.
> >
> > -Rahul
> >
> >
> > > Torsten
> > >
> > > Am Freitag, den 02.02.2007, 09:27 -0500 schrieb Rahul Akolkar:
> > > > On 2/2/07, Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de> wrote:
> > > > > Results :
> > > > > Tests run: 18, Failures: 0, Errors: 0, Skipped: 0
> > > > >
> > > > > Found PropertyDescriptor java.beans.PropertyDescriptor@3185c13c
> > > > > [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
> > > > >
> > > > >
> > > > > Any hints for me whats wrong?
> > > > >
> > > > <snip/>
> > > >
> > > > We recently added some manifest entries to the configuration of the
> > > > maven-{jar,war}-plugin in the parent pom. Could be related to the
> > > > version of these that you have locally, try updating the plugins. I
> > > > don't see this error ATM.
> > > >
> > > > -Rahul
> > > >
> > > >
> > > > > kind regards
> > > > >
> > > > > Torsten
> > > > >
> > > > >
> > >
> > >
Re: maven build problem of latest svn trunk
Posted by Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de>.
Got:
[DEBUG]
org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.0:runtime
(selected for runtime)
mvn -up install does not help, same error like before, any other hints?
A bigger trace output:
[INFO] Using default encoding to copy filtered resources.
[WARNING]
Artifact javax.servlet:servlet-api:jar:2.5:provided retains
local scope 'provided' overriding broader scope 'compile'
given by a dependency. If this is not intended, modify or remove
the local scope.
[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] Surefire report
directory: /home/tkrah/Development/src/shale-parent/shale-test/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.shale.test.mock.MockObjectsTestCase
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.264
sec
Running org.apache.shale.test.config.ConfigParserTestCase
log4j:WARN No appenders could be found for logger
(org.apache.commons.digester.Digester.sax).
log4j:WARN Please initialize the log4j system properly.
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.507
sec
Running org.apache.shale.test.mock.ValueBindingTest
descriptor(class=org.apache.shale.test.mock.data.Bean, name=name
Found BeanInfo java.beans.GenericBeanInfo@b8c8e6
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015
sec
Running org.apache.shale.test.el.MockExpressionFactoryTestCase
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.217
sec
Running org.apache.shale.test.mock.TestMockBean
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005
sec
Results :
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0
Found PropertyDescriptor java.beans.PropertyDescriptor@3185c13c
[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] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Fri Feb 02 20:19:54 CET 2007
[INFO] Final Memory: 8M/14M
[INFO]
------------------------------------------------------------------------
Maybe that helps?
kind regards
Torsten
Am Freitag, den 02.02.2007, 13:10 -0500 schrieb Rahul Akolkar:
> On 2/2/07, Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de> wrote:
> > Hm updated the complete shale-parent tree and using maven 2.0.4, don't
> > know of what plugins you are speaking.
> > Did nothing on the svn tree myself. What should i delete?
> >
> <snip/>
>
> Nothing. Try "mvn -X install", I see 2.1 for the jar plugin (the bit
> that maven actually uses to build the jar file), heres the relevant
> line:
>
> [DEBUG] org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.1:runtime
> (selected for runtime)
>
> What version do you see? If < 2.1, try "mvn -up install" and see if that helps.
>
> -Rahul
>
>
> > Torsten
> >
> > Am Freitag, den 02.02.2007, 09:27 -0500 schrieb Rahul Akolkar:
> > > On 2/2/07, Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de> wrote:
> > > > Results :
> > > > Tests run: 18, Failures: 0, Errors: 0, Skipped: 0
> > > >
> > > > Found PropertyDescriptor java.beans.PropertyDescriptor@3185c13c
> > > > [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
> > > >
> > > >
> > > > Any hints for me whats wrong?
> > > >
> > > <snip/>
> > >
> > > We recently added some manifest entries to the configuration of the
> > > maven-{jar,war}-plugin in the parent pom. Could be related to the
> > > version of these that you have locally, try updating the plugins. I
> > > don't see this error ATM.
> > >
> > > -Rahul
> > >
> > >
> > > > kind regards
> > > >
> > > > Torsten
> > > >
> > > >
> >
> >
Re: maven build problem of latest svn trunk
Posted by Rahul Akolkar <ra...@gmail.com>.
On 2/2/07, Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de> wrote:
> Hm updated the complete shale-parent tree and using maven 2.0.4, don't
> know of what plugins you are speaking.
> Did nothing on the svn tree myself. What should i delete?
>
<snip/>
Nothing. Try "mvn -X install", I see 2.1 for the jar plugin (the bit
that maven actually uses to build the jar file), heres the relevant
line:
[DEBUG] org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.1:runtime
(selected for runtime)
What version do you see? If < 2.1, try "mvn -up install" and see if that helps.
-Rahul
> Torsten
>
> Am Freitag, den 02.02.2007, 09:27 -0500 schrieb Rahul Akolkar:
> > On 2/2/07, Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de> wrote:
> > > Results :
> > > Tests run: 18, Failures: 0, Errors: 0, Skipped: 0
> > >
> > > Found PropertyDescriptor java.beans.PropertyDescriptor@3185c13c
> > > [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
> > >
> > >
> > > Any hints for me whats wrong?
> > >
> > <snip/>
> >
> > We recently added some manifest entries to the configuration of the
> > maven-{jar,war}-plugin in the parent pom. Could be related to the
> > version of these that you have locally, try updating the plugins. I
> > don't see this error ATM.
> >
> > -Rahul
> >
> >
> > > kind regards
> > >
> > > Torsten
> > >
> > >
>
>
Re: maven build problem of latest svn trunk
Posted by Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de>.
Hm updated the complete shale-parent tree and using maven 2.0.4, don't
know of what plugins you are speaking.
Did nothing on the svn tree myself. What should i delete?
Torsten
Am Freitag, den 02.02.2007, 09:27 -0500 schrieb Rahul Akolkar:
> On 2/2/07, Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de> wrote:
> > Results :
> > Tests run: 18, Failures: 0, Errors: 0, Skipped: 0
> >
> > Found PropertyDescriptor java.beans.PropertyDescriptor@3185c13c
> > [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
> >
> >
> > Any hints for me whats wrong?
> >
> <snip/>
>
> We recently added some manifest entries to the configuration of the
> maven-{jar,war}-plugin in the parent pom. Could be related to the
> version of these that you have locally, try updating the plugins. I
> don't see this error ATM.
>
> -Rahul
>
>
> > kind regards
> >
> > Torsten
> >
> >
Re: maven build problem of latest svn trunk
Posted by Rahul Akolkar <ra...@gmail.com>.
On 2/2/07, Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de> wrote:
> Results :
> Tests run: 18, Failures: 0, Errors: 0, Skipped: 0
>
> Found PropertyDescriptor java.beans.PropertyDescriptor@3185c13c
> [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
>
>
> Any hints for me whats wrong?
>
<snip/>
We recently added some manifest entries to the configuration of the
maven-{jar,war}-plugin in the parent pom. Could be related to the
version of these that you have locally, try updating the plugins. I
don't see this error ATM.
-Rahul
> kind regards
>
> Torsten
>
>