Viacheslav Blinov opened 10 years ago
|
|
Viacheslav Blinov wrote:
Actually - not. By default it was |
|
Wojciech Kapcia wrote:
Looking through http://maven.tigase.org/tigase/tigase-server/5.2.3/ index I can't see any bundle artifacts, only jars. The pom.xml deployed there contains packaging I wrote above, which is wrong for a deployed maven artifacts, as there is no artifact with such packaging, literally, and the 3rd party user has no info on how to substitute such properties, so it should always be final value. Hence the error of downloading using url http://maven.tigase.org/tigase/tigase-server/5.2.3/tigase-issue #5.2.3.${packaging.type} , not http://maven.tigase.org/tigase/tigase-server/5.2.3/tigase-issue #5.2.3.jar |
|
To clarify: this packaging type is wrong only in terms of final user maven repository deployed artifacts, not in terms of building on your own machine. I don't want to build project from sources, but, instead, use it as a 3rd party library dependency, getting jars directly from your maven repository. After all, maven repositories are designed for this. |
|
Wojciech, please take a look at it. Another concern is from my side is the "Target version" field. The target version set in the ticket is 5.2.3 but it is/should be closed now so how do we report issues for past/closed versions? |
|
Artur Hefczyc, %kobit :
This version wasn't set as closed therefor possibility to select it. As for reporting issues - Target version is intended for the version in which issue should be fixes, there is another field Applicable version which correlates to version which was affected. |
|
Viacheslav Blinov wrote:
OK, after a little research:
|
|
Wojciech Kapcia wrote:
Ah, I see, not it makes more sense. This appears to be an ivy problem then, since sbt relies on ivy in dependency management. I'll create a bug report in ivy then. Thank you. |
|
For those, who'll encounter the same problem, there is a workaround - supplying the explicit artifact for a dependency:
|
|
I guess we can close the ticket then, if not please let me know to reopen it. |
Type |
Bug
|
Priority |
Normal
|
Assignee | |
RedmineID |
2729
|
Version |
tigase-server-7.0.0
|
Spent time |
9h
|
Hi.
I'm trying to add your project as a maven dependency using your public maven repo. I'm building using sbt, and my build declaration looks like this:
However the dependencies can't be downloaded due to this error:
This is caused by pom.xml for tigase-server that contains this line:
Which obviously should be jar instead.
Screen Shot 2015-02-17 at 18.17.44.png