Skip to content

Commit 7259bcf

Browse files
committed
Prepare for maven central
1 parent 5d8e6c9 commit 7259bcf

File tree

6 files changed

+131
-72
lines changed

6 files changed

+131
-72
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@ soot-infoflow-summaries/target/
33
/.metadata
44
/.recommenders
55
.idea/
6-
*.iml
6+
*.iml
7+
target/
8+
*/target

pom.xml

Lines changed: 30 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
4-
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2+
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
53
<modelVersion>4.0.0</modelVersion>
64
<groupId>de.fraunhofer.sit.sse.flowdroid</groupId>
75
<artifactId>parent</artifactId>
@@ -14,6 +12,21 @@
1412
<maven.compiler.target>1.8</maven.compiler.target>
1513
</properties>
1614

15+
<developers>
16+
<developer>
17+
<name>Steven Arzt</name>
18+
<email>steven.arzt@sit.fraunhofer.de</email>
19+
<organization>Fraunhofer SIT</organization>
20+
<organizationUrl>https://www.sit.fraunhofer.de/</organizationUrl>
21+
</developer>
22+
</developers>
23+
<licenses>
24+
<license>
25+
<name>GNU LESSER GENERAL PUBLIC LICENSE 2.1</name>
26+
<url>https://www.gnu.org/licenses/lgpl-2.1.txt</url>
27+
<distribution>repo</distribution>
28+
</license>
29+
</licenses>
1730
<modules>
1831
<module>soot-infoflow</module>
1932
<module>soot-infoflow-android</module>
@@ -50,27 +63,17 @@
5063
</dependency>
5164
</dependencies>
5265
</dependencyManagement>
53-
<profiles>
54-
<profile>
55-
<id>sign-artifacts</id>
56-
<build>
57-
<plugins>
58-
<plugin>
59-
<groupId>org.apache.maven.plugins</groupId>
60-
<artifactId>maven-gpg-plugin</artifactId>
61-
<version>3.0.1</version>
62-
<executions>
63-
<execution>
64-
<id>sign-artifacts</id>
65-
<phase>verify</phase>
66-
<goals>
67-
<goal>sign</goal>
68-
</goals>
69-
</execution>
70-
</executions>
71-
</plugin>
72-
</plugins>
73-
</build>
74-
</profile>
75-
</profiles>
76-
</project>
66+
<!-- Do not deploy parent module -->
67+
<build>
68+
<plugins>
69+
<plugin>
70+
<groupId>org.apache.maven.plugins</groupId>
71+
<artifactId>maven-deploy-plugin</artifactId>
72+
<version>2.4</version>
73+
<configuration>
74+
<skip>true</skip>
75+
</configuration>
76+
</plugin>
77+
</plugins>
78+
</build>
79+
</project>

soot-infoflow-android/pom.xml

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,15 @@
2121
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
2222
<maven-assembly-plugin.version>3.3.0</maven-assembly-plugin.version>
2323
</properties>
24-
25-
<organization>
24+
25+
<scm>
26+
<connection>scm:git:git@github.com:secure-software-engineering/FlowDroid.git</connection>
27+
<developerConnection>scm:git:git@github.com:secure-software-engineering/FlowDroid.git</developerConnection>
28+
<url>https://github.com/secure-software-engineering/FlowDroid/tree/develop</url>
29+
</scm>
30+
31+
32+
<organization>
2633
<name>Fraunhofer SIT</name>
2734
<url>https://www.sit.fraunhofer.de/</url>
2835
</organization>
@@ -121,6 +128,29 @@
121128
</resources>
122129
</build>
123130

131+
<profiles>
132+
<profile>
133+
<id>sign-artifacts</id>
134+
<build>
135+
<plugins>
136+
<plugin>
137+
<groupId>org.apache.maven.plugins</groupId>
138+
<artifactId>maven-gpg-plugin</artifactId>
139+
<version>3.0.1</version>
140+
<executions>
141+
<execution>
142+
<id>sign-artifacts</id>
143+
<phase>verify</phase>
144+
<goals>
145+
<goal>sign</goal>
146+
</goals>
147+
</execution>
148+
</executions>
149+
</plugin>
150+
</plugins>
151+
</build>
152+
</profile>
153+
</profiles>
124154
<dependencies>
125155
<dependency>
126156
<groupId>org.slf4j</groupId>

soot-infoflow-cmd/pom.xml

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<name>FlowDroid Command Line Util</name>
88
<version>2.10.0</version>
99
<description>Command-line utility for running FlowDroid</description>
10+
<url>https://github.com/secure-software-engineering/FlowDroid</url>
1011

1112
<properties>
1213
<maven.compiler.source>1.7</maven.compiler.source>
@@ -20,7 +21,13 @@
2021
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
2122
<maven-assembly-plugin.version>3.3.0</maven-assembly-plugin.version>
2223
</properties>
23-
24+
25+
<scm>
26+
<connection>scm:git:git@github.com:secure-software-engineering/FlowDroid.git</connection>
27+
<developerConnection>scm:git:git@github.com:secure-software-engineering/FlowDroid.git</developerConnection>
28+
<url>https://github.com/secure-software-engineering/FlowDroid/tree/develop</url>
29+
</scm>
30+
2431
<organization>
2532
<name>Fraunhofer SIT</name>
2633
<url>https://www.sit.fraunhofer.de/</url>
@@ -130,6 +137,30 @@
130137
</plugins>
131138
</build>
132139

140+
<profiles>
141+
<profile>
142+
<id>sign-artifacts</id>
143+
<build>
144+
<plugins>
145+
<plugin>
146+
<groupId>org.apache.maven.plugins</groupId>
147+
<artifactId>maven-gpg-plugin</artifactId>
148+
<version>3.0.1</version>
149+
<executions>
150+
<execution>
151+
<id>sign-artifacts</id>
152+
<phase>verify</phase>
153+
<goals>
154+
<goal>sign</goal>
155+
</goals>
156+
</execution>
157+
</executions>
158+
</plugin>
159+
</plugins>
160+
</build>
161+
</profile>
162+
</profiles>
163+
133164
<dependencies>
134165
<dependency>
135166
<groupId>de.fraunhofer.sit.sse.flowdroid</groupId>

soot-infoflow-summaries/pom.xml

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<name>StubDroid</name>
88
<version>2.10.0</version>
99
<description>Data Flow Summaries for FlowDroid</description>
10+
<url>https://github.com/secure-software-engineering/FlowDroid</url>
1011

1112
<properties>
1213
<maven.compiler.source>1.8</maven.compiler.source>
@@ -20,7 +21,13 @@
2021
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
2122
<maven-assembly-plugin.version>3.3.0</maven-assembly-plugin.version>
2223
</properties>
23-
24+
25+
<scm>
26+
<connection>scm:git:git@github.com:secure-software-engineering/FlowDroid.git</connection>
27+
<developerConnection>scm:git:git@github.com:secure-software-engineering/FlowDroid.git</developerConnection>
28+
<url>https://github.com/secure-software-engineering/FlowDroid/tree/develop</url>
29+
</scm>
30+
2431
<organization>
2532
<name>Fraunhofer SIT</name>
2633
<url>https://www.sit.fraunhofer.de/</url>
@@ -81,7 +88,7 @@
8188
<execution>
8289
<id>attach-sources</id>
8390
<goals>
84-
<goal>test-jar</goal>
91+
<goal>jar</goal>
8592
</goals>
8693
</execution>
8794
</executions>
@@ -144,6 +151,29 @@
144151
</resources>
145152
</build>
146153

154+
<profiles>
155+
<profile>
156+
<id>sign-artifacts</id>
157+
<build>
158+
<plugins>
159+
<plugin>
160+
<groupId>org.apache.maven.plugins</groupId>
161+
<artifactId>maven-gpg-plugin</artifactId>
162+
<version>3.0.1</version>
163+
<executions>
164+
<execution>
165+
<id>sign-artifacts</id>
166+
<phase>verify</phase>
167+
<goals>
168+
<goal>sign</goal>
169+
</goals>
170+
</execution>
171+
</executions>
172+
</plugin>
173+
</plugins>
174+
</build>
175+
</profile>
176+
</profiles>
147177
<dependencies>
148178
<dependency>
149179
<groupId>de.fraunhofer.sit.sse.flowdroid</groupId>

soot-infoflow/pom.xml

Lines changed: 2 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -185,57 +185,20 @@
185185

186186
<profiles>
187187
<profile>
188-
<id>deploy</id>
189-
<activation>
190-
<property>
191-
<name>deploy</name>
192-
<value>true</value>
193-
</property>
194-
</activation>
188+
<id>sign-artifacts</id>
195189
<build>
196190
<plugins>
197-
<plugin>
198-
<groupId>org.sonatype.plugins</groupId>
199-
<artifactId>nexus-staging-maven-plugin</artifactId>
200-
<version>${maven-nexus-staging-plugin.version}</version>
201-
<extensions>true</extensions>
202-
<configuration>
203-
<serverId>ossrh</serverId>
204-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
205-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
206-
</configuration>
207-
</plugin>
208191
<plugin>
209192
<groupId>org.apache.maven.plugins</groupId>
210193
<artifactId>maven-gpg-plugin</artifactId>
211-
<version>${maven-gpg-plugin.version}</version>
194+
<version>3.0.1</version>
212195
<executions>
213196
<execution>
214197
<id>sign-artifacts</id>
215198
<phase>verify</phase>
216199
<goals>
217200
<goal>sign</goal>
218201
</goals>
219-
<configuration>
220-
<!-- This is necessary for gpg to not try to use the pinentry programs -->
221-
<gpgArguments>
222-
<arg>--pinentry-mode</arg>
223-
<arg>loopback</arg>
224-
</gpgArguments>
225-
</configuration>
226-
</execution>
227-
</executions>
228-
</plugin>
229-
<plugin>
230-
<groupId>org.apache.maven.plugins</groupId>
231-
<artifactId>maven-assembly-plugin</artifactId>
232-
<executions>
233-
<execution>
234-
<id>simple-command</id>
235-
<phase>package</phase>
236-
<goals>
237-
<goal>single</goal>
238-
</goals>
239202
</execution>
240203
</executions>
241204
</plugin>

0 commit comments

Comments
 (0)