Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #12341 (closed)

Opened 10 years ago

Closed 10 years ago

Bug: ice33/34 poms broken

Reported by: jamoore Owned by: jamoore
Priority: minor Milestone: 5.0.3
Component: Deployment Version: 5.0.2
Keywords: maven, build Cc: sbesson, rleigh, bpindelski
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

The no-jar trick from the ice-grid ivy files for 3.3 and 3.4 lead to broken poms in maven. Testing http://github.com/ome/minimal-omero-client (branch dev_5_0) with:

mvn test -Dice=33

I see:

...
3) zeroc:ice-grid:jar:3.4.2

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=zeroc -DartifactId=ice-grid -Dversion=3.4.2 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=zeroc -DartifactId=ice-grid -Dversion=3.4.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
        1) com.example:MyClient:jar:5.0.5
        2) omero:blitz:jar:5.0.2-ice34-b26
        3) zeroc:ice-grid:jar:3.4.2

----------
3 required artifacts are missing.

for artifact: 
  com.example:MyClient:jar:5.0.5

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  ome.releases (http://artifacts.openmicroscopy.org/artifactory/ome.releases/),
  ome.external (http://artifacts.openmicroscopy.org/artifactory/ome.external/),
  ome.manual (http://artifacts.openmicroscopy.org/artifactory/ome.manual/),
  ome.snapshots (http://artifacts.openmicroscopy.org/artifactory/ome.snapshots/)

Change History (2)

comment:1 Changed 10 years ago by jamoore

  • Owner set to jamoore

comment:2 Changed 10 years ago by jamoore

  • Resolution set to fixed
  • Status changed from new to closed

Solved this by uploading ice-{grid,glacier2,storm}-3.{3,4}.jar files with a single README.txt:

This jar is intentionally empty since in earlier versions
of Ice all classes were in the single ice.jar file.
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.63439 sec.)

We're Hiring!