You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason Novak (JIRA)" <ji...@codehaus.org> on 2014/01/07 21:03:45 UTC
[jira] (MASSEMBLY-679) assembly fails to deploy with
-DaltDeploymentRepository flag.
Jason Novak created MASSEMBLY-679:
-------------------------------------
Summary: 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