source: java2python/geniuswebtranslator/pom.xml@ 519

Last change on this file since 519 was 519, checked in by wouter, 17 months ago

#169 added geniusweb sources hard copy in the project as I need to hack it a bit.

File size: 5.9 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 <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
67
68 </dependencies>
69
70 <build>
71
72 <plugins>
73
74
75
76 <plugin>
77 <groupId>org.apache.maven.plugins</groupId>
78 <artifactId>maven-compiler-plugin</artifactId>
79 <version>3.8.0</version>
80 <configuration>
81 <source>1.8</source>
82 <target>1.8</target>
83 </configuration>
84 </plugin>
85 <!-- FOLLOWING 2 PLUGINS DISABLED. WE CAN DO THIS ONLY AFTER WE ADDED
86 #PY TRANSLATION HINTS TO GENIUSWEB -->
87
88 <!-- fetch the geniusweb code and put it in local folder for translation -->
89 <!--<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId>
90 <version>3.6.0</version> <executions> <execution> <id>copy</id> <phase>validate</phase>
91 <goals> <goal>unpack</goal> </goals> <configuration> <artifactItems> <artifactItem>
92 <groupId>geniusweb</groupId> <artifactId>issuevalue</artifactId> <version>${geniusweb.version}</version>
93 <classifier>sources</classifier> <overWrite>true</overWrite> </artifactItem>
94 <artifactItem> <groupId>geniusweb</groupId> <artifactId>profile</artifactId>
95 <version>${geniusweb.version}</version> <classifier>sources</classifier>
96 <overWrite>true</overWrite> </artifactItem> <artifactItem> <groupId>geniusweb</groupId>
97 <artifactId>bidspace</artifactId> <version>${geniusweb.version}</version>
98 <classifier>sources</classifier> <overWrite>true</overWrite> </artifactItem>
99 </artifactItems> other configurations here </configuration> </execution>
100 </executions> </plugin> -->
101
102 <!-- and compile the downloaded sources -->
103 <plugin>
104 <groupId>org.codehaus.mojo</groupId>
105 <artifactId>build-helper-maven-plugin</artifactId>
106 <version>3.4.0</version>
107 <executions>
108 <execution>
109 <phase>generate-sources</phase>
110 <goals>
111 <goal>add-source</goal>
112 </goals>
113 <configuration>
114 <sources>
115 <source>geniuswebsrc</source>
116 </sources>
117 </configuration>
118 </execution>
119 </executions>
120 </plugin>
121
122 <plugin>
123 <groupId>org.jfrog.buildinfo</groupId>
124 <artifactId>artifactory-maven-plugin</artifactId>
125 <version>3.2.3</version>
126 <executions>
127 <execution>
128 <id>build-info</id>
129 <goals>
130 <goal>publish</goal>
131 </goals>
132 <configuration>
133 <publisher>
134 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
135 <repoKey>libs-release</repoKey>
136 <username>wouter</username>
137 <password>${passwd}</password>
138 </publisher>
139 </configuration>
140 </execution>
141 </executions>
142 </plugin>
143
144 <plugin>
145 <groupId>org.apache.maven.plugins</groupId>
146 <artifactId>maven-assembly-plugin</artifactId>
147 <version>2.4.1</version>
148 <configuration>
149 <!-- get all project dependencies -->
150 <descriptorRefs>
151 <descriptorRef>jar-with-dependencies</descriptorRef>
152 </descriptorRefs>
153 <archive>
154 <manifest>
155 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
156 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
157 </manifest>
158 </archive>
159 </configuration>
160 <executions>
161 <execution>
162 <id>make-assembly</id>
163 <!-- bind to the packaging phase -->
164 <phase>package</phase>
165 <goals>
166 <goal>single</goal>
167 </goals>
168 </execution>
169 </executions>
170 </plugin>
171
172
173 </plugins>
174
175 <pluginManagement>
176 <plugins>
177 <plugin>
178 <groupId>org.eclipse.m2e</groupId>
179 <artifactId>lifecycle-mapping</artifactId>
180 <version>1.0.0</version>
181 <configuration>
182 <lifecycleMappingMetadata>
183 <pluginExecutions>
184 <pluginExecution>
185 <pluginExecutionFilter>
186 <groupId>org.jfrog.buildinfo</groupId>
187 <artifactId>artifactory-maven-plugin</artifactId>
188 <versionRange>[1.0.0,)</versionRange>
189 <goals>
190 <goal>publish</goal>
191 </goals>
192 </pluginExecutionFilter>
193 <action>
194 <ignore />
195 </action>
196 </pluginExecution>
197 </pluginExecutions>
198 </lifecycleMappingMetadata>
199 </configuration>
200 </plugin>
201 </plugins>
202 </pluginManagement>
203
204
205 </build>
206
207</project>
Note: See TracBrowser for help on using the repository browser.