Skip to content

Commit

Permalink
Build parent project (to release util module)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars Wander committed Jul 19, 2017
1 parent df4f7e9 commit fc53472
Show file tree
Hide file tree
Showing 4 changed files with 101 additions and 54 deletions.
16 changes: 14 additions & 2 deletions examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<dependencies>
<dependency>
<groupId>io.kubernetes</groupId>
<artifactId>client-java</artifactId>
<artifactId>client-java-api</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
Expand All @@ -32,6 +32,18 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<java.version>1.7</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
Expand All @@ -44,4 +56,4 @@
<junit-version>4.12</junit-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
</project>
</project>
52 changes: 3 additions & 49 deletions kubernetes/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.kubernetes</groupId>
<artifactId>client-java</artifactId>
<artifactId>client-java-api</artifactId>
<packaging>jar</packaging>
<name>client-java</name>
<name>client-java-api</name>
<version>1.0-SNAPSHOT</version>
<url>https://github.com/swagger-api/swagger-codegen</url>
<description>Swagger Java</description>
Expand All @@ -30,21 +30,10 @@
<name>The Kubernetes Authors</name>
<email>kubernetes-dev@googlegroups.com</email>
<organization>Kubernetes</organization>
<organizationUrl>http://kubernetes.io</organizationUrl>
<organizationUrl>https://kubernetes.io</organizationUrl>
</developer>
</developers>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -77,20 +66,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<!--
During release:perform, enable the "release" profile
-->
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<useReleaseProfile>false</useReleaseProfile>
<releaseProfiles>release</releaseProfiles>
<goals>deploy</goals>
</configuration>
</plugin>

<!-- attach test jar -->
<plugin>
Expand Down Expand Up @@ -170,27 +145,6 @@
</build>

<profiles>
<profile>
<id>sign-artifacts</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>disable-java8-doclint</id>
<activation>
Expand Down
83 changes: 82 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,94 @@
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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>parent</artifactId>
<artifactId>client-java</artifactId>
<groupId>io.kubernetes</groupId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Kubernetes Client API</name>

<modules>
<module>kubernetes</module>
<module>examples</module>
<module>util</module>
</modules>

<scm>
<connection>scm:git:git@github.com:kubernetes-client/java.git</connection>
<developerConnection>scm:git:git@github.com:kubernetes-client/java.git</developerConnection>
<url>https://github.com/kubernetes-client/java</url>
</scm>

<prerequisites>
<maven>2.2.0</maven>
</prerequisites>

<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>

<developers>
<developer>
<name>The Kubernetes Authors</name>
<email>kubernetes-dev@googlegroups.com</email>
<organization>Kubernetes</organization>
<organizationUrl>https://kubernetes.io</organizationUrl>
</developer>
</developers>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<useReleaseProfile>false</useReleaseProfile>
<releaseProfiles>release</releaseProfiles>
<goals>deploy</goals>
</configuration>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>sign-artifacts</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>
4 changes: 2 additions & 2 deletions util/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<dependencies>
<dependency>
<groupId>io.kubernetes</groupId>
<artifactId>client-java</artifactId>
<artifactId>client-java-api</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
Expand Down Expand Up @@ -92,4 +92,4 @@
<maven.compiler.target>${java.version}</maven.compiler.target>
<slf4jVersion>1.7.7</slf4jVersion>
</properties>
</project>
</project>

0 comments on commit fc53472

Please sign in to comment.