blob: 01603fc5e77f88ec3e509701b6f74b4128d85c26 [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 <artifactId>openecomp-migration-lib</artifactId>
8 <name>openecomp-migration-lib</name>
9
10 <parent>
11 <groupId>org.openecomp.sdc</groupId>
12 <artifactId>openecomp-sdc-lib</artifactId>
13 <version>1.1.0-SNAPSHOT</version>
14 <relativePath>..</relativePath>
15 </parent>
16
17 <properties>
18 <groovy.version>2.4.7</groovy.version>
19 <janino.version>2.7.7</janino.version>
20 </properties>
21
22 <dependencies>
23 <dependency>
24 <groupId>org.openecomp.sdc</groupId>
25 <artifactId>openecomp-sdc-vendor-software-product-manager</artifactId>
26 <version>${project.version}</version>
27 </dependency>
28
29 <dependency>
30 <groupId>org.codehaus.groovy</groupId>
31 <artifactId>groovy</artifactId>
32 <version>${groovy.version}</version>
33 </dependency>
34
35 <dependency>
36 <groupId>org.openecomp.sdc.common</groupId>
37 <artifactId>openecomp-configuration-management-core</artifactId>
38 <version>${openecomp.sdc.common.version}</version>
39 <scope>runtime</scope>
40 <exclusions>
41 <exclusion>
42 <groupId>org.slf4j</groupId>
43 <artifactId>slf4j-log4j12</artifactId>
44 </exclusion>
45 </exclusions>
46 </dependency>
47
48 <dependency>
49 <groupId>org.codehaus.janino</groupId>
50 <artifactId>janino</artifactId>
51 <version>${janino.version}</version>
52 </dependency>
53
54 <dependency>
55 <groupId>org.openecomp.core</groupId>
56 <artifactId>openecomp-zusammen-core</artifactId>
57 <version>${project.version}</version>
58 </dependency>
59
60 <dependency>
61 <groupId>org.codehaus.janino</groupId>
62 <artifactId>commons-compiler</artifactId>
63 <version>3.0.6</version>
64 </dependency>
65
66 </dependencies>
67
68 <build>
69 <plugins>
70
71 <plugin>
72 <groupId>org.apache.maven.plugins</groupId>
73 <artifactId>maven-dependency-plugin</artifactId>
74 <executions>
75 <execution>
76 <id>copy-dependencies</id>
77 <phase>install</phase>
78 <goals>
79 <goal>copy-dependencies</goal>
80 </goals>
81 <configuration>
82 <outputDirectory>${project.build.directory}/lib</outputDirectory>
83 <overWriteReleases>false</overWriteReleases>
84 <overWriteSnapshots>false</overWriteSnapshots>
85 <overWriteIfNewer>true</overWriteIfNewer>
86 <!--includeScope>runtime</includeScope-->
87 </configuration>
88 </execution>
89 </executions>
90 </plugin>
91
92 <plugin>
93 <groupId>org.apache.maven.plugins</groupId>
94 <artifactId>maven-jar-plugin</artifactId>
95 <version>${mvn.jar.version}</version>
96 <executions>
97 <execution>
98 <phase>package</phase>
99 </execution>
100 </executions>
101 <configuration>
102 <archive>
103 <manifest>
104 <addClasspath>true</addClasspath>
105 <classpathLayoutType>custom</classpathLayoutType>
106 <customClasspathLayout>lib/${artifact.artifactId}-${baseVersion}.${artifact.extension}</customClasspathLayout>
107 <mainClass>org.openecomp.sdc.migration.ToscaNamespaceMigration</mainClass>
108 </manifest>
109 <manifestEntries>
110 <Class-Path>lib/</Class-Path>
111 </manifestEntries>
112 </archive>
113 </configuration>
114 </plugin>
115
116 <plugin>
117 <groupId>org.apache.maven.plugins</groupId>
118 <artifactId>maven-surefire-plugin</artifactId>
119 <version>2.19.1</version>
120 <configuration>
121 <useSystemClassLoader>false</useSystemClassLoader>
122 <redirectTestOutputToFile>true</redirectTestOutputToFile>
123 </configuration>
124 </plugin>
125
126 <plugin>
127 <groupId>com.google.code.maven-replacer-plugin</groupId>
128 <artifactId>maven-replacer-plugin</artifactId>
129 <version>1.3.5</version>
130 <executions>
131 <execution>
132 <id>replace-for-migration</id>
133 <phase>initialize</phase>
134 <goals>
135 <goal>replace</goal>
136 </goals>
137 <configuration>
138 <file>../../tools/migration/1702_to_1707.sh</file>
139 <preserveDir>false</preserveDir>
140 <outputDir>target</outputDir>
141 <replacements>
142 <replacement>
143 <token>1707.0.0-SNAPSHOT</token>
144 <value>${project.version}</value>
145 </replacement>
146 </replacements>
147 </configuration>
148 </execution>
149 </executions>
150 </plugin>
151
152 <plugin>
153 <groupId>org.apache.maven.plugins</groupId>
154 <artifactId>maven-antrun-plugin</artifactId>
155 <executions>
156 <execution>
157 <id>ant-test</id>
158 <phase>package</phase>
159 <configuration>
160 <tasks>
161 <fixcrlf srcdir="target" eol="unix" includes="1702_to_1707.sh"/>
162 </tasks>
163 </configuration>
164 <goals>
165 <goal>run</goal>
166 </goals>
167 </execution>
168 </executions>
169 </plugin>
170 <!--<plugin>
171 <artifactId>maven-assembly-plugin</artifactId>
172 <version>${mvn.assembly.version}</version>
173 <executions>
174 <execution>
175 <id>Generate assembly</id>
176 <phase>install</phase>
177 <goals>
178 <goal>single</goal>
179 </goals>
180 </execution>
181 </executions>
182 <configuration>
183 <descriptors>
184 <descriptor>${basedir}/src/main/assembly/migration-lib-assembly.xml</descriptor>
185 </descriptors>
186 <finalName>openecomp-migration-lib</finalName>
187 </configuration>
188 </plugin>-->
189
190 </plugins>
191 </build>
192</project>