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

Could not resolve dependencies for samples project #11

Closed
svemula1 opened this issue Nov 30, 2016 · 5 comments
Closed

Could not resolve dependencies for samples project #11

svemula1 opened this issue Nov 30, 2016 · 5 comments

Comments

@svemula1
Copy link

Failed to execute goal on project citrus-bakery-web: Could not resolve dependencies for project com.consol.citrus.samples:citrus-bakery-web:war:2.6.3-SNAPSHOT

Any help?? I just followed the instructions

@christophd
Copy link
Member

Seems like you are having problems to download some Maven dependencies. Can you please provide the full Maven error message?

Where exactly in the instructions are you right now?

@dmoll1974
Copy link

I have the same, this is the complete error

[ERROR] Failed to execute goal on project citrus-bakery-web: Could not resolve dependencies for project com.consol.citrus.samples:citrus-bakery-web:war:2.6.3-SNAPSHOT: The following artifacts could not be resolved: com.consol.c
itrus:citrus-core:jar:2.6.3-SNAPSHOT, com.consol.citrus:citrus-java-dsl:jar:2.6.3-SNAPSHOT, com.consol.citrus:citrus-http:jar:2.6.3-SNAPSHOT, com.consol.citrus:citrus-ws:jar:2.6.3-SNAPSHOT, com.consol.citrus:citrus-jms:jar:2.6.
3-SNAPSHOT: Could not find artifact com.consol.citrus:citrus-core:jar:2.6.3-SNAPSHOT -> [Help 1]

@christophd
Copy link
Member

The 2.6.3-SNAPSHOT version of Citrus is available here:

<repository>
  <id>consol-labs-snapshots</id>
  <url>http://labs.consol.de/maven/snapshots-repository/</url>
  <snapshots>
    <enabled>true</enabled>
  </snapshots>
  <releases>
    <enabled>false</enabled>
  </releases>
</repository>

The jar files should be automatically downloaded from that repository. The repository is defined in the citrus-samples parent Maven POM. Maybe you need to add the consol-labs-snapshots repo to your company's Maven repository manager (e.g. Nexus)?

@christophd
Copy link
Member

Ah, now I see why it is not working. The citrus-samples parent Maven POM defines the consol-labs-snapshots repo, but the bakery-sample Maven project is not inheriting from that parent POM.

So we need to add the consol-labs-snapshots repo definition to the bakery sample POM explicitly.

@dmoll1974
Copy link

Yes that worked :-) Thanks

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

3 participants