Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant resolve capsule-maven-plugin:jar:0.7.1-SNAPSHOT #1

Closed
rutchkiwi opened this issue Aug 25, 2014 · 2 comments
Closed

cant resolve capsule-maven-plugin:jar:0.7.1-SNAPSHOT #1

rutchkiwi opened this issue Aug 25, 2014 · 2 comments

Comments

@rutchkiwi
Copy link

Hey!

I'm was just looking at capsule as a replacement for the shade plugin, and stumbled on this project, seems cool!

Just wanted to let you know this example doesn't work out of the box, since -SNAPSHOT versions are not installed on my machine.

[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building capsule-maven-plugin-demo 0.7.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for com.github.christokios:capsule-maven-plugin:jar:0.7.1-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.167s
[INFO] Finished at: Mon Aug 25 12:56:06 CEST 2014
[INFO] Final Memory: 6M/287M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin com.github.christokios:capsule-maven-plugin:0.7.1-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact com.github.christokios:capsule-maven-plugin:jar:0.7.1-SNAPSHOT -> [Help 1]

I tried replacing

<capsule.version>${project.version}</capsule.version>
<capsule.maven.plugin.version>${project.version}</capsule.maven.plugin.version>

with

<capsule.version>0.7.1</capsule.version>
<capsule.maven.plugin.version>0.7.1</capsule.maven.plugin.version>

and that seems to do the trick!

@chrisdchristo
Copy link
Owner

Ah thanks, only just released the 0.7.1 of the plugin. Was using this to test the dev snapshot version, and forgot to remove the SNAPSHOT part now that it is released. What you did is exactly correct. Just pushed an update fix. Thanks!

@rutchkiwi
Copy link
Author

cool! It works now :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants