blob: c5d077e508a19c7277256b3f7e536bc09db64099 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<document xmlns="http://maven.apache.org/XDOC/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
<properties>
<title>sop-projectcreation</title>
</properties>
<body>
<section name="Context">
<p>Papyrus components offers a maven archetype to generate the basic scafold of a fully compatible Papyrus Component.</p>
</section>
<section name="How to?">
<subsection name="Pre-requisite">
<p>You have to register the following repository to download the lastest version of org.eclipse.papyrus.components.archetype.</p>
<source>
mvn archetype:generate -DarchetypeGroupId=org.eclipse.papyrus.components -DarchetypeArtifactId=org.eclipse.papyrus.components.archetype -DarchetypeVersion=0.0.1 -DgroupId=org.eclipse.papyrus.mycomponent -DartifactId=mycomponent -Dversion=0.0.1 -DcomponentName=mycomponent -DhudsonViewName=HUDSON -DbugzillaName=BUGZILLA
</source>
<p>Where the following args are defined:</p>
<ul>
<li>mvn archetype:generate -DarchetypeGroupId=org.eclipse.papyrus.components -DarchetypeArtifactId=org.eclipse.papyrus.components.archetype -DarchetypeVersion=0.0.1: describe the version of the archetype you are using</li>
<li>-DgroupId=org.eclipse.papyrus.mycomponent -DartifactId=mycomponent -Dversion=0.0.1: the basic triplet for your compoennt</li>
<li>-DcomponentName=mycomponent: the name of your component that will serve as a basis to uild the root package anme: org.eclipse.papyrus.component.componentName</li>
<li>-DhudsonViewName=HUDSON: the Hudson tab name</li>
<li>-DbugzillaName=BUGZILLA: the compoennt name in bugzilla</li>
</ul>
</subsection>
</section>
</body>
</document>