[maven-scm] copy for tag maven-archetype-1.0-alpha-6
git-svn-id: https://svn.apache.org/repos/asf/maven/archetype/tags/maven-archetype-1.0-alpha-6@569487 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/maven-archetype-core/pom.xml b/maven-archetype-core/pom.xml
index de563b9..f9a29a3 100644
--- a/maven-archetype-core/pom.xml
+++ b/maven-archetype-core/pom.xml
@@ -1,31 +1,8 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>maven-archetype</artifactId>
- <version>1.0-SNAPSHOT</version>
+ <version>1.0-alpha-6</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.maven.archetype</groupId>
@@ -69,4 +46,4 @@
<version>1.0</version>
</dependency>
</dependencies>
-</project>
+</project>
\ No newline at end of file
diff --git a/maven-archetype-creator/pom.xml b/maven-archetype-creator/pom.xml
index b7f67a9..f0345e9 100644
--- a/maven-archetype-creator/pom.xml
+++ b/maven-archetype-creator/pom.xml
@@ -1,31 +1,8 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>maven-archetype</artifactId>
- <version>1.0-SNAPSHOT</version>
+ <version>1.0-alpha-6</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>maven-archetype-creator</artifactId>
@@ -63,4 +40,4 @@
<version>2.0.8</version>
</dependency>
</dependencies>
-</project>
+</project>
\ No newline at end of file
diff --git a/maven-archetype-model/pom.xml b/maven-archetype-model/pom.xml
index 2849bec..b66b234 100644
--- a/maven-archetype-model/pom.xml
+++ b/maven-archetype-model/pom.xml
@@ -1,31 +1,8 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>maven-archetype</artifactId>
- <version>1.0-SNAPSHOT</version>
+ <version>1.0-alpha-6</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>maven-archetype-model</artifactId>
@@ -60,4 +37,4 @@
</plugin>
</plugins>
</build>
-</project>
+</project>
\ No newline at end of file
diff --git a/maven-archetype-plugin/pom.xml b/maven-archetype-plugin/pom.xml
index fb96531..b431842 100644
--- a/maven-archetype-plugin/pom.xml
+++ b/maven-archetype-plugin/pom.xml
@@ -1,31 +1,8 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<artifactId>maven-archetype</artifactId>
<groupId>org.apache.maven.archetype</groupId>
- <version>1.0-SNAPSHOT</version>
+ <version>1.0-alpha-6</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.maven.plugins</groupId>
@@ -65,9 +42,9 @@
</mailingList>
</mailingLists>
<scm>
- <connection>scm:svn:http://svn.apache.org/repos/asf/maven/archetype/trunk/maven-archetype/maven-archetype-plugin/</connection>
- <developerConnection>scm:svn:http://svn.apache.org/repos/asf/maven/archetype/trunk/maven-archetype/maven-archetype-plugin/</developerConnection>
- <url>http://svn.apache.org/repos/asf/maven/archetype/trunk/maven-archetype/maven-archetype-plugin/</url>
+ <connection>scm:svn:https://svn.apache.org/repos/asf/maven/archetype/tags/maven-archetype-1.0-alpha-6</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/archetype/tags/maven-archetype-1.0-alpha-6</developerConnection>
+ <url>https://svn.apache.org/repos/asf/maven/archetype/tags/maven-archetype-1.0-alpha-6</url>
</scm>
<prerequisites>
<maven>2.0</maven>
@@ -145,4 +122,4 @@
<url>scp://people.apache.org/www/maven.apache.org/plugins/maven-archetype-plugin</url>
</site>
</distributionManagement>
-</project>
+</project>
\ No newline at end of file
diff --git a/maven-archetype-plugin/src/main/java/org/apache/maven/plugin/archetype/MavenArchetypeMojo.java b/maven-archetype-plugin/src/main/java/org/apache/maven/plugin/archetype/MavenArchetypeMojo.java
index 45decbc..be413db 100644
--- a/maven-archetype-plugin/src/main/java/org/apache/maven/plugin/archetype/MavenArchetypeMojo.java
+++ b/maven-archetype-plugin/src/main/java/org/apache/maven/plugin/archetype/MavenArchetypeMojo.java
@@ -156,9 +156,9 @@
private MavenProject project;
/**
- * @parameter default-value="${user.dir}"
+ * @parameter expression="${basedir}" default-value="${user.dir}"
*/
- private String basedir = System.getProperty( "user.dir" );
+ private String basedir;
public void execute()
throws MojoExecutionException
diff --git a/pom.xml b/pom.xml
index af4372a..b44362a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -19,36 +19,34 @@
under the License.
-->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>maven-archetype-parent</artifactId>
- <version>1</version>
+ <version>2</version>
</parent>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>maven-archetype</artifactId>
<packaging>pom</packaging>
- <version>1.0-SNAPSHOT</version>
+ <version>1.0-alpha-6</version>
<name>Maven Archetype</name>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>maven-archetype-model</artifactId>
- <version>1.0-SNAPSHOT</version>
+ <version>1.0-alpha-5</version>
</dependency>
<dependency>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>maven-archetype-core</artifactId>
- <version>1.0-SNAPSHOT</version>
+ <version>1.0-alpha-5</version>
</dependency>
<dependency>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>maven-archetype-creator</artifactId>
- <version>1.0-SNAPSHOT</version>
+ <version>1.0-alpha-5</version>
</dependency>
</dependencies>
</dependencyManagement>
@@ -84,4 +82,10 @@
<module>maven-archetype-plugin</module>
<module>maven-archetype-model</module>
</modules>
-</project>
+
+ <scm>
+ <connection>scm:svn:https://svn.apache.org/repos/asf/maven/archetype/tags/maven-archetype-1.0-alpha-6</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/archetype/tags/maven-archetype-1.0-alpha-6</developerConnection>
+ <url>https://svn.apache.org/repos/asf/maven/archetype/tags/maven-archetype-1.0-alpha-6</url>
+ </scm>
+</project>
\ No newline at end of file