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>pythonadapter</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 | <dependencies>
|
---|
30 | <dependency>
|
---|
31 | <groupId>geniusweb</groupId>
|
---|
32 | <artifactId>party</artifactId>
|
---|
33 | <version>${geniusweb.version}</version>
|
---|
34 | </dependency>
|
---|
35 |
|
---|
36 | <dependency>
|
---|
37 | <groupId>org.python</groupId>
|
---|
38 | <artifactId>jython-standalone</artifactId>
|
---|
39 | <version>2.7.2</version>
|
---|
40 | </dependency>
|
---|
41 |
|
---|
42 | <dependency>
|
---|
43 | <groupId>junit</groupId>
|
---|
44 | <artifactId>junit</artifactId>
|
---|
45 | <version>4.12</version>
|
---|
46 | <scope>test</scope>
|
---|
47 | </dependency>
|
---|
48 |
|
---|
49 | </dependencies>
|
---|
50 |
|
---|
51 |
|
---|
52 | <repositories>
|
---|
53 | <repository>
|
---|
54 | <id>artifactory.ewi.tudelft.nl</id>
|
---|
55 | <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
56 | <snapshots>
|
---|
57 | <enabled>false</enabled>
|
---|
58 | </snapshots>
|
---|
59 | </repository>
|
---|
60 | </repositories>
|
---|
61 |
|
---|
62 | <pluginRepositories>
|
---|
63 | <pluginRepository>
|
---|
64 | <id>central</id>
|
---|
65 | <url>https://repo1.maven.org/maven2</url>
|
---|
66 | </pluginRepository>
|
---|
67 | <pluginRepository>
|
---|
68 | <id>artifactory.ewi.tudelft.nl</id>
|
---|
69 | <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
70 | </pluginRepository>
|
---|
71 | </pluginRepositories>
|
---|
72 |
|
---|
73 | <build>
|
---|
74 |
|
---|
75 | <plugins>
|
---|
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 |
|
---|
86 | <plugin>
|
---|
87 | <groupId>org.apache.maven.plugins</groupId>
|
---|
88 | <artifactId>maven-javadoc-plugin</artifactId>
|
---|
89 | <version>3.2.0</version>
|
---|
90 | <executions>
|
---|
91 | <execution>
|
---|
92 | <id>attach-javadocs</id>
|
---|
93 | <goals>
|
---|
94 | <goal>jar</goal>
|
---|
95 | </goals>
|
---|
96 | </execution>
|
---|
97 | </executions>
|
---|
98 | </plugin>
|
---|
99 |
|
---|
100 | <plugin>
|
---|
101 | <groupId>org.apache.maven.plugins</groupId>
|
---|
102 | <artifactId>maven-source-plugin</artifactId>
|
---|
103 | <version>3.1.0</version>
|
---|
104 | <executions>
|
---|
105 | <execution>
|
---|
106 | <id>attach-sources</id>
|
---|
107 | <goals>
|
---|
108 | <goal>jar</goal>
|
---|
109 | </goals>
|
---|
110 | </execution>
|
---|
111 | </executions>
|
---|
112 | </plugin>
|
---|
113 |
|
---|
114 | <plugin>
|
---|
115 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
116 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
117 | <version>3.2.3</version>
|
---|
118 | <executions>
|
---|
119 | <execution>
|
---|
120 | <id>build-info</id>
|
---|
121 | <goals>
|
---|
122 | <goal>publish</goal>
|
---|
123 | </goals>
|
---|
124 | <configuration>
|
---|
125 | <publisher>
|
---|
126 | <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
|
---|
127 | <repoKey>libs-release</repoKey>
|
---|
128 | <username>wouter</username>
|
---|
129 | <password>${passwd}</password>
|
---|
130 | </publisher>
|
---|
131 | </configuration>
|
---|
132 | </execution>
|
---|
133 | </executions>
|
---|
134 | </plugin>
|
---|
135 |
|
---|
136 | <plugin>
|
---|
137 | <groupId>org.apache.maven.plugins</groupId>
|
---|
138 | <artifactId>maven-assembly-plugin</artifactId>
|
---|
139 | <version>2.4.1</version>
|
---|
140 | <configuration>
|
---|
141 | <!-- get all project dependencies -->
|
---|
142 | <descriptorRefs>
|
---|
143 | <descriptorRef>jar-with-dependencies</descriptorRef>
|
---|
144 | </descriptorRefs>
|
---|
145 | <archive>
|
---|
146 | <manifest>
|
---|
147 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
---|
148 | <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
---|
149 | </manifest>
|
---|
150 | </archive>
|
---|
151 | </configuration>
|
---|
152 | <executions>
|
---|
153 | <execution>
|
---|
154 | <id>make-assembly</id>
|
---|
155 | <!-- bind to the packaging phase -->
|
---|
156 | <phase>package</phase>
|
---|
157 | <goals>
|
---|
158 | <goal>single</goal>
|
---|
159 | </goals>
|
---|
160 | </execution>
|
---|
161 | </executions>
|
---|
162 | </plugin>
|
---|
163 |
|
---|
164 |
|
---|
165 | </plugins>
|
---|
166 |
|
---|
167 | <pluginManagement>
|
---|
168 | <plugins>
|
---|
169 | <plugin>
|
---|
170 | <groupId>org.eclipse.m2e</groupId>
|
---|
171 | <artifactId>lifecycle-mapping</artifactId>
|
---|
172 | <version>1.0.0</version>
|
---|
173 | <configuration>
|
---|
174 | <lifecycleMappingMetadata>
|
---|
175 | <pluginExecutions>
|
---|
176 | <pluginExecution>
|
---|
177 | <pluginExecutionFilter>
|
---|
178 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
179 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
180 | <versionRange>[1.0.0,)</versionRange>
|
---|
181 | <goals>
|
---|
182 | <goal>publish</goal>
|
---|
183 | </goals>
|
---|
184 | </pluginExecutionFilter>
|
---|
185 | <action>
|
---|
186 | <ignore />
|
---|
187 | </action>
|
---|
188 | </pluginExecution>
|
---|
189 | </pluginExecutions>
|
---|
190 | </lifecycleMappingMetadata>
|
---|
191 | </configuration>
|
---|
192 | </plugin>
|
---|
193 | </plugins>
|
---|
194 | </pluginManagement>
|
---|
195 |
|
---|
196 |
|
---|
197 | </build>
|
---|
198 | </project>
|
---|