Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Compile dependency not embedded in artifact

Séb P.
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 1, 2014

Hi all,

I'm having some trouble with (I guess) the amps-plugin (latest version, 4.2.20). Sometimes, it fails to embed my compile dependency in the artifact, leading to lots of ClassNotFound/NoClassDefFound at runtime.

The only way I found to make it build again is to delete the offending artifacts from my local maven repository. Then, at least for the next build, everything got packaged correctly. But I have to make it before each build, which is quite frustrating and error prone.

Nothing gets logged in the maven console during the build. It fails the same way using either atlas-package or mvn install.

Do you guys have the same behavior? Any fix?

Thanks :)

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Séb P.
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 8, 2014
0 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 2, 2014

Quick question. Are you using the packaging in pom.xml as atlassian-plugin?

Séb P.
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 2, 2014

Yes, atlassian-plugin as packaging

Séb P.
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 10, 2014

Why? It would have explain that behavior if it was something else ie "jar"?

TAGS
AUG Leaders

Atlassian Community Events