restored the samples parent pom - too much common stuff, it doesn't make any sense replicating them for each sample. Samples are not deployed nor assembled
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/digester/trunk@1243318 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/examples/annotations/atom/pom.xml b/examples/annotations/atom/pom.xml
index 51825a5..c47f7ec 100644
--- a/examples/annotations/atom/pom.xml
+++ b/examples/annotations/atom/pom.xml
@@ -21,9 +21,9 @@
<parent>
<groupId>org.apache.commons</groupId>
- <artifactId>commons-digester3-parent</artifactId>
+ <artifactId>commons-digester3-samples-parent</artifactId>
<version>3.3-SNAPSHOT</version>
- <relativePath>../../../</relativePath>
+ <relativePath>../../</relativePath>
</parent>
<artifactId>commons-digester3-samples-annotations-atom</artifactId>
@@ -31,15 +31,6 @@
<name>Apache Commons Digester :: Examples :: Annotations :: Atom</name>
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>commons-digester3</artifactId>
- <version>${project.parent.version}</version>
- <scope>compile</scope>
- </dependency>
- </dependencies>
-
<build>
<plugins>
<plugin>
@@ -52,12 +43,6 @@
</arguments>
</configuration>
</plugin>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <skipAssembly>true</skipAssembly>
- </configuration>
- </plugin>
</plugins>
</build>
diff --git a/examples/api/addressbook/pom.xml b/examples/api/addressbook/pom.xml
index c72f547..5102700 100644
--- a/examples/api/addressbook/pom.xml
+++ b/examples/api/addressbook/pom.xml
@@ -21,9 +21,9 @@
<parent>
<groupId>org.apache.commons</groupId>
- <artifactId>commons-digester3-parent</artifactId>
+ <artifactId>commons-digester3-samples-parent</artifactId>
<version>3.3-SNAPSHOT</version>
- <relativePath>../../../</relativePath>
+ <relativePath>../../</relativePath>
</parent>
<artifactId>commons-digester3-samples-addressbook</artifactId>
@@ -31,15 +31,6 @@
<name>Apache Commons Digester :: Examples :: API :: Address Book</name>
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>commons-digester3</artifactId>
- <version>${project.parent.version}</version>
- <scope>compile</scope>
- </dependency>
- </dependencies>
-
<build>
<plugins>
<plugin>
@@ -52,12 +43,6 @@
</arguments>
</configuration>
</plugin>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <skipAssembly>true</skipAssembly>
- </configuration>
- </plugin>
</plugins>
</build>
diff --git a/examples/api/catalog/pom.xml b/examples/api/catalog/pom.xml
index 9f84d54..54c3641 100644
--- a/examples/api/catalog/pom.xml
+++ b/examples/api/catalog/pom.xml
@@ -21,9 +21,9 @@
<parent>
<groupId>org.apache.commons</groupId>
- <artifactId>commons-digester3-parent</artifactId>
+ <artifactId>commons-digester3-samples-parent</artifactId>
<version>3.3-SNAPSHOT</version>
- <relativePath>../../../</relativePath>
+ <relativePath>../../</relativePath>
</parent>
<artifactId>commons-digester3-samples-catalog</artifactId>
@@ -31,15 +31,6 @@
<name>Apache Commons Digester :: Examples :: API :: Catalog</name>
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>commons-digester3</artifactId>
- <version>${project.parent.version}</version>
- <scope>compile</scope>
- </dependency>
- </dependencies>
-
<build>
<plugins>
<plugin>
@@ -52,12 +43,6 @@
</arguments>
</configuration>
</plugin>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <skipAssembly>true</skipAssembly>
- </configuration>
- </plugin>
</plugins>
</build>
diff --git a/examples/api/dbinsert/pom.xml b/examples/api/dbinsert/pom.xml
index 1410a5a..6a284ab 100644
--- a/examples/api/dbinsert/pom.xml
+++ b/examples/api/dbinsert/pom.xml
@@ -21,9 +21,9 @@
<parent>
<groupId>org.apache.commons</groupId>
- <artifactId>commons-digester3-parent</artifactId>
+ <artifactId>commons-digester3-samples-parent</artifactId>
<version>3.3-SNAPSHOT</version>
- <relativePath>../../../</relativePath>
+ <relativePath>../../</relativePath>
</parent>
<artifactId>commons-digester3-samples-dbinsert</artifactId>
@@ -31,15 +31,6 @@
<name>Apache Commons Digester :: Examples :: API :: DB Insert</name>
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>commons-digester3</artifactId>
- <version>${project.parent.version}</version>
- <scope>compile</scope>
- </dependency>
- </dependencies>
-
<build>
<plugins>
<plugin>
@@ -52,12 +43,6 @@
</arguments>
</configuration>
</plugin>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <skipAssembly>true</skipAssembly>
- </configuration>
- </plugin>
</plugins>
</build>
diff --git a/examples/api/document-markup/pom.xml b/examples/api/document-markup/pom.xml
index e676dbb..9202ad2 100644
--- a/examples/api/document-markup/pom.xml
+++ b/examples/api/document-markup/pom.xml
@@ -21,9 +21,9 @@
<parent>
<groupId>org.apache.commons</groupId>
- <artifactId>commons-digester3-parent</artifactId>
+ <artifactId>commons-digester3-samples-parent</artifactId>
<version>3.3-SNAPSHOT</version>
- <relativePath>../../../</relativePath>
+ <relativePath>../../</relativePath>
</parent>
<artifactId>commons-digester3-samples-document-markup</artifactId>
@@ -31,15 +31,6 @@
<name>Apache Commons Digester :: Examples :: API :: Document Markup</name>
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>commons-digester3</artifactId>
- <version>${project.parent.version}</version>
- <scope>compile</scope>
- </dependency>
- </dependencies>
-
<build>
<plugins>
<plugin>
@@ -52,12 +43,6 @@
</arguments>
</configuration>
</plugin>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <skipAssembly>true</skipAssembly>
- </configuration>
- </plugin>
</plugins>
</build>
diff --git a/examples/edsl/atom/pom.xml b/examples/edsl/atom/pom.xml
index 16ef5ed..071513c 100644
--- a/examples/edsl/atom/pom.xml
+++ b/examples/edsl/atom/pom.xml
@@ -21,9 +21,9 @@
<parent>
<groupId>org.apache.commons</groupId>
- <artifactId>commons-digester3-parent</artifactId>
+ <artifactId>commons-digester3-samples-parent</artifactId>
<version>3.3-SNAPSHOT</version>
- <relativePath>../../../</relativePath>
+ <relativePath>../../</relativePath>
</parent>
<artifactId>commons-digester3-samples-edsl-atom</artifactId>
@@ -31,15 +31,6 @@
<name>Apache Commons Digester :: Examples :: EDSL :: Atom</name>
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>commons-digester3</artifactId>
- <version>${project.parent.version}</version>
- <scope>compile</scope>
- </dependency>
- </dependencies>
-
<build>
<plugins>
<plugin>
@@ -52,12 +43,6 @@
</arguments>
</configuration>
</plugin>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <skipAssembly>true</skipAssembly>
- </configuration>
- </plugin>
</plugins>
</build>
diff --git a/examples/plugins/pipeline/pom.xml b/examples/plugins/pipeline/pom.xml
index 5561740..9d4776d 100644
--- a/examples/plugins/pipeline/pom.xml
+++ b/examples/plugins/pipeline/pom.xml
@@ -21,9 +21,9 @@
<parent>
<groupId>org.apache.commons</groupId>
- <artifactId>commons-digester3-parent</artifactId>
+ <artifactId>commons-digester3-samples-parent</artifactId>
<version>3.3-SNAPSHOT</version>
- <relativePath>../../../</relativePath>
+ <relativePath>../../</relativePath>
</parent>
<artifactId>commons-digester3-samples-plugins-pipeline</artifactId>
@@ -31,26 +31,6 @@
<name>Apache Commons Digester :: Examples :: Plugins :: Pipeline</name>
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>commons-digester3</artifactId>
- <version>${project.parent.version}</version>
- <scope>compile</scope>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <skipAssembly>true</skipAssembly>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
<profiles>
<profile>
<id>run-uppercase</id>
diff --git a/examples/pom.xml b/examples/pom.xml
new file mode 100644
index 0000000..ae7f8ea
--- /dev/null
+++ b/examples/pom.xml
@@ -0,0 +1,95 @@
+<?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>
+
+ <parent>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-digester3-parent</artifactId>
+ <version>3.3-SNAPSHOT</version>
+ <relativePath>../</relativePath>
+ </parent>
+
+ <artifactId>commons-digester3-samples-parent</artifactId>
+ <packaging>pom</packaging>
+
+ <name>Commons Digester :: Examples</name>
+
+ <modules>
+ <module>annotations/atom</module>
+ <module>api/addressbook</module>
+ <module>api/catalog</module>
+ <module>api/dbinsert</module>
+ <module>api/document-markup</module>
+ <module>edsl/atom</module>
+ <module>plugins/pipeline</module>
+ <module>rss</module>
+ <module>xmlrules/addressbook</module>
+ </modules>
+
+ <dependencies>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>commons-digester3</artifactId>
+ <version>${project.parent.version}</version>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <skipAssembly>true</skipAssembly>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ </plugins>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.1</version>
+ <executions>
+ <execution>
+ <phase>verify</phase>
+ <goals>
+ <goal>java</goal>
+ </goals>
+ <configuration>
+ <classpathScope>compile</classpathScope>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+
+</project>
diff --git a/examples/rss/pom.xml b/examples/rss/pom.xml
index 3eec50c..32ed3b7 100644
--- a/examples/rss/pom.xml
+++ b/examples/rss/pom.xml
@@ -21,9 +21,9 @@
<parent>
<groupId>org.apache.commons</groupId>
- <artifactId>commons-digester3-parent</artifactId>
+ <artifactId>commons-digester3-samples-parent</artifactId>
<version>3.3-SNAPSHOT</version>
- <relativePath>../../</relativePath>
+ <relativePath>../</relativePath>
</parent>
<artifactId>commons-digester3-samples-rss</artifactId>
@@ -31,15 +31,6 @@
<name>Apache Commons Digester :: Examples :: RSS</name>
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>commons-digester3</artifactId>
- <version>${project.parent.version}</version>
- <scope>compile</scope>
- </dependency>
- </dependencies>
-
<build>
<plugins>
<plugin>
@@ -49,12 +40,6 @@
<mainClass>org.apache.commons.digester3.rss.RSSDigester</mainClass>
</configuration>
</plugin>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <skipAssembly>true</skipAssembly>
- </configuration>
- </plugin>
</plugins>
</build>
diff --git a/examples/xmlrules/addressbook/pom.xml b/examples/xmlrules/addressbook/pom.xml
index 6b2e801..6166304 100644
--- a/examples/xmlrules/addressbook/pom.xml
+++ b/examples/xmlrules/addressbook/pom.xml
@@ -21,9 +21,9 @@
<parent>
<groupId>org.apache.commons</groupId>
- <artifactId>commons-digester3-parent</artifactId>
+ <artifactId>commons-digester3-samples-parent</artifactId>
<version>3.3-SNAPSHOT</version>
- <relativePath>../../../</relativePath>
+ <relativePath>../../</relativePath>
</parent>
<artifactId>commons-digester3-samples-xmlrules-addressbook</artifactId>
@@ -31,15 +31,6 @@
<name>Apache Commons Digester :: Examples :: XML Rules :: Address Book</name>
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>commons-digester3</artifactId>
- <version>${project.parent.version}</version>
- <scope>compile</scope>
- </dependency>
- </dependencies>
-
<build>
<plugins>
<plugin>
@@ -53,12 +44,6 @@
</arguments>
</configuration>
</plugin>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <skipAssembly>true</skipAssembly>
- </configuration>
- </plugin>
</plugins>
</build>
diff --git a/pom.xml b/pom.xml
index 893034a..0d4260a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -160,15 +160,7 @@
<modules>
<module>core</module>
<module>annotations-processor</module>
- <module>examples/annotations/atom</module>
- <module>examples/api/addressbook</module>
- <module>examples/api/catalog</module>
- <module>examples/api/dbinsert</module>
- <module>examples/api/document-markup</module>
- <module>examples/edsl/atom</module>
- <module>examples/plugins/pipeline</module>
- <module>examples/rss</module>
- <module>examples/xmlrules/addressbook</module>
+ <module>examples</module>
</modules>
<properties>
@@ -266,20 +258,9 @@
<version>2.8</version>
</plugin>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>1.1</version>
- <executions>
- <execution>
- <phase>verify</phase>
- <goals>
- <goal>java</goal>
- </goals>
- <configuration>
- <classpathScope>compile</classpathScope>
- </configuration>
- </execution>
- </executions>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <version>2.7</version>
</plugin>
</plugins>
</pluginManagement>