-
-
Notifications
You must be signed in to change notification settings - Fork 985
Build Errors
Paul Gregoire edited this page Feb 19, 2016
·
3 revisions
If you get this error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single (make-assembly) on project red5-server: Failed to create assembly: Error adding file to archive: /Users/[user name]/git/red5-server/red5-server/target/dependency/red5-service-1.0.2-RELEASE.jar isn't a file. -> [Help 1]
Pull the dependencies and run it again
mvn dependency:copy-dependencies
If get a message about groboutils or jaudiotagger missing, add the java.net and osgeo.org repositories to your Maven settings.xml. Here is what a minimal settings file looks like with the repositories added:
<settings>
<profiles>
<profile>
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>maven2-repository.dev.java.net</id>
<url>http://download.java.net/maven/2</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>osgeo</id>
<url>http://download.osgeo.org/webdav/geotools</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
</profile>
</profiles>
</settings>