[ImageJ-devel] [fiji-devel] Help! - Maven/Eclipse problem with fiji.sc dependencies
Tobias Pietzsch
pietzsch at mpi-cbg.de
Thu Jan 16 20:28:34 CST 2014
Hi,
I just deleted my .m2 directory and let Eclipse download the internet again to fill it.
The problem persists :(
Tobias
On Jan 17, 2014, at 3:15 AM, Tobias Pietzsch <pietzsch at mpi-cbg.de> wrote:
> 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/c9e51fc4/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/c9e51fc4/attachment.pgp>
More information about the ImageJ-devel
mailing list