2019-06-21 04:17:41 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!-- vi: set et smarttab sw=4 tabstop=4: -->
|
|
|
|
<!--
|
|
|
|
Copyright © 2017 Brocade Communications Systems and others. All rights reserved.
|
|
|
|
|
|
|
|
This program and the accompanying materials are made available under the
|
|
|
|
terms of the Eclipse Public License v1.0 which accompanies this distribution,
|
|
|
|
and is available at http://www.eclipse.org/legal/epl-v10.html
|
|
|
|
-->
|
2019-07-23 09:32:31 +00:00
|
|
|
<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">
|
2019-06-21 04:17:41 +00:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
2019-07-23 09:32:31 +00:00
|
|
|
<groupId>org.opendaylight.aaa</groupId>
|
|
|
|
<artifactId>aaa-parent</artifactId>
|
|
|
|
<version>0.8.3</version>
|
|
|
|
<relativePath>../../parent</relativePath>
|
2019-06-21 04:17:41 +00:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<groupId>org.opendaylight.aaa</groupId>
|
|
|
|
<artifactId>aaa-shiro</artifactId>
|
2019-07-23 09:32:31 +00:00
|
|
|
<version>0.8.3</version>
|
2019-06-21 04:17:41 +00:00
|
|
|
<name>ODL :: aaa :: ${project.artifactId}</name>
|
|
|
|
<packaging>bundle</packaging>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>aaa-shiro-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- jersey client for moon authN -->
|
|
|
|
<dependency>
|
2019-07-23 09:32:31 +00:00
|
|
|
<groupId>org.glassfish.jersey.core</groupId>
|
2019-06-21 04:17:41 +00:00
|
|
|
<artifactId>jersey-client</artifactId>
|
2019-07-23 09:32:31 +00:00
|
|
|
<version>2.25.1</version>
|
2019-06-21 04:17:41 +00:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- OAuth2 dependencies for moon -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.oltu.oauth2</groupId>
|
|
|
|
<artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.oltu.oauth2</groupId>
|
|
|
|
<artifactId>org.apache.oltu.oauth2.resourceserver</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.opendaylight.aaa</groupId>
|
|
|
|
<artifactId>aaa-cert</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.shiro</groupId>
|
|
|
|
<artifactId>shiro-web</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!-- Enforce newer commons-beanutils and commons-collections versions -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-beanutils</groupId>
|
|
|
|
<artifactId>commons-beanutils</artifactId>
|
|
|
|
<version>1.9.3</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-collections</groupId>
|
|
|
|
<artifactId>commons-collections</artifactId>
|
|
|
|
<version>3.2.2</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.code.gson</groupId>
|
|
|
|
<artifactId>gson</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
<artifactId>org.apache.felix.dependencymanager</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!--Yang Binding -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.opendaylight.controller</groupId>
|
|
|
|
<artifactId>sal-binding-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.opendaylight.controller</groupId>
|
|
|
|
<artifactId>sal-common-util</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.opendaylight.aaa</groupId>
|
|
|
|
<artifactId>aaa-filterchain</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2019-07-23 09:32:31 +00:00
|
|
|
<groupId>org.opendaylight.aaa</groupId>
|
|
|
|
<artifactId>aaa-password-service-api</artifactId>
|
2019-06-21 04:17:41 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.osgi</groupId>
|
|
|
|
<artifactId>org.osgi.compendium</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- JSON JAXB Stuff -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-servlets</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sf.ehcache</groupId>
|
|
|
|
<artifactId>ehcache</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.immutables</groupId>
|
|
|
|
<artifactId>value</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-text</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jolokia</groupId>
|
|
|
|
<artifactId>jolokia-osgi</artifactId>
|
2019-07-23 09:32:31 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.opendaylight.aaa.web</groupId>
|
|
|
|
<artifactId>web-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.opendaylight.aaa.web</groupId>
|
|
|
|
<artifactId>servlet-api</artifactId>
|
2019-06-21 04:17:41 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Testing Dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-library</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2019-07-23 09:32:31 +00:00
|
|
|
<groupId>org.glassfish.jersey.test-framework.providers</groupId>
|
|
|
|
<artifactId>jersey-test-framework-provider-grizzly2</artifactId>
|
|
|
|
<version>2.25.1</version>
|
2019-06-21 04:17:41 +00:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
|
|
<artifactId>jetty-servlet-tester</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.truth</groupId>
|
|
|
|
<artifactId>truth</artifactId>
|
|
|
|
</dependency>
|
2019-07-23 09:32:31 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.opendaylight.aaa</groupId>
|
|
|
|
<artifactId>aaa-password-service-impl</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2019-06-21 04:17:41 +00:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
|
|
<extensions>true</extensions>
|
|
|
|
<configuration>
|
|
|
|
<instructions>
|
|
|
|
<Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
|
|
|
|
<Export-Package>
|
|
|
|
org.opendaylight.aaa,
|
|
|
|
org.opendaylight.aaa.shiro,
|
|
|
|
org.opendaylight.aaa.shiro.idm,
|
|
|
|
org.opendaylight.aaa.shiro.tokenauthrealm,
|
|
|
|
org.opendaylight.aaa.shiro.tokenauthrealm.auth,
|
|
|
|
org.opendaylight.aaa.shiro,
|
|
|
|
org.opendaylight.aaa.shiro.filters,
|
|
|
|
org.opendaylight.aaa.shiro.realm,
|
|
|
|
<!-- TODO: This is temporary until we can find a better spot for GsonProvider. -->
|
|
|
|
org.opendaylight.aaa.provider,
|
|
|
|
org.opendaylight.aaa.shiro.web.env,
|
|
|
|
org.opendaylight.aaa.datastore.h2.*,
|
|
|
|
</Export-Package>
|
|
|
|
<Import-Package>
|
2019-07-23 09:32:31 +00:00
|
|
|
!javax.annotation,
|
|
|
|
*
|
2019-06-21 04:17:41 +00:00
|
|
|
</Import-Package>
|
|
|
|
</instructions>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-artifacts</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>attach-artifact</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifacts>
|
|
|
|
<!-- attach idmtool as an artifact -->
|
|
|
|
<artifact>
|
|
|
|
<file>${project.build.directory}/classes/idmtool.py</file>
|
|
|
|
<type>py</type>
|
|
|
|
<classifier>idmtool</classifier>
|
|
|
|
</artifact>
|
|
|
|
<!-- attach aaa-app-config.xml as an artifact -->
|
|
|
|
<artifact>
|
|
|
|
<file>${project.build.directory}/classes/initial/aaa-app-config.xml</file>
|
|
|
|
<type>xml</type>
|
|
|
|
<classifier>aaa-app-config</classifier>
|
|
|
|
</artifact>
|
|
|
|
<artifact>
|
|
|
|
<file>${project.build.directory}/classes/initial/aaa-datastore-config.xml</file>
|
|
|
|
<type>xml</type>
|
|
|
|
<classifier>aaa-datastore-config</classifier>
|
|
|
|
</artifact>
|
|
|
|
</artifacts>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|