Multiple Shared Libraries in a Single POM

191 views
Skip to first unread message

elro...@gmail.com

unread,
Mar 7, 2017, 6:04:31 PM3/7/17
to NAR Maven plugin
Is it possible to create multiple shared libraries in a single Maven POM? If so, how would that be accomplished?

Thanks!

Curtis Rueden

unread,
Mar 15, 2017, 12:16:48 PM3/15/17
to elro...@gmail.com, NAR Maven plugin
Hi,

> Is it possible to create multiple shared libraries in a single Maven
> POM? If so, how would that be accomplished?

I could not say for certain that it is impossible. You can do a lot with Maven by attaching additional artifacts. However, the Maven golden rule is "one project, one GAV." So if you want these multiple shared libraries to have separate artifactIds, you should structure them as separate Maven projects. You can use a multi-module Maven project to accomplish this with a single build. On the other hand, if you want each shared library to be a different classifier of the same GAV, this might be possible. Sorry that I have no bandwidth to research this or cook up an example for you. But if you describe what you want in more detail, maybe someone else here or on the maven-users list can give you further advice.

Regards,
Curtis

--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden


On Tue, Mar 7, 2017 at 9:08 AM, <elro...@gmail.com> wrote:
Is it possible to create multiple shared libraries in a single Maven POM? If so, how would that be accomplished?

Thanks!

--
You received this message because you are subscribed to the Google Groups "NAR Maven plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maven-nar+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages