Skip to content

Commit 37a679e

Browse files
committed
Fix POMs
1 parent 4d5fa5e commit 37a679e

File tree

3 files changed

+31
-9
lines changed

3 files changed

+31
-9
lines changed

affinity-test/pom.xml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,21 @@
2424
<parent>
2525
<groupId>net.openhft</groupId>
2626
<artifactId>java-parent-pom</artifactId>
27-
<version>1.1.2</version>
27+
<version>1.1.4</version>
2828
<relativePath/>
2929
</parent>
3030

3131
<modelVersion>4.0.0</modelVersion>
32-
3332
<artifactId>affinity-test</artifactId>
3433
<version>2.3-SNAPSHOT</version>
3534
<packaging>bundle</packaging>
3635

3736
<name>OpenHFT/Java-Thread-Affinity/affinity-test</name>
3837
<description>Java Thread Affinity library</description>
38+
39+
<properties>
40+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41+
</properties>
3942

4043
<dependencyManagement>
4144
<dependencies>
@@ -124,6 +127,16 @@
124127

125128
<build>
126129
<plugins>
130+
<plugin>
131+
<groupId>org.apache.maven.plugins</groupId>
132+
<artifactId>maven-compiler-plugin</artifactId>
133+
<configuration>
134+
<compilerArgument>-Xlint:deprecation</compilerArgument>
135+
<source>1.7</source>
136+
<target>1.7</target>
137+
<encoding>UTF-8</encoding>
138+
</configuration>
139+
</plugin>
127140
<!--
128141
generate maven dependencies versions file that can be used later
129142
to install the right bundle in test phase.

affinity/pom.xml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,18 @@
1717
~ limitations under the License.
1818
-->
1919

20-
<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/xsd/maven-4.0.0.xsd">
21-
<modelVersion>4.0.0</modelVersion>
20+
<project xmlns="http://maven.apache.org/POM/4.0.0"
21+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2223

2324
<parent>
2425
<groupId>net.openhft</groupId>
2526
<artifactId>java-parent-pom</artifactId>
26-
<version>1.1.2</version>
27+
<version>1.1.4</version>
2728
<relativePath />
2829
</parent>
2930

31+
<modelVersion>4.0.0</modelVersion>
3032
<artifactId>affinity</artifactId>
3133
<version>2.3-SNAPSHOT</version>
3234
<packaging>bundle</packaging>
@@ -51,8 +53,6 @@
5153
</dependencyManagement>
5254

5355
<dependencies>
54-
<!-- on linux install with sudo apt-get install libjna-java -->
55-
5656
<dependency>
5757
<groupId>org.slf4j</groupId>
5858
<artifactId>slf4j-api</artifactId>
@@ -90,6 +90,16 @@
9090

9191
<build>
9292
<plugins>
93+
<plugin>
94+
<groupId>org.apache.maven.plugins</groupId>
95+
<artifactId>maven-compiler-plugin</artifactId>
96+
<configuration>
97+
<compilerArgument>-Xlint:deprecation</compilerArgument>
98+
<source>1.7</source>
99+
<target>1.7</target>
100+
<encoding>UTF-8</encoding>
101+
</configuration>
102+
</plugin>
93103
<plugin>
94104
<groupId>org.apache.maven.plugins</groupId>
95105
<artifactId>maven-scm-publish-plugin</artifactId>
@@ -133,7 +143,6 @@
133143
<Bundle-Name>OpenHFT :: ${project.artifactId}</Bundle-Name>
134144
<Bundle-Version>${project.version}</Bundle-Version>
135145
<Import-Package>
136-
com.sun.jna.platform.win32;resolution:=optional,
137146
com.sun.jna.platform.*;resolution:=optional,
138147
*
139148
</Import-Package>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
<modelVersion>4.0.0</modelVersion>
3232
<artifactId>Java-Thread-Affinity</artifactId>
33-
<version>2.2.1-SNAPSHOT</version>
33+
<version>2.3-SNAPSHOT</version>
3434
<packaging>pom</packaging>
3535

3636
<name>Java Affinity Parent</name>

0 commit comments

Comments
 (0)