oxygen sdk maven command line instruction to get sdk dependencies has wrong syntax

<oXygen/> general issues.
prabaharanit
Posts: 5
Joined: Wed Jun 28, 2017 3:46 pm

oxygen sdk maven command line instruction to get sdk dependencies has wrong syntax

Post by prabaharanit » Thu Jul 06, 2017 4:15 pm

i am following this post https://www.oxygenxml.com/oxygen_sdk/download.html, to get oxygen sdk plugin installed in my machine, and i see the mvn command line archetype is wrongly written, i would request the team to correct this command line argument from

mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate -DarchetypeGroupId=com.oxygenxml.samples -DarchetypeArtifactId=oxygen-sdk-samples-archetype -DarchetypeVersion=19.0.0.0 -DgroupId=myGroup -DartifactId=mySample -Dversion=1.0-SNAPSHOT -DarchetypeRepository=http://oxygenxml.com/maven/



correct syntax would be all mvn arguments should be between quotes ("argument"), but where as in guide, it is not having those quotes, and mvn generate command is failing to execute.

To

mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate -DarchetypeGroupId="com.oxygenxml.samples" -DarchetypeArtifactId="oxygen-sdk-samples-archetype" -DarchetypeVersion="19.0.0.0" -DgroupId="myGroup" -DartifactId="mySample" -Dversion="1.0-SNAPSHOT" -DarchetypeRepository=http://oxygenxml.com/maven/

please correct this one

alex_jitianu
Posts: 662
Joined: Wed Nov 16, 2005 11:11 am

Re: oxygen sdk maven command line instruction to get sdk dependencies has wrong syntax

Post by alex_jitianu » Fri Jul 07, 2017 9:32 am

Hello,

Thank you for reporting this issue. The command line is indeed not working but from my tests the culprit is a misplaced space put inside the a property: -DgroupId=myGro up. After I removed that space the command line executed even without the quotes.


Best regards.
Alex

Post Reply