"alesj" wrote : I think the way things are now - with directories and packages,
... - it's ok.
| What we want is artifacts (jars) to include certain 'type': SPI, plugins
(impl), tests.
| Maven should create these artifacts on the package (directory) name basis: e.g.
org.jboss.[project].spi should be a part of [project]-spi.jar.
Maven is not really set up to do this automatically, we could generate the separate
artifacts using the assembly plugin, but there might be an issue with dependencies.
For example, if [project]-plugins.jar has a dependency on another project, I don't
think there is a way to differentiate it's dependencies from [project]-spi.jar. In
other words, all the artifacts generated by the project share a pom, and therefor have the
same dependencies. So [project]-spi would always include the same dependencies as
[project]-plugin.
For now, I will set it up to generate the multiple artifacts this way, and then if there
are problems with dependencies, we can always change it later.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029939#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...