Skip to content

Commit aa6ecfd

Browse files
committed
pom fest !
1 parent d8bd71a commit aa6ecfd

File tree

4 files changed

+134
-254
lines changed

4 files changed

+134
-254
lines changed

Core/pom.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,6 @@ For more info, please visit http://code.google.com/p/nativelibs4java/wiki/OpenCL
5555
<plugin>
5656
<groupId>com.nativelibs4java</groupId>
5757
<artifactId>maven-velocity-plugin</artifactId>
58-
<version>${maven-velocity-plugin.version}</version>
59-
<executions>
60-
<execution>
61-
<goals>
62-
<goal>generate</goal>
63-
</goals>
64-
</execution>
65-
</executions>
6658
</plugin>
6759
</plugins>
6860
</build>

JavaCLTutorial/pom.xml

Lines changed: 66 additions & 117 deletions
Original file line numberDiff line numberDiff line change
@@ -1,122 +1,71 @@
1-
<project xmlns="http://maven.apache.org/POM/4.0.0"
2-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4-
<modelVersion>4.0.0</modelVersion>
5-
<groupId>com.nativelibs4java</groupId>
6-
<artifactId>javacl-tutorial-jna</artifactId>
7-
<name>JavaCL Tutorial / JNA</name>
8-
<url>http://code.google.com/p/javacl/</url>
9-
<version>1.0-SNAPSHOT</version>
10-
<packaging>jar</packaging>
11-
12-
<properties>
13-
<scala.version>2.9.1</scala.version>
14-
</properties>
15-
16-
<repositories>
17-
<repository>
18-
<id>nativelibs4java</id>
19-
<name>nativelibs4java Maven2 Repository</name>
20-
<url>http://nativelibs4java.sourceforge.net/maven</url>
21-
</repository>
22-
</repositories>
23-
24-
<dependencies>
25-
<dependency>
26-
<groupId>com.nativelibs4java</groupId>
27-
<artifactId>javacl-jna</artifactId>
28-
<version>1.0-SNAPSHOT</version>
29-
</dependency>
30-
<dependency>
31-
<groupId>org.apache.commons</groupId>
32-
<artifactId>commons-math</artifactId>
33-
<version>2.2</version>
34-
</dependency>
35-
<dependency>
36-
<groupId>org.scala-lang</groupId>
37-
<artifactId>scala-library</artifactId>
38-
<version>${scala.version}</version>
39-
</dependency>
40-
</dependencies>
411

42-
<build>
43-
<plugins>
44-
<plugin>
2+
<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">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>com.nativelibs4java</groupId>
5+
<artifactId>javacl-tutorial-jna</artifactId>
6+
<name>JavaCL Tutorial / JNA</name>
7+
<url>http://code.google.com/p/javacl/</url>
8+
<version>1.0-SNAPSHOT</version>
9+
<packaging>jar</packaging>
10+
11+
<parent>
12+
<groupId>com.nativelibs4java</groupId>
13+
<artifactId>javacl-parent-jna</artifactId>
14+
<version>1.0-SNAPSHOT</version>
15+
<relativePath>..</relativePath>
16+
</parent>
17+
18+
<dependencies>
19+
<dependency>
4520
<groupId>com.nativelibs4java</groupId>
46-
<artifactId>javacl-generator-jna</artifactId>
47-
<version>1.0-SNAPSHOT</version>
48-
<!--configuration>
49-
<javaOutputDirectory>${project.build.directory}/../src/main/java</javaOutputDirectory>
50-
</configuration-->
51-
<executions>
52-
<execution>
53-
<phase>generate-sources</phase>
54-
<goals>
55-
<goal>compile</goal>
56-
</goals>
57-
</execution>
58-
</executions>
59-
</plugin>
60-
<plugin>
61-
<groupId>org.apache.maven.plugins</groupId>
62-
<artifactId>maven-compiler-plugin</artifactId>
63-
<version>2.3.2</version>
64-
<configuration>
65-
<source>1.5</source>
66-
<target>1.5</target>
67-
</configuration>
68-
</plugin>
69-
<plugin>
70-
<groupId>org.scala-tools</groupId>
71-
<artifactId>maven-scala-plugin</artifactId>
72-
<executions>
73-
<execution>
74-
<goals>
75-
<goal>compile</goal>
76-
<goal>testCompile</goal>
77-
</goals>
78-
</execution>
79-
</executions>
80-
</plugin>
81-
<plugin>
82-
<groupId>org.apache.maven.plugins</groupId>
83-
<artifactId>maven-shade-plugin</artifactId>
84-
<version>1.4</version>
85-
<executions>
86-
<execution>
87-
<phase>package</phase>
88-
<goals>
89-
<goal>shade</goal>
90-
</goals>
91-
<configuration>
92-
<filters>
93-
<filter>
94-
<artifact>*:*</artifact>
95-
<excludes>
96-
<exclude>META-INF/*.SF</exclude>
97-
<exclude>META-INF/*.DSA</exclude>
98-
<exclude>META-INF/*.RSA</exclude>
99-
<exclude>META-INF/maven/**</exclude>
100-
</excludes>
101-
</filter>
102-
</filters>
103-
</configuration>
104-
</execution>
105-
</executions>
106-
</plugin>
107-
</plugins>
108-
</build>
109-
110-
<reporting>
111-
<plugins>
112-
<plugin>
113-
<groupId>org.scala-tools</groupId>
114-
<artifactId>maven-scala-plugin</artifactId>
115-
<version>${scala.version}</version>
116-
</plugin>
117-
</plugins>
118-
</reporting>
119-
21+
<artifactId>javacl-jna</artifactId>
22+
</dependency>
23+
<dependency>
24+
<groupId>org.apache.commons</groupId>
25+
<artifactId>commons-math</artifactId>
26+
<version>2.2</version>
27+
</dependency>
28+
<dependency>
29+
<groupId>org.scala-lang</groupId>
30+
<artifactId>scala-library</artifactId>
31+
</dependency>
32+
</dependencies>
33+
34+
<build>
35+
<plugins>
36+
<plugin>
37+
<groupId>com.nativelibs4java</groupId>
38+
<artifactId>javacl-generator-jna</artifactId>
39+
<executions>
40+
<execution>
41+
<phase>generate-sources</phase>
42+
<goals>
43+
<goal>compile</goal>
44+
</goals>
45+
</execution>
46+
</executions>
47+
</plugin>
48+
<plugin>
49+
<groupId>org.scala-tools</groupId>
50+
<artifactId>maven-scala-plugin</artifactId>
51+
</plugin>
52+
<plugin>
53+
<groupId>org.apache.maven.plugins</groupId>
54+
<artifactId>maven-shade-plugin</artifactId>
55+
</plugin>
56+
</plugins>
57+
</build>
58+
59+
<reporting>
60+
<plugins>
61+
<plugin>
62+
<groupId>org.scala-tools</groupId>
63+
<artifactId>maven-scala-plugin</artifactId>
64+
<version>${scala.version}</version>
65+
</plugin>
66+
</plugins>
67+
</reporting>
68+
12069
</project>
12170

12271

NumericalBenchmark/pom.xml

Lines changed: 66 additions & 117 deletions
Original file line numberDiff line numberDiff line change
@@ -1,123 +1,72 @@
1-
<project xmlns="http://maven.apache.org/POM/4.0.0"
2-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4-
<modelVersion>4.0.0</modelVersion>
5-
<groupId>com.nativelibs4java</groupId>
6-
<artifactId>javacl-numerical-benchmark-jna</artifactId>
7-
<name>JavaCL Numerical Benchmark / JNA</name>
8-
<url>http://code.google.com/p/javacl/</url>
9-
<version>1.0-SNAPSHOT</version>
10-
<packaging>jar</packaging>
11-
12-
<properties>
13-
<scala.version>2.9.1</scala.version>
14-
</properties>
15-
16-
<repositories>
17-
<repository>
18-
<id>nativelibs4java</id>
19-
<name>nativelibs4java Maven2 Repository</name>
20-
<url>http://nativelibs4java.sourceforge.net/maven</url>
21-
</repository>
22-
</repositories>
23-
24-
<dependencies>
25-
<dependency>
26-
<groupId>com.nativelibs4java</groupId>
27-
<artifactId>javacl-jna</artifactId>
28-
<!--artifactId>javacl-bridj</artifactId-->
29-
<version>1.0-SNAPSHOT</version>
30-
</dependency>
31-
<dependency>
32-
<groupId>org.apache.commons</groupId>
33-
<artifactId>commons-math</artifactId>
34-
<version>2.2</version>
35-
</dependency>
36-
<dependency>
37-
<groupId>org.scala-lang</groupId>
38-
<artifactId>scala-library</artifactId>
39-
<version>${scala.version}</version>
40-
</dependency>
41-
</dependencies>
421

43-
<build>
44-
<plugins>
45-
<plugin>
2+
<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">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>com.nativelibs4java</groupId>
5+
<artifactId>javacl-numerical-benchmark-jna</artifactId>
6+
<name>JavaCL Numerical Benchmark / JNA</name>
7+
<url>http://code.google.com/p/javacl/</url>
8+
<version>1.0-SNAPSHOT</version>
9+
<packaging>jar</packaging>
10+
11+
<parent>
12+
<groupId>com.nativelibs4java</groupId>
13+
<artifactId>nativelibs4java-parent</artifactId>
14+
<version>1.7-SNAPSHOT</version>
15+
<relativePath>..</relativePath>
16+
</parent>
17+
18+
<dependencies>
19+
<dependency>
4620
<groupId>com.nativelibs4java</groupId>
47-
<artifactId>javacl-generator-bridj-jna</artifactId>
21+
<artifactId>javacl-jna</artifactId>
4822
<version>1.0-SNAPSHOT</version>
49-
<!--configuration>
50-
<javaOutputDirectory>${project.build.directory}/../src/main/java</javaOutputDirectory>
51-
</configuration-->
52-
<executions>
53-
<execution>
54-
<phase>generate-sources</phase>
55-
<goals>
56-
<goal>compile</goal>
57-
</goals>
58-
</execution>
59-
</executions>
60-
</plugin>
61-
<plugin>
62-
<groupId>org.apache.maven.plugins</groupId>
63-
<artifactId>maven-compiler-plugin</artifactId>
64-
<version>2.3.2</version>
65-
<configuration>
66-
<source>1.5</source>
67-
<target>1.5</target>
68-
</configuration>
69-
</plugin>
70-
<plugin>
71-
<groupId>org.scala-tools</groupId>
72-
<artifactId>maven-scala-plugin</artifactId>
73-
<executions>
74-
<execution>
75-
<goals>
76-
<goal>compile</goal>
77-
<goal>testCompile</goal>
78-
</goals>
79-
</execution>
80-
</executions>
81-
</plugin>
82-
<plugin>
83-
<groupId>org.apache.maven.plugins</groupId>
84-
<artifactId>maven-shade-plugin</artifactId>
85-
<version>1.4</version>
86-
<executions>
87-
<execution>
88-
<phase>package</phase>
89-
<goals>
90-
<goal>shade</goal>
91-
</goals>
92-
<configuration>
93-
<filters>
94-
<filter>
95-
<artifact>*:*</artifact>
96-
<excludes>
97-
<exclude>META-INF/*.SF</exclude>
98-
<exclude>META-INF/*.DSA</exclude>
99-
<exclude>META-INF/*.RSA</exclude>
100-
<exclude>META-INF/maven/**</exclude>
101-
</excludes>
102-
</filter>
103-
</filters>
104-
</configuration>
105-
</execution>
106-
</executions>
107-
</plugin>
108-
</plugins>
109-
</build>
110-
111-
<reporting>
112-
<plugins>
113-
<plugin>
114-
<groupId>org.scala-tools</groupId>
115-
<artifactId>maven-scala-plugin</artifactId>
116-
<version>${scala.version}</version>
117-
</plugin>
118-
</plugins>
119-
</reporting>
120-
23+
</dependency>
24+
<dependency>
25+
<groupId>org.apache.commons</groupId>
26+
<artifactId>commons-math</artifactId>
27+
<version>2.2</version>
28+
</dependency>
29+
<dependency>
30+
<groupId>org.scala-lang</groupId>
31+
<artifactId>scala-library</artifactId>
32+
</dependency>
33+
</dependencies>
34+
35+
<build>
36+
<plugins>
37+
<plugin>
38+
<groupId>com.nativelibs4java</groupId>
39+
<artifactId>javacl-generator-bridj-jna</artifactId>
40+
<version>1.0-SNAPSHOT</version>
41+
<executions>
42+
<execution>
43+
<phase>generate-sources</phase>
44+
<goals>
45+
<goal>compile</goal>
46+
</goals>
47+
</execution>
48+
</executions>
49+
</plugin>
50+
<plugin>
51+
<groupId>org.scala-tools</groupId>
52+
<artifactId>maven-scala-plugin</artifactId>
53+
</plugin>
54+
<plugin>
55+
<groupId>org.apache.maven.plugins</groupId>
56+
<artifactId>maven-shade-plugin</artifactId>
57+
</plugin>
58+
</plugins>
59+
</build>
60+
61+
<reporting>
62+
<plugins>
63+
<plugin>
64+
<groupId>org.scala-tools</groupId>
65+
<artifactId>maven-scala-plugin</artifactId>
66+
</plugin>
67+
</plugins>
68+
</reporting>
69+
12170
</project>
12271

12372

0 commit comments

Comments
 (0)