source: java2python/geniuswebtranslator/pom.xml@ 605

Last change on this file since 605 was 595, checked in by wouter, 16 months ago

#197 working on translating @Test annotations.
added (expected-..) support.
Fixed poms that suddenly require https and /maven2

File size: 5.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 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
53 <dependency>
54 <groupId>tudelft.utilities.j2p</groupId>
55 <artifactId>core</artifactId>
56 <version>1.0.0</version>
57 </dependency>
58
59
60 <dependency>
61 <groupId>tudelft.utilities.j2p</groupId>
62 <artifactId>jackson-t</artifactId>
63 <version>1.0.0</version>
64 </dependency>
65
66 <dependency>
67 <groupId>tudelft.utilities.j2p</groupId>
68 <artifactId>junit-t</artifactId>
69 <version>1.0.0</version>
70 </dependency>
71
72 <!-- Normally these below would be in TEST scope. But we need to compile
73 the test code in NORMAL mode, not in test mode, because we don't want to
74 RUN these tests. We only want to run the COMPILED code -->
75 <dependency>
76 <groupId>junit</groupId>
77 <artifactId>junit</artifactId>
78 <version>4.12</version>
79 </dependency>
80 <dependency>
81 <groupId>org.mockito</groupId>
82 <artifactId>mockito-core</artifactId>
83 <version>3.11.2</version>
84 </dependency>
85 <dependency>
86 <groupId>tudelft.utilities</groupId>
87 <artifactId>junit</artifactId>
88 <version>1.0.5</version>
89 </dependency>
90
91
92 </dependencies>
93
94 <build>
95
96 <plugins>
97
98
99
100 <plugin>
101 <groupId>org.apache.maven.plugins</groupId>
102 <artifactId>maven-compiler-plugin</artifactId>
103 <version>3.8.0</version>
104 <configuration>
105 <source>1.8</source>
106 <target>1.8</target>
107 </configuration>
108 </plugin>
109
110 <plugin>
111 <groupId>org.codehaus.mojo</groupId>
112 <artifactId>build-helper-maven-plugin</artifactId>
113 <version>3.4.0</version>
114 <executions>
115 <execution>
116 <phase>generate-sources</phase>
117 <goals>
118 <goal>add-source</goal>
119 </goals>
120 <configuration>
121 <sources>
122 <source>geniuswebsrc</source>
123 <source>geniuswebtest</source>
124 </sources>
125 </configuration>
126 </execution>
127 </executions>
128 </plugin>
129
130 <plugin>
131 <groupId>org.jfrog.buildinfo</groupId>
132 <artifactId>artifactory-maven-plugin</artifactId>
133 <version>3.2.3</version>
134 <executions>
135 <execution>
136 <id>build-info</id>
137 <goals>
138 <goal>publish</goal>
139 </goals>
140 <configuration>
141 <publisher>
142 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
143 <repoKey>libs-release</repoKey>
144 <username>wouter</username>
145 <password>${passwd}</password>
146 </publisher>
147 </configuration>
148 </execution>
149 </executions>
150 </plugin>
151
152 <plugin>
153 <groupId>org.apache.maven.plugins</groupId>
154 <artifactId>maven-assembly-plugin</artifactId>
155 <version>2.4.1</version>
156 <configuration>
157 <!-- get all project dependencies -->
158 <descriptorRefs>
159 <descriptorRef>jar-with-dependencies</descriptorRef>
160 </descriptorRefs>
161 <archive>
162 <manifest>
163 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
164 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
165 </manifest>
166 </archive>
167 </configuration>
168 <executions>
169 <execution>
170 <id>make-assembly</id>
171 <!-- bind to the packaging phase -->
172 <phase>package</phase>
173 <goals>
174 <goal>single</goal>
175 </goals>
176 </execution>
177 </executions>
178 </plugin>
179
180
181 </plugins>
182
183 <pluginManagement>
184 <plugins>
185 <plugin>
186 <groupId>org.eclipse.m2e</groupId>
187 <artifactId>lifecycle-mapping</artifactId>
188 <version>1.0.0</version>
189 <configuration>
190 <lifecycleMappingMetadata>
191 <pluginExecutions>
192 <pluginExecution>
193 <pluginExecutionFilter>
194 <groupId>org.jfrog.buildinfo</groupId>
195 <artifactId>artifactory-maven-plugin</artifactId>
196 <versionRange>[1.0.0,)</versionRange>
197 <goals>
198 <goal>publish</goal>
199 </goals>
200 </pluginExecutionFilter>
201 <action>
202 <ignore />
203 </action>
204 </pluginExecution>
205 </pluginExecutions>
206 </lifecycleMappingMetadata>
207 </configuration>
208 </plugin>
209 </plugins>
210 </pluginManagement>
211
212
213 </build>
214
215</project>
Note: See TracBrowser for help on using the repository browser.