directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r835535 - in /directory/samples/trunk/apacheds-archetype-testcase: pom.xml src/main/resources/META-INF/archetype.xml src/main/resources/META-INF/maven/ src/main/resources/META-INF/maven/archetype-metadata.xml
Date Thu, 12 Nov 2009 20:41:01 GMT
Author: seelmann
Date: Thu Nov 12 20:41:01 2009
New Revision: 835535

URL: http://svn.apache.org/viewvc?rev=835535&view=rev
Log:
Updated pom (correct packaging), updated metadata

Added:
    directory/samples/trunk/apacheds-archetype-testcase/src/main/resources/META-INF/maven/
    directory/samples/trunk/apacheds-archetype-testcase/src/main/resources/META-INF/maven/archetype-metadata.xml
Modified:
    directory/samples/trunk/apacheds-archetype-testcase/pom.xml
    directory/samples/trunk/apacheds-archetype-testcase/src/main/resources/META-INF/archetype.xml

Modified: directory/samples/trunk/apacheds-archetype-testcase/pom.xml
URL: http://svn.apache.org/viewvc/directory/samples/trunk/apacheds-archetype-testcase/pom.xml?rev=835535&r1=835534&r2=835535&view=diff
==============================================================================
--- directory/samples/trunk/apacheds-archetype-testcase/pom.xml (original)
+++ directory/samples/trunk/apacheds-archetype-testcase/pom.xml Thu Nov 12 20:41:01 2009
@@ -1,13 +1,86 @@
-<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.directory.server</groupId>
-    <artifactId>apacheds-parent</artifactId>
-    <version>1.5.5</version>
-  </parent>
+<?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">
   <modelVersion>4.0.0</modelVersion>
-  <artifactId>apacheds-testcase-archetype</artifactId>
-  <packaging>jar</packaging>
-  <name>ApacheDS Testcase Archetype</name>
+  <parent>
+    <groupId>org.apache.directory.project</groupId>
+    <artifactId>project</artifactId>
+    <version>15</version>
+  </parent>
+  
+  <groupId>org.apache.directory.samples</groupId>
+  <artifactId>apacheds-archetype-testcase</artifactId>
+  <packaging>maven-archetype</packaging>
+  <name>ApacheDS Archetype Testcase</name>
+  <description>Archetype to generate a testcase for ApacheDS</description>
   <version>1.5.5-SNAPSHOT</version>
+  
+  <prerequisites>
+    <maven>2.0.9</maven>
+  </prerequisites>
+  
+  <inceptionYear>2009</inceptionYear>
+  
+  <issueManagement>
+    <system>JIRA</system>
+    <url>http://issues.apache.org/jira/browse/DIRSERVER</url>
+  </issueManagement>
+  
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/directory/samples/trunk/apacheds-archetype-testcase/</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/directory/samples/trunk/apacheds-archetype-testcase/</developerConnection>
+    <url>http://svn.apache.org/viewvc/directory/samples/trunk/apacheds-archetype-testcase/</url>
+  </scm>
+  
+  <distributionManagement>
+    <site>
+      <id>apache.directory.samples</id>
+      <url>${distMgmtSiteUrl}</url>
+    </site>
+  </distributionManagement>
+  
+  <properties>
+    <distMgmtSiteUrl>scpexe://people.apache.org/www/directory.apache.org/samples/apacheds-archetype-testcase/gen-docs/${version}/</distMgmtSiteUrl>
+    <skin.version>1.0.0</skin.version>
+  </properties>
+
+  <build>
+    <extensions>
+      <extension>
+        <groupId>org.apache.maven.archetype</groupId>
+        <artifactId>archetype-packaging</artifactId>
+        <version>2.0-alpha-4</version>
+      </extension>
+    </extensions>
+    <plugins>
+      <plugin>
+        <artifactId>maven-archetype-plugin</artifactId>
+        <version>2.0-alpha-4</version>
+        <extensions>true</extensions>
+      </plugin>
+    </plugins>
+  </build>
+  
+  <reporting>
+    <excludeDefaults>true</excludeDefaults>
+  </reporting>
 </project>

Modified: directory/samples/trunk/apacheds-archetype-testcase/src/main/resources/META-INF/archetype.xml
URL: http://svn.apache.org/viewvc/directory/samples/trunk/apacheds-archetype-testcase/src/main/resources/META-INF/archetype.xml?rev=835535&r1=835534&r2=835535&view=diff
==============================================================================
--- directory/samples/trunk/apacheds-archetype-testcase/src/main/resources/META-INF/archetype.xml
(original)
+++ directory/samples/trunk/apacheds-archetype-testcase/src/main/resources/META-INF/archetype.xml
Thu Nov 12 20:41:01 2009
@@ -1,5 +1,5 @@
 <archetype>
-  <id>apacheds-testcase-archetype</id>
+  <id>apacheds-archetype-testcase</id>
   <sources>
     <source>src/main/java/Dummy.java</source>
   </sources>

Added: directory/samples/trunk/apacheds-archetype-testcase/src/main/resources/META-INF/maven/archetype-metadata.xml
URL: http://svn.apache.org/viewvc/directory/samples/trunk/apacheds-archetype-testcase/src/main/resources/META-INF/maven/archetype-metadata.xml?rev=835535&view=auto
==============================================================================
--- directory/samples/trunk/apacheds-archetype-testcase/src/main/resources/META-INF/maven/archetype-metadata.xml
(added)
+++ directory/samples/trunk/apacheds-archetype-testcase/src/main/resources/META-INF/maven/archetype-metadata.xml
Thu Nov 12 20:41:01 2009
@@ -0,0 +1,56 @@
+<?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.
+-->
+<archetype-descriptor name="apacheds-archetype-testcase">
+  <requiredProperties>
+    <requiredProperty key="groupId">
+      <defaultValue>org.example</defaultValue>
+    </requiredProperty>
+    <requiredProperty key="artifactId">
+      <defaultValue>myProject</defaultValue>
+    </requiredProperty>
+    <requiredProperty key="version">
+      <defaultValue>1.0.0-SNAPSHOT</defaultValue>
+    </requiredProperty>
+    <requiredProperty key="package">
+      <defaultValue>org.example</defaultValue>
+    </requiredProperty>
+  </requiredProperties>
+  <fileSets>
+    <fileSet filtered="true" packaged="true" encoding="UTF-8">
+      <directory>src/main/java</directory>
+      <includes>
+        <include>**/*.java</include>
+      </includes>
+    </fileSet>
+    <fileSet filtered="true" packaged="true" encoding="UTF-8">
+      <directory>src/test/java</directory>
+      <includes>
+        <include>**/*.java</include>
+      </includes>
+    </fileSet>
+    <fileSet filtered="false" encoding="UTF-8">
+      <directory>src/test/resources</directory>
+      <includes>
+        <include>**/*.properties</include>
+        <include>**/*.ldif</include>
+      </includes>
+    </fileSet>
+  </fileSets>
+</archetype-descriptor>



Mime
View raw message