[ http://jira.codehaus.org/browse/MGPG-10?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp closed MGPG-10. --------------------------- Assignee: Daniel Kulp Resolution: Fixed Fix Version/s: 1.0-alpha-4 > [Patch] Please stop creating signatures in places outside > ${project.build.directory} > ------------------------------------------------------------------------------------ > > Key: MGPG-10 > URL: http://jira.codehaus.org/browse/MGPG-10 > Project: Maven 2.x GPG Plugin > Issue Type: Improvement > Reporter: Christian Schulte > Assignee: Daniel Kulp > Priority: Trivial > Fix For: 1.0-alpha-4 > > Attachments: MGPG-10.patch > > > I am currently using the build-helper-maven-plugin to attach a XML schema > located in src/site/resources to a project. The gpg plugin creates the > signature also in directory src/site/resources where it is not handled by the > clean plugin. The attached patch introduces a new Mojo configuration > parameter named outputDirectory which defaults to > ${project.build.directory}/gpg to be used by gpg for writing signatures to > which would end up outside the ${project.build.directory} otherwise. It will > create the same directory structure in this directory to avoid overwriting > signatures for duplicate files in different directories. E.g. a signature for > a file named src/site/resources/schema.xsd will be written to > ${project.build.directory}/gpg/src/site/resources/schema.xsd.asc instead of > src/site/resources/schema.xsd.asc. -- 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