[
http://jira.codehaus.org/browse/MRPM-46?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=205904#action_205904
]
Andrea Barbieri commented on MRPM-46:
-------------------------------------
the suggestion does not work. the clue is in the "Hudson job (parameterised
build)" keywords and moreover it's not about changing the number of primary or
attached artifacts to the pom (it's 1 in the case presented above).
there is no redundant data either in the pom I am using.
Most likely I will resolve to generate the pom i.e. having dynamic creation in
the process (to generate the pom) rather than being able to cater from a
flexible standard pom if as it seems the feature request is deemed not worthy
to follow.
I believe it is, but I obviously have failed to convince of the benefits of the
kind of flexibility such feature can provide.
> allow Requires, Conflicts and Provides to be read from file
> -----------------------------------------------------------
>
> Key: MRPM-46
> URL: http://jira.codehaus.org/browse/MRPM-46
> Project: Mojo RPM Plugin
> Issue Type: New Feature
> Components: rpm
> Affects Versions: 2.0-beta-3
> Reporter: Andrea Barbieri
> Assignee: Brett Okken
>
> Hello,
> would it be possible to specify the Conflicts in a similar manner to the
> scriptlets, either inline or via the contents of an external file?
> If new elements like <ConflictsFile>, <RequiresFile> and <ProvidesFile> are
> allowed to read the list of packages via a specified file this goal can be
> achieved.
> example:
> src/main/resources/myRequiresFile.txt
> src/main/resources/myConflictsFile.txt
> myRequiresFile.txt contains either a comma separated list or one entry per
> line:
> bin/sh
> jre >= 1.5
> jboss-myprofile-A
> and myConflictsFile.txt:
> jboss-myprofile-B
> jboss-myprofile-C
> then
> <RequiresFile>src/main/resources/myRequiresFile.txt</RequiresFile>
> <ConflictsFile>src/main/resources/myConflictsFile.txt</ConflictsFile>
> would in the end generate these RPM tags:
> Requires: bin/sh, jre >= 1.5, jboss-myprofile-A
> Conflicts: jboss-myprofile-B, jboss-myprofile-C
> many thanks
> andrea
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email