Tool for password cryptography

Tool for password cryptography

Change-Id: I7713c8568a00409e282c250eefe4047458d3edac
Issue-ID: DCAEGEN2-1020
Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
diff --git a/security/crypt-password/pom.xml b/security/crypt-password/pom.xml
new file mode 100644
index 0000000..bdb3bb4
--- /dev/null
+++ b/security/crypt-password/pom.xml
@@ -0,0 +1,54 @@
+<?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">
+
+  <parent>
+    <groupId>org.onap.dcaegen2.services.sdk.security</groupId>
+    <artifactId>dcaegen2-services-sdk-security</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>org.onap.dcaegen2.services.sdk.security.crypt</groupId>
+  <artifactId>crypt-password</artifactId>
+  <version>1.0.0-SNAPSHOT</version>
+
+  <name>dcaegen2-services-sdk-security-crypt-password</name>
+  <description>DMaaP Security Module</description>
+  <packaging>jar</packaging>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.springframework.security</groupId>
+      <artifactId>spring-security-crypto</artifactId>
+      <version>3.1.0.RELEASE</version>
+    </dependency>
+  </dependencies>
+
+    <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-shade-plugin</artifactId>
+            <version>3.2.1</version>
+            <executions>
+              <execution>
+                <phase>package</phase>
+                <goals>
+                  <goal>shade</goal>
+                </goals>
+                <configuration>
+                  <transformers>
+                    <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
+                      <mainClass>org.onap.dcaegen2.services.sdk.security.DecodePassword</mainClass>
+                    </transformer>
+                  </transformers>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+    </build>
+
+</project>
\ No newline at end of file