You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered: