[ImageJ-devel] Help! - Maven/Eclipse problem with fiji.sc dependencies

Tobias Pietzsch pietzsch at mpi-cbg.de
Thu Jan 16 20:15:15 CST 2014


Hi,
I'm having suddenly many "bad pom" errors in Eclipse.
For the SpimViewer project, I narrowed it down to the following:
If I remove all sc.fiji projects from the dependencies, it builds fine (except for compile errors related to classes in those missing dependencies)
For me, the fiji.sc dependencies are
		<dependency>
			<groupId>sc.fiji</groupId>
			<artifactId>SPIM_Opener</artifactId>
			<version>2.0.0-SNAPSHOT</version>
		</dependency>
		<dependency>
			<groupId>sc.fiji</groupId>
			<artifactId>SPIM_Registration</artifactId>
			<version>2.0.0-SNAPSHOT</version>
		</dependency>
Enabling any of these causes trouble.

From command line maven, everything builds fine.

I made a new Eclipse workspace, cloned (only) the SpimViewer project into it and tried again. Same problem.
I'm seeing errors like this one:

ArtifactDescriptorException: Failed to read artifact descriptor for net.java.sezpoz:sezpoz:jar:${sezpoz.version}: ArtifactResolutionException: Failure to transfer net.java.sezpoz:sezpoz:pom:${sezpoz.version} from http://maven.imagej.net/content/repositories/releases was cached in the local repository, resolution will not be reattempted until the update interval of imagej.releases has elapsed or updates are forced. Original error: Could not transfer artifact net.java.sezpoz:sezpoz:pom:${sezpoz.version} from/to imagej.releases (http://maven.imagej.net/content/repositories/releases): Illegal character in path at index 78: http://maven.imagej.net/content/repositories/releases/net/java/sezpoz/sezpoz/${sezpoz.version}/sezpoz-${sezpoz.version}.pom	pom.xml	/SpimViewer	line 1	Maven Dependency Problem

(Indeed, I have a directory .m2/repository/net/java/sezpoz/sezpoz/${sezpoz.version} now)

The weird thing is that from the command line everything works.

Does anyone have an idea what could be wrong? This basically stops me from working completely…

thanks for any help,
Tobias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20140117/6fe4cce1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20140117/6fe4cce1/attachment.pgp>


More information about the ImageJ-devel mailing list