Skip to content

Commit 9983198

Browse files
author
Andreas Dann
committed
add pom for maven
add pgp-maven-plugin version maven central: change dependency jasmin to version on maven central migrate to dependency hosted on maven central add basic info to pom.xml for maven central update pom.xl properties add snapshot to version enter correct email
1 parent 4650238 commit 9983198

File tree

4 files changed

+711
-395
lines changed

4 files changed

+711
-395
lines changed

soot-infoflow/pom.xml

Lines changed: 148 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,48 @@
55
<groupId>de.tud.sse</groupId>
66
<artifactId>soot-infoflow</artifactId>
77
<name>soot-infoflow</name>
8-
<version>2.7.1</version>
8+
<version>2.7.1.1</version>
99
<description>Soot extending data flow tracking components for Java</description>
1010
<packaging>jar</packaging>
11+
<url>https://github.com/secure-software-engineering/FlowDroid</url>
12+
<organization>
13+
<name>Fraunhofer SIT</name>
14+
<url>https://www.sit.fraunhofer.de/</url>
15+
</organization>
16+
<licenses>
17+
<license>
18+
<name>GNU LESSER GENERAL PUBLIC LICENSE 2.1</name>
19+
<url>https://www.gnu.org/licenses/lgpl-2.1.txt</url>
20+
<distribution>repo</distribution>
21+
</license>
22+
</licenses>
23+
<developers>
24+
<developer>
25+
<name>Steven Arzt</name>
26+
<email>steven.arzt@sit.fraunhofer.de</email>
27+
<organization>Frauenhofer SIT</organization>
28+
<organizationUrl>https://www.sit.fraunhofer.de/en/</organizationUrl>
29+
</developer>
30+
</developers>
31+
<scm>
32+
<connection>scm:git:git@github.com:secure-software-engineering/FlowDroid.git</connection>
33+
<developerConnection>scm:git:git@github.com:secure-software-engineering/FlowDroid.git</developerConnection>
34+
<url>https://github.com/secure-software-engineering/FlowDroid/tree/develop</url>
35+
</scm>
36+
37+
1138

1239
<properties>
1340
<maven.compiler.source>1.8</maven.compiler.source>
1441
<maven.compiler.target>1.8</maven.compiler.target>
1542
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
43+
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
44+
<maven-nexus-staging-plugin.version>1.6.8</maven-nexus-staging-plugin.version>
45+
<maven-source-plugin.version>3.0.1</maven-source-plugin.version>
46+
<maven-javadoc-plugin.version>3.0.0</maven-javadoc-plugin.version>
47+
<maven-jar-plugin.version>3.0.2</maven-jar-plugin.version>
48+
<maven-surefire-plugin.version>2.20.1</maven-surefire-plugin.version>
49+
<maven-assembly-plugin.version>3.1.0</maven-assembly-plugin.version>
1650
</properties>
1751

1852
<build>
@@ -31,16 +65,18 @@
3165
<plugin>
3266
<groupId>org.apache.maven.plugins</groupId>
3367
<artifactId>maven-surefire-plugin</artifactId>
34-
<version>2.20.1</version>
68+
<version>${maven-surefire-plugin.version}</version>
3569
<configuration>
3670
<includes>
3771
<include>soot/jimple/infoflow/test/junit/**</include>
3872
</includes>
3973
</configuration>
4074
</plugin>
4175
<plugin>
42-
<artifactId>maven-assembly-plugin</artifactId>
43-
<configuration>
76+
<groupId>org.apache.maven.plugins</groupId>
77+
<artifactId>maven-assembly-plugin</artifactId>
78+
<version>${maven-assembly-plugin.version}</version>
79+
<configuration>
4480
<descriptorRefs>
4581
<descriptorRef>jar-with-dependencies</descriptorRef>
4682
</descriptorRefs>
@@ -51,7 +87,7 @@
5187
<plugin>
5288
<groupId>org.apache.maven.plugins</groupId>
5389
<artifactId>maven-jar-plugin</artifactId>
54-
<version>3.0.2</version>
90+
<version>${maven-jar-plugin.version}</version>
5591
<executions>
5692
<execution>
5793
<goals>
@@ -63,31 +99,15 @@
6399
<plugin>
64100
<groupId>org.apache.maven.plugins</groupId>
65101
<artifactId>maven-source-plugin</artifactId>
66-
<version>3.0.1</version>
67-
<executions>
68-
<execution>
69-
<id>attach-sources</id>
70-
<goals>
71-
<goal>jar</goal>
72-
</goals>
73-
</execution>
74-
</executions>
102+
<version>${maven-source-plugin.version}</version>
75103
</plugin>
76104
<plugin>
77105
<groupId>org.apache.maven.plugins</groupId>
78106
<artifactId>maven-javadoc-plugin</artifactId>
79-
<version>2.10.4</version>
107+
<version>${maven-javadoc-plugin.version}</version>
80108
<configuration>
81109
<failOnError>false</failOnError>
82110
</configuration>
83-
<executions>
84-
<execution>
85-
<id>attach-javadocs</id>
86-
<goals>
87-
<goal>jar</goal>
88-
</goals>
89-
</execution>
90-
</executions>
91111
</plugin>
92112
</plugins>
93113

@@ -102,18 +122,15 @@
102122
</build>
103123

104124
<dependencies>
105-
<!-- Built by http://soot-build.cs.uni-paderborn.de/nexus/repository/soot-snapshot/ -->
106125
<dependency>
107-
<groupId>heros</groupId>
126+
<groupId>de.upb.cs.swt</groupId>
108127
<artifactId>heros</artifactId>
109-
<version>1.0.1-SNAPSHOT</version>
128+
<version>1.1.0</version>
110129
</dependency>
111-
<!-- Uploaded to http://soot-build.cs.uni-paderborn.de/nexus/repository/soot-snapshot/
112-
from the nightly build server -->
113130
<dependency>
114131
<groupId>ca.mcgill.sable</groupId>
115132
<artifactId>jasmin</artifactId>
116-
<version>2.5.0-SNAPSHOT</version>
133+
<version>3.0.1</version>
117134
</dependency>
118135
<dependency>
119136
<groupId>ca.mcgill.sable</groupId>
@@ -133,34 +150,119 @@
133150
<scope>test</scope>
134151
</dependency>
135152
<dependency>
136-
<groupId>java.j2ee</groupId>
137-
<artifactId>j2ee</artifactId>
138-
<version>1.4</version>
139-
<scope>test</scope>
153+
<groupId>javax.servlet</groupId>
154+
<artifactId>javax.servlet-api</artifactId>
155+
<version>3.0.1</version>
156+
<scope>test</scope>
140157
</dependency>
158+
141159
<dependency>
142160
<groupId>net.sf.trove4j</groupId>
143161
<artifactId>trove4j</artifactId>
144162
<version>3.0.3</version>
145163
</dependency>
146-
<!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
147164
<dependency>
148165
<groupId>com.google.guava</groupId>
149166
<artifactId>guava</artifactId>
150167
<version>25.1-jre</version>
151168
</dependency>
152169
</dependencies>
153170

154-
<repositories>
155-
<repository>
156-
<id>soot-snapshot</id>
157-
<name>Soot snapshot server</name>
158-
<url>https://soot-build.cs.uni-paderborn.de/nexus/repository/soot-snapshot/</url>
159-
</repository>
160-
<repository>
161-
<id>soot-release</id>
162-
<name>Soot release server</name>
163-
<url>https://soot-build.cs.uni-paderborn.de/nexus/repository/soot-release/</url>
164-
</repository>
165-
</repositories>
171+
172+
<distributionManagement>
173+
<snapshotRepository>
174+
<id>ossrh</id>
175+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
176+
</snapshotRepository>
177+
</distributionManagement>
178+
179+
<profiles>
180+
<profile>
181+
<id>deploy</id>
182+
<activation>
183+
<property>
184+
<name>deploy</name>
185+
<value>true</value>
186+
</property>
187+
</activation>
188+
<properties>
189+
<gpg.executable>gpg2</gpg.executable>
190+
<gpg.keyname>BA6398DCF4E2C1B6C5C7BDFC364F80C21BCC61BB</gpg.keyname>
191+
</properties>
192+
<build>
193+
<plugins>
194+
<plugin>
195+
<groupId>org.sonatype.plugins</groupId>
196+
<artifactId>nexus-staging-maven-plugin</artifactId>
197+
<version>${maven-nexus-staging-plugin.version}</version>
198+
<extensions>true</extensions>
199+
<configuration>
200+
<serverId>ossrh</serverId>
201+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
202+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
203+
</configuration>
204+
</plugin>
205+
<plugin>
206+
<groupId>org.apache.maven.plugins</groupId>
207+
<artifactId>maven-gpg-plugin</artifactId>
208+
<version>${maven-gpg-plugin.version}</version>
209+
<executions>
210+
<execution>
211+
<id>sign-artifacts</id>
212+
<phase>verify</phase>
213+
<goals>
214+
<goal>sign</goal>
215+
</goals>
216+
<configuration>
217+
<!-- This is necessary for gpg to not try to use the pinentry programs -->
218+
<gpgArguments>
219+
<arg>--pinentry-mode</arg>
220+
<arg>loopback</arg>
221+
</gpgArguments>
222+
</configuration>
223+
</execution>
224+
</executions>
225+
</plugin>
226+
<plugin>
227+
<groupId>org.apache.maven.plugins</groupId>
228+
<artifactId>maven-source-plugin</artifactId>
229+
<executions>
230+
<execution>
231+
<id>attach-sources</id>
232+
<goals>
233+
<goal>jar</goal>
234+
</goals>
235+
</execution>
236+
</executions>
237+
</plugin>
238+
<plugin>
239+
<groupId>org.apache.maven.plugins</groupId>
240+
<artifactId>maven-javadoc-plugin</artifactId>
241+
<executions>
242+
<execution>
243+
<id>attach-javadocs</id>
244+
<goals>
245+
<goal>jar</goal>
246+
</goals>
247+
</execution>
248+
</executions>
249+
</plugin>
250+
<plugin>
251+
<groupId>org.apache.maven.plugins</groupId>
252+
<artifactId>maven-assembly-plugin</artifactId>
253+
<executions>
254+
<execution>
255+
<id>simple-command</id>
256+
<phase>package</phase>
257+
<goals>
258+
<goal>single</goal>
259+
</goals>
260+
</execution>
261+
</executions>
262+
</plugin>
263+
</plugins>
264+
</build>
265+
</profile>
266+
</profiles>
267+
166268
</project>

0 commit comments

Comments
 (0)