Closed nicolaierbs closed 7 years ago
Comment #1 originally posted by dkpro on 2014-08-27T15:33:11.000Z:
As none of the both accessed dependencies is a snapshot, it seems weird that it should try to get it from ukp-oss-snapshots. Are you sure your repository settings are correct? What happens if you disable the snapshot repository?
Comment #2 originally posted by dkpro on 2014-08-27T17:18:49.000Z:
When I remove the snapshot repository from pom.xml I get this error:
Failed to execute goal on project mock-dkpro: Could not resolve dependencies for project com.testing.dkpro:mock-dkpro:jar:0.0.1-SNAPSHOT: Could not find artifact com.wcohen.ss:secondstring:jar:20060615 in ukp-oss (http://zoidberg.ukp.informatik.tu-darmstadt.de/artifactory/public-ukp-releases-local/) -> [Help 1]
BTW you can check my repository settings in pom.xml file I uploaded in my previous post - everything is there (you can check it won't build). I took the settings from here: https://code.google.com/p/dkpro-similarity-asl/wiki/GettingStarted .
Comment #3 originally posted by dkpro on 2014-08-28T07:58:01.000Z:
Could you try these repository settings:
Original issue 31 created by dkpro on 2014-08-26T09:48:28.000Z:
There is a problem with accessing the dependency
<dependency> <groupId>com.wcohen.ss</groupId> <artifactId>secondstring</artifactId> <version>20060615</version> </dependency>
and all the secondstring dependency (I've stumbled upon this when trying to add lexical-asl dependency to my project:
When trying to mvn install project with this dependency I get the following error:
[ERROR] Failed to execute goal on project mock-dkpro: Could not resolve dependencies for project com.ibm.cz.watson.testi ng.rock:mock-dkpro:jar:0.0.1-SNAPSHOT: Failed to collect dependencies at com.wcohen.ss:secondstring:jar:20060615: Failed to read artifact descriptor for com.wcohen.ss:secondstring:jar:20060615: Could not transfer artifact com.wcohen.ss:seco ndstring:pom:20060615 from/to ukp-oss-snapshots (http://zoidberg.ukp.informatik.tu-darmstadt.de/artifactory/public-ukp-s napshots-local/): Failed to transfer file: http://zoidberg.ukp.informatik.tu-darmstadt.de/artifactory/public-ukp-snapsho ts-local/com/wcohen/ss/secondstring/20060615/secondstring-20060615.pom. Return code is: 409 , ReasonPhrase:Conflict. -> [Help 1]
Also when I try to access the artifact directly through:
http://zoidberg.ukp.informatik.tu-darmstadt.de/artifactory/public-ukp-snapshots-local/com/wcohen/ss/secondstring/20060615/secondstring-20060615.pom
I get:
HTTP Status 409 - The repository 'public-ukp-snapshots-local' rejected the artifact 'public-ukp-snapshots-local:com/wcohen/ss/secondstring/20060615/secondstring-20060615.pom' due to its snapshot/release handling policy.
Perhaps there is a problem in artifactory configuration?
I use apache maven 3.2.1 on Windows 7 64 Bit. This bug was reproduced also on another computer with clean local repository. I am attaching the pom.xml file that caused this bug when running mvn install.