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/xsd/maven-4.0.0.xsd">
|
---|
4 | <modelVersion>4.0.0</modelVersion>
|
---|
5 |
|
---|
6 | <groupId>geniusweb</groupId>
|
---|
7 | <artifactId>ip</artifactId>
|
---|
8 | <version>2.2.1</version> <!-- equals the geniusweb version -->
|
---|
9 | <packaging>jar</packaging>
|
---|
10 |
|
---|
11 |
|
---|
12 | <properties>
|
---|
13 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
---|
14 | <maven.compiler.target>1.8</maven.compiler.target>
|
---|
15 | <maven.compiler.source>1.8</maven.compiler.source>
|
---|
16 | <basedir>.</basedir>
|
---|
17 | <passwd>${env.ARTIFACTORY_PASS}</passwd>
|
---|
18 | <jackson-2-version>2.12.3</jackson-2-version>
|
---|
19 | <geniusweb.version>${project.version}</geniusweb.version>
|
---|
20 | </properties>
|
---|
21 |
|
---|
22 | <distributionManagement>
|
---|
23 | <repository>
|
---|
24 | <id>artifactory.ewi.tudelft.nl</id>
|
---|
25 | <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
26 | </repository>
|
---|
27 | </distributionManagement>
|
---|
28 |
|
---|
29 |
|
---|
30 | <dependencies>
|
---|
31 | <dependency>
|
---|
32 | <groupId>org.apache.commons</groupId>
|
---|
33 | <artifactId>commons-math</artifactId>
|
---|
34 | <version>2.2</version>
|
---|
35 | </dependency>
|
---|
36 | <dependency>
|
---|
37 | <groupId>junit</groupId>
|
---|
38 | <artifactId>junit</artifactId>
|
---|
39 | <version>4.12</version>
|
---|
40 | <scope>test</scope>
|
---|
41 | </dependency>
|
---|
42 |
|
---|
43 | </dependencies>
|
---|
44 |
|
---|
45 |
|
---|
46 | <repositories>
|
---|
47 | <repository>
|
---|
48 | <id>artifactory.ewi.tudelft.nl</id>
|
---|
49 | <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
50 | <snapshots>
|
---|
51 | <enabled>false</enabled>
|
---|
52 | </snapshots>
|
---|
53 | </repository>
|
---|
54 | </repositories>
|
---|
55 |
|
---|
56 | <pluginRepositories>
|
---|
57 | <pluginRepository>
|
---|
58 | <id>central</id>
|
---|
59 | <url>https://repo1.maven.org/maven2</url>
|
---|
60 | </pluginRepository>
|
---|
61 | <pluginRepository>
|
---|
62 | <id>artifactory.ewi.tudelft.nl</id>
|
---|
63 | <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
64 | </pluginRepository>
|
---|
65 | </pluginRepositories>
|
---|
66 |
|
---|
67 | <build>
|
---|
68 |
|
---|
69 | <plugins>
|
---|
70 | <plugin>
|
---|
71 | <groupId>org.apache.maven.plugins</groupId>
|
---|
72 | <artifactId>maven-compiler-plugin</artifactId>
|
---|
73 | <version>3.8.0</version>
|
---|
74 | <configuration>
|
---|
75 | <source>1.8</source>
|
---|
76 | <target>1.8</target>
|
---|
77 | </configuration>
|
---|
78 | </plugin>
|
---|
79 |
|
---|
80 | <plugin>
|
---|
81 | <groupId>org.apache.maven.plugins</groupId>
|
---|
82 | <artifactId>maven-source-plugin</artifactId>
|
---|
83 | <version>3.1.0</version>
|
---|
84 | <executions>
|
---|
85 | <execution>
|
---|
86 | <id>attach-sources</id>
|
---|
87 | <goals>
|
---|
88 | <goal>jar</goal>
|
---|
89 | </goals>
|
---|
90 | </execution>
|
---|
91 | </executions>
|
---|
92 | </plugin>
|
---|
93 |
|
---|
94 | <!-- The javadoc is disabled because this basically is a clone of 3rd
|
---|
95 | party code that has no proper documentation. <plugin> <groupId>org.apache.maven.plugins</groupId>
|
---|
96 | <artifactId>maven-javadoc-plugin</artifactId> <version>3.2.0</version> <executions>
|
---|
97 | <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution>
|
---|
98 | </executions> </plugin> -->
|
---|
99 | <plugin>
|
---|
100 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
101 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
102 | <version>3.2.3</version>
|
---|
103 | <executions>
|
---|
104 | <execution>
|
---|
105 | <id>build-info</id>
|
---|
106 | <goals>
|
---|
107 | <goal>publish</goal>
|
---|
108 | </goals>
|
---|
109 | <configuration>
|
---|
110 | <publisher>
|
---|
111 | <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
|
---|
112 | <repoKey>libs-release</repoKey>
|
---|
113 | <username>wouter</username>
|
---|
114 | <password>${passwd}</password>
|
---|
115 | </publisher>
|
---|
116 | </configuration>
|
---|
117 | </execution>
|
---|
118 | </executions>
|
---|
119 | </plugin>
|
---|
120 |
|
---|
121 | <plugin>
|
---|
122 | <groupId>org.apache.maven.plugins</groupId>
|
---|
123 | <artifactId>maven-assembly-plugin</artifactId>
|
---|
124 | <version>2.4.1</version>
|
---|
125 | <configuration>
|
---|
126 | <!-- get all project dependencies -->
|
---|
127 | <descriptorRefs>
|
---|
128 | <descriptorRef>jar-with-dependencies</descriptorRef>
|
---|
129 | </descriptorRefs>
|
---|
130 | <archive>
|
---|
131 | <manifest>
|
---|
132 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
---|
133 | <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
---|
134 | </manifest>
|
---|
135 | </archive>
|
---|
136 | </configuration>
|
---|
137 | <executions>
|
---|
138 | <execution>
|
---|
139 | <id>make-assembly</id>
|
---|
140 | <!-- bind to the packaging phase -->
|
---|
141 | <phase>package</phase>
|
---|
142 | <goals>
|
---|
143 | <goal>single</goal>
|
---|
144 | </goals>
|
---|
145 | </execution>
|
---|
146 | </executions>
|
---|
147 | </plugin>
|
---|
148 |
|
---|
149 |
|
---|
150 | </plugins>
|
---|
151 |
|
---|
152 | <pluginManagement>
|
---|
153 | <plugins>
|
---|
154 | <plugin>
|
---|
155 | <groupId>org.eclipse.m2e</groupId>
|
---|
156 | <artifactId>lifecycle-mapping</artifactId>
|
---|
157 | <version>1.0.0</version>
|
---|
158 | <configuration>
|
---|
159 | <lifecycleMappingMetadata>
|
---|
160 | <pluginExecutions>
|
---|
161 | <pluginExecution>
|
---|
162 | <pluginExecutionFilter>
|
---|
163 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
164 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
165 | <versionRange>[1.0.0,)</versionRange>
|
---|
166 | <goals>
|
---|
167 | <goal>publish</goal>
|
---|
168 | </goals>
|
---|
169 | </pluginExecutionFilter>
|
---|
170 | <action>
|
---|
171 | <ignore />
|
---|
172 | </action>
|
---|
173 | </pluginExecution>
|
---|
174 | </pluginExecutions>
|
---|
175 | </lifecycleMappingMetadata>
|
---|
176 | </configuration>
|
---|
177 | </plugin>
|
---|
178 | </plugins>
|
---|
179 | </pluginManagement>
|
---|
180 |
|
---|
181 |
|
---|
182 | </build>
|
---|
183 | </project>
|
---|