You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Anthony Wood (JIRA)" <ji...@apache.org> on 2012/09/21 19:40:10 UTC
[jira] [Created] (KARAF-1853) Attached kar deploys to a different
snapshot build number than the main artifact
Anthony Wood created KARAF-1853:
-----------------------------------
Summary: Attached kar deploys to a different snapshot build number than the main artifact
Key: KARAF-1853
URL: https://issues.apache.org/jira/browse/KARAF-1853
Project: Karaf
Issue Type: Bug
Components: karaf-kar
Affects Versions: 2.2.5
Environment: maven 2.2.1
Reporter: Anthony Wood
Using the standard maven config (packaging=pom) for features-maven-plugin:create-kar, the build number for the kar artifact is *35* instead of *34* used for the POM and features.xml artifacts. This wreaks havoc with other projects that depend on this snapshot because they attempt to download the POM of version 35 and fail.
Maven 2.2.1 excerpt:
{noformat}
[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] Retrieving previous build number from snapshots
Uploading: http://[nexus]/[artifact]/1.0.0-SNAPSHOT/[artifact]-1.0.0-20120921.172953-34.pom
3K uploaded ([artifact]-1.0.0-20120921.172953-34.pom)
[INFO] Retrieving previous metadata from snapshots
[INFO] Uploading repository metadata for: 'artifact [group]:[artifact]'
[INFO] Retrieving previous metadata from snapshots
[INFO] Uploading repository metadata for: 'snapshot [group]:[artifact]:1.0.0-SNAPSHOT'
[INFO] Retrieving previous build number from snapshots
Uploading: http://[nexus]/[artifact]/1.0.0-SNAPSHOT/[artifact]-1.0.0-20120921.172953-34-features.xml
10K uploaded ([artifact]-1.0.0-20120921.172953-34-features.xml)
[INFO] Retrieving previous build number from snapshots
Uploading: http://[nexus]/[artifact]/1.0.0-SNAPSHOT/[artifact]-1.0.0-20120921.172953-35.kar
25753K uploaded ([artifact]-1.0.0-20120921.172953-35.kar)
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (KARAF-1853) Attached kar deploys to a different
snapshot build number than the main artifact
Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13466942#comment-13466942 ]
Jean-Baptiste Onofré commented on KARAF-1853:
---------------------------------------------
Your patch breaks the kar archetype:
[INFO] [ERROR] Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:3.0.0-SNAPSHOT:features-create-kar (default-features-create-kar) on project kar: Execution default-features-create-kar of goal org.apache.karaf.tooling:karaf-maven-plugin:3.0.0-SNAPSHOT:features-create-kar failed: For artifact {archetype.it:kar:1.0-SNAPSHOT:kar}: An attached artifact must have a different ID than its corresponding main artifact. -> [Help 1]
[INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:3.0.0-SNAPSHOT:features-create-kar (default-features-create-kar) on project kar: Execution default-features-create-kar of goal org.apache.karaf.tooling:karaf-maven-plugin:3.0.0-SNAPSHOT:features-create-kar failed: For artifact {archetype.it:kar:1.0-SNAPSHOT:kar}: An attached artifact must have a different ID than its corresponding main artifact.
I gonna fix that.
> Attached kar deploys to a different snapshot build number than the main artifact
> --------------------------------------------------------------------------------
>
> Key: KARAF-1853
> URL: https://issues.apache.org/jira/browse/KARAF-1853
> Project: Karaf
> Issue Type: Bug
> Components: karaf-kar
> Affects Versions: 2.2.5
> Environment: maven 2.2.1
> Reporter: Anthony Wood
> Assignee: Jean-Baptiste Onofré
> Labels: maven
> Fix For: 2.2.10, 2.3.0, 3.0.0
>
> Attachments: KARAF-1853.patch
>
>
> Using the standard maven config (packaging=pom) for features-maven-plugin:create-kar, the build number for the kar artifact is *35* instead of *34* used for the POM and features.xml artifacts. This wreaks havoc with other projects that depend on this snapshot because they attempt to download the POM of version 35 and fail.
> Maven 2.2.1 excerpt:
> {noformat}
> [INFO] [deploy:deploy {execution: default-deploy}]
> [INFO] Retrieving previous build number from snapshots
> Uploading: http://[nexus]/[artifact]/1.0.0-SNAPSHOT/[artifact]-1.0.0-20120921.172953-34.pom
> 3K uploaded ([artifact]-1.0.0-20120921.172953-34.pom)
> [INFO] Retrieving previous metadata from snapshots
> [INFO] Uploading repository metadata for: 'artifact [group]:[artifact]'
> [INFO] Retrieving previous metadata from snapshots
> [INFO] Uploading repository metadata for: 'snapshot [group]:[artifact]:1.0.0-SNAPSHOT'
> [INFO] Retrieving previous build number from snapshots
> Uploading: http://[nexus]/[artifact]/1.0.0-SNAPSHOT/[artifact]-1.0.0-20120921.172953-34-features.xml
> 10K uploaded ([artifact]-1.0.0-20120921.172953-34-features.xml)
> [INFO] Retrieving previous build number from snapshots
> Uploading: http://[nexus]/[artifact]/1.0.0-SNAPSHOT/[artifact]-1.0.0-20120921.172953-35.kar
> 25753K uploaded ([artifact]-1.0.0-20120921.172953-35.kar)
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (KARAF-1853) Attached kar deploys to a different
snapshot build number than the main artifact
Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13474176#comment-13474176 ]
Jean-Baptiste Onofré commented on KARAF-1853:
---------------------------------------------
Fixed on trunk: http://svn.apache.org/viewvc?view=revision&revision=1397063
> Attached kar deploys to a different snapshot build number than the main artifact
> --------------------------------------------------------------------------------
>
> Key: KARAF-1853
> URL: https://issues.apache.org/jira/browse/KARAF-1853
> Project: Karaf
> Issue Type: Bug
> Components: karaf-kar
> Affects Versions: 2.2.5
> Environment: maven 2.2.1
> Reporter: Anthony Wood
> Assignee: Jean-Baptiste Onofré
> Labels: maven
> Fix For: 2.2.10, 2.3.0, 3.0.0
>
> Attachments: KARAF-1853.patch
>
>
> Using the standard maven config (packaging=pom) for features-maven-plugin:create-kar, the build number for the kar artifact is *35* instead of *34* used for the POM and features.xml artifacts. This wreaks havoc with other projects that depend on this snapshot because they attempt to download the POM of version 35 and fail.
> Maven 2.2.1 excerpt:
> {noformat}
> [INFO] [deploy:deploy {execution: default-deploy}]
> [INFO] Retrieving previous build number from snapshots
> Uploading: http://[nexus]/[artifact]/1.0.0-SNAPSHOT/[artifact]-1.0.0-20120921.172953-34.pom
> 3K uploaded ([artifact]-1.0.0-20120921.172953-34.pom)
> [INFO] Retrieving previous metadata from snapshots
> [INFO] Uploading repository metadata for: 'artifact [group]:[artifact]'
> [INFO] Retrieving previous metadata from snapshots
> [INFO] Uploading repository metadata for: 'snapshot [group]:[artifact]:1.0.0-SNAPSHOT'
> [INFO] Retrieving previous build number from snapshots
> Uploading: http://[nexus]/[artifact]/1.0.0-SNAPSHOT/[artifact]-1.0.0-20120921.172953-34-features.xml
> 10K uploaded ([artifact]-1.0.0-20120921.172953-34-features.xml)
> [INFO] Retrieving previous build number from snapshots
> Uploading: http://[nexus]/[artifact]/1.0.0-SNAPSHOT/[artifact]-1.0.0-20120921.172953-35.kar
> 25753K uploaded ([artifact]-1.0.0-20120921.172953-35.kar)
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (KARAF-1853) Attached kar deploys to a different
snapshot build number than the main artifact
Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13474058#comment-13474058 ]
Jean-Baptiste Onofré commented on KARAF-1853:
---------------------------------------------
Fixed on karaf-2.2.x: http://svn.apache.org/viewvc?view=revision&revision=1397002
> Attached kar deploys to a different snapshot build number than the main artifact
> --------------------------------------------------------------------------------
>
> Key: KARAF-1853
> URL: https://issues.apache.org/jira/browse/KARAF-1853
> Project: Karaf
> Issue Type: Bug
> Components: karaf-kar
> Affects Versions: 2.2.5
> Environment: maven 2.2.1
> Reporter: Anthony Wood
> Assignee: Jean-Baptiste Onofré
> Labels: maven
> Fix For: 2.2.10, 2.3.0, 3.0.0
>
> Attachments: KARAF-1853.patch
>
>
> Using the standard maven config (packaging=pom) for features-maven-plugin:create-kar, the build number for the kar artifact is *35* instead of *34* used for the POM and features.xml artifacts. This wreaks havoc with other projects that depend on this snapshot because they attempt to download the POM of version 35 and fail.
> Maven 2.2.1 excerpt:
> {noformat}
> [INFO] [deploy:deploy {execution: default-deploy}]
> [INFO] Retrieving previous build number from snapshots
> Uploading: http://[nexus]/[artifact]/1.0.0-SNAPSHOT/[artifact]-1.0.0-20120921.172953-34.pom
> 3K uploaded ([artifact]-1.0.0-20120921.172953-34.pom)
> [INFO] Retrieving previous metadata from snapshots
> [INFO] Uploading repository metadata for: 'artifact [group]:[artifact]'
> [INFO] Retrieving previous metadata from snapshots
> [INFO] Uploading repository metadata for: 'snapshot [group]:[artifact]:1.0.0-SNAPSHOT'
> [INFO] Retrieving previous build number from snapshots
> Uploading: http://[nexus]/[artifact]/1.0.0-SNAPSHOT/[artifact]-1.0.0-20120921.172953-34-features.xml
> 10K uploaded ([artifact]-1.0.0-20120921.172953-34-features.xml)
> [INFO] Retrieving previous build number from snapshots
> Uploading: http://[nexus]/[artifact]/1.0.0-SNAPSHOT/[artifact]-1.0.0-20120921.172953-35.kar
> 25753K uploaded ([artifact]-1.0.0-20120921.172953-35.kar)
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (KARAF-1853) Attached kar deploys to a different
snapshot build number than the main artifact
Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré resolved KARAF-1853.
-----------------------------------------
Resolution: Fixed
> Attached kar deploys to a different snapshot build number than the main artifact
> --------------------------------------------------------------------------------
>
> Key: KARAF-1853
> URL: https://issues.apache.org/jira/browse/KARAF-1853
> Project: Karaf
> Issue Type: Bug
> Components: karaf-kar
> Affects Versions: 2.2.5
> Environment: maven 2.2.1
> Reporter: Anthony Wood
> Assignee: Jean-Baptiste Onofré
> Labels: maven
> Fix For: 2.2.10, 2.3.0, 3.0.0
>
> Attachments: KARAF-1853.patch
>
>
> Using the standard maven config (packaging=pom) for features-maven-plugin:create-kar, the build number for the kar artifact is *35* instead of *34* used for the POM and features.xml artifacts. This wreaks havoc with other projects that depend on this snapshot because they attempt to download the POM of version 35 and fail.
> Maven 2.2.1 excerpt:
> {noformat}
> [INFO] [deploy:deploy {execution: default-deploy}]
> [INFO] Retrieving previous build number from snapshots
> Uploading: http://[nexus]/[artifact]/1.0.0-SNAPSHOT/[artifact]-1.0.0-20120921.172953-34.pom
> 3K uploaded ([artifact]-1.0.0-20120921.172953-34.pom)
> [INFO] Retrieving previous metadata from snapshots
> [INFO] Uploading repository metadata for: 'artifact [group]:[artifact]'
> [INFO] Retrieving previous metadata from snapshots
> [INFO] Uploading repository metadata for: 'snapshot [group]:[artifact]:1.0.0-SNAPSHOT'
> [INFO] Retrieving previous build number from snapshots
> Uploading: http://[nexus]/[artifact]/1.0.0-SNAPSHOT/[artifact]-1.0.0-20120921.172953-34-features.xml
> 10K uploaded ([artifact]-1.0.0-20120921.172953-34-features.xml)
> [INFO] Retrieving previous build number from snapshots
> Uploading: http://[nexus]/[artifact]/1.0.0-SNAPSHOT/[artifact]-1.0.0-20120921.172953-35.kar
> 25753K uploaded ([artifact]-1.0.0-20120921.172953-35.kar)
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (KARAF-1853) Attached kar deploys to a
different snapshot build number than the main artifact
Posted by "Anthony Wood (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460688#comment-13460688 ]
Anthony Wood edited comment on KARAF-1853 at 9/22/12 5:42 AM:
--------------------------------------------------------------
Attached patch for CreateKarMojo.java to fix the issue.
was (Author: awood):
Patch for CreateKarMojo.java to fix the issue
> Attached kar deploys to a different snapshot build number than the main artifact
> --------------------------------------------------------------------------------
>
> Key: KARAF-1853
> URL: https://issues.apache.org/jira/browse/KARAF-1853
> Project: Karaf
> Issue Type: Bug
> Components: karaf-kar
> Affects Versions: 2.2.5
> Environment: maven 2.2.1
> Reporter: Anthony Wood
> Labels: maven
> Attachments: KARAF-1853.patch
>
>
> Using the standard maven config (packaging=pom) for features-maven-plugin:create-kar, the build number for the kar artifact is *35* instead of *34* used for the POM and features.xml artifacts. This wreaks havoc with other projects that depend on this snapshot because they attempt to download the POM of version 35 and fail.
> Maven 2.2.1 excerpt:
> {noformat}
> [INFO] [deploy:deploy {execution: default-deploy}]
> [INFO] Retrieving previous build number from snapshots
> Uploading: http://[nexus]/[artifact]/1.0.0-SNAPSHOT/[artifact]-1.0.0-20120921.172953-34.pom
> 3K uploaded ([artifact]-1.0.0-20120921.172953-34.pom)
> [INFO] Retrieving previous metadata from snapshots
> [INFO] Uploading repository metadata for: 'artifact [group]:[artifact]'
> [INFO] Retrieving previous metadata from snapshots
> [INFO] Uploading repository metadata for: 'snapshot [group]:[artifact]:1.0.0-SNAPSHOT'
> [INFO] Retrieving previous build number from snapshots
> Uploading: http://[nexus]/[artifact]/1.0.0-SNAPSHOT/[artifact]-1.0.0-20120921.172953-34-features.xml
> 10K uploaded ([artifact]-1.0.0-20120921.172953-34-features.xml)
> [INFO] Retrieving previous build number from snapshots
> Uploading: http://[nexus]/[artifact]/1.0.0-SNAPSHOT/[artifact]-1.0.0-20120921.172953-35.kar
> 25753K uploaded ([artifact]-1.0.0-20120921.172953-35.kar)
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (KARAF-1853) Attached kar deploys to a different
snapshot build number than the main artifact
Posted by "Anthony Wood (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anthony Wood updated KARAF-1853:
--------------------------------
Attachment: KARAF-1853.patch
Patch for CreateKarMojo.java to fix the issue
> Attached kar deploys to a different snapshot build number than the main artifact
> --------------------------------------------------------------------------------
>
> Key: KARAF-1853
> URL: https://issues.apache.org/jira/browse/KARAF-1853
> Project: Karaf
> Issue Type: Bug
> Components: karaf-kar
> Affects Versions: 2.2.5
> Environment: maven 2.2.1
> Reporter: Anthony Wood
> Labels: maven
> Attachments: KARAF-1853.patch
>
>
> Using the standard maven config (packaging=pom) for features-maven-plugin:create-kar, the build number for the kar artifact is *35* instead of *34* used for the POM and features.xml artifacts. This wreaks havoc with other projects that depend on this snapshot because they attempt to download the POM of version 35 and fail.
> Maven 2.2.1 excerpt:
> {noformat}
> [INFO] [deploy:deploy {execution: default-deploy}]
> [INFO] Retrieving previous build number from snapshots
> Uploading: http://[nexus]/[artifact]/1.0.0-SNAPSHOT/[artifact]-1.0.0-20120921.172953-34.pom
> 3K uploaded ([artifact]-1.0.0-20120921.172953-34.pom)
> [INFO] Retrieving previous metadata from snapshots
> [INFO] Uploading repository metadata for: 'artifact [group]:[artifact]'
> [INFO] Retrieving previous metadata from snapshots
> [INFO] Uploading repository metadata for: 'snapshot [group]:[artifact]:1.0.0-SNAPSHOT'
> [INFO] Retrieving previous build number from snapshots
> Uploading: http://[nexus]/[artifact]/1.0.0-SNAPSHOT/[artifact]-1.0.0-20120921.172953-34-features.xml
> 10K uploaded ([artifact]-1.0.0-20120921.172953-34-features.xml)
> [INFO] Retrieving previous build number from snapshots
> Uploading: http://[nexus]/[artifact]/1.0.0-SNAPSHOT/[artifact]-1.0.0-20120921.172953-35.kar
> 25753K uploaded ([artifact]-1.0.0-20120921.172953-35.kar)
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (KARAF-1853) Attached kar deploys to a different
snapshot build number than the main artifact
Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13474025#comment-13474025 ]
Jean-Baptiste Onofré commented on KARAF-1853:
---------------------------------------------
Fixed on karaf-2.3.x: http://svn.apache.org/viewvc?view=revision&revision=1396981
> Attached kar deploys to a different snapshot build number than the main artifact
> --------------------------------------------------------------------------------
>
> Key: KARAF-1853
> URL: https://issues.apache.org/jira/browse/KARAF-1853
> Project: Karaf
> Issue Type: Bug
> Components: karaf-kar
> Affects Versions: 2.2.5
> Environment: maven 2.2.1
> Reporter: Anthony Wood
> Assignee: Jean-Baptiste Onofré
> Labels: maven
> Fix For: 2.2.10, 2.3.0, 3.0.0
>
> Attachments: KARAF-1853.patch
>
>
> Using the standard maven config (packaging=pom) for features-maven-plugin:create-kar, the build number for the kar artifact is *35* instead of *34* used for the POM and features.xml artifacts. This wreaks havoc with other projects that depend on this snapshot because they attempt to download the POM of version 35 and fail.
> Maven 2.2.1 excerpt:
> {noformat}
> [INFO] [deploy:deploy {execution: default-deploy}]
> [INFO] Retrieving previous build number from snapshots
> Uploading: http://[nexus]/[artifact]/1.0.0-SNAPSHOT/[artifact]-1.0.0-20120921.172953-34.pom
> 3K uploaded ([artifact]-1.0.0-20120921.172953-34.pom)
> [INFO] Retrieving previous metadata from snapshots
> [INFO] Uploading repository metadata for: 'artifact [group]:[artifact]'
> [INFO] Retrieving previous metadata from snapshots
> [INFO] Uploading repository metadata for: 'snapshot [group]:[artifact]:1.0.0-SNAPSHOT'
> [INFO] Retrieving previous build number from snapshots
> Uploading: http://[nexus]/[artifact]/1.0.0-SNAPSHOT/[artifact]-1.0.0-20120921.172953-34-features.xml
> 10K uploaded ([artifact]-1.0.0-20120921.172953-34-features.xml)
> [INFO] Retrieving previous build number from snapshots
> Uploading: http://[nexus]/[artifact]/1.0.0-SNAPSHOT/[artifact]-1.0.0-20120921.172953-35.kar
> 25753K uploaded ([artifact]-1.0.0-20120921.172953-35.kar)
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (KARAF-1853) Attached kar deploys to a different
snapshot build number than the main artifact
Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré reassigned KARAF-1853:
-------------------------------------------
Assignee: Jean-Baptiste Onofré
> Attached kar deploys to a different snapshot build number than the main artifact
> --------------------------------------------------------------------------------
>
> Key: KARAF-1853
> URL: https://issues.apache.org/jira/browse/KARAF-1853
> Project: Karaf
> Issue Type: Bug
> Components: karaf-kar
> Affects Versions: 2.2.5
> Environment: maven 2.2.1
> Reporter: Anthony Wood
> Assignee: Jean-Baptiste Onofré
> Labels: maven
> Attachments: KARAF-1853.patch
>
>
> Using the standard maven config (packaging=pom) for features-maven-plugin:create-kar, the build number for the kar artifact is *35* instead of *34* used for the POM and features.xml artifacts. This wreaks havoc with other projects that depend on this snapshot because they attempt to download the POM of version 35 and fail.
> Maven 2.2.1 excerpt:
> {noformat}
> [INFO] [deploy:deploy {execution: default-deploy}]
> [INFO] Retrieving previous build number from snapshots
> Uploading: http://[nexus]/[artifact]/1.0.0-SNAPSHOT/[artifact]-1.0.0-20120921.172953-34.pom
> 3K uploaded ([artifact]-1.0.0-20120921.172953-34.pom)
> [INFO] Retrieving previous metadata from snapshots
> [INFO] Uploading repository metadata for: 'artifact [group]:[artifact]'
> [INFO] Retrieving previous metadata from snapshots
> [INFO] Uploading repository metadata for: 'snapshot [group]:[artifact]:1.0.0-SNAPSHOT'
> [INFO] Retrieving previous build number from snapshots
> Uploading: http://[nexus]/[artifact]/1.0.0-SNAPSHOT/[artifact]-1.0.0-20120921.172953-34-features.xml
> 10K uploaded ([artifact]-1.0.0-20120921.172953-34-features.xml)
> [INFO] Retrieving previous build number from snapshots
> Uploading: http://[nexus]/[artifact]/1.0.0-SNAPSHOT/[artifact]-1.0.0-20120921.172953-35.kar
> 25753K uploaded ([artifact]-1.0.0-20120921.172953-35.kar)
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (KARAF-1853) Attached kar deploys to a different
snapshot build number than the main artifact
Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré updated KARAF-1853:
----------------------------------------
Fix Version/s: 3.0.0
2.3.0
2.2.10
> Attached kar deploys to a different snapshot build number than the main artifact
> --------------------------------------------------------------------------------
>
> Key: KARAF-1853
> URL: https://issues.apache.org/jira/browse/KARAF-1853
> Project: Karaf
> Issue Type: Bug
> Components: karaf-kar
> Affects Versions: 2.2.5
> Environment: maven 2.2.1
> Reporter: Anthony Wood
> Assignee: Jean-Baptiste Onofré
> Labels: maven
> Fix For: 2.2.10, 2.3.0, 3.0.0
>
> Attachments: KARAF-1853.patch
>
>
> Using the standard maven config (packaging=pom) for features-maven-plugin:create-kar, the build number for the kar artifact is *35* instead of *34* used for the POM and features.xml artifacts. This wreaks havoc with other projects that depend on this snapshot because they attempt to download the POM of version 35 and fail.
> Maven 2.2.1 excerpt:
> {noformat}
> [INFO] [deploy:deploy {execution: default-deploy}]
> [INFO] Retrieving previous build number from snapshots
> Uploading: http://[nexus]/[artifact]/1.0.0-SNAPSHOT/[artifact]-1.0.0-20120921.172953-34.pom
> 3K uploaded ([artifact]-1.0.0-20120921.172953-34.pom)
> [INFO] Retrieving previous metadata from snapshots
> [INFO] Uploading repository metadata for: 'artifact [group]:[artifact]'
> [INFO] Retrieving previous metadata from snapshots
> [INFO] Uploading repository metadata for: 'snapshot [group]:[artifact]:1.0.0-SNAPSHOT'
> [INFO] Retrieving previous build number from snapshots
> Uploading: http://[nexus]/[artifact]/1.0.0-SNAPSHOT/[artifact]-1.0.0-20120921.172953-34-features.xml
> 10K uploaded ([artifact]-1.0.0-20120921.172953-34-features.xml)
> [INFO] Retrieving previous build number from snapshots
> Uploading: http://[nexus]/[artifact]/1.0.0-SNAPSHOT/[artifact]-1.0.0-20120921.172953-35.kar
> 25753K uploaded ([artifact]-1.0.0-20120921.172953-35.kar)
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira