You could have a go with the 2.2-SNAPSHOT version of the plugin. That
version has an updated version of Maven Archiver, which is the component
that handles everything you put into the <archive> configuration.

Michael Hüttermann wrote:
> Hello,
> 
> I create an EJB and want to cut off the version numbers of my dependencies
> which are put into my manifest. I tried the following but it does not work
> ..  the message is "Failed to configure plugin parameters for:
> org.apache.maven.plugins:maven-ejb-plugin:2.1". How can I cut off the
> version numbers? Thank you !!
> 
> 
> <plugin>
>                         <groupId>org.apache.maven.plugins</groupId>
>                         <artifactId>maven-ejb-plugin</artifactId>
>                         <configuration>
>                               <ejbVersion>2.1</ejbVersion>
>                               <generateClient>false</generateClient>
>                               <archive>
>                                     <manifest>
> <addClasspath>true</addClasspath>
> <classpathLayoutType>custom</classpathLayoutType>
> <customClasspathLayout>${artifact.artifactId}</customClasspathLayout>
>                                     </manifest>
>                               </archive>
>                         </configuration>
>                   </plugin>
> 
> 
> 
> Michael
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 


-- 
Dennis Lundberg


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to