From 73d9813ee6ce87e8b3f3ac58561e6753a395f42a Mon Sep 17 00:00:00 2001 From: Brett Leslie Porter Date: Sun, 12 Jun 2005 05:21:38 +0000 Subject: [PATCH] update default values git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@190220 13f79535-47bb-0310-9956-ffa450edef68 --- .../plugin/archetype/MavenArchetypeMojo.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/maven-archetype/maven-archetype-plugin/src/main/java/org/apache/maven/plugin/archetype/MavenArchetypeMojo.java b/maven-archetype/maven-archetype-plugin/src/main/java/org/apache/maven/plugin/archetype/MavenArchetypeMojo.java index 49e29da74c..36c36b8bdf 100644 --- a/maven-archetype/maven-archetype-plugin/src/main/java/org/apache/maven/plugin/archetype/MavenArchetypeMojo.java +++ b/maven-archetype/maven-archetype-plugin/src/main/java/org/apache/maven/plugin/archetype/MavenArchetypeMojo.java @@ -50,22 +50,22 @@ public class MavenArchetypeMojo private ArtifactRepository localRepository; /** - * @parameter expression="${archetypeGroupId}" + * @parameter expression="${archetypeGroupId}" default-value="org.apache.maven.archetypes" * @required */ - private String archetypeGroupId = "org.apache.maven.archetypes"; + private String archetypeGroupId; /** - * @parameter expression="${archetypeArtifactId}" + * @parameter expression="${archetypeArtifactId}" default-value="maven-archetype-quickstart" * @required */ - private String archetypeArtifactId = "maven-archetype-quickstart"; + private String archetypeArtifactId; /** - * @parameter expression="${archetypeVersion}" + * @parameter expression="${archetypeVersion}" default-value="RELEASE" * @required */ - private String archetypeVersion = "RELEASE"; + private String archetypeVersion; /** * @parameter expression="${groupId}" @@ -80,16 +80,16 @@ public class MavenArchetypeMojo private String artifactId; /** - * @parameter expression="${version}" + * @parameter expression="${version}" default-value="1.0-SNAPSHOT" * @required */ - private String version = "1.0-SNAPSHOT"; + private String version; /** - * @parameter expression="${packageName}" alias="package" + * @parameter expression="${packageName}" alias="package" default-value="com.mycompany.app" * @required */ - private String packageName = "com.mycompany.app"; + private String packageName; /** * @parameter expression="${project.remoteArtifactRepositories}"