[
https://issues.apache.org/jira/browse/BROOKLYN-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14211714#comment-14211714
]
David Medinets commented on BROOKLYN-85:
----------------------------------------
When I run "git log" inside my Docker container I see the following so I am
pulling the codebase with the fix.
{noformat}
commit c77f9ff4b658732291e8f176f54851b0b9f58e88
Author: Andrew Kennedy <[email protected]>
Date: Fri Nov 14 00:28:12 2014 +0000
Check for null when looking up persisted ConfigKey
{noformat}
The command "mvn clean install -DskipTests=true" worked fine. Then I
immediately ran "mvn compile" and saw an error:
{noformat}
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.
{noformat}
I'd understand if you want to close the ticket since the build process can
always use "mvn clean install".
> /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: Minor
>
> 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)