Problem with a build of spring boot project

Hi,

I'm trying to build a JHipster project using Bitbucket pipelines. I configured yml conf file so that it uses a jhipster development docker image (JHipster Installation docs) which has everything that is needed for development of such project. Everything goes fine until maven-copy-resources plugin action.

I get the following error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.0.0:copy-resources (default-resources) on project pplsreport: Cannot create resource output directory: /opt/atlassian/bitbucketci/agent/build/target/classes -> [Help 1]

Can someone please help?

This is bitbucket-pipelines.yml:

# You can use a Docker image from Docker Hub or your own container
# registry for your build environment.
image: jhipster/jhipster:v3.4.2
pipelines:
  default:
    - step:
        script: # Modify the commands below to build your repository.
          - ./mvnw --version
          - ./mvnw -Pprod clean install

1 answer

1 accepted

0 vote

Hi Misel,

I've looked into this, and it is a known issue at the moment. The Bitbucket Pipelines team is tracking the bug here:

https://bitbucket.org/site/master/issues/12956/i-cant-write-to-build-directory-when-user

You can 'watch' the issue to get notified when it is fixed. smile

Thanks for the info!

I hope it gets fixed soon.

This issue has been fixed now. smile

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

26,943 views 26 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you