Hi Chris, On Fri, 4 Jan 2013, Chris wrote:
> >> I changed the project name and transferred my java files to the Source > >> Packages/<default package>, but attempting to clean and build the > >> project results in the dialog > >> > >> These are some of my project's classes, but none of the choices contains > >> a main method since they depend on ImageJ's main method. I have set the > >> project up by simply renaming your project in the pom.xml file and > >> replacing your java file with my files in the Source Packages/<default > >> package>. > >> > >> This is the error in Netbeans output: > >> > >> Failed to execute goal on project Auto_Postcard: Could not resolve > >> dependencies for project sc.fiji:Auto_Postcard:jar:1.0.0: Failed to > >> collect dependencies for [net.imagej:ij:jar:[1.45s,) (compile), > >> imagej:ij:jar:2.0-SNAPSHOT (compile), org.swinglabs:swing-layout:jar:1.0.3 > >> (compile)]: Failed to read artifact descriptor for > >> mpicbg:imglib:jar:2.0-SNAPSHOT: Failure to find > >> net.imglib2:pom-imglib:pom:2.0-SNAPSHOT in > >> 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 -> [Help 1] > >> > >> I am missing something simple I think... > > > > I think that you want to go for version 2.0.0-SNAPSHOT. Besides, you > > should consider switching to ImgLib2. Even if it is not quite obvious from > > the repository, ImgLib1 is deprecated. > > > OK, where do I set the parameters for SNAPSHOT and imgLib2? In the pom.xml > file? I used your pom.xml file, changing only the <artifactid> and the > <name> to my names. In the <dependencies> section, you can define exactly what dependencies your program has. In this particular case, I think that both the groupId and the version of imagej:ij:jar:2.0-SNAPSHOT are wrong ;-) Ciao, Johannes _______________________________________________ ImageJ-devel mailing list [email protected] http://imagej.net/mailman/listinfo/imagej-devel
