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

<oXygen/> general issues.
prabaharanit
Posts: 2

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

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: 600

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

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

Return to “Other Issues”

Who is online

Users browsing this forum: No registered users and 1 guest