1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
4 Copyright (c) 2020 PANTHEON.tech, s.r.o. and others. All rights reserved.
6 This program and the accompanying materials are made available under the
7 terms of the Eclipse Public License v1.0 which accompanies this distribution,
8 and is available at http://www.eclipse.org/legal/epl-v10.html
10 <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">
11 <modelVersion>4.0.0</modelVersion>
14 <groupId>org.opendaylight.aaa</groupId>
15 <artifactId>aaa-parent</artifactId>
16 <version>0.14.2-SNAPSHOT</version>
17 <relativePath>../../parent</relativePath>
20 <artifactId>repackaged-shiro</artifactId>
21 <packaging>bundle</packaging>
22 <name>${project.artifactId}</name>
25 <!-- We are just juggling classes here -->
26 <odlparent.modernizer.skip>true</odlparent.modernizer.skip>
27 <odlparent.spotbugs.skip>true</odlparent.spotbugs.skip>
29 <!-- We do not want to generate javadoc -->
30 <maven.javadoc.skip>true</maven.javadoc.skip>
35 <groupId>org.opendaylight.aaa</groupId>
36 <artifactId>repackaged-shiro-jar</artifactId>
37 <version>${project.version}</version>
38 <scope>provided</scope>
41 <groupId>javax.servlet</groupId>
42 <artifactId>javax.servlet-api</artifactId>
43 <scope>provided</scope>
46 <groupId>commons-beanutils</groupId>
47 <artifactId>commons-beanutils</artifactId>
50 <groupId>org.owasp.encoder</groupId>
51 <artifactId>encoder</artifactId>
52 <version>1.2.3</version>
59 <artifactId>maven-dependency-plugin</artifactId>
62 <id>unpack-license</id>
64 <!-- Shiro is Apache-2.0 licensed -->
70 <phase>compile</phase>
77 <groupId>org.opendaylight.aaa</groupId>
78 <artifactId>repackaged-shiro-jar</artifactId>
79 <version>${project.version}</version>
82 <overWriteReleases>false</overWriteReleases>
83 <overWriteSnapshots>true</overWriteSnapshots>
84 <outputDirectory>${project.build.directory}/classes</outputDirectory>
88 <id>unpack-sources</id>
89 <phase>prepare-package</phase>
91 <goal>unpack-dependencies</goal>
94 <classifier>sources</classifier>
95 <includeArtifactIds>repackaged-shiro-jar</includeArtifactIds>
96 <outputDirectory>${project.build.directory}/shaded-sources</outputDirectory>
102 <groupId>org.codehaus.mojo</groupId>
103 <artifactId>build-helper-maven-plugin</artifactId>
106 <id>shaded-sources</id>
107 <phase>prepare-package</phase>
109 <goal>add-source</goal>
112 <sources>${project.build.directory}/shaded-sources</sources>
116 <id>shared-resources</id>
117 <phase>prepare-package</phase>
119 <goal>add-resource</goal>
124 <directory>${project.build.directory}/classes/META-INF</directory>
125 <targetPath>META-INF</targetPath>
127 <include>DEPENDENCIES</include>
128 <include>LICENSE</include>
129 <include>NOTICE</include>
130 <include>shiro.tld</include>
139 <groupId>org.apache.felix</groupId>
140 <artifactId>maven-bundle-plugin</artifactId>
141 <extensions>true</extensions>
146 META-INF/git.properties=-${project.build.directory}/classes/META-INF/git.properties,
147 META-INF/services=-${project.build.directory}/classes/META-INF/services
150 javax.servlet.jsp;resolution:=optional,
151 javax.servlet.jsp.tagext;resolution:=optional,
152 org.apache.commons.configuration2.interpol;resolution:=optional,