Dan Timoney | b217558 | 2017-03-31 17:47:19 -0400 | [diff] [blame] | 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.openecomp.sdnc.oam</groupId> |
| 7 | <artifactId>sdnc-oam</artifactId> |
Dan Timoney | 139e1b5 | 2017-04-26 08:13:03 -0400 | [diff] [blame] | 8 | <version>1.1.1-SNAPSHOT</version> |
Dan Timoney | b217558 | 2017-03-31 17:47:19 -0400 | [diff] [blame] | 9 | </parent> |
| 10 | |
| 11 | <modelVersion>4.0.0</modelVersion> |
| 12 | <packaging>pom</packaging> |
| 13 | <groupId>org.openecomp.sdnc.oam</groupId> |
| 14 | <artifactId>dgbuilder</artifactId> |
| 15 | |
Dan Timoney | 139e1b5 | 2017-04-26 08:13:03 -0400 | [diff] [blame] | 16 | <version>1.1.1-SNAPSHOT</version> |
Dan Timoney | b217558 | 2017-03-31 17:47:19 -0400 | [diff] [blame] | 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.openecomp.sdnc.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 | <executions> |
| 72 | <execution> |
| 73 | <id>create-zip</id> |
| 74 | <goals> |
| 75 | <goal>single</goal> |
| 76 | </goals> |
| 77 | <phase>package</phase> |
| 78 | <configuration> |
| 79 | <finalName>${application.name}.${project.version}</finalName> |
| 80 | <attach>true</attach> |
| 81 | <descriptors> |
| 82 | <descriptor>src/assembly/assemble_zip.xml</descriptor> |
| 83 | </descriptors> |
| 84 | </configuration> |
| 85 | </execution> |
| 86 | </executions> |
| 87 | </plugin> |
| 88 | <plugin> |
| 89 | <groupId>org.apache.maven.plugins</groupId> |
| 90 | <artifactId>maven-dependency-plugin</artifactId> |
| 91 | <executions> |
| 92 | <execution> |
| 93 | <id>copy-dependencies</id> |
| 94 | <goals> |
| 95 | <goal>copy-dependencies</goal> |
| 96 | </goals> |
| 97 | <phase>prepare-package</phase> |
| 98 | <configuration> |
| 99 | <transitive>false</transitive> |
| 100 | <outputDirectory>${project.build.directory}/svclogic/lib</outputDirectory> |
| 101 | <overWriteReleases>false</overWriteReleases> |
| 102 | <overWriteSnapshots>true</overWriteSnapshots> |
| 103 | <overWriteIfNewer>true</overWriteIfNewer> |
| 104 | <useRepositoryLayout>false</useRepositoryLayout> |
| 105 | <addParentPoms>false</addParentPoms> |
| 106 | <copyPom>false</copyPom> |
| 107 | <scope>provided</scope> |
| 108 | </configuration> |
| 109 | </execution> |
| 110 | </executions> |
| 111 | </plugin> |
Chinthakayala, Sheshashailavas | 4cc1e4b | 2017-04-07 08:18:56 -0900 | [diff] [blame] | 112 | <plugin> |
| 113 | <groupId>org.apache.maven.plugins</groupId> |
| 114 | <artifactId>maven-antrun-plugin</artifactId> |
| 115 | <executions> |
| 116 | <execution> |
| 117 | <phase>generate-sources</phase> |
| 118 | <configuration> |
Dan Timoney | 9e9f964 | 2017-04-24 14:48:08 -0400 | [diff] [blame] | 119 | <tasks> |
| 120 | <exec executable="${project.basedir}/build_pom_for_yang_compile"> |
| 121 | <arg value="${project.parent.version}"/> |
| 122 | </exec> |
| 123 | </tasks> |
Chinthakayala, Sheshashailavas | 4cc1e4b | 2017-04-07 08:18:56 -0900 | [diff] [blame] | 124 | </configuration> |
| 125 | <goals> |
| 126 | <goal>run</goal> |
| 127 | </goals> |
| 128 | </execution> |
| 129 | </executions> |
| 130 | </plugin> |
Dan Timoney | b217558 | 2017-03-31 17:47:19 -0400 | [diff] [blame] | 131 | </plugins> |
| 132 | </build> |
| 133 | |
| 134 | <organization> |
| 135 | <name>AT&T</name> |
| 136 | </organization> |
| 137 | </project> |
| 138 | |