Skip to content

Commit a26add7

Browse files
committed
Improve Maven build and prepare to move to central repository.
1 parent b3d605d commit a26add7

1 file changed

Lines changed: 87 additions & 19 deletions

File tree

pom.xml

100644100755
Lines changed: 87 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
1010
<modelVersion>4.0.0</modelVersion>
1111
<groupId>org.functionaljava</groupId>
12-
<artifactId>fj</artifactId>
12+
<artifactId>functionaljava</artifactId>
1313
<packaging>jar</packaging>
1414
<name>Functional Java</name>
1515
<description>Functional Java is an open source library that aims to prepare the Java programming language for the inclusion of closures.</description>
16-
<version>2.21</version>
16+
<version>3.1</version>
1717
<url>http://functionaljava.org/</url>
1818
<licenses>
1919
<license>
@@ -23,22 +23,90 @@
2323
</license>
2424
</licenses>
2525
<scm>
26-
<url>https://functionaljava.googlecode.com/svn/</url>
26+
<url>git://github.com/functionaljava/functionaljava.git</url>
2727
</scm>
28-
29-
<build>
30-
<sourceDirectory>src/main</sourceDirectory>
31-
<testSourceDirectory>src/test</testSourceDirectory>
32-
<plugins>
33-
<plugin>
34-
<groupId>org.apache.maven.plugins</groupId>
35-
<artifactId>maven-compiler-plugin</artifactId>
36-
<version>2.0</version>
37-
<configuration>
38-
<source>1.5</source>
39-
<target>1.5</target>
40-
</configuration>
41-
</plugin>
42-
</plugins>
43-
</build>
28+
<developers>
29+
<developer>
30+
<email>functionaljava@googlegroups.com</email>
31+
</developer>
32+
</developers>
33+
<organization>
34+
<name>Functional Java</name>
35+
<url>http://functionaljava.org/</url>
36+
</organization>
37+
<build>
38+
<plugins>
39+
<plugin>
40+
<groupId>org.apache.maven.plugins</groupId>
41+
<artifactId>maven-compiler-plugin</artifactId>
42+
<version>2.3.2</version>
43+
<configuration>
44+
<source>1.5</source>
45+
<target>1.5</target>
46+
</configuration>
47+
</plugin>
48+
<plugin>
49+
<groupId>org.codehaus.mojo</groupId>
50+
<artifactId>build-helper-maven-plugin</artifactId>
51+
<version>1.5</version>
52+
<executions>
53+
<execution>
54+
<phase>generate-sources</phase>
55+
<goals>
56+
<goal>add-source</goal>
57+
</goals>
58+
<configuration>
59+
<sources>
60+
<source>src/main</source>
61+
<source>src/package-info</source>
62+
<source>resources</source>
63+
</sources>
64+
</configuration>
65+
</execution>
66+
</executions>
67+
</plugin>
68+
</plugins>
69+
</build>
70+
<distributionManagement>
71+
<repository>
72+
<id>ossrh</id>
73+
<url>http://oss.sonatype.org/service/local/staging/deploy/maven2</url>
74+
</repository>
75+
<snapshotRepository>
76+
<id>ossrh</id>
77+
<url>http://oss.sonatype.org/content/repositories/snapshots</url>
78+
</snapshotRepository>
79+
</distributionManagement>
80+
<profiles>
81+
<profile>
82+
<id>release-sign-artifacts</id>
83+
<activation>
84+
<property>
85+
<name>performRelease</name>
86+
<value>true</value>
87+
</property>
88+
</activation>
89+
<build>
90+
<plugins>
91+
<plugin>
92+
<groupId>org.apache.maven.plugins</groupId>
93+
<artifactId>maven-gpg-plugin</artifactId>
94+
<version>1.0-alpha-4</version>
95+
<executions>
96+
<execution>
97+
<id>sign-artifacts</id>
98+
<phase>verify</phase>
99+
<goals>
100+
<goal>sign</goal>
101+
</goals>
102+
</execution>
103+
</executions>
104+
</plugin>
105+
</plugins>
106+
</build>
107+
</profile>
108+
</profiles>
109+
<properties>
110+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
111+
</properties>
44112
</project>

0 commit comments

Comments
 (0)