You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "J.Gustafsson" <jo...@diabol.se> on 2007/06/25 17:10:58 UTC
Cannot build a SA or SU with the jbi-maven-plugin for eclipse.
Hi,
I failed to build both a SA and a SU component with the jbi-maven-plugin.
Building with maven in from a console works fine. The following errors
occurs:
java.lang.NoSuchMethodError:
org.apache.maven.archiver.MavenArchiveConfiguration.setForced(Z)V
at
org.apache.maven.plugin.jar.AbstractJarMojo.createArchive(AbstractJarMojo.java:141)
at
org.apache.maven.plugin.jar.AbstractJarMojo.execute(AbstractJarMojo.java:174)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:435)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:536)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:477)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:456)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:308)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:275)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:109)
at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:531)
at
org.maven.ide.eclipse.embedder.Maven2Executor.main(Maven2Executor.java:82)
The version is 3.1-incubating.
My pom.xml looks like:
<project.....>
<parent>
<artifactId>TRS</artifactId>
<groupId>com.company</groupId>
<version>0.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>com.company</groupId>
<artifactId>Trs_Webservice_sa</artifactId>
<packaging>jbi-service-assembly</packaging>
<name>TRS - Webservices - SA</name>
<version>0.1</version>
<dependencies>
<dependency>
<groupId>com.company</groupId>
<artifactId>Trs_Http_Service_su</artifactId>
<version>0.1</version>
</dependency>
<dependency>
<groupId>com.company</groupId>
<artifactId>Trs_Jsr181_su</artifactId>
<version>0.1</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.servicemix.tooling</groupId>
<artifactId>jbi-maven-plugin</artifactId>
<version>3.1-incubating</version>
<extensions>true</extensions>
<configuration>
<type>service-assembly</type>
</configuration>
</plugin>
</plugins>
</build>
</project>
Any ideas anyone?
regards,
Jonas Gustafsson
--
View this message in context: http://www.nabble.com/Cannot-build-a-SA-or-SU-with-the-jbi-maven-plugin-for-eclipse.-tf3976747s12049.html#a11288125
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
Re: Cannot build a SA or SU with the jbi-maven-plugin for eclipse.
Posted by "J.Gustafsson" <jo...@diabol.se>.
FYI
The last row in the log before the exception stacktrace is:
[INFO] jar:jar
/j
gnodet wrote:
>
> Can you trash your local repository and restart from a clean state ?
>
> On 6/26/07, J.Gustafsson <jo...@diabol.se> wrote:
>>
>>
>> Hi,
>>
>> thanks for your reply.
>>
>> I am using maven version 2.0.6.
>> I just upgraded to 2.0.7, with the same result...
>>
>> regards,
>>
>> Jonas Gustafsson
>>
>>
>>
>> Adrian Co wrote:
>> >
>> > Hi,
>> >
>> > Could be a maven version problem. What version are you using?
>> >
>> > J.Gustafsson wrote:
>> >> Hi,
>> >>
>> >> I failed to build both a SA and a SU component with the
>> jbi-maven-plugin.
>> >> Building with maven in from a console works fine. The following errors
>> >> occurs:
>> >>
>> >> java.lang.NoSuchMethodError:
>> >> org.apache.maven.archiver.MavenArchiveConfiguration.setForced(Z)V
>> >> at
>> >> org.apache.maven.plugin.jar.AbstractJarMojo.createArchive(
>> AbstractJarMojo.java:141)
>> >> at
>> >> org.apache.maven.plugin.jar.AbstractJarMojo.execute(
>> AbstractJarMojo.java:174)
>> >> at
>> >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(
>> DefaultPluginManager.java:435)
>> >> at
>> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
>> DefaultLifecycleExecutor.java:536)
>> >> at
>> >>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
>> (DefaultLifecycleExecutor.java:477)
>> >> at
>> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
>> DefaultLifecycleExecutor.java:456)
>> >> at
>> >>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
>> (DefaultLifecycleExecutor.java:308)
>> >> at
>> >>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
>> (DefaultLifecycleExecutor.java:275)
>> >> at
>> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
>> DefaultLifecycleExecutor.java:140)
>> >> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
>> >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:109)
>> >> at
>> >>
>> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:531)
>> >> at
>> >> org.maven.ide.eclipse.embedder.Maven2Executor.main(Maven2Executor.java
>> :82)
>> >>
>> >>
>> >> The version is 3.1-incubating.
>> >> My pom.xml looks like:
>> >>
>> >> <project.....>
>> >> <parent>
>> >> <artifactId>TRS</artifactId>
>> >> <groupId>com.company</groupId>
>> >> <version>0.1</version>
>> >> </parent>
>> >> <modelVersion>4.0.0</modelVersion>
>> >> <groupId>com.company</groupId>
>> >> <artifactId>Trs_Webservice_sa</artifactId>
>> >> <packaging>jbi-service-assembly</packaging>
>> >> <name>TRS - Webservices - SA</name>
>> >> <version>0.1</version>
>> >> <dependencies>
>> >> <dependency>
>> >> <groupId>com.company</groupId>
>> >> <artifactId>Trs_Http_Service_su</artifactId>
>> >> <version>0.1</version>
>> >> </dependency>
>> >> <dependency>
>> >> <groupId>com.company</groupId>
>> >> <artifactId>Trs_Jsr181_su</artifactId>
>> >> <version>0.1</version>
>> >> </dependency>
>> >> </dependencies>
>> >> <build>
>> >> <plugins>
>> >> <plugin>
>> >> <groupId>org.apache.servicemix.tooling</groupId>
>> >> <artifactId>jbi-maven-plugin</artifactId>
>> >> <version>3.1-incubating</version>
>> >> <extensions>true</extensions>
>> >> <configuration>
>> >> <type>service-assembly</type>
>> >> </configuration>
>> >> </plugin>
>> >> </plugins>
>> >> </build>
>> >> </project>
>> >>
>> >> Any ideas anyone?
>> >>
>> >> regards,
>> >>
>> >> Jonas Gustafsson
>> >>
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Cannot-build-a-SA-or-SU-with-the-jbi-maven-plugin-for-eclipse.-tf3976747s12049.html#a11300792
>> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
>>
>>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Principal Engineer, IONA
> Blog: http://gnodet.blogspot.com/
>
>
--
View this message in context: http://www.nabble.com/Cannot-build-a-SA-or-SU-with-the-jbi-maven-plugin-for-eclipse.-tf3976747s12049.html#a11301646
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
Re: Cannot build a SA or SU with the jbi-maven-plugin for eclipse.
Posted by "J.Gustafsson" <jo...@diabol.se>.
Hi,
I have no solution to this problem yet, however I believe it isn't a
ServiceMix problem.
The class AbstractJarMojo is calling the setForced of the class
MavenArchiveConfiguration. This method is however not public, thus the
exception. I have found that this was fixed in the codebase of Maven as far
ago as Mon Aug 21 14:46:09 2006. (
see:
http://mail-archives.apache.org/mod_mbox/maven-commits/200608.mbox/%3C20060821214610.280691A981A@eris.apache.org%3E
)
The maven-jar-plugin hasn't released a newer version since(?), so I guess
one needs to update the plugin and rebuild it with a new maven-jar. The
plugin seams to be kind of inactive.... I haven't had time to download the
source myself, and since it works outside eclipse, it hasn't had the highest
priority for me.
regards,
/j
kitplummer wrote:
>
> Was there ever any resolution on this? I'm getting the same thing when
> trying to 'mvn install' from inside Eclipse...on a SU.
>
> Kit
>
>
> J.Gustafsson wrote:
>>
>> More INFO.....
>>
>> The parent pom.xml has the following repository URL:s defined:
>> <pluginRepositories>
>> <pluginRepository>
>> <id>apache</id>
>> <url>http://people.apache.org/repo/m2-incubating-repository</url>
>> <releases>
>> <enabled>true</enabled>
>> </releases>
>> <snapshots>
>> <enabled>true</enabled>
>> </snapshots>
>> </pluginRepository>
>> <pluginRepository>
>> <releases/>
>> <id>ibiblio</id>
>> <url>http://www.ibiblio.org/maven/</url>
>> </pluginRepository>
>> </pluginRepositories>
>>
>> and
>>
>> <repositories>
>> <repository>
>> <id>apache-incubating</id>
>> <name>Apache Incubating Repository</name>
>> <url>http://people.apache.org/repo/m2-incubating-repository</url>
>> <releases>
>> <enabled>true</enabled>
>> </releases>
>> <snapshots>
>> <enabled>true</enabled>
>> </snapshots>
>> </repository>
>> </repositories>
>>
>> regards,
>>
>> /j
>>
>>
>>
>> gnodet wrote:
>>>
>>> Can you trash your local repository and restart from a clean state ?
>>>
>>> On 6/26/07, J.Gustafsson <jo...@diabol.se> wrote:
>>>>
>>>>
>>>> Hi,
>>>>
>>>> thanks for your reply.
>>>>
>>>> I am using maven version 2.0.6.
>>>> I just upgraded to 2.0.7, with the same result...
>>>>
>>>> regards,
>>>>
>>>> Jonas Gustafsson
>>>>
>>>>
>>>>
>>>> Adrian Co wrote:
>>>> >
>>>> > Hi,
>>>> >
>>>> > Could be a maven version problem. What version are you using?
>>>> >
>>>> > J.Gustafsson wrote:
>>>> >> Hi,
>>>> >>
>>>> >> I failed to build both a SA and a SU component with the
>>>> jbi-maven-plugin.
>>>> >> Building with maven in from a console works fine. The following
>>>> errors
>>>> >> occurs:
>>>> >>
>>>> >> java.lang.NoSuchMethodError:
>>>> >> org.apache.maven.archiver.MavenArchiveConfiguration.setForced(Z)V
>>>> >> at
>>>> >> org.apache.maven.plugin.jar.AbstractJarMojo.createArchive(
>>>> AbstractJarMojo.java:141)
>>>> >> at
>>>> >> org.apache.maven.plugin.jar.AbstractJarMojo.execute(
>>>> AbstractJarMojo.java:174)
>>>> >> at
>>>> >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(
>>>> DefaultPluginManager.java:435)
>>>> >> at
>>>> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
>>>> DefaultLifecycleExecutor.java:536)
>>>> >> at
>>>> >>
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
>>>> (DefaultLifecycleExecutor.java:477)
>>>> >> at
>>>> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
>>>> DefaultLifecycleExecutor.java:456)
>>>> >> at
>>>> >>
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
>>>> (DefaultLifecycleExecutor.java:308)
>>>> >> at
>>>> >>
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
>>>> (DefaultLifecycleExecutor.java:275)
>>>> >> at
>>>> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
>>>> DefaultLifecycleExecutor.java:140)
>>>> >> at
>>>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
>>>> >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:109)
>>>> >> at
>>>> >>
>>>> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:531)
>>>> >> at
>>>> >>
>>>> org.maven.ide.eclipse.embedder.Maven2Executor.main(Maven2Executor.java
>>>> :82)
>>>> >>
>>>> >>
>>>> >> The version is 3.1-incubating.
>>>> >> My pom.xml looks like:
>>>> >>
>>>> >> <project.....>
>>>> >> <parent>
>>>> >> <artifactId>TRS</artifactId>
>>>> >> <groupId>com.company</groupId>
>>>> >> <version>0.1</version>
>>>> >> </parent>
>>>> >> <modelVersion>4.0.0</modelVersion>
>>>> >> <groupId>com.company</groupId>
>>>> >> <artifactId>Trs_Webservice_sa</artifactId>
>>>> >> <packaging>jbi-service-assembly</packaging>
>>>> >> <name>TRS - Webservices - SA</name>
>>>> >> <version>0.1</version>
>>>> >> <dependencies>
>>>> >> <dependency>
>>>> >> <groupId>com.company</groupId>
>>>> >> <artifactId>Trs_Http_Service_su</artifactId>
>>>> >> <version>0.1</version>
>>>> >> </dependency>
>>>> >> <dependency>
>>>> >> <groupId>com.company</groupId>
>>>> >> <artifactId>Trs_Jsr181_su</artifactId>
>>>> >> <version>0.1</version>
>>>> >> </dependency>
>>>> >> </dependencies>
>>>> >> <build>
>>>> >> <plugins>
>>>> >> <plugin>
>>>> >> <groupId>org.apache.servicemix.tooling</groupId>
>>>> >> <artifactId>jbi-maven-plugin</artifactId>
>>>> >> <version>3.1-incubating</version>
>>>> >> <extensions>true</extensions>
>>>> >> <configuration>
>>>> >> <type>service-assembly</type>
>>>> >> </configuration>
>>>> >> </plugin>
>>>> >> </plugins>
>>>> >> </build>
>>>> >> </project>
>>>> >>
>>>> >> Any ideas anyone?
>>>> >>
>>>> >> regards,
>>>> >>
>>>> >> Jonas Gustafsson
>>>> >>
>>>> >
>>>> >
>>>> >
>>>>
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Cannot-build-a-SA-or-SU-with-the-jbi-maven-plugin-for-eclipse.-tf3976747s12049.html#a11300792
>>>> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
>>>>
>>>>
>>>
>>>
>>> --
>>> Cheers,
>>> Guillaume Nodet
>>> ------------------------
>>> Principal Engineer, IONA
>>> Blog: http://gnodet.blogspot.com/
>>>
>>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Cannot-build-a-SA-or-SU-with-the-jbi-maven-plugin-for-eclipse.-tf3976747s12049.html#a11388820
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
Re: Cannot build a SA or SU with the jbi-maven-plugin for eclipse.
Posted by kitplummer <ki...@gmail.com>.
Was there ever any resolution on this? I'm getting the same thing when
trying to 'mvn install' from inside Eclipse...on a SU.
Kit
J.Gustafsson wrote:
>
> More INFO.....
>
> The parent pom.xml has the following repository URL:s defined:
> <pluginRepositories>
> <pluginRepository>
> <id>apache</id>
> <url>http://people.apache.org/repo/m2-incubating-repository</url>
> <releases>
> <enabled>true</enabled>
> </releases>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> </pluginRepository>
> <pluginRepository>
> <releases/>
> <id>ibiblio</id>
> <url>http://www.ibiblio.org/maven/</url>
> </pluginRepository>
> </pluginRepositories>
>
> and
>
> <repositories>
> <repository>
> <id>apache-incubating</id>
> <name>Apache Incubating Repository</name>
> <url>http://people.apache.org/repo/m2-incubating-repository</url>
> <releases>
> <enabled>true</enabled>
> </releases>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> </repository>
> </repositories>
>
> regards,
>
> /j
>
>
>
> gnodet wrote:
>>
>> Can you trash your local repository and restart from a clean state ?
>>
>> On 6/26/07, J.Gustafsson <jo...@diabol.se> wrote:
>>>
>>>
>>> Hi,
>>>
>>> thanks for your reply.
>>>
>>> I am using maven version 2.0.6.
>>> I just upgraded to 2.0.7, with the same result...
>>>
>>> regards,
>>>
>>> Jonas Gustafsson
>>>
>>>
>>>
>>> Adrian Co wrote:
>>> >
>>> > Hi,
>>> >
>>> > Could be a maven version problem. What version are you using?
>>> >
>>> > J.Gustafsson wrote:
>>> >> Hi,
>>> >>
>>> >> I failed to build both a SA and a SU component with the
>>> jbi-maven-plugin.
>>> >> Building with maven in from a console works fine. The following
>>> errors
>>> >> occurs:
>>> >>
>>> >> java.lang.NoSuchMethodError:
>>> >> org.apache.maven.archiver.MavenArchiveConfiguration.setForced(Z)V
>>> >> at
>>> >> org.apache.maven.plugin.jar.AbstractJarMojo.createArchive(
>>> AbstractJarMojo.java:141)
>>> >> at
>>> >> org.apache.maven.plugin.jar.AbstractJarMojo.execute(
>>> AbstractJarMojo.java:174)
>>> >> at
>>> >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(
>>> DefaultPluginManager.java:435)
>>> >> at
>>> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
>>> DefaultLifecycleExecutor.java:536)
>>> >> at
>>> >>
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
>>> (DefaultLifecycleExecutor.java:477)
>>> >> at
>>> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
>>> DefaultLifecycleExecutor.java:456)
>>> >> at
>>> >>
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
>>> (DefaultLifecycleExecutor.java:308)
>>> >> at
>>> >>
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
>>> (DefaultLifecycleExecutor.java:275)
>>> >> at
>>> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
>>> DefaultLifecycleExecutor.java:140)
>>> >> at
>>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
>>> >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:109)
>>> >> at
>>> >>
>>> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:531)
>>> >> at
>>> >>
>>> org.maven.ide.eclipse.embedder.Maven2Executor.main(Maven2Executor.java
>>> :82)
>>> >>
>>> >>
>>> >> The version is 3.1-incubating.
>>> >> My pom.xml looks like:
>>> >>
>>> >> <project.....>
>>> >> <parent>
>>> >> <artifactId>TRS</artifactId>
>>> >> <groupId>com.company</groupId>
>>> >> <version>0.1</version>
>>> >> </parent>
>>> >> <modelVersion>4.0.0</modelVersion>
>>> >> <groupId>com.company</groupId>
>>> >> <artifactId>Trs_Webservice_sa</artifactId>
>>> >> <packaging>jbi-service-assembly</packaging>
>>> >> <name>TRS - Webservices - SA</name>
>>> >> <version>0.1</version>
>>> >> <dependencies>
>>> >> <dependency>
>>> >> <groupId>com.company</groupId>
>>> >> <artifactId>Trs_Http_Service_su</artifactId>
>>> >> <version>0.1</version>
>>> >> </dependency>
>>> >> <dependency>
>>> >> <groupId>com.company</groupId>
>>> >> <artifactId>Trs_Jsr181_su</artifactId>
>>> >> <version>0.1</version>
>>> >> </dependency>
>>> >> </dependencies>
>>> >> <build>
>>> >> <plugins>
>>> >> <plugin>
>>> >> <groupId>org.apache.servicemix.tooling</groupId>
>>> >> <artifactId>jbi-maven-plugin</artifactId>
>>> >> <version>3.1-incubating</version>
>>> >> <extensions>true</extensions>
>>> >> <configuration>
>>> >> <type>service-assembly</type>
>>> >> </configuration>
>>> >> </plugin>
>>> >> </plugins>
>>> >> </build>
>>> >> </project>
>>> >>
>>> >> Any ideas anyone?
>>> >>
>>> >> regards,
>>> >>
>>> >> Jonas Gustafsson
>>> >>
>>> >
>>> >
>>> >
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Cannot-build-a-SA-or-SU-with-the-jbi-maven-plugin-for-eclipse.-tf3976747s12049.html#a11300792
>>> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>> --
>> Cheers,
>> Guillaume Nodet
>> ------------------------
>> Principal Engineer, IONA
>> Blog: http://gnodet.blogspot.com/
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Cannot-build-a-SA-or-SU-with-the-jbi-maven-plugin-for-eclipse.-tf3976747s12049.html#a11388714
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
Re: Cannot build a SA or SU with the jbi-maven-plugin for eclipse.
Posted by "J.Gustafsson" <jo...@diabol.se>.
More INFO.....
The parent pom.xml has the following repository URL:s defined:
<pluginRepositories>
<pluginRepository>
<id>apache</id>
<url>http://people.apache.org/repo/m2-incubating-repository</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<releases/>
<id>ibiblio</id>
<url>http://www.ibiblio.org/maven/</url>
</pluginRepository>
</pluginRepositories>
and
<repositories>
<repository>
<id>apache-incubating</id>
<name>Apache Incubating Repository</name>
<url>http://people.apache.org/repo/m2-incubating-repository</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
regards,
/j
gnodet wrote:
>
> Can you trash your local repository and restart from a clean state ?
>
> On 6/26/07, J.Gustafsson <jo...@diabol.se> wrote:
>>
>>
>> Hi,
>>
>> thanks for your reply.
>>
>> I am using maven version 2.0.6.
>> I just upgraded to 2.0.7, with the same result...
>>
>> regards,
>>
>> Jonas Gustafsson
>>
>>
>>
>> Adrian Co wrote:
>> >
>> > Hi,
>> >
>> > Could be a maven version problem. What version are you using?
>> >
>> > J.Gustafsson wrote:
>> >> Hi,
>> >>
>> >> I failed to build both a SA and a SU component with the
>> jbi-maven-plugin.
>> >> Building with maven in from a console works fine. The following errors
>> >> occurs:
>> >>
>> >> java.lang.NoSuchMethodError:
>> >> org.apache.maven.archiver.MavenArchiveConfiguration.setForced(Z)V
>> >> at
>> >> org.apache.maven.plugin.jar.AbstractJarMojo.createArchive(
>> AbstractJarMojo.java:141)
>> >> at
>> >> org.apache.maven.plugin.jar.AbstractJarMojo.execute(
>> AbstractJarMojo.java:174)
>> >> at
>> >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(
>> DefaultPluginManager.java:435)
>> >> at
>> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
>> DefaultLifecycleExecutor.java:536)
>> >> at
>> >>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
>> (DefaultLifecycleExecutor.java:477)
>> >> at
>> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
>> DefaultLifecycleExecutor.java:456)
>> >> at
>> >>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
>> (DefaultLifecycleExecutor.java:308)
>> >> at
>> >>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
>> (DefaultLifecycleExecutor.java:275)
>> >> at
>> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
>> DefaultLifecycleExecutor.java:140)
>> >> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
>> >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:109)
>> >> at
>> >>
>> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:531)
>> >> at
>> >> org.maven.ide.eclipse.embedder.Maven2Executor.main(Maven2Executor.java
>> :82)
>> >>
>> >>
>> >> The version is 3.1-incubating.
>> >> My pom.xml looks like:
>> >>
>> >> <project.....>
>> >> <parent>
>> >> <artifactId>TRS</artifactId>
>> >> <groupId>com.company</groupId>
>> >> <version>0.1</version>
>> >> </parent>
>> >> <modelVersion>4.0.0</modelVersion>
>> >> <groupId>com.company</groupId>
>> >> <artifactId>Trs_Webservice_sa</artifactId>
>> >> <packaging>jbi-service-assembly</packaging>
>> >> <name>TRS - Webservices - SA</name>
>> >> <version>0.1</version>
>> >> <dependencies>
>> >> <dependency>
>> >> <groupId>com.company</groupId>
>> >> <artifactId>Trs_Http_Service_su</artifactId>
>> >> <version>0.1</version>
>> >> </dependency>
>> >> <dependency>
>> >> <groupId>com.company</groupId>
>> >> <artifactId>Trs_Jsr181_su</artifactId>
>> >> <version>0.1</version>
>> >> </dependency>
>> >> </dependencies>
>> >> <build>
>> >> <plugins>
>> >> <plugin>
>> >> <groupId>org.apache.servicemix.tooling</groupId>
>> >> <artifactId>jbi-maven-plugin</artifactId>
>> >> <version>3.1-incubating</version>
>> >> <extensions>true</extensions>
>> >> <configuration>
>> >> <type>service-assembly</type>
>> >> </configuration>
>> >> </plugin>
>> >> </plugins>
>> >> </build>
>> >> </project>
>> >>
>> >> Any ideas anyone?
>> >>
>> >> regards,
>> >>
>> >> Jonas Gustafsson
>> >>
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Cannot-build-a-SA-or-SU-with-the-jbi-maven-plugin-for-eclipse.-tf3976747s12049.html#a11300792
>> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
>>
>>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Principal Engineer, IONA
> Blog: http://gnodet.blogspot.com/
>
>
--
View this message in context: http://www.nabble.com/Cannot-build-a-SA-or-SU-with-the-jbi-maven-plugin-for-eclipse.-tf3976747s12049.html#a11301938
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
Re: Cannot build a SA or SU with the jbi-maven-plugin for eclipse.
Posted by "J.Gustafsson" <jo...@diabol.se>.
Hi,
I just trashed my repository and started a rebuild from scratch.
Unfortunately with the same result :-(
/j
gnodet wrote:
>
> Can you trash your local repository and restart from a clean state ?
>
> On 6/26/07, J.Gustafsson <jo...@diabol.se> wrote:
>>
>>
>> Hi,
>>
>> thanks for your reply.
>>
>> I am using maven version 2.0.6.
>> I just upgraded to 2.0.7, with the same result...
>>
>> regards,
>>
>> Jonas Gustafsson
>>
>>
>>
>> Adrian Co wrote:
>> >
>> > Hi,
>> >
>> > Could be a maven version problem. What version are you using?
>> >
>> > J.Gustafsson wrote:
>> >> Hi,
>> >>
>> >> I failed to build both a SA and a SU component with the
>> jbi-maven-plugin.
>> >> Building with maven in from a console works fine. The following errors
>> >> occurs:
>> >>
>> >> java.lang.NoSuchMethodError:
>> >> org.apache.maven.archiver.MavenArchiveConfiguration.setForced(Z)V
>> >> at
>> >> org.apache.maven.plugin.jar.AbstractJarMojo.createArchive(
>> AbstractJarMojo.java:141)
>> >> at
>> >> org.apache.maven.plugin.jar.AbstractJarMojo.execute(
>> AbstractJarMojo.java:174)
>> >> at
>> >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(
>> DefaultPluginManager.java:435)
>> >> at
>> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
>> DefaultLifecycleExecutor.java:536)
>> >> at
>> >>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
>> (DefaultLifecycleExecutor.java:477)
>> >> at
>> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
>> DefaultLifecycleExecutor.java:456)
>> >> at
>> >>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
>> (DefaultLifecycleExecutor.java:308)
>> >> at
>> >>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
>> (DefaultLifecycleExecutor.java:275)
>> >> at
>> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
>> DefaultLifecycleExecutor.java:140)
>> >> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
>> >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:109)
>> >> at
>> >>
>> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:531)
>> >> at
>> >> org.maven.ide.eclipse.embedder.Maven2Executor.main(Maven2Executor.java
>> :82)
>> >>
>> >>
>> >> The version is 3.1-incubating.
>> >> My pom.xml looks like:
>> >>
>> >> <project.....>
>> >> <parent>
>> >> <artifactId>TRS</artifactId>
>> >> <groupId>com.company</groupId>
>> >> <version>0.1</version>
>> >> </parent>
>> >> <modelVersion>4.0.0</modelVersion>
>> >> <groupId>com.company</groupId>
>> >> <artifactId>Trs_Webservice_sa</artifactId>
>> >> <packaging>jbi-service-assembly</packaging>
>> >> <name>TRS - Webservices - SA</name>
>> >> <version>0.1</version>
>> >> <dependencies>
>> >> <dependency>
>> >> <groupId>com.company</groupId>
>> >> <artifactId>Trs_Http_Service_su</artifactId>
>> >> <version>0.1</version>
>> >> </dependency>
>> >> <dependency>
>> >> <groupId>com.company</groupId>
>> >> <artifactId>Trs_Jsr181_su</artifactId>
>> >> <version>0.1</version>
>> >> </dependency>
>> >> </dependencies>
>> >> <build>
>> >> <plugins>
>> >> <plugin>
>> >> <groupId>org.apache.servicemix.tooling</groupId>
>> >> <artifactId>jbi-maven-plugin</artifactId>
>> >> <version>3.1-incubating</version>
>> >> <extensions>true</extensions>
>> >> <configuration>
>> >> <type>service-assembly</type>
>> >> </configuration>
>> >> </plugin>
>> >> </plugins>
>> >> </build>
>> >> </project>
>> >>
>> >> Any ideas anyone?
>> >>
>> >> regards,
>> >>
>> >> Jonas Gustafsson
>> >>
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Cannot-build-a-SA-or-SU-with-the-jbi-maven-plugin-for-eclipse.-tf3976747s12049.html#a11300792
>> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
>>
>>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Principal Engineer, IONA
> Blog: http://gnodet.blogspot.com/
>
>
--
View this message in context: http://www.nabble.com/Cannot-build-a-SA-or-SU-with-the-jbi-maven-plugin-for-eclipse.-tf3976747s12049.html#a11301611
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
Re: Cannot build a SA or SU with the jbi-maven-plugin for eclipse.
Posted by Guillaume Nodet <gn...@gmail.com>.
Can you trash your local repository and restart from a clean state ?
On 6/26/07, J.Gustafsson <jo...@diabol.se> wrote:
>
>
> Hi,
>
> thanks for your reply.
>
> I am using maven version 2.0.6.
> I just upgraded to 2.0.7, with the same result...
>
> regards,
>
> Jonas Gustafsson
>
>
>
> Adrian Co wrote:
> >
> > Hi,
> >
> > Could be a maven version problem. What version are you using?
> >
> > J.Gustafsson wrote:
> >> Hi,
> >>
> >> I failed to build both a SA and a SU component with the
> jbi-maven-plugin.
> >> Building with maven in from a console works fine. The following errors
> >> occurs:
> >>
> >> java.lang.NoSuchMethodError:
> >> org.apache.maven.archiver.MavenArchiveConfiguration.setForced(Z)V
> >> at
> >> org.apache.maven.plugin.jar.AbstractJarMojo.createArchive(
> AbstractJarMojo.java:141)
> >> at
> >> org.apache.maven.plugin.jar.AbstractJarMojo.execute(
> AbstractJarMojo.java:174)
> >> at
> >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(
> DefaultPluginManager.java:435)
> >> at
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> DefaultLifecycleExecutor.java:536)
> >> at
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> (DefaultLifecycleExecutor.java:477)
> >> at
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> DefaultLifecycleExecutor.java:456)
> >> at
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> (DefaultLifecycleExecutor.java:308)
> >> at
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
> (DefaultLifecycleExecutor.java:275)
> >> at
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
> DefaultLifecycleExecutor.java:140)
> >> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
> >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:109)
> >> at
> >> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:531)
> >> at
> >> org.maven.ide.eclipse.embedder.Maven2Executor.main(Maven2Executor.java
> :82)
> >>
> >>
> >> The version is 3.1-incubating.
> >> My pom.xml looks like:
> >>
> >> <project.....>
> >> <parent>
> >> <artifactId>TRS</artifactId>
> >> <groupId>com.company</groupId>
> >> <version>0.1</version>
> >> </parent>
> >> <modelVersion>4.0.0</modelVersion>
> >> <groupId>com.company</groupId>
> >> <artifactId>Trs_Webservice_sa</artifactId>
> >> <packaging>jbi-service-assembly</packaging>
> >> <name>TRS - Webservices - SA</name>
> >> <version>0.1</version>
> >> <dependencies>
> >> <dependency>
> >> <groupId>com.company</groupId>
> >> <artifactId>Trs_Http_Service_su</artifactId>
> >> <version>0.1</version>
> >> </dependency>
> >> <dependency>
> >> <groupId>com.company</groupId>
> >> <artifactId>Trs_Jsr181_su</artifactId>
> >> <version>0.1</version>
> >> </dependency>
> >> </dependencies>
> >> <build>
> >> <plugins>
> >> <plugin>
> >> <groupId>org.apache.servicemix.tooling</groupId>
> >> <artifactId>jbi-maven-plugin</artifactId>
> >> <version>3.1-incubating</version>
> >> <extensions>true</extensions>
> >> <configuration>
> >> <type>service-assembly</type>
> >> </configuration>
> >> </plugin>
> >> </plugins>
> >> </build>
> >> </project>
> >>
> >> Any ideas anyone?
> >>
> >> regards,
> >>
> >> Jonas Gustafsson
> >>
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Cannot-build-a-SA-or-SU-with-the-jbi-maven-plugin-for-eclipse.-tf3976747s12049.html#a11300792
> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
>
>
--
Cheers,
Guillaume Nodet
------------------------
Principal Engineer, IONA
Blog: http://gnodet.blogspot.com/
Re: Cannot build a SA or SU with the jbi-maven-plugin for eclipse.
Posted by "J.Gustafsson" <jo...@diabol.se>.
Hi,
thanks for your reply.
I am using maven version 2.0.6.
I just upgraded to 2.0.7, with the same result...
regards,
Jonas Gustafsson
Adrian Co wrote:
>
> Hi,
>
> Could be a maven version problem. What version are you using?
>
> J.Gustafsson wrote:
>> Hi,
>>
>> I failed to build both a SA and a SU component with the jbi-maven-plugin.
>> Building with maven in from a console works fine. The following errors
>> occurs:
>>
>> java.lang.NoSuchMethodError:
>> org.apache.maven.archiver.MavenArchiveConfiguration.setForced(Z)V
>> at
>> org.apache.maven.plugin.jar.AbstractJarMojo.createArchive(AbstractJarMojo.java:141)
>> at
>> org.apache.maven.plugin.jar.AbstractJarMojo.execute(AbstractJarMojo.java:174)
>> at
>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:435)
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:536)
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:477)
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:456)
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:308)
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:275)
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:109)
>> at
>> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:531)
>> at
>> org.maven.ide.eclipse.embedder.Maven2Executor.main(Maven2Executor.java:82)
>>
>>
>> The version is 3.1-incubating.
>> My pom.xml looks like:
>>
>> <project.....>
>> <parent>
>> <artifactId>TRS</artifactId>
>> <groupId>com.company</groupId>
>> <version>0.1</version>
>> </parent>
>> <modelVersion>4.0.0</modelVersion>
>> <groupId>com.company</groupId>
>> <artifactId>Trs_Webservice_sa</artifactId>
>> <packaging>jbi-service-assembly</packaging>
>> <name>TRS - Webservices - SA</name>
>> <version>0.1</version>
>> <dependencies>
>> <dependency>
>> <groupId>com.company</groupId>
>> <artifactId>Trs_Http_Service_su</artifactId>
>> <version>0.1</version>
>> </dependency>
>> <dependency>
>> <groupId>com.company</groupId>
>> <artifactId>Trs_Jsr181_su</artifactId>
>> <version>0.1</version>
>> </dependency>
>> </dependencies>
>> <build>
>> <plugins>
>> <plugin>
>> <groupId>org.apache.servicemix.tooling</groupId>
>> <artifactId>jbi-maven-plugin</artifactId>
>> <version>3.1-incubating</version>
>> <extensions>true</extensions>
>> <configuration>
>> <type>service-assembly</type>
>> </configuration>
>> </plugin>
>> </plugins>
>> </build>
>> </project>
>>
>> Any ideas anyone?
>>
>> regards,
>>
>> Jonas Gustafsson
>>
>
>
>
--
View this message in context: http://www.nabble.com/Cannot-build-a-SA-or-SU-with-the-jbi-maven-plugin-for-eclipse.-tf3976747s12049.html#a11300792
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
Re: Cannot build a SA or SU with the jbi-maven-plugin for eclipse.
Posted by Adrian Co <ac...@exist.com>.
Hi,
Could be a maven version problem. What version are you using?
J.Gustafsson wrote:
> Hi,
>
> I failed to build both a SA and a SU component with the jbi-maven-plugin.
> Building with maven in from a console works fine. The following errors
> occurs:
>
> java.lang.NoSuchMethodError:
> org.apache.maven.archiver.MavenArchiveConfiguration.setForced(Z)V
> at
> org.apache.maven.plugin.jar.AbstractJarMojo.createArchive(AbstractJarMojo.java:141)
> at
> org.apache.maven.plugin.jar.AbstractJarMojo.execute(AbstractJarMojo.java:174)
> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:435)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:536)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:477)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:456)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:308)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:275)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:109)
> at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:531)
> at
> org.maven.ide.eclipse.embedder.Maven2Executor.main(Maven2Executor.java:82)
>
>
> The version is 3.1-incubating.
> My pom.xml looks like:
>
> <project.....>
> <parent>
> <artifactId>TRS</artifactId>
> <groupId>com.company</groupId>
> <version>0.1</version>
> </parent>
> <modelVersion>4.0.0</modelVersion>
> <groupId>com.company</groupId>
> <artifactId>Trs_Webservice_sa</artifactId>
> <packaging>jbi-service-assembly</packaging>
> <name>TRS - Webservices - SA</name>
> <version>0.1</version>
> <dependencies>
> <dependency>
> <groupId>com.company</groupId>
> <artifactId>Trs_Http_Service_su</artifactId>
> <version>0.1</version>
> </dependency>
> <dependency>
> <groupId>com.company</groupId>
> <artifactId>Trs_Jsr181_su</artifactId>
> <version>0.1</version>
> </dependency>
> </dependencies>
> <build>
> <plugins>
> <plugin>
> <groupId>org.apache.servicemix.tooling</groupId>
> <artifactId>jbi-maven-plugin</artifactId>
> <version>3.1-incubating</version>
> <extensions>true</extensions>
> <configuration>
> <type>service-assembly</type>
> </configuration>
> </plugin>
> </plugins>
> </build>
> </project>
>
> Any ideas anyone?
>
> regards,
>
> Jonas Gustafsson
>