1 <?xml version="1.0" encoding="UTF-8"?>
3 Copyright (c) 2016 Red Hat, Inc. and others. All rights reserved.
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
9 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
11 <modelVersion>4.0.0</modelVersion>
14 <groupId>org.opendaylight.aaa</groupId>
15 <artifactId>aaa-parent</artifactId>
16 <version>0.5.0-SNAPSHOT</version>
17 <relativePath>../parent</relativePath>
20 <artifactId>aaa-cli-jar</artifactId>
21 <packaging>jar</packaging>
25 <groupId>com.google.guava</groupId>
26 <artifactId>guava</artifactId>
29 <groupId>net.sf.jopt-simple</groupId>
30 <artifactId>jopt-simple</artifactId>
31 <version>5.0.3</version>
34 <groupId>org.opendaylight.aaa</groupId>
35 <artifactId>aaa-h2-store</artifactId>
38 <!-- Completely disable transitive dependencies -->
40 <artifactId>*</artifactId>
44 <!-- Now repeat the few really needed dependencies which we would normally get transitively -->
46 <groupId>org.opendaylight.aaa</groupId>
47 <artifactId>aaa-authn-api</artifactId>
50 <groupId>com.h2database</groupId>
51 <artifactId>h2</artifactId>
54 <!-- Now for the FAT JAR we need to fix up some <scope>provided to be <scope>compile -->
56 <groupId>org.slf4j</groupId>
57 <artifactId>slf4j-api</artifactId>
58 <scope>compile</scope> <!-- Not provided -->
61 <groupId>org.slf4j</groupId>
62 <artifactId>slf4j-simple</artifactId>
63 <scope>compile</scope> <!-- Not test -->
66 <!-- Testing Dependencies -->
68 <groupId>junit</groupId>
69 <artifactId>junit</artifactId>
72 <groupId>com.google.truth</groupId>
73 <artifactId>truth</artifactId>
76 <groupId>org.mockito</groupId>
77 <artifactId>mockito-core</artifactId>
80 <groupId>org.opendaylight.yangtools</groupId>
81 <artifactId>testutils</artifactId>
88 <artifactId>maven-failsafe-plugin</artifactId>
89 <!-- TODO Remove when https://git.opendaylight.org/gerrit/#/c/48400/ is merged -->
92 <id>integration-test</id>
94 <goal>integration-test</goal>
106 <groupId>org.apache.maven.plugins</groupId>
107 <!-- TODO Use maven-shade-plugin with its interesting minimizeJar property... -->
108 <artifactId>maven-assembly-plugin</artifactId>
109 <version>2.6</version>
112 <descriptorRef>jar-with-dependencies</descriptorRef>
116 <mainClass>org.opendaylight.aaa.cli.jar.Main</mainClass>
122 <id>make-assembly</id>
123 <phase>package</phase>
131 <groupId>org.apache.maven.plugins</groupId>
132 <artifactId>maven-checkstyle-plugin</artifactId>
134 <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
139 <groupId>org.codehaus.mojo</groupId>
140 <artifactId>findbugs-maven-plugin</artifactId>
142 <failOnError>true</failOnError>