David Medinets created BROOKLYN-85:
--------------------------------------

             Summary: /incubator-brooklyn/usage/all/target/classes isn't a file.
                 Key: BROOKLYN-85
                 URL: https://issues.apache.org/jira/browse/BROOKLYN-85
             Project: Brooklyn
          Issue Type: Bug
    Affects Versions: 0.7.0-SNAPSHOT
         Environment: Ubuntu 14.04 inside Docker image.
            Reporter: David Medinets
            Priority: Blocker


Please see https://github.com/medined/docker-brooklyn to replicate the error.

./build_image.sh creates the Docker image.

./run_images.sh run the Docker image providing a bash shell. It also starts an 
Artifactory image so that the downloaded dependencies don't clutter the host 
system. The Artifactory image persists so you can start multiple build images 
without re-downloading the dependencies.

Run 'mvn compile' and you should see

[INFO] Brooklyn All Things ............................... SUCCESS [  0.458 s]
[INFO] Brooklyn Distribution ............................. FAILURE [  1.243 s]
[INFO] Brooklyn Quick-Start Project Archetype ............ SKIPPED
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 51.232 s
[INFO] Finished at: 2014-11-13T04:03:42+00:00
[INFO] Final Memory: 65M/1950M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-assembly-plugin:2.4.1:single 
(build-distribution-dir) on project brooklyn-dist: Failed to create assembly: 
Error adding file 'org.apache.brooklyn:brooklyn-all:jar:0.7.0-SNAPSHOT' to 
archive: /incubator-brooklyn/usage/all/target/classes isn't a file. -> [Help 1]
[ERROR] 

You can change files inside the build image and re-compile as needed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to