Okay,

The ebi-repo metadata was being updated on deployment but the ebi-repo-snapshots was not. Reading around a bit it looks like LATEST is really only for plugins and there are other ways to get the newest version, see - http://stackoverflow.com/questions/30571/how-do-i-tell-maven-to-use-the-latest-version-of-a-dependency.

Iíll try one more thing to see if LATEST works but otherwise I think you can use: Ď[1.5.0,1.6.0)í or an explicit version such as Ď1.5.6-SNAPSHOTí.

Iíve just wiped the existing snapshots which should avoid the first problem of missing release. The latest snapshot build is deploying now.

J

On 8 Mar 2014, at 23:31, Rajarshi Guha <guhar@mail.nih.gov> wrote:

Hmm, doing mvn dependency:analyze gives me

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 5.229s

[INFO] Finished at: Sat Mar 08 18:30:35 EST 2014

[INFO] Final Memory: 7M/81M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal on project cdkdescui: Could not resolve dependencies for project net.rguha:cdkdescui:jar:1.4.0: The following artifacts could not be resolved: org.openscience.cdk:cdk-fingerprint:jar:LATEST, org.openscience.cdk:cdk-qsarmolecular:jar:LATEST, org.openscience.cdk:cdk-signature:jar:LATEST: Could not find artifact org.openscience.cdk:cdk-fingerprint:jar:1.5.0-SNAPSHOT in java.net(http://download.java.net/maven/2) -> [Help 1]

[ERROR] 

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR] 

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException



On Sat, Mar 8, 2014 at 5:03 PM, John May <johnmay@ebi.ac.uk> wrote:
Yep - it pulls down the metadata.xml to inspect what is in the repo. I messed up when I deployed the 1.5.0-SNAPSHOT and it is listed in the metadata<http://www.ebi.ac.uk/intact/maven/nexus/content/repositories/ebi-repo-snapshots/org/openscience/cdk/cdk-fingerprint/maven-metadata.xml> but isnít actually in the folder<http://www.ebi.ac.uk/intact/maven/nexus/content/repositories/ebi-repo-snapshots/org/openscience/cdk/cdk-fingerprint/>. Also note the metadata list 1.5.0 as the latest.

I havenít worked out how to force the metadata to updateÖ or if itís even possible. What do you get for

mvn dependency:analyze

or is it still failing to build?

J

On 8 Mar 2014, at 21:32, Rajarshi Guha <guhar@mail.nih.gov<mailto:guhar@mail.nih.gov>> wrote:

Looks it works with LATEST as the version. However, when I refershed my local repo it's pulling down

1.5.0-SNAPSHOT

but then says that


[WARNING] The POM for org.openscience.cdk:cdk-fingerprint:jar:1.5.0-SNAPSHOT is missing, no dependency information available

Shouldn't it be retrieving 1.5.6-SNAPSHOT?



On Sat, Mar 8, 2014 at 3:59 PM, John May <johnmay@ebi.ac.uk<mailto:johnmay@ebi.ac.uk>> wrote:
Okay,

You need to add

<releases>
<enabled>false</enabled>
</releases>

to the snapshot repo. Iíll add that to the README. This could be something I mess up last year by deploying a release to snapshots by mistakes (I used to have perl scripts to do it :-)).

With that added, mvn dependency:analyze shows that is picks up the 1.5.5 release. Failing that also make sure youíre using Maven 3. Iím pretty sure the RELEASE also worked pre v 3. Also no harm in turning of snapshots from the release repo.

<repository>
            <id>ebi-repo</id>
            <url>http://www.ebi.ac.uk/intact/maven/nexus/content/repositories/ebi-repo/</url>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
        </repository>
        <repository>
            <id>ebi-repo-snapshots</id>
            <url>http://www.ebi.ac.uk/intact/maven/nexus/content/repositories/ebi-repo-snapshots/</url>
            <releases>
                <enabled>false</enabled>
            </releases>
        </repository>

J




--
Rajarshi Guha | http://blog.rguha.net<http://blog.rguha.net/>
NIH Center for Advancing Translational Science




-- 
Rajarshi Guha | http://blog.rguha.net
NIH Center for Advancing Translational Science