New Maven Project

Having trouble installing Oxygen? Got a bug to report? Post it all here.
ashukuma
Posts: 20
Joined: Fri Nov 14, 2014 10:04 am

New Maven Project

Post by ashukuma »

Hi Team,

I followed the steps given in http://www.oxygenxml.com/oxygen_sdk_mav ... figuration to create new Maven projects so that I can get all the samples as suggested in the above link.

But, on click on OK after adding the archetype, I am getting the below error.

Can't resolve Archetype com.oxygenxml.samples:oxygen-sdk-samples-archetype:16.1.1
org.eclipse.core.runtime.CoreException: Could not resolve artifact com.oxygenxml.samples:oxygen-sdk-samples-archetype:pom:16.1.1


Can you please help me in solving this issue?
Radu
Posts: 9049
Joined: Fri Jul 09, 2004 5:18 pm

Re: New Maven Project

Post by Radu »

Hi,

The link which you pasted above suggests that you should make some changes to your .m2/settings.xml. Also if you are behind a proxy web server the same page explains how to add a web proxy in the settings.xml
Did you make the suggested changes? Can you paste the contents of your settings.xml in your reply?

Could you also try to create the maven archetype using the command line? The same Maven configuration help file has a section called Creating a Startup Project Sample From Command Line which explains how this can be done.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply