Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails on assembling #1564

Closed
rkfg opened this issue Feb 26, 2016 · 1 comment
Closed

Build fails on assembling #1564

rkfg opened this issue Feb 26, 2016 · 1 comment

Comments

@rkfg
Copy link
Member

rkfg commented Feb 26, 2016

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4.1:assembly (default-cli) on project mage-client: Assembly is incorrectly configured: null: Assembly is incorrectly configured: null:
[ERROR] Assembly: null is not configured correctly: Assembly ID must be present and non-empty.

Adding any id (for example, <id>mage</id>) to src/main/assembly/distribution.xml (for both Mage.Client and Mage.Server) fixes this. It somehow worked for me before but today I can't build a complete Mage package because of this.

@rkfg
Copy link
Member Author

rkfg commented Feb 26, 2016

Ok, at home it builds fine without any changes because the maven-assembly-plugin is of version 2.2-beta-5. At work it's 2.4.1 and it doesn't support assemblies without id. pom.xml doesn't force any version hence causing such problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant