You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by "Alex Heneveld (JIRA)" <ji...@apache.org> on 2014/11/13 05:56:33 UTC

[jira] [Commented] (BROOKLYN-85) /incubator-brooklyn/usage/all/target/classes isn't a file.

    [ https://issues.apache.org/jira/browse/BROOKLYN-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14209274#comment-14209274 ] 

Alex Heneveld commented on BROOKLYN-85:
---------------------------------------

Not sure if this helps David but we do `mvn clean install` to build the redistributables.  I think there may be problems with the `single` and `assembly` targets.  Would be nice to fix those!  But maybe this is a factor here?

> /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)