-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
archetypes are not available via maven central #145
Comments
@jjYBdx4IL please note that a thorough, well-described report is always appreciated much more than a terse two liner. The StackOverflow question you reference predates the rename to Now, it is not obvious what needs to be done to support those archetypes. This poses an excellent opportunity to make up for the unnecessarily terse report and research what it takes to support the archetypes via Maven Central, and provide an informed, detailed report as a comment here. Alternatively, you can always ask for customer support on the mailing list (you might want to offer a monetary incentive if you want to go that route). |
FWIW, @dscho was looking into archetypes a bit the other day, and ended up creating three new repositories based on @duns's previous work:
Still not deployed to Central yet, though; I'm reopening this issue until they are. |
Tanks a lot! I was a bit confused because the docs listed them. |
I found an example athttp://www.openimaj.org/tutorial/getting-started-with-openimaj-using-maven.html : mvn -DarchetypeCatalog=http://maven.openimaj.org/archetype-catalog.xml archetype:generate Though it would be nicer to have the archetypes available directly from maven central. |
In the meantime, I have found out that Nexus does this automatically. All we would need is to adjust https://github.com/maven-nar/maven-archetype-nar-exec, https://github.com/maven-nar/maven-archetype-nar-lib and https://github.com/maven-nar/maven-archetype-nar-jni and deploy them. However, researching this much was not my duty, so I feel I over-contributed already to this ticket. |
@jjYBdx4IL I kind of expected you to take it from there... do you want the archetypes on Nexus or not? |
sorry for the churn above, I was still learning this issue tracker interface... |
http://central.sonatype.org/pages/ossrh-guide.html and http://central.sonatype.org/pages/apache-maven.html are guides on how to get things into maven central in general. This is already used for the maven-nar-plugin itself. From I might give it a try if nobody beats me to it. |
The The other three repositories ( Note that as things stand, those three archetype repositories have no updates to reflect the new project structure of NAR, etc. They were purely migrated from the old code. So e.g. the |
I've started working on this, copying over lots of the pom entry from the nar maven plugin. Also thought about using a parent for the archetypes. Will do so now after you encouragement. |
Awesome, keep us posted on progress, and any questions! |
In addition to having the archetypes in the Central Repository, it would be nice if the Archetypes documentation page would contain copy-and-pastable |
Please deploy them there. thanks!
http://stackoverflow.com/questions/8167749/use-maven-archetype-nar-exec-to-generate-project
The text was updated successfully, but these errors were encountered: