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 <[EMAIL PROTECTED]> 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.

Reply via email to