Skip to content

Commit

Permalink
remove parent pom construct to reduce deps when deploying
Browse files Browse the repository at this point in the history
  • Loading branch information
nitram509 committed Jan 19, 2016
1 parent 0ea83e1 commit 591d41c
Show file tree
Hide file tree
Showing 9 changed files with 53 additions and 101 deletions.
27 changes: 2 additions & 25 deletions jbrotli-native/darwin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,40 +4,17 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.meteogroup.jbrotli</groupId>
<artifactId>jbrotli-native</artifactId>
<version>0.2.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<groupId>com.meteogroup.jbrotli</groupId>
<artifactId>jbrotli-native-darwin</artifactId>
<packaging>jar</packaging>
<version>0.2.1-SNAPSHOT</version>

<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>

<dependency>
<groupId>org.scijava</groupId>
<artifactId>native-lib-loader</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
Expand Down
16 changes: 9 additions & 7 deletions jbrotli-native/linux-x86-amd64/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,10 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.meteogroup.jbrotli</groupId>
<artifactId>jbrotli-native</artifactId>
<version>0.2.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<groupId>com.meteogroup.jbrotli</groupId>
<artifactId>jbrotli-native-linux-x86-amd64</artifactId>
<packaging>jar</packaging>
<version>0.2.1-SNAPSHOT</version>

<properties>
<maven.compiler.source>1.8</maven.compiler.source>
Expand All @@ -24,17 +20,23 @@
<dependency>
<groupId>org.scijava</groupId>
<artifactId>native-lib-loader</artifactId>
<version>2.1.3</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.9.10</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.2.0</version>
<scope>test</scope>
</dependency>

</dependencies>

<build>
Expand Down
15 changes: 8 additions & 7 deletions jbrotli-native/linux-x86/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,10 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.meteogroup.jbrotli</groupId>
<artifactId>jbrotli-native</artifactId>
<version>0.2.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<groupId>com.meteogroup.jbrotli</groupId>
<artifactId>jbrotli-native-linux-x86</artifactId>
<packaging>jar</packaging>
<version>0.2.1-SNAPSHOT</version>

<properties>
<maven.compiler.source>1.8</maven.compiler.source>
Expand All @@ -25,17 +20,23 @@
<dependency>
<groupId>org.scijava</groupId>
<artifactId>native-lib-loader</artifactId>
<version>2.1.3</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.9.10</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.2.0</version>
<scope>test</scope>
</dependency>

</dependencies>

<licenses>
Expand Down
9 changes: 2 additions & 7 deletions jbrotli-native/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,10 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.meteogroup.jbrotli</groupId>
<artifactId>jbrotli-parent</artifactId>
<version>0.2.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<groupId>com.meteogroup.jbrotli</groupId>
<artifactId>jbrotli-native</artifactId>
<packaging>pom</packaging>
<version>0.2.1-SNAPSHOT</version>

<profiles>

Expand Down
16 changes: 9 additions & 7 deletions jbrotli-native/win32-x86-amd64/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,10 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.meteogroup.jbrotli</groupId>
<artifactId>jbrotli-native</artifactId>
<version>0.2.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<groupId>com.meteogroup.jbrotli</groupId>
<artifactId>jbrotli-native-win32-x86-amd64</artifactId>
<packaging>jar</packaging>
<version>0.2.1-SNAPSHOT</version>

<properties>
<maven.compiler.source>1.8</maven.compiler.source>
Expand All @@ -24,17 +20,23 @@
<dependency>
<groupId>org.scijava</groupId>
<artifactId>native-lib-loader</artifactId>
<version>2.1.3</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.9.10</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.2.0</version>
<scope>test</scope>
</dependency>

</dependencies>

<build>
Expand Down
16 changes: 9 additions & 7 deletions jbrotli-native/win32-x86/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,10 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.meteogroup.jbrotli</groupId>
<artifactId>jbrotli-native</artifactId>
<version>0.2.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<groupId>com.meteogroup.jbrotli</groupId>
<artifactId>jbrotli-native-win32-x86</artifactId>
<packaging>jar</packaging>
<version>0.2.1-SNAPSHOT</version>

<properties>
<maven.compiler.source>1.8</maven.compiler.source>
Expand All @@ -24,17 +20,23 @@
<dependency>
<groupId>org.scijava</groupId>
<artifactId>native-lib-loader</artifactId>
<version>2.1.3</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.9.10</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.2.0</version>
<scope>test</scope>
</dependency>

</dependencies>

<build>
Expand Down
8 changes: 2 additions & 6 deletions jbrotli-performance/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.meteogroup.jbrotli</groupId>
<artifactId>jbrotli-parent</artifactId>
<version>0.2.1-SNAPSHOT</version>
</parent>

<groupId>com.meteogroup.jbrotli</groupId>
<artifactId>jbrotli-performance</artifactId>
<packaging>jar</packaging>
<version>0.2.1-SNAPSHOT</version>

<properties>
Expand Down
23 changes: 11 additions & 12 deletions jbrotli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,16 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.meteogroup.jbrotli</groupId>
<artifactId>jbrotli-parent</artifactId>
<version>0.2.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<groupId>com.meteogroup.jbrotli</groupId>
<artifactId>jbrotli</artifactId>
<packaging>jar</packaging>
<version>0.2.1-SNAPSHOT</version>

<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<version.jbrotli.native>0.2.1-SNAPSHOT</version.jbrotli.native>
</properties>

<profiles>
Expand All @@ -33,7 +29,7 @@
<dependency>
<groupId>com.meteogroup.jbrotli</groupId>
<artifactId>jbrotli-native-win32-x86-amd64</artifactId>
<version>0.2.1-SNAPSHOT</version>
<version>${version.jbrotli.native}</version>
</dependency>
</dependencies>
</profile>
Expand All @@ -50,7 +46,7 @@
<dependency>
<groupId>com.meteogroup.jbrotli</groupId>
<artifactId>jbrotli-native-win32-x86</artifactId>
<version>0.2.1-SNAPSHOT</version>
<version>${version.jbrotli.native}</version>
</dependency>
</dependencies>
</profile>
Expand All @@ -66,7 +62,7 @@
<dependency>
<groupId>com.meteogroup.jbrotli</groupId>
<artifactId>jbrotli-native-darwin</artifactId>
<version>0.2.1-SNAPSHOT</version>
<version>${version.jbrotli.native}</version>
</dependency>
</dependencies>
</profile>
Expand All @@ -83,7 +79,7 @@
<dependency>
<groupId>com.meteogroup.jbrotli</groupId>
<artifactId>jbrotli-native-linux-x86-amd64</artifactId>
<version>0.2.1-SNAPSHOT</version>
<version>${version.jbrotli.native}</version>
</dependency>
</dependencies>
</profile>
Expand All @@ -100,7 +96,7 @@
<dependency>
<groupId>com.meteogroup.jbrotli</groupId>
<artifactId>jbrotli-native-linux-x86</artifactId>
<version>0.2.1-SNAPSHOT</version>
<version>${version.jbrotli.native}</version>
</dependency>
</dependencies>
</profile>
Expand All @@ -112,16 +108,19 @@
<dependency>
<groupId>org.scijava</groupId>
<artifactId>native-lib-loader</artifactId>
<version>2.1.3</version>
</dependency>

<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.9.10</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.2.0</version>
<scope>test</scope>
</dependency>

Expand Down
24 changes: 1 addition & 23 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>

<groupId>com.meteogroup.jbrotli</groupId>
<artifactId>jbrotli-parent</artifactId>
<version>0.2.1-SNAPSHOT</version>
Expand All @@ -22,28 +23,6 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.scijava</groupId>
<artifactId>native-lib-loader</artifactId>
<version>2.1.2</version>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.9.9</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.2.0</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>

<build>
<plugins>
<plugin>
Expand All @@ -56,7 +35,6 @@
</configuration>
</plugin>
</plugins>

</build>

<profiles>
Expand Down

0 comments on commit 591d41c

Please sign in to comment.