[
https://issues.jboss.org/browse/JBIDE-7890?page=com.atlassian.jira.plugin...
]
Snjezana Peco commented on JBIDE-7890:
--------------------------------------
This feature would import a maven archetype and create a project based on that
archetype.
Currently, if a user create a project using an archetype, he needs to know the following
:
- groupId
- artifactId
- version
- the url of a maven repository (optional)
Then he needs to enter the groupId,artifactId and version of the project.
I would like to create a project example that would simplify this procedure.
If the user, for example, wants to create a weld-javaee6 example, all he would need to do
is to select that example from the project examples wizard.
Project example creator would only have to add the above mentioned info to the project
examples xml file.
The following is an example for weld-javaee6 archetype :
<project>
<category>Weld</category>
<name>jboss-javaee6-webapp</name>
<shortDescription>Weld Java EE 6 project</shortDescription>
<description>
...
</description>
<size>...</size>
<!-- archetype coordinates -->
<importType>maven-archetype</importType>
<archetypeGroupiId>org.jboss.weld.archetypes</archetypeGroupiId>
<archetypeArtifactId>jboss-javaee6-webapp</archetypeArtifactId>
<archetypeVersion>1.0.1.Beta1</archetypeVersion>
<repositoryURL>...</repositoryURL> <!-- optional if the archetype
isn't in the standard repository -->
<!-- project coordinates -->
<groupiId>com.mycompany.weld</groupiId>
<artifactId>javaee6-webapp</artifactId>
<version>0.0.1-SNAPSHOT</version>
<importTypeDescription>The project example requires the m2eclipse-core and JBoss
Maven Project Examples feature.</importTypeDescription>
</project>
</projects>
When the user chooses this example, he would get a dialog containing the default project
coordinates described in the project examples xml file, but he could change them.
Create project example based on maven archetype
-----------------------------------------------
Key: JBIDE-7890
URL:
https://issues.jboss.org/browse/JBIDE-7890
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: maven, project-examples
Reporter: Snjezana Peco
Assignee: Snjezana Peco
Fix For: 3.2.x, 3.3.x
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira