Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Completely stripped down sample to include only needed parts

  • Loading branch information...
commit 702dba7133d1bd8a679d3c4639d38883b9e74ece 1 parent 62c5ec2
@mfriedenhagen authored
Showing with 3 additions and 145 deletions.
  1. +0 −13 app1/pom.xml
  2. +0 −13 app2/pom.xml
  3. +0 −13 core/pom.xml
  4. +3 −106 pom.xml
View
13 app1/pom.xml
@@ -7,11 +7,6 @@
</parent>
<artifactId>app1</artifactId>
<packaging>jar</packaging>
- <scm>
- <connection>${project.parent.scm.connection}</connection>
- <developerConnection>${project.parent.scm.developerConnection}</developerConnection>
- <url>${project.parent.scm.url}</url>
- </scm>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
@@ -23,12 +18,4 @@
<scope>test</scope>
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-scm-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
</project>
View
13 app2/pom.xml
@@ -7,17 +7,4 @@
</parent>
<artifactId>app2</artifactId>
<packaging>jar</packaging>
- <scm>
- <connection>${project.parent.scm.connection}</connection>
- <developerConnection>${project.parent.scm.developerConnection}</developerConnection>
- <url>${project.parent.scm.url}</url>
- </scm>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-scm-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
</project>
View
13 core/pom.xml
@@ -7,19 +7,6 @@
</parent>
<artifactId>core</artifactId>
<packaging>jar</packaging>
- <scm>
- <connection>${project.parent.scm.connection}</connection>
- <developerConnection>${project.parent.scm.developerConnection}</developerConnection>
- <url>${project.parent.scm.url}</url>
- </scm>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-scm-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
<dependencies>
<dependency>
<groupId>junit</groupId>
View
109 pom.xml
@@ -5,57 +5,11 @@
<artifactId>parent</artifactId>
<version>1.19-SNAPSHOT</version>
<packaging>pom</packaging>
- <name>parent</name>
- <url>http://github.com/mfriedenhagen/multi-module-sample/</url>
- <scm>
- <connection>scm:git:git://github.com:mfriedenhagen/multi-module-sample.git</connection>
- <developerConnection>scm:git:git@github.com:mfriedenhagen/multi-module-sample.git</developerConnection>
- <url>http://github.com/mfriedenhagen/multi-module-sample/</url>
- </scm>
- <ciManagement>
- <system>Jenkins</system>
- <url>http://huschteguzzel.de/hudson/job/test-multimodule/</url>
- </ciManagement>
- <developers>
- <developer>
- <id>mfriedenhagen</id>
- <name>Mirko Friedenhagen</name>
- <email>mfriedenhagen@example.com</email>
- <organization>My, Myself &amp; I</organization>
- <organizationUrl>${project.url}</organizationUrl>
- <url>http://github.com/mfriedenhagen</url>
- <timezone>+1</timezone>
- </developer>
- </developers>
- <properties>
+ <name>parent</name> <properties>
+ <cobertura-plugin.version>2.4</cobertura-plugin.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
- <distributionManagement>
- <snapshotRepository>
- <id>ui-snapshot</id>
- <uniqueVersion>true</uniqueVersion>
- <url>http://localhost:8080/nexus/content/repositories/snapshots/</url>
- </snapshotRepository>
- <repository>
- <id>ui-staging</id>
- <uniqueVersion>true</uniqueVersion>
- <url>http://localhost:8080/nexus/content/repositories/staging/</url>
- </repository>
- <site>
- <id>ui-site</id>
- <url>http://localhost:8080/nexus/content/repositories/sites/</url>
- </site>
- </distributionManagement>
<build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-scm-plugin</artifactId>
- <version>1.2</version>
- </plugin>
- </plugins>
- </pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -64,15 +18,6 @@
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-release-plugin</artifactId>
- <version>2.0-beta-9</version>
- <inherited>true</inherited>
- <configuration>
- <releaseProfiles>multimodule-tag-modules</releaseProfiles>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.0-beta-3</version>
<executions>
@@ -86,27 +31,9 @@
<configuration>
<reportPlugins>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-project-info-reports-plugin</artifactId>
- <version>2.3.1</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jxr-plugin</artifactId>
- <version>2.2</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.6</version>
- <configuration>
- <enableRulesSummary>false</enableRulesSummary>
- </configuration>
- </plugin>
- <plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
- <version>2.4</version>
+ <version>${cobertura-plugin.version}</version>
<configuration>
<formats>
<format>html</format>
@@ -138,34 +65,4 @@
<module>app1</module>
<module>app2</module>
</modules>
- <profiles>
- <profile>
- <id>multimodule-tag-modules</id>
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-scm-plugin</artifactId>
- <version>1.2</version>
- <executions>
- <execution>
- <id>multimodule-tag-modules</id>
- <inherited>true</inherited>
- <phase>deploy</phase>
- <configuration>
- <connectionUrl>${project.scm.connectionUrl}</connectionUrl>
- <tag>${project.artifactId}-${project.version}</tag>
- </configuration>
- <goals>
- <goal>tag</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
- </profile>
- </profiles>
</project>
Please sign in to comment.
Something went wrong with that request. Please try again.