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

Maven returns error from mvn assembly:assembly #12

Open
Zaknarfen opened this issue Oct 11, 2013 · 0 comments
Open

Maven returns error from mvn assembly:assembly #12

Zaknarfen opened this issue Oct 11, 2013 · 0 comments

Comments

@Zaknarfen
Copy link

I am posting this issue to notify that even after a clean clone from the repository i am getting:

$ mvn -T 1C -q assembly:assembly -Dmaven.test.skip=true
[debug] execute contextualize
[debug] execute contextualize
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4:assembly (default-cli) on project pignlproc: Error reading assemblies: No assembly descriptors found. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Solutions i found:

Solution 1)

Using only mvn package as mentioned in [1] instead of the mvn assembly:assembly. This works but states a warning.

Solution 2)

Modify the pom.xml to move the "descriptor" block out of the "execution" block as mentioned in [2] and run the assembly command with mvn -T 1C -q assembly:single -Dmaven.test.skip=true. This solution has no warnings. You need to do both changes or it won't work.

[1] https://github.com/dbpedia-spotlight/pignlproc
[2] http://stackoverflow.com/questions/2463721/maven-assembly-error-reading-assemblies

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