Hi, I added jira-api dependency in my project, and SBT cannot resolve three artifacts:
1. jta:jta:1.0.1 (it's not in the Atlassian public repo indeed. The directory is there, but it's empty. And repo1.maven.org has only 1.0.1b version.)
2. com.atlassian.sal#sal-api;2.8.0-m2!sal-api.atlassian-plugin
3. com.atlassian.gadgets#atlassian-gadgets-api;3.2.0-m2-1!atlassian-gadgets-api.atlassian-plugin
Community moderators have prevented the ability to post new answers.
I think it's an SBT problem, and I believe SBT uses Ivy. The same dependency resolves perfectly with stock Maven 3.0.4.
Hi Yuri, some libaries like JTA have licensing restrictions, go download from:
- http://download.oracle.com/otndocs/jcp/7287-jta-1.0.1a-class-oth-JSpec/?submit=Download
And install with mvn tool
- http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
As for the others, failed dependencies happen from time to time, a parent pom refering to an RC that never got published is on possibility. Unless you actually need to use the libraries concerned, you can also just exclude them in your pom
- http://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html
If you really want them, you could dig for the nearest available version via:
- https://maven.atlassian.com/content/groups/public/com/atlassian/jira/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I can understand JTA, but the other artifacts? So what you're saying yes, it's broken, and there's nothing I do wrong or can do except exclude. That's something, thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
All I can say is I dont have the problem you see, likely it will relate to your chosen parent pom with defined versions therein. If you 'just' depend on jira-api you shouldn't see this as final releases do not (should not!) have non-final (eg milestone) dependencies, which is what you can't find...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Which version of jira-api you depend on ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.