Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346313 - eclipse-maven-signing-plugin always uses a "site_assembly.xml" file
Summary: eclipse-maven-signing-plugin always uses a "site_assembly.xml" file
Status: CLOSED FIXED
Alias: None
Product: Dash
Classification: Technology
Component: Maven (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Dash Incoming bugs CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-18 14:08 EDT by Mickael Istria CLA
Modified: 2011-08-02 04:39 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mickael Istria CLA 2011-05-18 14:08:08 EDT
With the same configuration as explained here: http://aniszczyk.org/2011/05/18/eclipse-org-signing-support-for-maven-tycho/#disqus_thread for GMF-Tooling ) https://hudson.eclipse.org/hudson/job/tycho-gmp.gmf.tooling/ ), the sequence of executions always creates a signed/site_assembly.zip file after signing. Then the process of repacking continues with the not-signed file.

Is there an outputFile configuration prossible?
Comment 1 Jesse McConnell CLA 2011-08-01 12:33:01 EDT
Well you can just reset the inputFile configuration option on the pack mojo to get this working, that is what most of the examples do.

but to make this a bit easier I extended the PackMojo with a new RepackMojo that sets the default for inputFile to ${project.build.directory}/signed/site_assembly.zip" which should address the common use case
Comment 2 Mickael Istria CLA 2011-08-01 12:37:18 EDT
Sounds good,
IMHO, it would be even easier if all the signing stuff would take place "on site" on the default file produced by Tycho.
Comment 3 Jesse McConnell CLA 2011-08-01 13:00:31 EDT
What is that one called, I think its streamlined for our jetty builds atm and what the site production produces, I suspect its called something else for products, etc.
Comment 4 Mickael Istria CLA 2011-08-02 04:39:33 EDT
I think for most projects, it will be ${project.build.directory}/${artifactId}.zip.

I agree with the need to be able to put something else as inputFile, but with this default value, it will be much easier to use for most eclipse projects.