blob: 8ec1088580b049f5e938256016ed437889e6db08 [file] [log] [blame]
Skip Wonnell2c977e22018-03-01 08:30:15 -06001<!--
2============LICENSE_START==========================================
3===================================================================
4Copyright (C) 2018 AT&T Intellectual Property. All rights reserved.
5===================================================================
6
7Unless otherwise specified, all software contained herein is licensed
8under the Apache License, Version 2.0 (the License);
9you may not use this software except in compliance with the License.
10You may obtain a copy of the License at
11
12 http://www.apache.org/licenses/LICENSE-2.0
13
14Unless required by applicable law or agreed to in writing, software
15distributed under the License is distributed on an "AS IS" BASIS,
16WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17See the License for the specific language governing permissions and
18limitations under the License.
19
20ECOMP is a trademark and service mark of AT&T Intellectual Property.
21============LICENSE_END============================================ -->
22
23<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25 <modelVersion>4.0.0</modelVersion>
26 <groupId>com.att.appc</groupId>
27 <artifactId>config-design-tool</artifactId>
28 <version>1.6.0-SNAPSHOT</version>
29 <packaging>pom</packaging>
30
31 <name>config-design-tool</name>
32
33 <properties>
34 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
35 <npm.executable>npm</npm.executable>
36 </properties>
37
38
39 <!-- ================================================================================== -->
40 <!-- The SCM repository we are using -->
41 <!-- ================================================================================== -->
42 <scm>
43 <connection>scm:git:ssh://codecloud.web.att.com:7999/st_ac/app-c.git</connection>
44 <developerConnection>scm:git:ssh://codecloud.web.att.com:7999/st_ac/app-c.git</developerConnection>
45 <url>ssh://codecloud.web.att.com:7999/st_ac/app-c.git</url>
46 <tag>appc-1.4.17</tag>
47 </scm>
48
49 <!-- ================================================================================== -->
50 <!-- Maven Central Repository Information -->
51 <!-- ================================================================================== -->
52 <distributionManagement>
53 <repository>
54 <id>nexus</id>
55 <name>att-repository-releases</name>
56 <url>http://mavencentral.it.att.com:8084/nexus/content/repositories/att-repository-releases</url>
57 </repository>
58 <snapshotRepository>
59 <id>nexus</id>
60 <name>att-repository-snapshots</name>
61 <url>http://mavencentral.it.att.com:8084/nexus/content/repositories/att-repository-snapshots</url>
62 </snapshotRepository>
63 </distributionManagement>
64
65 <!-- ================================================================================== -->
66 <!-- Define additional repositories -->
67 <!-- ================================================================================== -->
68 <repositories>
69
70 </repositories>
71
72
73 <dependencies>
74 <dependency>
75 <groupId>junit</groupId>
76 <artifactId>junit</artifactId>
77 <version>3.8.1</version>
78 <scope>test</scope>
79 </dependency>
80 </dependencies>
81
82 <build>
83 <plugins>
84 <!-- <plugin>
85 <groupId>org.codehaus.mojo</groupId>
86 <artifactId>exec-maven-plugin</artifactId>
87 <version>1.5.0</version>
88 <executions>
89 <execution>
90 <id>npminstall</id>
91 <phase>process-resources</phase>
92 <configuration>
93 <executable>${npm.executable}</executable>
94 <arguments>
95 <argument>install</argument>
96
97 </arguments>
98 </configuration>
99 <goals>
100 <goal>exec</goal>
101 </goals>
102 </execution>
103 <execution>
104 <id>npmrun</id>
105 <phase>process-resources</phase>
106 <configuration>
107 <executable>${npm.executable}</executable>
108 <arguments>
109 <argument>run</argument>
110 <argument>build</argument>
111 </arguments>
112 </configuration>
113 <goals>
114 <goal>exec</goal>
115 </goals>
116 </execution>
117 </executions>
118 </plugin> -->
119 <plugin>
120 <artifactId>maven-assembly-plugin</artifactId>
121 <version>2.5.3</version>
122 <configuration>
123 <descriptors>
124 <descriptor>src/main/assembly/assembly.xml</descriptor>
125 </descriptors>
126 </configuration>
127 </plugin>
128 <plugin>
129 <groupId>org.codehaus.mojo</groupId>
130 <artifactId>build-helper-maven-plugin</artifactId>
131 <version>1.12</version>
132 <executions>
133 <execution>
134 <id>attach-artifacts</id>
135 <phase>package</phase>
136 <goals>
137 <goal>attach-artifact</goal>
138 </goals>
139 <configuration>
140 <artifacts>
141 <artifact>
142 <file>target/${project.artifactId}-${project.version}-zip.zip</file>
143 <type>zip</type>
144 </artifact>
145 </artifacts>
146 </configuration>
147 </execution>
148 </executions>
149 </plugin>
150 <!-- <plugin> -->
151 <!-- <groupId>org.apache.maven.plugins</groupId> -->
152 <!-- <artifactId>maven-resources-plugin</artifactId> -->
153 <!-- <version>2.4.2</version> -->
154 <!-- <executions> -->
155 <!-- <execution> -->
156 <!-- <id>default-copy-resources</id> -->
157 <!-- <phase>process-resources</phase> -->
158 <!-- <goals> -->
159 <!-- <goal>copy-resources</goal> -->
160 <!-- </goals> -->
161 <!-- <configuration> -->
162 <!-- <format>zip</format> -->
163 <!-- <overwrite>true</overwrite> -->
164 <!-- <outputDirectory>${project.build.directory}/${project.artifactId}-${project.version}/</outputDirectory> -->
165 <!-- <resources> -->
166 <!-- <resource> -->
167 <!-- <directory>${project.basedir}/dist</directory> -->
168 <!-- </resource> -->
169 <!-- </resources> -->
170 <!-- </configuration> -->
171 <!-- </execution> -->
172 <!-- </executions> -->
173 <!-- </plugin> -->
174 </plugins>
175 </build>
176 <profiles>
177 <profile>
178 <id>platform-windows</id>
179 <activation>
180 <os>
181 <family>windows</family>
182 </os>
183 </activation>
184 <properties>
185 <!-- Override the executable names for Windows -->
186 <npm.executable>npm.cmd</npm.executable>
187 <grunt.executable>grunt.cmd</grunt.executable>
188 <bower.executable>bower.cmd</bower.executable>
189 </properties>
190 </profile>
191 </profiles>
192
193</project>