summaryrefslogtreecommitdiffstats
path: root/security-util-lib/pom.xml
blob: 82a1b7c839176f1922b9301eee88c3f1a50d7ae7 (plain)
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
<?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">

    <artifactId>security-util-lib</artifactId>
    <name>security-util-lib</name>
    <parent>
        <groupId>org.onap.sdc.sdc-be-common</groupId>
        <artifactId>sdc-be-common-parent</artifactId>
        <version>1.6.1-SNAPSHOT</version>
    </parent>

    <modelVersion>4.0.0</modelVersion>
    <description>security util library</description>

    <properties>

        <!-- Nexus related properties -->
        <portal.version>2.5.0</portal.version>
        <lang3.version>3.3.2</lang3.version>
        <guava.version>30.1.1-jre</guava.version>
        <httpclient.version>4.5.13</httpclient.version>
        <jersey-bom.version>2.27</jersey-bom.version>
        <json-simple.version>1.1</json-simple.version>
        <functionaljava.version>4.7</functionaljava.version>
        <jackson.version>2.12.3</jackson.version>
        <esapi.version>2.2.3.0</esapi.version>

        <!-- Sonar properties -->
        <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
        <sonar.skipDesign>true</sonar.skipDesign>
        <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
        <sonar.sources>.</sonar.sources>
        <sonar.exclusions>**/scripts/**/*</sonar.exclusions>
        <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
        <sonar.inclusions>app/**/*.js,server-mock/**/*.js,src/**/*.js,src/main/**/*.java</sonar.inclusions>
        <sonar.branch>${project.version}</sonar.branch>
        
    </properties>

   <dependencies>
       <dependency>
           <groupId>com.fasterxml.jackson.core</groupId>
           <artifactId>jackson-core</artifactId>
           <version>${jackson.version}</version>
       </dependency>
       <dependency>
           <groupId>com.fasterxml.jackson.core</groupId>
           <artifactId>jackson-annotations</artifactId>
           <version>${jackson.version}</version>
       </dependency>
       <dependency>
           <groupId>com.fasterxml.jackson.core</groupId>
           <artifactId>jackson-databind</artifactId>
           <version>${jackson.version}</version>
       </dependency>
       <dependency>
           <groupId>org.functionaljava</groupId>
           <artifactId>functionaljava</artifactId>
           <version>${functionaljava.version}</version>
       </dependency>
       <dependency>
           <groupId>org.owasp.esapi</groupId>
           <artifactId>esapi</artifactId>
           <version>${esapi.version}</version>
           <exclusions>
               <exclusion>
                   <groupId>org.slf4j</groupId>
                   <artifactId>slf4j-simple</artifactId>
               </exclusion>
               <exclusion>
                   <groupId>log4j</groupId>
                   <artifactId>log4j</artifactId>
               </exclusion>
               <exclusion>
                   <groupId>commons-io</groupId>
                   <artifactId>commons-io</artifactId>
               </exclusion>
               <exclusion>
                   <groupId>commons-beanutils</groupId>
                   <artifactId>commons-beanutils</artifactId>
               </exclusion>
           </exclusions>
       </dependency>

       <!-- Inserted for Portal Integration -->
       <dependency>
           <groupId>org.onap.portal.sdk</groupId>
           <artifactId>epsdk-fw</artifactId>
           <version>${portal.version}</version>
           <scope>compile</scope>
           <exclusions>
               <exclusion>
                   <groupId>com.att.nsa</groupId>
                   <artifactId>cambriaClient</artifactId>
               </exclusion>
               <exclusion>
                   <groupId>com.fasterxml.jackson.core</groupId>
                   <artifactId>jackson-core</artifactId>
               </exclusion>
               <exclusion>
                   <groupId>com.fasterxml.jackson.core</groupId>
                   <artifactId>jackson-annotations</artifactId>
               </exclusion>
               <exclusion>
                   <groupId>com.fasterxml.jackson.core</groupId>
                   <artifactId>jackson-databind</artifactId>
               </exclusion>
               <exclusion>
                   <groupId>org.owasp.esapi</groupId>
                   <artifactId>esapi</artifactId>
               </exclusion>
               <exclusion>
                   <artifactId>slf4j-log4j12</artifactId>
                   <groupId>org.slf4j</groupId>
               </exclusion>
               <exclusion>
                   <artifactId>powermock-api-mockito</artifactId>
                   <groupId>org.powermock</groupId>
               </exclusion>
               <exclusion>
                   <artifactId>powermock-module-junit4</artifactId>
                   <groupId>org.powermock</groupId>
               </exclusion>
               <exclusion>
                   <groupId>org.junit.jupiter</groupId>
                   <artifactId>junit-jupiter-api</artifactId>
               </exclusion>
               <exclusion>
                   <groupId>org.onap.aaf.authz</groupId>
                   <artifactId>aaf-cadi-aaf</artifactId>
               </exclusion>
               <exclusion>
                   <artifactId>aaf-cadi-core</artifactId>
                   <groupId>org.onap.aaf.authz</groupId>
               </exclusion>
               <exclusion>
                   <artifactId>commons-codec</artifactId>
                   <groupId>commons-codec</groupId>
               </exclusion>
           </exclusions>
       </dependency>

       <dependency>
           <groupId>org.apache.commons</groupId>
           <artifactId>commons-lang3</artifactId>
           <version>${lang3.version}</version>
           <scope>compile</scope>
       </dependency>

       <dependency>
           <groupId>com.google.guava</groupId>
           <artifactId>guava</artifactId>
           <version>${guava.version}</version>
           <scope>compile</scope>
       </dependency>

       <!-- http client -->
       <dependency>
           <groupId>org.apache.httpcomponents</groupId>
           <artifactId>httpclient</artifactId>
           <version>${httpclient.version}</version>
           <scope>compile</scope>
       </dependency>
       <dependency>
           <groupId>org.glassfish.jersey.ext</groupId>
           <artifactId>jersey-bean-validation</artifactId>
           <version>${jersey-bom.version}</version>
           <exclusions>
               <exclusion>
                   <groupId>org.hibernate</groupId>
                   <artifactId>hibernate-validator</artifactId>
               </exclusion>
           </exclusions>
       </dependency>
       <dependency>
           <groupId>com.googlecode.json-simple</groupId>
           <artifactId>json-simple</artifactId>
           <version>${json-simple.version}</version>
       </dependency>
       <dependency>
           <groupId>org.projectlombok</groupId>
           <artifactId>lombok</artifactId>
       </dependency>
   </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.jacoco</groupId>
                <artifactId>jacoco-maven-plugin</artifactId>
                <version>0.8.6</version>
                <executions>
                    <!-- Unit-Tests -->
                    <execution>
                        <id>prepare-agent</id>
                        <goals>
                            <goal>prepare-agent</goal>
                        </goals>
                        <configuration>
                            <destFile>${sonar.jacoco.reportPath}</destFile>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>2.22.2</version>
                <configuration>
                    <argLine>${argLine} -Xmx2048m</argLine>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>2.10.3</version>
                <configuration/>
            </plugin>
            <plugin>
                <groupId>org.sonarsource.scanner.maven</groupId>
                <artifactId>sonar-maven-plugin</artifactId>
                <version>3.0.2</version>
            </plugin>
        </plugins>
    </build>
</project>