How to specify corresponding outjars using Assumbly

18 views
Skip to first unread message

Farrukh Najmi

unread,
Nov 24, 2010, 8:40:40 AM11/24/10
to pyx4me-users
Hi I am trying to use the plugin so that a single proguard:proguard execution obfuscates the project jar and also a subset of the project's dependency jars and place the obfuscated jars in the local maven repo with an "obfuscated" classifier.

The Assmebly configuration allows me to specify the dependencies as -injars but I am not sure how to use the Assembly configuration so each -injars option is followed by a -outjars option corresponding to the previous -injars option and specifies the "obfuscated" classifier.

I have seen on the archives that I can specify the clasifier on the output using folling in <configuration> for the plugin:

<appendClassifier>true</appendClassifier>
          <attachArtifactClassifier>obfuscated</attachArtifactClassifier>
          <attach>true</attach>

Now all I am missing is a way to tell the plugin to output -outjars option for each -injars option rather than only for the top level project.

Is this possible now? If not, does this make sense as a simple enhancement? Perhaps a new configuration element like this could do the trick?

<multipleOutjars>true<</multipleOutjars>

Please comment. Thanks.

--
Regards,
Farrukh

Vlad Skarzhevskyy

unread,
Nov 24, 2010, 12:58:55 PM11/24/10
to pyx4me...@googlegroups.com
The idea of maven is one artifact per pom. So we do not create multiple artifacts in this plugin.

Vlad


--
You received this message because you are subscribed to the Google Groups "pyx4me-users" group.
To post to this group, send email to pyx4me...@googlegroups.com.
To unsubscribe from this group, send email to pyx4me-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pyx4me-users?hl=en.

Reply all
Reply to author
Forward
0 new messages