source: autotranslator/pom.xml@ 99

Last change on this file since 99 was 99, checked in by Wouter Pasman, 2 years ago

#87 added code to auto translate the issuevalues package. Not yet working because of translator limitation

File size: 6.4 KB
Line 
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>python-autotranslator</artifactId>
8 <version>2.1.5</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 <j2p.version>1.0.0</j2p.version>
20 <geniusweb.version>${project.version}</geniusweb.version>
21 </properties>
22
23 <distributionManagement>
24 <repository>
25 <id>artifactory.ewi.tudelft.nl</id>
26 <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
27 </repository>
28 </distributionManagement>
29
30
31 <dependencies>
32 <dependency>
33 <groupId>geniusweb</groupId>
34 <artifactId>issuevalue</artifactId>
35 <version>${geniusweb.version}</version>
36 </dependency>
37
38
39 <dependency>
40 <groupId>tudelft.utilities.j2p</groupId>
41 <artifactId>core</artifactId>
42 <version>${j2p.version}</version>
43 </dependency>
44 <dependency>
45 <groupId>tudelft.utilities.j2p</groupId>
46 <artifactId>jackson-t</artifactId>
47 <version>${j2p.version}</version>
48 </dependency>
49
50 <dependency>
51 <groupId>junit</groupId>
52 <artifactId>junit</artifactId>
53 <version>4.12</version>
54 <scope>test</scope>
55 </dependency>
56 <dependency>
57 <groupId>org.mockito</groupId>
58 <artifactId>mockito-core</artifactId>
59 <version>3.11.2</version>
60 <scope>test</scope>
61 </dependency>
62
63 </dependencies>
64
65
66 <repositories>
67 <repository>
68 <id>artifactory.ewi.tudelft.nl</id>
69 <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
70 <snapshots>
71 <enabled>false</enabled>
72 </snapshots>
73 </repository>
74 </repositories>
75
76 <pluginRepositories>
77 <pluginRepository>
78 <id>central</id>
79 <url>https://repo1.maven.org/maven2</url>
80 </pluginRepository>
81 <pluginRepository>
82 <id>artifactory.ewi.tudelft.nl</id>
83 <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
84 </pluginRepository>
85 </pluginRepositories>
86
87
88
89 <build>
90
91 <plugins>
92 <plugin>
93 <groupId>org.apache.maven.plugins</groupId>
94 <artifactId>maven-dependency-plugin</artifactId>
95 <executions>
96 <execution>
97 <id>unpack</id>
98 <phase>validate</phase>
99 <goals>
100 <goal>unpack</goal>
101 </goals>
102 <configuration>
103 <artifactItems>
104 <artifactItem>
105 <groupId>geniusweb</groupId>
106 <artifactId>issuevalue</artifactId>
107 <version>${geniusweb.version}</version>
108 <type>jar</type>
109 <outputDirectory>downloads</outputDirectory>
110 <classifier>sources</classifier>
111 </artifactItem>
112 </artifactItems>
113 </configuration>
114 </execution>
115 </executions>
116 </plugin>
117
118
119 <plugin>
120 <groupId>org.apache.maven.plugins</groupId>
121 <artifactId>maven-compiler-plugin</artifactId>
122 <version>3.8.0</version>
123 <configuration>
124 <source>1.8</source>
125 <target>1.8</target>
126 </configuration>
127 </plugin>
128 <plugin>
129 <groupId>org.apache.maven.plugins</groupId>
130 <artifactId>maven-source-plugin</artifactId>
131 <version>3.1.0</version>
132 <executions>
133 <execution>
134 <id>attach-sources</id>
135 <goals>
136 <goal>jar</goal>
137 </goals>
138 </execution>
139 </executions>
140 </plugin>
141
142 <plugin>
143 <groupId>org.apache.maven.plugins</groupId>
144 <artifactId>maven-jar-plugin</artifactId>
145 <configuration>
146 <archive>
147 <manifest>
148 <mainClass>geniusweb.boa.BoaParty</mainClass>
149 </manifest>
150 </archive>
151 </configuration>
152 </plugin>
153
154<!-- <plugin> -->
155<!-- <groupId>org.apache.maven.plugins</groupId> -->
156<!-- <artifactId>maven-javadoc-plugin</artifactId> -->
157<!-- <version>3.2.0</version> -->
158<!-- <executions> -->
159<!-- <execution> -->
160<!-- <id>attach-javadocs</id> -->
161<!-- <goals> -->
162<!-- <goal>jar</goal> -->
163<!-- </goals> -->
164<!-- </execution> -->
165<!-- </executions> -->
166<!-- </plugin> -->
167
168 <plugin>
169 <groupId>org.jfrog.buildinfo</groupId>
170 <artifactId>artifactory-maven-plugin</artifactId>
171 <version>3.2.3</version>
172 <executions>
173 <execution>
174 <id>build-info</id>
175 <goals>
176 <goal>publish</goal>
177 </goals>
178 <configuration>
179 <publisher>
180 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
181 <repoKey>libs-release</repoKey>
182 <username>wouter</username>
183 <password>${passwd}</password>
184 </publisher>
185 </configuration>
186 </execution>
187 </executions>
188 </plugin>
189
190 <plugin>
191 <groupId>org.apache.maven.plugins</groupId>
192 <artifactId>maven-assembly-plugin</artifactId>
193 <version>2.4.1</version>
194 <configuration>
195 <!-- get all project dependencies -->
196 <descriptorRefs>
197 <descriptorRef>jar-with-dependencies</descriptorRef>
198 </descriptorRefs>
199 <archive>
200 <manifest>
201 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
202 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
203 <mainClass>geniusweb.boa.BoaParty</mainClass>
204 </manifest>
205 </archive>
206 </configuration>
207 <executions>
208 <execution>
209 <id>make-assembly</id>
210 <!-- bind to the packaging phase -->
211 <phase>package</phase>
212 <goals>
213 <goal>single</goal>
214 </goals>
215 </execution>
216 </executions>
217 </plugin>
218
219
220 </plugins>
221
222 <pluginManagement>
223 <plugins>
224 <plugin>
225 <groupId>org.eclipse.m2e</groupId>
226 <artifactId>lifecycle-mapping</artifactId>
227 <version>1.0.0</version>
228 <configuration>
229 <lifecycleMappingMetadata>
230 <pluginExecutions>
231 <pluginExecution>
232 <pluginExecutionFilter>
233 <groupId>org.jfrog.buildinfo</groupId>
234 <artifactId>artifactory-maven-plugin</artifactId>
235 <versionRange>[1.0.0,)</versionRange>
236 <goals>
237 <goal>publish</goal>
238 </goals>
239 </pluginExecutionFilter>
240 <action>
241 <ignore />
242 </action>
243 </pluginExecution>
244 </pluginExecutions>
245 </lifecycleMappingMetadata>
246 </configuration>
247 </plugin>
248 </plugins>
249 </pluginManagement>
250
251
252 </build>
253</project>
Note: See TracBrowser for help on using the repository browser.