You have to run with -U -up on the command line
so that maven updates your maven plugins.
You need to use the maven-jar-plugin 2.1.
I will try to force the version used.
On 9/8/06, Antoni Reus <[EMAIL PROTECTED]> wrote:
Just updated from subversion and I get this error trying to build
servicemix
( tried both
mvn -Dmaven.test.skip install
and
mvn -Dmaven.test.skip -Dprofile=step1 install
with same result)
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] ServiceMix
[INFO] Servicemix :: Build
[INFO] ServiceMix :: JBI
[INFO] ServiceMix :: Services
[INFO] ServiceMix :: Core
[INFO] ServiceMix :: Tooling
[INFO] ServiceMix :: Maven2 :: Archetypes :: BindingComponent
[INFO] ServiceMix :: Maven2 :: Archetypes :: ServiceEngine
[INFO] ServiceMix :: Maven2 :: Archetypes :: ServiceUnit
[INFO] ServiceMix :: Maven2 :: Archetypes :: ServiceAssembly
[INFO] ServiceMix :: Maven2 :: Archetypes :: SharedLibrary
[INFO] ServiceMix :: Maven2 :: Archetypes :: HttpConsumerServiceUnit
[INFO] ServiceMix :: Maven2 :: Archetypes :: HttpProviderServiceUnit
[INFO] ServiceMix :: Maven2 :: Archetypes :: JmsConsumerServiceUnit
[INFO] ServiceMix :: Maven2 :: Archetypes :: JmsProviderServiceUnit
[INFO] ServiceMix :: Maven2 :: Archetypes :: Jsr181WsdlFirstServiceUnit
[INFO] ServiceMix :: Maven2 :: Archetypes :: LWContainerServiceUnit
[INFO] ServiceMix :: Maven2 :: Archetypes :: EIPServiceUnit
[INFO] ServiceMix :: Maven2 :: Archetypes :: EmbeddedSimple
[INFO] ServiceMix :: Common
[INFO] ServiceMix :: Maven2 :: JBI Plugin
[INFO] ServiceMix :: Maven2 :: Archetypes :: ITests
[INFO] ServiceMix :: BeanFlow
[INFO] ServiceMix :: Components
[INFO] ServiceMix :: SOAP
[INFO] ServiceMix :: Shared
[INFO] ServiceMix :: Console
[INFO] ServiceMix :: HTTP
[INFO] ServiceMix :: BPE
[INFO] ServiceMix :: JMS
[INFO] ServiceMix :: JSR-181 Service Engine
[INFO] ServiceMix :: WS-Notification Service Engine
[INFO] ServiceMix :: Lightweight container Service Engine
[INFO] ServiceMix :: SCA Service Engine
[INFO] ServiceMix :: EIP
[INFO] ServiceMix :: ITests
[INFO] ServiceMix :: Samples
[INFO] ServiceMix :: Samples :: WSDL first
[INFO] ServiceMix :: Samples :: WSDL first :: JSR181
[INFO] ServiceMix :: Samples :: WSDL first :: HTTP
[INFO] ServiceMix :: Samples :: WSDL first :: SA
[INFO] ServiceMix :: Samples :: Loan Broker
[INFO] ServiceMix :: Samples :: Loan Broker :: LwContainer
[INFO] ServiceMix :: Samples :: Loan Broker :: BPE
[INFO] ServiceMix :: Samples :: Loan Broker :: SA
[INFO] ServiceMix :: Samples :: Bridge
[INFO] ServiceMix :: Samples :: Bridge :: HTTP
[INFO] ServiceMix :: Samples :: Bridge :: EIP
[INFO] ServiceMix :: Samples :: Bridge :: XSLT
[INFO] ServiceMix :: Samples :: Bridge :: JMS
[INFO] ServiceMix :: Samples :: Bridge :: SA
[INFO] ServiceMix :: Samples :: Web
[INFO] ServiceMix :: Samples :: Basic
[INFO] Servicemix :: Geronimo
[INFO] ServiceMix :: Geronimo :: ServiceMix service
[INFO] ServiceMix :: Geronimo :: Deployer service
[INFO] ServiceMix :: Geronimo :: ServiceMix plugin
[INFO] ServiceMix :: Geronimo :: Deployer plugin
[INFO] Servicemix :: Assembly
[INFO]
----------------------------------------------------------------------------
[INFO] Building ServiceMix
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] Skipping missing optional mojo:
org.apache.maven.plugins:maven-site-plugin:attach-descriptor
[INFO] [install:install]
[INFO] Installing
/home/IBIT/areus/java/servicemix/servicemix-3.0-dev/pom.xml to
/home/IBIT/areus/.m2/repository/org/apache/servicemix/servicemix/3.0-incubating-SNAPSHOT/servicemix-
3.0-incubating-SNAPSHOT.pom
[INFO] [maven-one-plugin:install-maven-one-repository {execution:
default}]
[INFO] Installing
/home/IBIT/areus/java/servicemix/servicemix-3.0-dev/pom.xml to
/home/IBIT/areus/.maven/repository/org.apache.servicemix/poms/servicemix-
3.0-incubating-SNAPSHOT.pom
[INFO]
----------------------------------------------------------------------------
[INFO] Building Servicemix :: Build
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Not compiling test sources
[INFO] [surefire:test]
[INFO] Tests are skipped.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to configure plugin parameters for:
org.apache.maven.plugins:maven-jar-plugin:2.0
Cause: Cannot find setter nor field in
org.apache.maven.archiver.ManifestConfiguration for
'addDefaultSpecificationEntries'
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Fri Sep 08 09:50:24 CEST 2006
[INFO] Final Memory: 13M/24M
[INFO]
------------------------------------------------------------------------
--
----------------------------------------
Antoni Reus Darder
Cap de Projecte
Administració Digital, Negoci Electrònic i Sanitat
F u n d a c i ó I B I T
Illes Balears Innovació Tecnològica
http://www.ibit.org
Tel. +34 971 17 72 70/71
Fax. +34 971 17 72 79
----------------------------------------
--
Cheers,
Guillaume Nodet