Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Sawicki2011-08-22 17:33:30 -0400
committerKevin Sawicki2011-08-22 17:33:30 -0400
commit17a40f710f532774d9e8d2c3a1fa6c673850c70c (patch)
tree91d66e13854062f7b1eb9cbc64e31449b0e1a009 /org.eclipse.egit.github.core/pom-jar.xml
parent59902620ce6e77785eea2902918b74e1a13239c0 (diff)
downloadegit-github-17a40f710f532774d9e8d2c3a1fa6c673850c70c.tar.gz
egit-github-17a40f710f532774d9e8d2c3a1fa6c673850c70c.tar.xz
egit-github-17a40f710f532774d9e8d2c3a1fa6c673850c70c.zip
Add missing elements to pom-jar.xml file
* SCM section * License section * Shade profile for building android-compatible version * Sign profile for gpg plugin usage * Parent element for distribution through oss.sonatype.org Change-Id: Id40aca8e30665b073301722dab7ae115d420d01f Signed-off-by: Kevin Sawicki <kevin@github.com>
Diffstat (limited to 'org.eclipse.egit.github.core/pom-jar.xml')
-rw-r--r--org.eclipse.egit.github.core/pom-jar.xml70
1 files changed, 69 insertions, 1 deletions
diff --git a/org.eclipse.egit.github.core/pom-jar.xml b/org.eclipse.egit.github.core/pom-jar.xml
index 87e1b6fb..c9078f47 100644
--- a/org.eclipse.egit.github.core/pom-jar.xml
+++ b/org.eclipse.egit.github.core/pom-jar.xml
@@ -1,9 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<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.sonatype.oss</groupId>
+ <artifactId>oss-parent</artifactId>
+ <version>7</version>
+ </parent>
+
<groupId>org.eclipse.mylyn.github</groupId>
<artifactId>org.eclipse.egit.github.core</artifactId>
<version>1.1.0-SNAPSHOT</version>
@@ -11,6 +16,18 @@
<packaging>jar</packaging>
<name>Eclipse EGit GitHub API Core</name>
+ <licenses>
+ <license>
+ <name>Eclipse Public License</name>
+ <url>http://www.eclipse.org/legal/epl-v10.html</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
+ <scm>
+ <connection>scm:git:git://egit.eclipse.org/egit-github.git</connection>
+ </scm>
+
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<target-manifest-path>${project.build.directory}/META-INF/SOURCE-MANIFEST.MF</target-manifest-path>
@@ -80,6 +97,57 @@
</plugins>
</build>
+ <profiles>
+ <profile>
+ <id>android-shade</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <version>1.4</version>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>shade</goal>
+ </goals>
+ <configuration>
+ <relocations>
+ <relocation>
+ <pattern>org.apache</pattern>
+ <shadedPattern>shade.org.apache</shadedPattern>
+ </relocation>
+ </relocations>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>sign</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>sign-artifacts</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
<dependencies>
<dependency>
<groupId>org.apache.httpcomponents</groupId>

Back to the top