Well I didn't think about it at first but you need to define a new packaging type to make it work. You provide a new packaging type by developping a new plugin. Basically, the plugin would just define some new packaging type in some xml files. No need for any Java files since you don't developp any Mojo. It shouldn't be a very hard task.
Take a look at : http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html There is a "Specifying a New Packaging" section. You can almost copy & paste the entire xml file found in the standard jar plugin to create your. By the way, maybe it already exists in a JBoss plugin, I have no idea. Hope it helps! On 5/8/06, Roland Kofler <[EMAIL PROTECTED]> wrote:
Thanks, but maven2 still adds *.jar to the name so that I get "jarname.aop.jar" also its installed in the shnapshot repo, as the standard "project name - version .jar". No way to do this? Roland Alexandre Poitras schrieb: > Put this in your pom > <build> > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-jar-plugin</artifactId> > <configuration> > <jarName>jarname.aop</jarName> > </configuration> > </plugin> > </plugins> > </build> > > You can find all the Jar Mojo configuration elements there : > http://maven.apache.org/plugins/maven-jar-plugin/jar-mojo.html > > On 5/5/06, Roland Kofler <[EMAIL PROTECTED]> wrote: >> JBoss AOP needs .aop suffix for jars. >> how can i do that? >> >> thanks, Roland >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]