[jira] [Created] (MDEPLOY-202) deploy-file goal insists on deploying source file for previous deploy-file execution

2015-09-29 Thread Stephan Leicht Vogt (JIRA)
Stephan Leicht Vogt created MDEPLOY-202:
---

 Summary: deploy-file goal insists on deploying source file for 
previous deploy-file execution
 Key: MDEPLOY-202
 URL: https://issues.apache.org/jira/browse/MDEPLOY-202
 Project: Maven Deploy Plugin
  Issue Type: Sub-task
  Components: deploy:deploy-file
Affects Versions: 2.8.2, 2.8.1
Reporter: Stephan Leicht Vogt


In a releng pom I deploy various files to a repository. Each file is in its own 
execution. Beside the binary file I also want to deploy the source jar:

{code:xml}

  deploy-equinox-snapshots
  
true
  
  

  
org.apache.maven.plugins
maven-deploy-plugin

  
deploy-osgi

  deploy-file

deploy

  
${downloaded}/org.eclipse.osgi_${org.eclipse.osgi}.jar
  
${downloaded}/org.eclipse.osgi.source_${org.eclipse.osgi}.jar
  
${project.build.outputDirectory}/org.eclipse.osgi.pom

  
  
deploy-equinox-common

  deploy-file

deploy

  
${downloaded}/org.eclipse.equinox.common_${org.eclipse.equinox.common}.jar
  
${downloaded}/org.eclipse.equinox.common.source_${org.eclipse.equinox.common}.jar
  
${project.build.outputDirectory}/org.eclipse.equinox.common.pom

  
  
deploy-equinox-security

  deploy-file

deploy

  
${downloaded}/org.eclipse.equinox.security_${org.eclipse.equinox.security}.jar
  
${downloaded}/org.eclipse.equinox.security.source_${org.eclipse.equinox.security}.jar
  
${project.build.outputDirectory}/org.eclipse.equinox.security.pom

  
  
deploy-equinox-registry

  deploy-file

deploy

  
${downloaded}/org.eclipse.equinox.registry_${org.eclipse.equinox.registry}.jar
  
${downloaded}/org.eclipse.equinox.registry.source_${org.eclipse.equinox.registry}.jar
  
${project.build.outputDirectory}/org.eclipse.equinox.registry.pom

  
  
deploy-equinox-preferences

  deploy-file

deploy

  
${downloaded}/org.eclipse.equinox.preferences_${org.eclipse.equinox.preferences}.jar
  
${downloaded}/org.eclipse.equinox.preferences.source_${org.eclipse.equinox.preferences}.jar
  
${project.build.outputDirectory}/org.eclipse.equinox.preferences.pom

  

  

  

{code}

The first execution works fine but every other execution deploys again the 
source files from all past executions. Although this works for SNAPSHOTS it 
breaks for RELEASES as a released file shouldn't/can't be overwritten.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (MDEPLOY-202) deploy-file goal insists on deploying source file for previous deploy-file execution

2015-09-29 Thread Stephan Leicht Vogt (JIRA)

 [ 
https://issues.apache.org/jira/browse/MDEPLOY-202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stephan Leicht Vogt updated MDEPLOY-202:

Attachment: MDEPLOY-202-DeployFileMojo.patch

This solves the described issue.

> deploy-file goal insists on deploying source file for previous deploy-file 
> execution
> 
>
> Key: MDEPLOY-202
> URL: https://issues.apache.org/jira/browse/MDEPLOY-202
> Project: Maven Deploy Plugin
>  Issue Type: Sub-task
>  Components: deploy:deploy-file
>Affects Versions: 2.8.1, 2.8.2
>Reporter: Stephan Leicht Vogt
> Attachments: MDEPLOY-202-DeployFileMojo.patch
>
>
> In a releng pom I deploy various files to a repository. Each file is in its 
> own execution. Beside the binary file I also want to deploy the source jar:
> {code:xml}
> 
>   deploy-equinox-snapshots
>   
> true
>   
>   
> 
>   
> org.apache.maven.plugins
> maven-deploy-plugin
> 
>   
> deploy-osgi
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.osgi_${org.eclipse.osgi}.jar
>   
> ${downloaded}/org.eclipse.osgi.source_${org.eclipse.osgi}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.osgi.pom
> 
>   
>   
> deploy-equinox-common
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.equinox.common_${org.eclipse.equinox.common}.jar
>   
> ${downloaded}/org.eclipse.equinox.common.source_${org.eclipse.equinox.common}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.equinox.common.pom
> 
>   
>   
> deploy-equinox-security
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.equinox.security_${org.eclipse.equinox.security}.jar
>   
> ${downloaded}/org.eclipse.equinox.security.source_${org.eclipse.equinox.security}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.equinox.security.pom
> 
>   
>   
> deploy-equinox-registry
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.equinox.registry_${org.eclipse.equinox.registry}.jar
>   
> ${downloaded}/org.eclipse.equinox.registry.source_${org.eclipse.equinox.registry}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.equinox.registry.pom
> 
>   
>   
> deploy-equinox-preferences
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.equinox.preferences_${org.eclipse.equinox.preferences}.jar
>   
> ${downloaded}/org.eclipse.equinox.preferences.source_${org.eclipse.equinox.preferences}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.equinox.preferences.pom
> 
>   
> 
>   
> 
>   
> 
> {code}
> The first execution works fine but every other execution deploys again the 
> source files from all past executions. Although this works for SNAPSHOTS it 
> breaks for RELEASES as a released file shouldn't/can't be overwritten.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MDEPLOY-202) deploy-file goal insists on deploying source file for previous deploy-file execution

2015-09-30 Thread Stephan Leicht Vogt (JIRA)

[ 
https://issues.apache.org/jira/browse/MDEPLOY-202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14936590#comment-14936590
 ] 

Stephan Leicht Vogt commented on MDEPLOY-202:
-

Here is the full pom: 
https://git.eclipse.org/c/scout/org.eclipse.scout.sdk.git/tree/org.eclipse.scout.sdk.s2e.releng/pom.xml?h=releases/5.2.x

And here the broken build where I wanted to deploy the "release" versions of 
the dependencies: 
https://hudson.eclipse.org/scout/job/org.eclipse.scout.sdk.dependencies/20/console

> deploy-file goal insists on deploying source file for previous deploy-file 
> execution
> 
>
> Key: MDEPLOY-202
> URL: https://issues.apache.org/jira/browse/MDEPLOY-202
> Project: Maven Deploy Plugin
>  Issue Type: Sub-task
>  Components: deploy:deploy-file
>Affects Versions: 2.8.1, 2.8.2
>Reporter: Stephan Leicht Vogt
> Attachments: MDEPLOY-202-DeployFileMojo.patch
>
>
> In a releng pom I deploy various files to a repository. Each file is in its 
> own execution. Beside the binary file I also want to deploy the source jar:
> {code:xml}
> 
>   deploy-equinox-snapshots
>   
> true
>   
>   
> 
>   
> org.apache.maven.plugins
> maven-deploy-plugin
> 
>   
> deploy-osgi
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.osgi_${org.eclipse.osgi}.jar
>   
> ${downloaded}/org.eclipse.osgi.source_${org.eclipse.osgi}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.osgi.pom
> 
>   
>   
> deploy-equinox-common
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.equinox.common_${org.eclipse.equinox.common}.jar
>   
> ${downloaded}/org.eclipse.equinox.common.source_${org.eclipse.equinox.common}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.equinox.common.pom
> 
>   
>   
> deploy-equinox-security
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.equinox.security_${org.eclipse.equinox.security}.jar
>   
> ${downloaded}/org.eclipse.equinox.security.source_${org.eclipse.equinox.security}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.equinox.security.pom
> 
>   
>   
> deploy-equinox-registry
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.equinox.registry_${org.eclipse.equinox.registry}.jar
>   
> ${downloaded}/org.eclipse.equinox.registry.source_${org.eclipse.equinox.registry}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.equinox.registry.pom
> 
>   
>   
> deploy-equinox-preferences
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.equinox.preferences_${org.eclipse.equinox.preferences}.jar
>   
> ${downloaded}/org.eclipse.equinox.preferences.source_${org.eclipse.equinox.preferences}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.equinox.preferences.pom
> 
>   
> 
>   
> 
>   
> 
> {code}
> The first execution works fine but every other execution deploys again the 
> source files from all past executions. Although this works for SNAPSHOTS it 
> breaks for RELEASES as a released file shouldn't/can't be overwritten.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MDEPLOY-202) deploy-file goal insists on deploying source file for previous deploy-file execution

2015-10-12 Thread Stephan Leicht Vogt (JIRA)

[ 
https://issues.apache.org/jira/browse/MDEPLOY-202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14953137#comment-14953137
 ] 

Stephan Leicht Vogt commented on MDEPLOY-202:
-

What is the state of this issue? Can I help somehow? I depend on a solution of 
this as I don't see a (easy) workaround.

> deploy-file goal insists on deploying source file for previous deploy-file 
> execution
> 
>
> Key: MDEPLOY-202
> URL: https://issues.apache.org/jira/browse/MDEPLOY-202
> Project: Maven Deploy Plugin
>  Issue Type: Sub-task
>  Components: deploy:deploy-file
>Affects Versions: 2.8.1, 2.8.2
>Reporter: Stephan Leicht Vogt
> Attachments: MDEPLOY-202-DeployFileMojo.patch
>
>
> In a releng pom I deploy various files to a repository. Each file is in its 
> own execution. Beside the binary file I also want to deploy the source jar:
> {code:xml}
> 
>   deploy-equinox-snapshots
>   
> true
>   
>   
> 
>   
> org.apache.maven.plugins
> maven-deploy-plugin
> 
>   
> deploy-osgi
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.osgi_${org.eclipse.osgi}.jar
>   
> ${downloaded}/org.eclipse.osgi.source_${org.eclipse.osgi}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.osgi.pom
> 
>   
>   
> deploy-equinox-common
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.equinox.common_${org.eclipse.equinox.common}.jar
>   
> ${downloaded}/org.eclipse.equinox.common.source_${org.eclipse.equinox.common}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.equinox.common.pom
> 
>   
>   
> deploy-equinox-security
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.equinox.security_${org.eclipse.equinox.security}.jar
>   
> ${downloaded}/org.eclipse.equinox.security.source_${org.eclipse.equinox.security}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.equinox.security.pom
> 
>   
>   
> deploy-equinox-registry
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.equinox.registry_${org.eclipse.equinox.registry}.jar
>   
> ${downloaded}/org.eclipse.equinox.registry.source_${org.eclipse.equinox.registry}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.equinox.registry.pom
> 
>   
>   
> deploy-equinox-preferences
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.equinox.preferences_${org.eclipse.equinox.preferences}.jar
>   
> ${downloaded}/org.eclipse.equinox.preferences.source_${org.eclipse.equinox.preferences}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.equinox.preferences.pom
> 
>   
> 
>   
> 
>   
> 
> {code}
> The first execution works fine but every other execution deploys again the 
> source files from all past executions. Although this works for SNAPSHOTS it 
> breaks for RELEASES as a released file shouldn't/can't be overwritten.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MDEPLOY-202) deploy-file goal insists on deploying source file for previous deploy-file execution

2015-10-13 Thread Stephan Leicht Vogt (JIRA)

[ 
https://issues.apache.org/jira/browse/MDEPLOY-202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14954528#comment-14954528
 ] 

Stephan Leicht Vogt commented on MDEPLOY-202:
-

This doesn't work as all files have different artifactIds and versions.

What about the patch I provided? Why can't it be applied and a new version of 
this plugin released?

> deploy-file goal insists on deploying source file for previous deploy-file 
> execution
> 
>
> Key: MDEPLOY-202
> URL: https://issues.apache.org/jira/browse/MDEPLOY-202
> Project: Maven Deploy Plugin
>  Issue Type: Sub-task
>  Components: deploy:deploy-file
>Affects Versions: 2.8.1, 2.8.2
>Reporter: Stephan Leicht Vogt
> Attachments: MDEPLOY-202-DeployFileMojo.patch
>
>
> In a releng pom I deploy various files to a repository. Each file is in its 
> own execution. Beside the binary file I also want to deploy the source jar:
> {code:xml}
> 
>   deploy-equinox-snapshots
>   
> true
>   
>   
> 
>   
> org.apache.maven.plugins
> maven-deploy-plugin
> 
>   
> deploy-osgi
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.osgi_${org.eclipse.osgi}.jar
>   
> ${downloaded}/org.eclipse.osgi.source_${org.eclipse.osgi}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.osgi.pom
> 
>   
>   
> deploy-equinox-common
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.equinox.common_${org.eclipse.equinox.common}.jar
>   
> ${downloaded}/org.eclipse.equinox.common.source_${org.eclipse.equinox.common}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.equinox.common.pom
> 
>   
>   
> deploy-equinox-security
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.equinox.security_${org.eclipse.equinox.security}.jar
>   
> ${downloaded}/org.eclipse.equinox.security.source_${org.eclipse.equinox.security}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.equinox.security.pom
> 
>   
>   
> deploy-equinox-registry
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.equinox.registry_${org.eclipse.equinox.registry}.jar
>   
> ${downloaded}/org.eclipse.equinox.registry.source_${org.eclipse.equinox.registry}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.equinox.registry.pom
> 
>   
>   
> deploy-equinox-preferences
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.equinox.preferences_${org.eclipse.equinox.preferences}.jar
>   
> ${downloaded}/org.eclipse.equinox.preferences.source_${org.eclipse.equinox.preferences}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.equinox.preferences.pom
> 
>   
> 
>   
> 
>   
> 
> {code}
> The first execution works fine but every other execution deploys again the 
> source files from all past executions. Although this works for SNAPSHOTS it 
> breaks for RELEASES as a released file shouldn't/can't be overwritten.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MDEPLOY-202) deploy-file goal insists on deploying source file for previous deploy-file execution

2015-10-18 Thread Stephan Leicht Vogt (JIRA)

[ 
https://issues.apache.org/jira/browse/MDEPLOY-202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14962917#comment-14962917
 ] 

Stephan Leicht Vogt commented on MDEPLOY-202:
-

Thanks, unfortunately I can't test it as 
org.apache.maven.plugins:maven-plugins:pom:28-SNAPSHOT doesn't seem to be 
deployed on http://repository.apache.org/snapshots:
https://hudson.eclipse.org/scout/job/org.eclipse.scout.sdk.dependencies/24/console

> deploy-file goal insists on deploying source file for previous deploy-file 
> execution
> 
>
> Key: MDEPLOY-202
> URL: https://issues.apache.org/jira/browse/MDEPLOY-202
> Project: Maven Deploy Plugin
>  Issue Type: Sub-task
>  Components: deploy:deploy-file
>Affects Versions: 2.8.1, 2.8.2
>Reporter: Stephan Leicht Vogt
>Assignee: Robert Scholte
> Fix For: 3.0
>
> Attachments: MDEPLOY-202-DeployFileMojo.patch
>
>
> In a releng pom I deploy various files to a repository. Each file is in its 
> own execution. Beside the binary file I also want to deploy the source jar:
> {code:xml}
> 
>   deploy-equinox-snapshots
>   
> true
>   
>   
> 
>   
> org.apache.maven.plugins
> maven-deploy-plugin
> 
>   
> deploy-osgi
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.osgi_${org.eclipse.osgi}.jar
>   
> ${downloaded}/org.eclipse.osgi.source_${org.eclipse.osgi}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.osgi.pom
> 
>   
>   
> deploy-equinox-common
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.equinox.common_${org.eclipse.equinox.common}.jar
>   
> ${downloaded}/org.eclipse.equinox.common.source_${org.eclipse.equinox.common}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.equinox.common.pom
> 
>   
>   
> deploy-equinox-security
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.equinox.security_${org.eclipse.equinox.security}.jar
>   
> ${downloaded}/org.eclipse.equinox.security.source_${org.eclipse.equinox.security}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.equinox.security.pom
> 
>   
>   
> deploy-equinox-registry
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.equinox.registry_${org.eclipse.equinox.registry}.jar
>   
> ${downloaded}/org.eclipse.equinox.registry.source_${org.eclipse.equinox.registry}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.equinox.registry.pom
> 
>   
>   
> deploy-equinox-preferences
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.equinox.preferences_${org.eclipse.equinox.preferences}.jar
>   
> ${downloaded}/org.eclipse.equinox.preferences.source_${org.eclipse.equinox.preferences}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.equinox.preferences.pom
> 
>   
> 
>   
> 
>   
> 
> {code}
> The first execution works fine but every other execution deploys again the 
> source files from all past executions. Although this works for SNAPSHOTS it 
> breaks for RELEASES as a released file shouldn't/can't be overwritten.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MDEPLOY-202) deploy-file goal insists on deploying source file for previous deploy-file execution

2015-10-20 Thread Stephan Leicht Vogt (JIRA)

[ 
https://issues.apache.org/jira/browse/MDEPLOY-202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14964853#comment-14964853
 ] 

Stephan Leicht Vogt commented on MDEPLOY-202:
-

This worked so far. But now I get the next error. It seems the deploy-plugin 
doesn't use the authentication entries from the settings.xml. Here the log with 
debug output: 
https://hudson.eclipse.org/scout/job/org.eclipse.scout.sdk.dependencies/26/console

> deploy-file goal insists on deploying source file for previous deploy-file 
> execution
> 
>
> Key: MDEPLOY-202
> URL: https://issues.apache.org/jira/browse/MDEPLOY-202
> Project: Maven Deploy Plugin
>  Issue Type: Sub-task
>  Components: deploy:deploy-file
>Affects Versions: 2.8.1, 2.8.2
>Reporter: Stephan Leicht Vogt
>Assignee: Robert Scholte
> Fix For: 3.0
>
> Attachments: MDEPLOY-202-DeployFileMojo.patch
>
>
> In a releng pom I deploy various files to a repository. Each file is in its 
> own execution. Beside the binary file I also want to deploy the source jar:
> {code:xml}
> 
>   deploy-equinox-snapshots
>   
> true
>   
>   
> 
>   
> org.apache.maven.plugins
> maven-deploy-plugin
> 
>   
> deploy-osgi
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.osgi_${org.eclipse.osgi}.jar
>   
> ${downloaded}/org.eclipse.osgi.source_${org.eclipse.osgi}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.osgi.pom
> 
>   
>   
> deploy-equinox-common
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.equinox.common_${org.eclipse.equinox.common}.jar
>   
> ${downloaded}/org.eclipse.equinox.common.source_${org.eclipse.equinox.common}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.equinox.common.pom
> 
>   
>   
> deploy-equinox-security
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.equinox.security_${org.eclipse.equinox.security}.jar
>   
> ${downloaded}/org.eclipse.equinox.security.source_${org.eclipse.equinox.security}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.equinox.security.pom
> 
>   
>   
> deploy-equinox-registry
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.equinox.registry_${org.eclipse.equinox.registry}.jar
>   
> ${downloaded}/org.eclipse.equinox.registry.source_${org.eclipse.equinox.registry}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.equinox.registry.pom
> 
>   
>   
> deploy-equinox-preferences
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.equinox.preferences_${org.eclipse.equinox.preferences}.jar
>   
> ${downloaded}/org.eclipse.equinox.preferences.source_${org.eclipse.equinox.preferences}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.equinox.preferences.pom
> 
>   
> 
>   
> 
>   
> 
> {code}
> The first execution works fine but every other execution deploys again the 
> source files from all past executions. Although this works for SNAPSHOTS it 
> breaks for RELEASES as a released file shouldn't/can't be overwritten.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MDEPLOY-202) deploy-file goal insists on deploying source file for previous deploy-file execution

2015-10-21 Thread Stephan Leicht Vogt (JIRA)

[ 
https://issues.apache.org/jira/browse/MDEPLOY-202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14966382#comment-14966382
 ] 

Stephan Leicht Vogt commented on MDEPLOY-202:
-

Great, it works! Thank you very much.
BUILD SUCCESS: 
https://hudson.eclipse.org/scout/job/org.eclipse.scout.sdk.dependencies/27/

> deploy-file goal insists on deploying source file for previous deploy-file 
> execution
> 
>
> Key: MDEPLOY-202
> URL: https://issues.apache.org/jira/browse/MDEPLOY-202
> Project: Maven Deploy Plugin
>  Issue Type: Sub-task
>  Components: deploy:deploy-file
>Affects Versions: 2.8.1, 2.8.2
>Reporter: Stephan Leicht Vogt
>Assignee: Robert Scholte
> Fix For: 3.0
>
> Attachments: MDEPLOY-202-DeployFileMojo.patch
>
>
> In a releng pom I deploy various files to a repository. Each file is in its 
> own execution. Beside the binary file I also want to deploy the source jar:
> {code:xml}
> 
>   deploy-equinox-snapshots
>   
> true
>   
>   
> 
>   
> org.apache.maven.plugins
> maven-deploy-plugin
> 
>   
> deploy-osgi
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.osgi_${org.eclipse.osgi}.jar
>   
> ${downloaded}/org.eclipse.osgi.source_${org.eclipse.osgi}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.osgi.pom
> 
>   
>   
> deploy-equinox-common
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.equinox.common_${org.eclipse.equinox.common}.jar
>   
> ${downloaded}/org.eclipse.equinox.common.source_${org.eclipse.equinox.common}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.equinox.common.pom
> 
>   
>   
> deploy-equinox-security
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.equinox.security_${org.eclipse.equinox.security}.jar
>   
> ${downloaded}/org.eclipse.equinox.security.source_${org.eclipse.equinox.security}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.equinox.security.pom
> 
>   
>   
> deploy-equinox-registry
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.equinox.registry_${org.eclipse.equinox.registry}.jar
>   
> ${downloaded}/org.eclipse.equinox.registry.source_${org.eclipse.equinox.registry}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.equinox.registry.pom
> 
>   
>   
> deploy-equinox-preferences
> 
>   deploy-file
> 
> deploy
> 
>   
> ${downloaded}/org.eclipse.equinox.preferences_${org.eclipse.equinox.preferences}.jar
>   
> ${downloaded}/org.eclipse.equinox.preferences.source_${org.eclipse.equinox.preferences}.jar
>   
> ${project.build.outputDirectory}/org.eclipse.equinox.preferences.pom
> 
>   
> 
>   
> 
>   
> 
> {code}
> The first execution works fine but every other execution deploys again the 
> source files from all past executions. Although this works for SNAPSHOTS it 
> breaks for RELEASES as a released file shouldn't/can't be overwritten.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (MGPG-53) sign-and-deploy-file goal insists on deploying source file for previous sign-and-deploy-file execution

2015-12-02 Thread Stephan Leicht Vogt (JIRA)

 [ 
https://issues.apache.org/jira/browse/MGPG-53?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stephan Leicht Vogt updated MGPG-53:

Description: Like the issue MDEPLOY-202 the same occurs in the GPG plugin.  
(was: Like the issue MDEPLOY-202 the same occurs in the GPG plugin)

> sign-and-deploy-file goal insists on deploying source file for previous 
> sign-and-deploy-file execution
> --
>
> Key: MGPG-53
> URL: https://issues.apache.org/jira/browse/MGPG-53
> Project: Maven GPG Plugin
>  Issue Type: Bug
>Affects Versions: 1.6, 1.7
>Reporter: Stephan Leicht Vogt
> Fix For: 1.7
>
>
> Like the issue MDEPLOY-202 the same occurs in the GPG plugin.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (MGPG-53) sign-and-deploy-file goal insists on deploying source file for previous sign-and-deploy-file execution

2015-12-02 Thread Stephan Leicht Vogt (JIRA)
Stephan Leicht Vogt created MGPG-53:
---

 Summary: sign-and-deploy-file goal insists on deploying source 
file for previous sign-and-deploy-file execution
 Key: MGPG-53
 URL: https://issues.apache.org/jira/browse/MGPG-53
 Project: Maven GPG Plugin
  Issue Type: Bug
Affects Versions: 1.6, 1.7
Reporter: Stephan Leicht Vogt
 Fix For: 1.7


Like the issue MDEPLOY-202 the same occurs in the GPG plugin



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (MGPG-53) sign-and-deploy-file goal insists on deploying source file for previous sign-and-deploy-file execution

2015-12-02 Thread Stephan Leicht Vogt (JIRA)

 [ 
https://issues.apache.org/jira/browse/MGPG-53?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stephan Leicht Vogt updated MGPG-53:

Attachment: MGPG.diff

Fix like the one which fixes MDEPLOY-202.

> sign-and-deploy-file goal insists on deploying source file for previous 
> sign-and-deploy-file execution
> --
>
> Key: MGPG-53
> URL: https://issues.apache.org/jira/browse/MGPG-53
> Project: Maven GPG Plugin
>  Issue Type: Bug
>Affects Versions: 1.6, 1.7
>Reporter: Stephan Leicht Vogt
> Fix For: 1.7
>
> Attachments: MGPG.diff
>
>
> Like the issue MDEPLOY-202 the same occurs in the GPG plugin.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (MGPG-53) sign-and-deploy-file goal insists on deploying source file for previous sign-and-deploy-file execution

2015-12-02 Thread Stephan Leicht Vogt (JIRA)

 [ 
https://issues.apache.org/jira/browse/MGPG-53?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stephan Leicht Vogt updated MGPG-53:

Attachment: MGPG-53_deployfile-with-multiple-executions.zip

its which reproduces this issue.

> sign-and-deploy-file goal insists on deploying source file for previous 
> sign-and-deploy-file execution
> --
>
> Key: MGPG-53
> URL: https://issues.apache.org/jira/browse/MGPG-53
> Project: Maven GPG Plugin
>  Issue Type: Bug
>Affects Versions: 1.6, 1.7
>Reporter: Stephan Leicht Vogt
> Fix For: 1.7
>
> Attachments: MGPG-53_deployfile-with-multiple-executions.zip, 
> MGPG.diff
>
>
> Like the issue MDEPLOY-202 the same occurs in the GPG plugin.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)