You are viewing an archived page from the original site. Go to the new numericalmethod.com →

source: public/Examples/pom.xml @ 202

Revision 200, 3.2 KB checked in by kenyiu, 2 months ago (diff)

CHG: Updated examples with suanshu-3.0.0 API.

Line 
1<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3    <modelVersion>4.0.0</modelVersion>
4
5    <groupId>com.numericalmethod</groupId>
6    <artifactId>examples</artifactId>
7    <version>1.0.0</version>
8    <packaging>jar</packaging>
9
10    <name>SuanShu Examples</name>
11
12    <inceptionYear>2010</inceptionYear>
13
14    <organization>
15        <name>Numerical Method Inc.</name>
16        <url>http://www.numericalmethod.com</url>
17    </organization>
18
19    <properties>
20        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
21        <suanshu.version>3.0.0</suanshu.version>
22    </properties>
23
24    <dependencies>
25        <dependency>
26            <groupId>com.numericalmethod</groupId>
27            <artifactId>suanshu</artifactId>
28            <version>${suanshu.version}</version>
29        </dependency>
30    </dependencies>
31
32    <build>
33        <plugins>
34            <plugin>
35                <groupId>org.apache.maven.plugins</groupId>
36                <artifactId>maven-compiler-plugin</artifactId>
37                <version>3.1</version>
38                <configuration>
39                    <source>1.6</source>
40                    <target>1.6</target>
41                </configuration>
42            </plugin>
43            <plugin>
44                <groupId>org.apache.maven.plugins</groupId>
45                <artifactId>maven-shade-plugin</artifactId>
46                <version>2.1</version>
47                <executions>
48                    <execution>
49                        <phase>package</phase>
50                        <goals>
51                            <goal>shade</goal>
52                        </goals>
53                        <configuration>
54                            <filters>
55                                <filter>
56                                    <!-- Don't want the default reference.conf to clash with
57                                    ours. -->
58                                    <artifact>*:akka*</artifact>
59                                    <excludes>
60                                        <exclude>reference.conf</exclude>
61                                    </excludes>
62                                </filter>
63                            </filters>
64
65                            <transformers>
66                                <transformer
67                                    implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
68                                    <mainClass>com.numericalmethod.suanshu.grid.akka.Kernel</mainClass>
69                                </transformer>
70                            </transformers>
71                        </configuration>
72                    </execution>
73                </executions>
74            </plugin>
75        </plugins>
76    </build>
77
78    <repositories>
79        <repository>
80            <id>nm-repo</id>
81            <name>Numerical Method's Maven Repository</name>
82            <url>http://repo.numericalmethod.com/maven/</url>
83            <layout>default</layout>
84        </repository>
85    </repositories>
86</project>
Note: See TracBrowser for help on using the repository browser.