Hi Chris,

On Fri, 24 May 2013, Chris wrote:

> Below is the relevant feedback from my console that prevents me from
> building and running my project.  It seems to be linked to SNAPSHOT:
> 
> Downloading:
> http://download.java.net/maven/2/unknown/binary/AbsoluteLayout/SNAPSHOT/AbsoluteLayout-SNAPSHOT.pom
>                   
> The POM for unknown.binary:AbsoluteLayout:jar:SNAPSHOT is missing, no
> dependency information available

>From your POM you sent earlier, it appears as if you wanted to provide the
AbsoluteLayout artifact via an in-repository repository in the lib/
directory.

I *suspect* that you simply copied AbsoluteLayout.jar into lib/, but that
does not make lib/ a Maven repository. You have to "deploy" it there:

        mvn deploy:deploy-file \
                -DrepositoryId=unknown-jars-temp-repo \
                -Dfile=AbsoluteLayout.jar \
                -DgroupId=unknown.binary -DartifactId=AbsoluteLayout \
                -Dversion=SNAPSHOT

because Maven will add metadata about the version and use a standard
directory layout there.

I suspect, though that your version will trigger an error because it does
not follow any convention I know of: SNAPSHOT versions still need to have
a valid version prefix.

Also, I suspect that you did not follow the help on
http://fiji.sc/Maven#How_to_find_a_dependency.27s_groupId.2FartifactId.2Fversion_.28GAV.29.3F
because I could find information about the AbsoluteLayout dependency
pretty easily via our Maven repository:
http://dev.imagejdev.org:8081/index.html#nexus-search;quick~absolutelayout

Clicking on the RELEASE72 line, I got this:

<dependency>
  <groupId>org.netbeans.external</groupId>
  <artifactId>AbsoluteLayout</artifactId>
  <version>RELEASE72</version>
</dependency>

Ciao,
Johannes

_______________________________________________
ImageJ-devel mailing list
ImageJ-devel@imagej.net
http://imagej.net/mailman/listinfo/imagej-devel

Reply via email to