We're Hiring!

Maven can't find jar

General and open developer discussion about using OMERO APIs from C++, Java, Python, Matlab and more! Please new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

If you are having trouble with custom code, please provide a link to a public repository, ideally GitHub.

Maven can't find jar

Postby chriswood » Tue Sep 30, 2014 4:28 pm

Hi,

I was having some trouble with the ome maven repo, so I cloned the minimal-omero-client and tried
to build it with maven:

[WARNING] The POM for omero:blitz:jar:5.0.4-ice35-b41 is missing, no dependency information available
......
[ERROR] Failed to execute goal on project MyClient: Could not resolve dependencies for project com.example:MyClient:jar:5.0.11: Could not find artifact omero:blitz:jar:5.0.4-ice35-b41 in ome.maven (http://artifacts.openmicroscopy.org/artifactory/maven/) -> [Help 1]

--------------------

I looked in the repository under the blitz directory, and I couldn't find the exact version of the blitz jar.

Thanks
Chris
chriswood
 
Posts: 25
Joined: Wed Apr 07, 2010 8:28 pm

Re: Maven can't find jar

Postby jmoore » Tue Sep 30, 2014 9:54 pm

Hi Chris,

it looks like the build number was wrong for 5.0.4: b41 instead of b43. Sorry about that! Instead of trying to fix that retroactively, so to speak, I've just released pom 5.0.12 which points to the recent release 5.0.5-b47. Could you give that a try?

Cheers,
~Josh.
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: Maven can't find jar

Postby chriswood » Wed Oct 01, 2014 1:50 pm

Hi Josh,

I changed the version of the parent to 5.12 and the minimal-omero-client built (mvn test) successfully.
(The pom.xml for the example on github will need to be updated)

Thanks
Chris
chriswood
 
Posts: 25
Joined: Wed Apr 07, 2010 8:28 pm

Re: Maven can't find jar

Postby bpindelski » Fri Oct 03, 2014 9:05 am

Hi Chris,

I've opened a PR (https://github.com/ome/minimal-omero-client/pull/3) that updates minimal-omero-client to use the most up-to-date stable versions. The Gradle and Maven builds should be in a better shape once the change is merged. Thanks for the feedback!

With kind regards,
Blazej
bpindelski
 

Re: Maven can't find jar

Postby jmoore » Mon Oct 06, 2014 7:23 am

Changes merged. Thanks for all the testing, Chris.
~Josh
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany


Return to Developer Discussion

Who is online

Users browsing this forum: No registered users and 1 guest