-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MASSEMBLY-617] add ability to set fileMappers in FileSet in maven as… #5
base: master
Are you sure you want to change the base?
Conversation
Hi This need certainly to add test but I don't know where :( And in MDO it"s wrong in version and again I don't know what i must do in it Thx |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't use SNAPSHOTs, please.
pom.xml
Outdated
@@ -138,7 +138,7 @@ under the License. | |||
<dependency> | |||
<groupId>org.codehaus.plexus</groupId> | |||
<artifactId>plexus-archiver</artifactId> | |||
<version>3.6.0</version> | |||
<version>3.6.1-SNAPSHOT</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't use SNAPSHOT versions, as this could introduce instability at any given time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @spiritualops , yes of course, I'm just waiting plexus release (maybe it's already done) to change this with the correct release version
And I need help to maybe add some test, and for MDO
Thx
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Plexus Archiver has been released and the assembly plugin is already updated to use a newer version so you can just rebase your branch.
<name>fileMappers</name> | ||
<version>3.2.0+</version> | ||
<association> | ||
<type>FileMapper</type> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can't use the FileMapper from Plexus IO directly. You need to declare all types (except "simple" types such as String) in the MDO. So you have to declare this type in MDO as well and then use it to configure the actual FileMappers.
@tcollignon I've added comment about the MDO inline. hope it helps but if its too vague I'll try to find some time to add an example. About the tests take a look at |
thx for your answer @plamentotev , I will try to finish this when I can |
1b61a4a
to
e8ca448
Compare
e8ca448
to
edeae79
Compare
So @plamentotev I have try to do something. |
Note : This PR could close https://issues.apache.org/jira/browse/MASSEMBLY-886 too |
Hi any news here? thx for your time |
Hi @tcollignon, The problem is not that much with the verbosity of the code, but that is the list of file mappers is practically hard coded. If you want to add another one you'll need to change the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this still in progress or should we close it?
…sembly plugin
new version of PR #4 for https://issues.apache.org/jira/browse/MASSEMBLY-617