[
http://jira.codehaus.org/browse/MOJO-1383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=180324#action_180324
]
Josh McFarlane commented on MOJO-1383:
--------------------------------------
Yes, just the rpm goal (to produce rpms as a side effect)
I was trying to do it like:
<executions>
<execution>
<id>one</id>
<goals>
<goal>rpm</goal>
</goals>
<configuration>...</configuration>
</execution>
<execution>
<id>two</id>
<goals>
<goal>rpm</goal>
</goals>
<configuration>...</configuration>
</execution>
<executions>
But, the second would fail due to having the artifact from the first's (in a
different installation location) still in the buildroot.
> Clear buildroot before copying files into folder
> ------------------------------------------------
>
> Key: MOJO-1383
> URL: http://jira.codehaus.org/browse/MOJO-1383
> Project: Mojo
> Issue Type: Bug
> Components: rpm
> Reporter: Josh McFarlane
> Assignee: Brett Okken
> Attachments: MOJO-1383.patch
>
>
> When you have multiple executions, the plugin does not clean out the
> buildroot folder prior to copying anything in for executions. This means the
> first execution will run fine, but any executions after that will fail due to
> files that are in buildroot but not consumed by the current rpm spec.
--
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