88300310248e5f8d8cca98258dda9d57895e1e9f
[ccsdk/distribution.git] / dgbuilder / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4
5     <parent>
6         <groupId>org.onap.ccsdk.distribution</groupId>
7         <artifactId>distribution-root</artifactId>
8         <version>0.1.0-SNAPSHOT</version>
9     </parent>
10
11         <modelVersion>4.0.0</modelVersion>
12         <packaging>pom</packaging>
13         <groupId>org.onap.ccsdk.distribution</groupId>
14         <artifactId>dgbuilder</artifactId>
15
16         <version>0.1.0-SNAPSHOT</version>
17
18         <name>Directed Graph Builder</name>
19         <description>Directed Graph Builder</description>
20
21         <properties>
22                 <application.name>dgbuilder</application.name>
23                 <skip.SWM>true</skip.SWM>
24                 <adm.base>/opt/app/dgbuilder</adm.base>
25                 <maven.build.timestamp.format>yyMMdd-HHmmss</maven.build.timestamp.format>
26                 <build.number>${maven.build.timestamp}</build.number>
27                 <SWM_VERSION>${project.version}-${build.number}</SWM_VERSION>
28         </properties>
29
30         <dependencies>
31                 <dependency>
32                         <groupId>org.onap.ccsdk.sli.core</groupId>
33                         <artifactId>sli-common</artifactId>
34                         <version>${sdnctl.sli.version}</version>
35                 </dependency>
36                 <dependency>
37                         <groupId>mysql</groupId>
38                         <artifactId>mysql-connector-java</artifactId>
39                         <version>5.1.31</version>
40                         <type>jar</type>
41                 </dependency>
42                 <dependency>
43                         <groupId>org.antlr</groupId>
44                         <artifactId>antlr4</artifactId>
45                         <version>${antlr.version}</version>
46                         <type>jar</type>
47                         <scope>compile</scope>
48                 </dependency>
49                 <dependency>
50                         <groupId>org.slf4j</groupId>
51                         <artifactId>slf4j-api</artifactId>
52                         <version>${slf4j.version}</version>
53                 </dependency>
54                 <dependency>
55                         <groupId>org.slf4j</groupId>
56                         <artifactId>slf4j-simple</artifactId>
57                         <version>1.7.5</version>
58                         <scope>compile</scope>
59                 </dependency>
60                 <dependency>
61                         <groupId>org.apache.commons</groupId>
62                         <artifactId>commons-lang3</artifactId>
63                         <version>${commons.lang3.version}</version>
64                 </dependency>
65         </dependencies>
66
67         <build>
68                 <plugins>
69                         <plugin>
70                                 <artifactId>maven-assembly-plugin</artifactId>
71                                 <version>2.6</version>
72                                 <executions>
73                                         <execution>
74                                                 <id>create-zip</id>
75                                                 <goals>
76                                                         <goal>single</goal>
77                                                 </goals>
78                                                 <phase>package</phase>
79                                                 <configuration>
80                                                         <finalName>${application.name}.${project.version}</finalName>
81                                                         <attach>true</attach>
82                                                         <descriptors>
83                                                                 <descriptor>src/assembly/assemble_zip.xml</descriptor>
84                                                         </descriptors>
85                                                         <appendAssemblyId>false</appendAssemblyId>
86                                                 </configuration>
87                                         </execution>
88                                 </executions>
89                         </plugin>
90                         <plugin>
91                                 <groupId>org.apache.maven.plugins</groupId>
92                                 <artifactId>maven-dependency-plugin</artifactId>
93                                 <executions>
94                                         <execution>
95                                                 <id>copy-dependencies</id>
96                                                 <goals>
97                                                         <goal>copy-dependencies</goal>
98                                                 </goals>
99                                                 <phase>prepare-package</phase>
100                                                 <configuration>
101                                                         <transitive>false</transitive>
102                                                         <outputDirectory>${project.build.directory}/svclogic/lib</outputDirectory>
103                                                         <overWriteReleases>false</overWriteReleases>
104                                                         <overWriteSnapshots>true</overWriteSnapshots>
105                                                         <overWriteIfNewer>true</overWriteIfNewer>
106                                                         <useRepositoryLayout>false</useRepositoryLayout>
107                                                         <addParentPoms>false</addParentPoms>
108                                                         <copyPom>false</copyPom>
109                                                         <scope>provided</scope>
110                                                 </configuration>
111                                         </execution>
112                                 </executions>
113                         </plugin>
114                         <plugin>
115                                 <groupId>org.apache.maven.plugins</groupId>
116                                 <artifactId>maven-antrun-plugin</artifactId>
117                                 <executions>
118                                         <execution>
119                                         <phase>generate-sources</phase>
120                                         <configuration>
121                                         <tasks>
122                                                 <exec executable="${project.basedir}/build_pom_for_yang_compile">
123                                                         <arg value="${project.parent.version}"/>
124                                                 </exec>
125                                         </tasks>
126                                         </configuration>
127                                         <goals>
128                                                 <goal>run</goal>
129                                 </goals>
130                                 </execution>
131                         </executions>
132                         </plugin>
133                 </plugins>
134         </build>
135         <organization>
136                 <name>ONAP</name>
137         </organization>
138 </project>
139

© 2017 ONAP. Copyright © The Linux Foundation ®. All Rights Reserved.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.
Linux is a registered trademark of Linus Torvalds.
Privacy Policy and Terms of Use