[
http://jira.codehaus.org/browse/MOJO-724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_92657
]
Barrie Treloar commented on MOJO-724:
-------------------------------------
I'd rather fix this properly so you don't have to do the hack you have listed
above.
When I provided the patch for this plugin to get product support happening, I
only needed one config to work.
I had not yet given enough thought to how to attach multiple artifacts.
Using the os part of the config tuple as the classifier would do the trick.
I'm not sure I have the time to create the correct patch.
If you want to make the changes, with appropriate tests, it may get done faster.
> Build should not fail for multiple configs
> ------------------------------------------
>
> Key: MOJO-724
> URL: http://jira.codehaus.org/browse/MOJO-724
> Project: Mojo
> Issue Type: Bug
> Components: pde
> Environment: Windows, Linux
> Reporter: Przemyslaw Madzik
> Priority: Critical
> Attachments: pde-maven-plugin_multi-config.diff
>
>
> In our organisation we need builds for two platforms (Windows, Linux).
> pde-maven-plugin not support it, but this is not problem. We only would like
> to maven not ends with "BUILD ERROR", and then following configuration will
> be operating:
> {code:xml}
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>build-helper-maven-plugin</artifactId>
> <executions>
> <execution>
> <id>attach-artifacts</id>
> <phase>package</phase>
> <goals>
> <goal>attach-artifact</goal>
> </goals>
> <configuration>
> <artifacts>
> <artifact>
> <file>../../I.TestBuild/TestBuild-linux.gtk.x86.zip</file>
> <type>zip</type>
> <classifier>linux</classifier>
> </artifact>
> </artifacts>
> </configuration>
> </execution>
> </executions>
> </plugin>
> {code}
> PS. Sory for my poor english
--
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