Bläddra i källkod

Made changes for deploying artifacts to sonatype oss repo

Abhinav Sarkar 9 år sedan
förälder
incheckning
c5818bb10f
1 ändrade filer med 22 tillägg och 31 borttagningar
  1. 22
    31
      pom.xml

+ 22
- 31
pom.xml Visa fil

@@ -11,6 +11,12 @@
11 11
  <description>SpelHelper provides additional functionality to work with Spring Expression Language (SpEL)</description>
12 12
  <url>http://github.com/abhin4v/spelhelper</url>
13 13
 
14
+ <parent>
15
+  <groupId>org.sonatype.oss</groupId>
16
+  <artifactId>oss-parent</artifactId>
17
+  <version>7</version>
18
+ </parent>
19
+
14 20
  <properties>
15 21
   <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16 22
   <scala.version>2.7.7</scala.version>
@@ -21,12 +27,6 @@
21 27
   <url>http://github.com/abhin4v/spelhelper/issues</url>
22 28
  </issueManagement>
23 29
  <inceptionYear>2010</inceptionYear>
24
- <distributionManagement>
25
-  <repository>
26
-   <id>ftp-maven.abhinavsarkar.net</id>
27
-   <url>ftp://ftp.byethost14.com/maven.abhinavsarkar.net/htdocs</url>
28
-  </repository>
29
- </distributionManagement>
30 30
  <licenses>
31 31
   <license>
32 32
    <name>GNU LESSER GENERAL PUBLIC LICENSE, Version 3</name>
@@ -45,18 +45,25 @@
45 45
   </developer>
46 46
  </developers>
47 47
  <scm>
48
-  <url>scm:git:git://github.com/abhin4v/spelhelper.git</url>
48
+  <connection>scm:git:git@github.com:abhin4v/spelhelper.git</connection>
49
+  <developerConnection>scm:git:git@github.com:abhin4v/spelhelper.git</developerConnection>
50
+  <url>git@github.com:abhin4v/spelhelper.git</url>
49 51
  </scm>
50 52
  <build>
51
-  <extensions>
52
-   <!-- Enabling the use of FTP -->
53
-   <extension>
54
-    <groupId>org.apache.maven.wagon</groupId>
55
-    <artifactId>wagon-ftp</artifactId>
56
-    <version>1.0-beta-6</version>
57
-   </extension>
58
-  </extensions>
59 53
   <plugins>
54
+   <plugin>
55
+    <groupId>org.apache.maven.plugins</groupId>
56
+    <artifactId>maven-gpg-plugin</artifactId>
57
+    <executions>
58
+     <execution>
59
+      <id>sign-artifacts</id>
60
+      <phase>verify</phase>
61
+      <goals>
62
+       <goal>sign</goal>
63
+      </goals>
64
+     </execution>
65
+    </executions>
66
+   </plugin>
60 67
    <plugin>
61 68
     <groupId>org.apache.maven.plugins</groupId>
62 69
     <artifactId>maven-source-plugin</artifactId>
@@ -178,22 +185,6 @@
178 185
   </resources>
179 186
  </build>
180 187
 
181
- <pluginRepositories>
182
-  <pluginRepository>
183
-   <id>scala-tools.org</id>
184
-   <name>Scala-tools Maven2 Repository</name>
185
-   <url>http://scala-tools.org/repo-releases</url>
186
-  </pluginRepository>
187
- </pluginRepositories>
188
-
189
- <repositories>
190
-  <repository>
191
-   <id>scala-tools.org</id>
192
-   <name>Scala-Tools Maven2 Repository</name>
193
-   <url>http://scala-tools.org/repo-releases</url>
194
-  </repository>
195
- </repositories>
196
-
197 188
  <dependencies>
198 189
   <dependency>
199 190
    <groupId>org.scala-lang</groupId>

Laddar…
Avbryt
Spara