Update project structure to org.onap.aaf
[aaf/authz.git] / authz-cmd / pom.xml
diff --git a/authz-cmd/pom.xml b/authz-cmd/pom.xml
new file mode 100644 (file)
index 0000000..e1a14e2
--- /dev/null
@@ -0,0 +1,219 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!--\r
+  ============LICENSE_START====================================================\r
+  * org.onap.aaf\r
+  * ===========================================================================\r
+  * Copyright © 2017 AT&T Intellectual Property. All rights reserved.\r
+  * ===========================================================================\r
+  * Licensed under the Apache License, Version 2.0 (the "License");\r
+  * you may not use this file except in compliance with the License.\r
+  * You may obtain a copy of the License at\r
+  * \r
+   *      http://www.apache.org/licenses/LICENSE-2.0\r
+  * \r
+   * Unless required by applicable law or agreed to in writing, software\r
+  * distributed under the License is distributed on an "AS IS" BASIS,\r
+  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+  * See the License for the specific language governing permissions and\r
+  * limitations under the License.\r
+  * ============LICENSE_END====================================================\r
+  *\r
+  * ECOMP is a trademark and service mark of AT&T Intellectual Property.\r
+  *\r
+-->\r
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
+        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">\r
+  <modelVersion>4.0.0</modelVersion>\r
+  <parent>\r
+    <groupId>org.onap.aaf.authz</groupId>\r
+    <artifactId>parent</artifactId>\r
+    <version>1.0.0-SNAPSHOT</version>\r
+    <relativePath>../pom.xml</relativePath>\r
+  </parent>\r
+  \r
+  <artifactId>authz-cmd</artifactId>\r
+  <name>Authz Command</name>\r
+  <description>Command Line Processor for Authz</description>\r
+  <packaging>jar</packaging>\r
+       <url>https://github.com/att/AAF</url>\r
+       <licenses>\r
+               <license>\r
+               <name>BSD License</name>\r
+               <url> </url>\r
+               </license>\r
+       </licenses>\r
+       <developers>\r
+               <developer>\r
+               <name>Jonathan Gathman</name>\r
+               <email></email>\r
+       <organization>ATT</organization>\r
+       <organizationUrl></organizationUrl>\r
+               </developer>\r
+       </developers>\r
+\r
+  <properties>\r
+    <maven.test.failure.ignore>false</maven.test.failure.ignore>\r
+    <project.swmVersion>21</project.swmVersion>\r
+       <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>\r
+        <nexusproxy>https://nexus.onap.org</nexusproxy>\r
+               <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>\r
+               <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>\r
+               <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>\r
+               <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>\r
+  </properties>\r
+  \r
+  <dependencies>\r
+    <dependency>\r
+      <groupId>org.onap.aaf.cadi</groupId>\r
+      <artifactId>cadi-aaf</artifactId>\r
+    </dependency>\r
+    \r
+    <dependency>\r
+      <groupId>org.onap.aaf.authz</groupId>\r
+      <artifactId>authz-core</artifactId>\r
+    </dependency>\r
+    \r
+    <dependency> \r
+      <groupId>jline</groupId> \r
+      <artifactId>jline</artifactId> \r
+      <version>2.14.2</version> \r
+    </dependency>\r
+\r
+       <dependency>\r
+               <groupId>org.slf4j</groupId>\r
+               <artifactId>slf4j-log4j12</artifactId>\r
+       </dependency>\r
+\r
+  </dependencies>\r
+\r
+       <build>\r
+               <plugins>\r
+                       <plugin>\r
+                               <artifactId>maven-assembly-plugin</artifactId>\r
+                               <version>2.4</version>\r
+                               <configuration>\r
+                                       <classifier>tests</classifier>\r
+                                       <archive>\r
+                                               <manifestEntries>\r
+                                                       <Sealed>true</Sealed>\r
+                                               </manifestEntries>\r
+                                       </archive>\r
+                               </configuration>\r
+                               <executions>\r
+                                       <execution>\r
+                                               <id>full</id>\r
+                                               <phase>package</phase>\r
+                                               <goals>\r
+                                                       <goal>single</goal>\r
+                                               </goals>\r
+                                               <configuration>\r
+                                                       <descriptors>\r
+                                                               <descriptor>src/main/assemble/authz-cmd.xml</descriptor>\r
+                                                       </descriptors>\r
+                                               </configuration>\r
+                                       </execution>\r
+                               </executions>\r
+                       </plugin>\r
+       \r
+                               <plugin>\r
+                                       <groupId>org.apache.maven.plugins</groupId>\r
+                                       <artifactId>maven-deploy-plugin</artifactId>\r
+                                       <configuration>\r
+                                               <skip>true</skip>\r
+                                       </configuration>\r
+                               </plugin>\r
+                               \r
+                               \r
+               <plugin>\r
+                       <groupId>org.apache.maven.plugins</groupId>\r
+                       <artifactId>maven-javadoc-plugin</artifactId>\r
+                       <configuration>\r
+                       <failOnError>false</failOnError>\r
+                       </configuration>\r
+                       <executions>\r
+                               <execution>\r
+                                       <id>attach-javadocs</id>\r
+                                       <goals>\r
+                                               <goal>jar</goal>\r
+                                       </goals>\r
+                               </execution>\r
+                       </executions>\r
+               </plugin> \r
+          \r
+          \r
+              <plugin>\r
+                     <groupId>org.apache.maven.plugins</groupId>\r
+                     <artifactId>maven-source-plugin</artifactId>\r
+                     <version>2.2.1</version>\r
+                     <executions>\r
+                       <execution>\r
+                         <id>attach-sources</id>\r
+                         <goals>\r
+                           <goal>jar-no-fork</goal>\r
+                         </goals>\r
+                       </execution>\r
+                     </executions>\r
+                   </plugin>\r
+                <plugin>\r
+                               <groupId>org.sonatype.plugins</groupId>\r
+                               <artifactId>nexus-staging-maven-plugin</artifactId>\r
+                               <version>1.6.7</version>\r
+                               <extensions>true</extensions>\r
+                               <configuration>\r
+                                       <nexusUrl>${nexusproxy}</nexusUrl>\r
+                                       <stagingProfileId>176c31dfe190a</stagingProfileId>\r
+                                       <serverId>ecomp-staging</serverId>\r
+                               </configuration>\r
+                       </plugin> \r
+               \r
+                       </plugins>\r
+               <pluginManagement>\r
+                       <plugins/>\r
+               </pluginManagement>\r
+       </build>\r
+<distributionManagement>\r
+               <repository>\r
+                       <id>ecomp-releases</id>\r
+                       <name>AAF Release Repository</name>\r
+                       <url>${nexusproxy}${releaseNexusPath}</url>\r
+               </repository>\r
+               <snapshotRepository>\r
+                       <id>ecomp-snapshots</id>\r
+                       <name>AAF Snapshot Repository</name>\r
+                       <url>${nexusproxy}${snapshotNexusPath}</url>\r
+               </snapshotRepository>\r
+               <site>\r
+                       <id>ecomp-site</id>\r
+                       <url>dav:${nexusproxy}${sitePath}</url>\r
+               </site>\r
+       </distributionManagement>\r
+<pluginRepositories>\r
+        <pluginRepository>\r
+            <id>onap-plugin-snapshots</id>\r
+            <url>https://nexus.onap.org/content/repositories/snapshots/</url>\r
+        </pluginRepository>\r
+    </pluginRepositories>\r
+       \r
+       <repositories>\r
+               <repository>\r
+                       <id>central</id>\r
+                       <name>Maven 2 repository 2</name>\r
+                       <url>http://repo2.maven.org/maven2/</url>\r
+               </repository>\r
+               <repository>\r
+            <id>onap-jar-snapshots</id>\r
+            <url>https://nexus.onap.org/content/repositories/snapshots</url>\r
+        </repository>\r
+               <repository>\r
+                       <id>spring-repo</id>\r
+                       <name>Spring repo</name>\r
+                       <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>\r
+               </repository>\r
+               <repository>\r
+                       <id>repository.jboss.org-public</id>\r
+                       <name>JBoss.org Maven repository</name>\r
+                       <url>https://repository.jboss.org/nexus/content/groups/public</url>\r
+               </repository>\r
+       </repositories>\r
+\r
+</project>\r