oxygen sdk maven command line instruction to get sdk dependencies has wrong syntax
Oxygen general issues.
-
- 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 »
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
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
-
- Posts: 1016
- 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 »
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
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
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service