-
Notifications
You must be signed in to change notification settings - Fork 3
/
pom.xml
114 lines (105 loc) · 4.32 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>at.favre.lib</groupId>
<artifactId>common-parent</artifactId>
<version>20</version>
</parent>
<artifactId>id-mask-parent</artifactId>
<version>0.6.0</version>
<packaging>pom</packaging>
<name>ID Masking Library Parent</name>
<description>IDMask is a Java library for masking internal ids (e.g. from your DB) when they need to be published to
hide their actual value and to prevent forging. It has support optional randomisation has a wide support for
various Java types including long, UUID and BigInteger. This library bases its security on strong cryptographic
primitives.
</description>
<url>https://favr.dev/opensource/id-mask</url>
<inceptionYear>2019</inceptionYear>
<!-- this is a workaround to be able to only deploy the main module used in deploy phase, nexus stage plugin is buggy -->
<profiles>
<profile>
<id>allmodules</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<modules>
<module>modules/id-mask</module>
<module>modules/benchmark-jmh</module>
</modules>
</profile>
<profile>
<id>mainmodule</id>
<modules>
<module>modules/id-mask</module>
</modules>
</profile>
</profiles>
<properties>
<maven.deploy.skip>true</maven.deploy.skip>
<autoValueVersion>1.10.4</autoValueVersion>
<!-- set this to true if fail because of missing credentials -->
<commonConfig.jarSign.skip>true</commonConfig.jarSign.skip>
<!-- SonarQube Config -->
<sonar.organization>patrickfav</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
<sonar.coverage.jacoco.xmlReportPaths>**/target/site/jacoco/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
<sonar.language>java</sonar.language>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.4.1</version>
<configuration>
<flattenMode>oss</flattenMode>
</configuration>
<executions>
<!-- enable flattening -->
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<!-- ensure proper cleanup -->
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
<scm>
<connection>scm:git:https://github.com/patrickfav/id-mask.git</connection>
<developerConnection>scm:git:https://github.com/patrickfav/id-mask.git</developerConnection>
<url>https://github.com/patrickfav/id-mask</url>
</scm>
<issueManagement>
<system>Github</system>
<url>https://github.com/patrickfav/id-mask/issues</url>
</issueManagement>
<ciManagement>
<system>Github Actions</system>
<url>https://github.com/patrickfav/id-mask/actions</url>
</ciManagement>
</project>