gerrit/gerrit-plugin-archetype/.gitignore
Sasa Zivkov 844c51ed40 Add maven archetype for creating gerrit plugin projects.
Until now creation of a new Gerrit plugin meant either starting from
scratch or copying and modifying and existing plugin.

This change introduces a maven archetype for creating new Gerrit plugin
projects. Assuming gerrit-plugin-api and gerrit-plugin-archetype are
installed in a maven repository one can create a new Gerrit plugin
project by executing a command like:

  mvn archetype:generate -DarchetypeGroupId=com.google.gerrit \
    -DarchetypeArtifactId=gerrit-plugin-archetype \
    -DarchetypeVersion=2.5-SNAPSHOT \
    -DgroupId=com.google.gerrit \
    -DartifactId=testPlugin

Maven will ask for additional properties and then create the plugin in
the current directory. To change the default property values answer 'n'
when maven asks for confirm properties configuration. It will then ask
again for all properties including those with predefined default values.

A missing part is to not generate [Ssh|Http]Module.java skeletons in
case when user choses 'n' for some of Gerrit-[Ssh|Http]Module
properties.

Change-Id: I0b91957415de85eee029c91a6ac7e27096d6a452
Signed-off-by: Sasa Zivkov <sasa.zivkov@sap.com>
2012-05-31 15:56:59 +02:00

6 lines
107 B
Plaintext

/target
/.classpath
/.project
/.settings/org.maven.ide.eclipse.prefs
/.settings/org.eclipse.m2e.core.prefs