NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #1032 (closed enhancement: fixed)

Opened 2012-02-27T23:16:38-06:00

Last modified 2012-02-28T16:48:30-06:00

Support building ImageJ2 with Maven3

Reported by: dscho Owned by: dscho
Priority: minor Milestone: imagej2-b1-initial
Component: Build System Version:
Severity: cosmetic Keywords:
Cc: ctrueden@… Blocked By:
Blocking:

Description

... because Eclipse IDE "4" Java Developers bundles that version already.

Should be as easy as removing the explicit mention of Maven Wagon (WebDAV) in the root pom.xml (which should work as the WebDAV wagon is included in the core Maven bundle starting with version 2.0.9 according to  MNG-2664).

The only reason that this ticket targets the beta1 milestone is because I already did the whole research ;-)

Change History

comment:1 Changed 2012-02-27T23:16:43-06:00 by dscho

  • Status changed from new to accepted

comment:2 Changed 2012-02-28T14:39:47-06:00 by dscho

  • Cc ctrueden@… added

Curtis says that it does not work for him:

I tested your change on my local system with Maven 3.0.4, but unfortunately it breaks the build:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project pom-ij-base:
Failed to deploy artifacts/metadata: No connector available to access repository imagej.snapshots (dav:  http://maven.imagej.net/content/repositories/snapshots) of type default using the available factories WagonRepositoryConnectorFactory -> [Help 1]

We may need to push this to beta2 or beta3 as it is not that urgent for the functionality of beta1.
To be more precise on the symptoms with Eclipse's Maven 3:

Project build error: Unresolveable build extension: Plugin org.apache.maven.wagon:wagon-webdav:1.0-beta-2 or one of its dependencies could not be resolved: Failed to collect dependencies for org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2 ()

comment:3 Changed 2012-02-28T16:48:30-06:00 by dscho

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

Fixed in 36fd40fe23ff85a420363224d5250ce673c2caaa after a lot of help by Curtis.