Disclaimer - talk n00by to me!
I'm a complete n00b with Artifactory and Maven. I've searched everything I can find online and really have not been able to find anything other that it should be dead simple to import! And because of that, I'm having a hard time finding help for when it doesn't I think.
I have no doubt that this is due to my lack of knowledge with Maven, Artifactory, and Nexus. I just don't know what to do to fix it. The old machine has Maven and points to a Nexus repository.
Assumption
My understanding is that the Maven .m2 folder should be a Maven-structured repository, and I should be able to import it?
Exported the .m2 directory
I have rsynch transfered the entire .m2 directory. Here is a snippet of the .m2 directory, looking only at antlr:
.m2/
|
| - settings.xml
| + repository/
| |
| + antlr/
| |
| + antlr/
| |
| + 2.7.7/
| |
| - contains jars, pom, sha1 files
|
|
| + org/
| |
| + antlr/
| |
| + antlr-master/...
| + stringtemplate/...
| + antlr-runtime/
| |
| + 3.1.3/
| |
| - contains poms, sha1, jars
So, I'm wondering, is this actually supporting the Maven2 layout? It looks like there are jars that are not falling in the org.package format. Does the above not match the import layout format from here? As far as I can tell, it does.
Log only says "No repositories found"
I've tried
- pointing to that root
.m2
folder, - pointing to sub-folders such as
repository/org
- zipping the entire .m2 folder it,
- zipping it at different sub-folders such as the
org
folder - I've tried taking one item out, pointing at the antlr..
Nothing seems to work. I've enabled the Verbose log, which I know redirects to the import-export log and is supposed to provide more information. All that it says is no repositories found.
I'm at a loss as to where to point or what to do. Any help is greatly appreciated!