Failed To Create Assembly Error Adding File To Archive
Contents |
here for a quick overview of the site Help Center failed to create assembly error adding file isn't a file Detailed answers to any questions you might have Meta
Error Reading Assemblies: No Assembly Descriptors Found
Discuss the workings and policies of this site About Us Learn more about Stack Overflow
Mojoexecutionexception In Maven
the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question
Maven Package With Dependencies
x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up maven-assembly-plugin MojoExecutionException with dependencySet as outputDirectory up vote 8 down vote favorite 1 In my Khatami project maven assembly plugin example I'm using maven to both manage compilation and package up the result into a runnable artifact: executable shell-script at the top-level, bin/ containing the executable jar and its dependent jars. Please see what I mean here. For reference, here's the salient part of Khatami's pom.xml:
2014 22:14:51 -0600 Delivered-to: m2e-users@eclipse.org Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=BJXZ1a1guhtYWhC8I3wFaTjoHd7H7ASuncwkcg8svmc=; b=KHlozQowpZARCu0seGlpl0so9+6jx/z9dB6wnZIymxs8vT+FX5ebDmqQeUukpNYIFz w3MVenI4Ur69/hjQbrQA88p/UvMRW1lnJk2pwuQnu0fvr2vU9SLYXvo6AXSflAChHJE5 Cgf2lbZG6PbFHXEjpxYNwM6RK8jcaigTOeHH4u02pa7FW2YdmT2p0G5fck358KWWJILc xKKSLeZM/16WDO9lWW8Sn1E2oArCIEga/RL536a41u4L7NuydFSe67Ot4JZVwxTiKiLa LEeU3mTsX4fMMqNS5gDuslquC1hkne6E/SOfu+/o4q1Z/QcJ0OPl5fPgozxn4JmYKpE1 8/ng== Hi all,I have a project of type POM http://stackoverflow.com/questions/6737221/maven-assembly-plugin-mojoexecutionexception-with-dependencyset-as-outputdirecto that I am using to concentrate several dependencies. From that project, I am inheriting a jar project that has an assembly descriptor attached to the package phase, via https://dev.eclipse.org/mhonarc/lists/m2e-users/msg04918.html the assembly plugin. When I try to package this project, I am getting the following error:[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.5:single (make-assembly) on project child-a: Failed to create assembly: Error adding file 'a.group.id:dep-a:jar:0.0.1-SNAPSHOT' to archive: C:\Users\alegriac\Documents\Projects\Intueri\sub_projects\clasp\workspace-test\dep-a\target\classes isn't a file. -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.5:single (make-assembly) on project child-a: Failed to create assembly: Error adding file 'a.group.id:dep-a:jar:0.0.1-SNAPSHOT' to archive: C:\Users\alegriac\Documents\Projects\Intueri\sub_projects\clasp\workspace-test\dep-a\target\classes isn't a file. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116) a
Sign in Pricing Blog Support Search https://github.com/Red5/red5-server/wiki/Build-Errors GitHub This repository Watch 162 Star 853 Fork 364 Red5/red5-server Code Issues 19 Pull requests 0 Projects 0 Wiki Pulse Graphs Build Errors Paul Gregoire edited this page Feb 19, 2016 · 3 revisions Pages 22 Home Build Errors failed to Customize Stream Path Faster Start Up General How to HTTP and RTMPT mappings HTTPS Installation on Linux JEEContainerPlugins Log Messages Maven Media File Processing Missing Classes Release Information Release Notes 1.0.7 Repairing Recordings RPM How to RTMPS Runtime Errors Security Shared failed to create Objects Shutdown Show 7 more pages… Clone this wiki locally Clone in Desktop Build Failure 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 Missing or cannot locate libraries 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: