blob: bca0cd32a370ad7c58cbe43a32cf59277710bb6a [file] [log] [blame]
AviZi280f8012017-06-09 02:39:56 +03001<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5 <modelVersion>4.0.0</modelVersion>
6
7 <properties>
8
9 <groovy.version>2.4.7</groovy.version>
10 <janino.version>2.7.7</janino.version>
11
12 </properties>
13
14 <dependencies>
15 <dependency>
16 <groupId>org.openecomp.sdc</groupId>
17 <artifactId>openecomp-sdc-vendor-software-product-manager</artifactId>
18 <version>1.0-SNAPSHOT</version>
19 </dependency>
20
21 <dependency>
22 <groupId>org.codehaus.groovy</groupId>
23 <artifactId>groovy</artifactId>
24 <version>${groovy.version}</version>
25 </dependency>
26
27 <dependency>
28 <groupId>org.openecomp.sdc.common</groupId>
29 <artifactId>openecomp-configuration-management-core</artifactId>
30 <version>1707.0.0-SNAPSHOT</version>
31 <scope>runtime</scope>
32 <exclusions>
33 <exclusion>
34 <groupId>org.slf4j</groupId>
35 <artifactId>slf4j-log4j12</artifactId>
36 </exclusion>
37 </exclusions>
38 </dependency>
39
40 <dependency>
41 <groupId>org.codehaus.janino</groupId>
42 <artifactId>janino</artifactId>
43 <version>${janino.version}</version>
44 </dependency>
45
46 <dependency>
47 <groupId>org.codehaus.janino</groupId>
48 <artifactId>commons-compiler</artifactId>
49 <version>3.0.6</version>
50 </dependency>
51
52 </dependencies>
53
54 <parent>
55 <groupId>org.openecomp.sdc</groupId>
56 <artifactId>openecomp-sdc-lib</artifactId>
57 <version>1.0-SNAPSHOT</version>
58 </parent>
59
60
61 <artifactId>openecomp-migration-lib</artifactId>
62 <name>openecomp-migration-lib</name>
63 <version>1.0-SNAPSHOT</version>
64
65 <build>
66 <plugins>
67
68 <plugin>
69 <groupId>org.apache.maven.plugins</groupId>
70 <artifactId>maven-dependency-plugin</artifactId>
71 <executions>
72 <execution>
73 <id>copy-dependencies</id>
74 <phase>install</phase>
75 <goals>
76 <goal>copy-dependencies</goal>
77 </goals>
78 <configuration>
79 <outputDirectory>${project.build.directory}/lib</outputDirectory>
80 <overWriteReleases>false</overWriteReleases>
81 <overWriteSnapshots>false</overWriteSnapshots>
82 <overWriteIfNewer>true</overWriteIfNewer>
83 <!--includeScope>runtime</includeScope-->
84 </configuration>
85 </execution>
86 </executions>
87 </plugin>
88
89 <plugin>
90 <groupId>org.apache.maven.plugins</groupId>
91 <artifactId>maven-jar-plugin</artifactId>
92 <executions>
93 <execution>
94 <phase>package</phase>
95 </execution>
96 </executions>
97 <configuration>
98 <archive>
99 <manifest>
100 <addClasspath>true</addClasspath>
101 <classpathPrefix>lib/</classpathPrefix>
102 <mainClass>org.openecomp.sdc.migration.ToscaNamespaceMigration</mainClass>
103 </manifest>
104 <manifestEntries>
105 <Class-Path>lib/</Class-Path>
106 </manifestEntries>
107 </archive>
108 </configuration>
109 </plugin>
110
111 <plugin>
112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-antrun-plugin</artifactId>
114 <executions>
115 <execution>
116 <id>ant-test</id>
117 <phase>package</phase>
118 <configuration>
119 <tasks>
120 <fixcrlf srcdir="../../tools/migration/" eol="unix"
121 includes="1702_to_1707.sh"/>
122 </tasks>
123 </configuration>
124 <goals>
125 <goal>run</goal>
126 </goals>
127 </execution>
128 </executions>
129 </plugin>
130 <plugin>
131 <artifactId>maven-assembly-plugin</artifactId>
132 <executions>
133 <execution>
134 <id>Generate assembly</id>
135 <phase>install</phase>
136 <goals>
137 <goal>single</goal>
138 </goals>
139 </execution>
140 </executions>
141 <configuration>
142 <descriptors>
143 <descriptor>${basedir}/src/main/assembly/migration-lib-assembly.xml</descriptor>
144 </descriptors>
145 <finalName>openecomp-migration-lib</finalName>
146 </configuration>
147 </plugin>
148
149 </plugins>
150 </build>
151</project>