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