[ImageJ-devel] Failure of Netbeans project to build

Chris chris at gaiag.net
Thu May 23 21:32:34 CDT 2013


> Hi Chris,
> 
> On Thu, 23 May 2013, Chris wrote:
> 
>> I have been developing an ImageJ project in Netbeans but suddenly I can
>> no longer build the project or run it to get an instance of ImageJ.  I
>> get the following error, but I do not know enough about Maven to resolve
>> it on my own.  I'm hoping someone can assist me in getting the project
>> running again.  
> 
> Are you sure that you have a section like this in your pom.xml?
> 
> -- snipsnap --
> <!-- NB: for project parent -->
> <repositories>
> 	<repository>
> 		<id>imagej.releases</id>
> 		<url>http://maven.imagej.net/content/repositories/releases</url>
> 	</repository>
> 	<repository>
> 		<id>imagej.snapshots</id>
> 		<url>http://maven.imagej.net/content/repositories/snapshots</url>
> 	</repository>
> </repositories>

Yes, that section is definitely there.  Here is my pom.xml:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
		http://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>

	<parent>
		<groupId>org.scijava</groupId>
		<artifactId>pom-scijava</artifactId>
		<version>1.25</version>
	</parent>

	<groupId>sc.fiji</groupId>
	<artifactId>APC_</artifactId>
	<version>1.0.0</version>

	<name>plugins/APC_.jar</name>
	<description>A Maven project implementing an ImageJ 1.x plugin</description>

	<dependencies>
		<dependency>
			<groupId>net.imagej</groupId>
			<artifactId>ij</artifactId>
			<version>${imagej1.version}</version>
		</dependency>
	 <dependency>
	  <groupId>org.swinglabs</groupId>
	  <artifactId>swing-layout</artifactId>
	  <version>1.0.3</version>
	 </dependency>
	 <dependency>
	  <groupId>unknown.binary</groupId>
	  <artifactId>AbsoluteLayout</artifactId>
	  <version>SNAPSHOT</version>
	 </dependency>
	 <dependency>
	  <groupId>imagej</groupId>
	  <artifactId>ij</artifactId>
	  <version>2.0-SNAPSHOT</version>
	  <type>jar</type>
	 </dependency>
	</dependencies>

	<!-- NB: for project parent -->
	<repositories>
		<repository>
			<id>imagej.releases</id>
			<url>http://maven.imagej.net/content/repositories/releases</url>
		</repository>
		<repository>
			<id>imagej.snapshots</id>
			<url>http://maven.imagej.net/content/repositories/snapshots</url>
		</repository>
	 <repository>
	  <id>unknown-jars-temp-repo</id>
	  <name>A temporary repository created by NetBeans for libraries and jars it could not identify. Please replace the dependencies in this repository with correct ones and delete this repository.</name>
	  <url>file:${project.basedir}/lib</url>
	 </repository>
	</repositories>

</project>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20130523/e1a35a73/attachment.html>


More information about the ImageJ-devel mailing list