[
https://jira.codehaus.org/browse/MASSEMBLY-679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Novak closed MASSEMBLY-679.
---------------------------------
Resolution: Not A Bug
Sorry, not a bug.
I was typing "assembly:assembly" from muscle memory. "assembly:single" fixed
things, with and without -DaltDeploymentRepository.
> assembly fails to deploy with -DaltDeploymentRepository flag.
> -------------------------------------------------------------
>
> Key: MASSEMBLY-679
> URL: https://jira.codehaus.org/browse/MASSEMBLY-679
> Project: Maven Assembly Plugin
> Issue Type: Bug
> Reporter: Jason Novak
>
> I'm trying to deploy code from a public GitHub to an internal Artifactory
> repository, but it seems that the assembly plugin (v2.4) doesn't work with
> -DaltDeploymentRepository.
> With this command:
> {noformat}
> % \mvn clean assembly:assembly deploy:deploy
> -DaltDeploymentRepository=artifactory-snapshots::default::http://<snip>/artifactory/libs-release-local
> {noformat}
> I get this error: {{Failed to execute goal
> org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-cli) on
> project json-serde: The packaging for this project did not assign a file to
> the build artifact}}.
> I see this message along the way, so I know that Maven has attached the
> assembly jar:
> {noformat}
> [INFO] Building jar:
> /Users/jason.novak/src/openx.org/git/jason-novak/Hive-JSON-Serde/target/json-serde-1.1.7-jar-with-dependencies.jar
> [WARNING] Artifact org.openx.data:json-serde:jar:jar-with-dependencies:1.1.7
> already attached to project, ignoring duplicate
> {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