Page 1 of 1

Maven project using Oxygen sdk 20.1

Posted: Mon Mar 25, 2019 1:02 pm
by Anvesh
Hi,

We previously used oxygen 19.1 for oxygen customization in maven projects.

But now when we are giving build in 20.1, it is not able to create maven projects, and also we could not give build with the old version(19.1)

It is searching for URL : http://www.oxygenxml.com/maven/org/ecli ... tadata.xml.

When we checked the same in browser it is showing "File not found"

Could you please suggest us on how to do customization with the latest oxygen version

Re: Maven project using Oxygen sdk 20.1

Posted: Mon Mar 25, 2019 2:32 pm
by Radu
Hi Anvesh,

Did you follow precisely the instructions listed here:

https://www.oxygenxml.com/oxygen_sdk/ox ... mmand-line

?

Regards,
Radu

Re: Maven project using Oxygen sdk 20.1

Posted: Mon Mar 25, 2019 2:55 pm
by Anvesh
Hi Radu,

We have followed exactly the instruction given in the link.

But still it is not working.

Regards,
Anvesh

Re: Maven project using Oxygen sdk 20.1

Posted: Mon Mar 25, 2019 3:49 pm
by Radu
Hi Anvesh,

There seem to be a couple of mistakes in the page I gave you, we'll probably correct them in about one hour.
In the meantime, if you open a command line and use this command:

Code: Select all

mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate -DarchetypeGroupId=com.oxygenxml.samples -DarchetypeArtifactId=oxygen-sdk-samples-archetype -DarchetypeVersion=20.1.0.3 -DgroupId=myGroup -DartifactId=mySample  -Dversion=1.0-SNAPSHOT -DarchetypeRepository=http://oxygenxml.com/maven/
does it properly work for you? If not, what errors do you obtain in the console output?

Regards,
Radu