Page 1 of 1

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

Posted: Thu Jul 06, 2017 4:15 pm
by prabaharanit
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

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

Posted: Fri Jul 07, 2017 9:32 am
by alex_jitianu
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