Add winery source code
[vfc/nfvo/wfengine.git] / winery / org.eclipse.winery.topologymodeler / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 /*******************************************************************************
4  * Copyright (c) 2013 University of Stuttgart.
5  * All rights reserved. This program and the accompanying materials
6  * are made available under the terms of the Eclipse Public License v1.0
7  * and the Apache License 2.0 which both accompany this distribution,
8  * and are available at http://www.eclipse.org/legal/epl-v10.html
9  * and http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Contributors:
12  *      Tobias Unger - initial API and implementation and/or initial documentation
13  *      Oliver Kopp - improvements
14  *******************************************************************************/
15 -->
16 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
17         <modelVersion>4.0.0</modelVersion>
18         <parent>
19                 <groupId>org.eclipse.winery</groupId>
20                 <artifactId>winery</artifactId>
21                 <version>0.1.37-SNAPSHOT</version>
22         </parent>
23         <artifactId>org.eclipse.winery.topologymodeler</artifactId>
24         <packaging>war</packaging>
25         <properties>
26                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
27         </properties>
28         <dependencies>
29                 <dependency>
30                         <groupId>com.sun.jersey</groupId>
31                         <artifactId>jersey-server</artifactId>
32                         <version>1.17.1</version>
33                         <scope>compile</scope>
34                         <exclusions>
35                                 <exclusion>
36                                         <artifactId>commons-logging</artifactId>
37                                         <groupId>commons-logging</groupId>
38                                 </exclusion>
39                         </exclusions>
40                 </dependency>
41                 <dependency>
42                         <groupId>com.sun.jersey</groupId>
43                         <artifactId>jersey-servlet</artifactId>
44                         <version>1.17.1</version>
45                         <scope>compile</scope>
46                         <exclusions>
47                                 <exclusion>
48                                         <artifactId>commons-logging</artifactId>
49                                         <groupId>commons-logging</groupId>
50                                 </exclusion>
51                         </exclusions>
52                 </dependency>
53                 <dependency>
54                         <groupId>com.sun.jersey</groupId>
55                         <artifactId>jersey-core</artifactId>
56                         <version>1.17.1</version>
57                         <scope>compile</scope>
58                         <exclusions>
59                                 <exclusion>
60                                         <artifactId>commons-logging</artifactId>
61                                         <groupId>commons-logging</groupId>
62                                 </exclusion>
63                         </exclusions>
64                 </dependency>
65                 <dependency>
66                         <groupId>org.eclipse.winery</groupId>
67                         <artifactId>org.eclipse.winery.repository.client</artifactId>
68                         <version>0.1.37-SNAPSHOT</version>
69                         <scope>compile</scope>
70                         <exclusions>
71                         <exclusion>
72                                 <artifactId>commons-logging</artifactId>
73                                 <groupId>commons-logging</groupId>
74                         </exclusion>
75                         </exclusions>
76                 </dependency>
77                 <dependency>
78                         <groupId>org.apache.commons</groupId>
79                         <artifactId>commons-lang3</artifactId>
80                         <version>3.1</version>
81                         <scope>compile</scope>
82                         <exclusions>
83                         <exclusion>
84                                 <artifactId>commons-logging</artifactId>
85                                 <groupId>commons-logging</groupId>
86                         </exclusion>
87                         </exclusions>
88                 </dependency>
89                 <dependency>
90                         <groupId>ch.qos.logback</groupId>
91                         <artifactId>logback-classic</artifactId>
92                         <version>1.1.1</version>
93                         <scope>compile</scope>
94                 </dependency>
95                 <dependency>
96                         <groupId>org.slf4j</groupId>
97                         <artifactId>jcl-over-slf4j</artifactId>
98                         <version>1.7.6</version>
99                         <scope>compile</scope>
100                 </dependency>
101         </dependencies>
102         <build>
103                 <plugins>
104                         <plugin>
105                                 <groupId>org.apache.maven.plugins</groupId>
106                                 <artifactId>maven-war-plugin</artifactId>
107                                 <version>2.4</version>
108                                 <configuration>
109                                         <webResources>
110                                                 <resource>
111                                                         <directory>${basedir}/src/main/webapp/WEB-INF</directory>
112                                                         <filtering>true</filtering>
113                                                         <targetPath>WEB-INF</targetPath>
114                                                         <includes>
115                                                                 <include>tags/about.tag</include>
116                                                         </includes>
117                                                 </resource>
118                                         </webResources>
119                                         <attachClasses>true</attachClasses> 
120                                 </configuration>
121                         </plugin>
122                         <plugin>
123                                 <groupId>org.apache.maven.plugins</groupId>
124                                 <artifactId>maven-compiler-plugin</artifactId>
125                                 <version>3.1</version>
126                                 <configuration>
127                                         <source>1.7</source>
128                                         <target>1.7</target>
129                                 </configuration>
130                         </plugin>
131                         <plugin>
132                                 <groupId>com.github.eirslett</groupId>
133                                 <artifactId>frontend-maven-plugin</artifactId>
134                                 <version>1.0</version>
135                                 <!-- optional -->
136                                 <configuration>
137                                         <nodeVersion>v4.5.0</nodeVersion>
138                                         <npmVersion>2.15.9</npmVersion>
139                                         <nodeDownloadRoot>https://nodejs.org/dist/</nodeDownloadRoot>
140                                         <npmDownloadRoot>https://registry.npmjs.org/npm/-/</npmDownloadRoot>
141                                 </configuration>
142                                 <executions>
143                                         <execution>
144                                                 <id>install node and npm</id>
145                                                 <!-- optional: default phase is "generate-resources" -->
146                                                 <phase>initialize</phase>
147                                                 <goals>
148                                                         <goal>install-node-and-npm</goal>
149                                                         <goal>npm</goal>
150                                                 </goals>
151                                         </execution>
152                                         <execution>
153                                                 <id>bower install</id>
154                                                 <phase>initialize</phase>
155                                                 <goals>
156                                                         <goal>bower</goal>
157                                                 </goals>
158                                         </execution>
159                                 </executions>
160                         </plugin>
161                 </plugins>
162                 <finalName>winery-topologymodeler</finalName>
163                 <pluginManagement>
164                         <plugins>
165                                 <plugin>
166                                         <!-- hint by http://wiki.eclipse.org/M2E_plugin_execution_not_covered -->
167                                         <groupId>org.eclipse.m2e</groupId>
168                                         <artifactId>lifecycle-mapping</artifactId>
169                                         <version>1.0.0</version>
170                                         <configuration>
171                                                 <lifecycleMappingMetadata>
172                                                         <pluginExecutions>
173                                                                 <pluginExecution>
174                                                                         <pluginExecutionFilter>
175                                                                                 <groupId>org.apache.maven.plugins</groupId>
176                                                                                 <artifactId>maven-antrun-plugin</artifactId>
177                                                                                 <versionRange>[1.0.0,)</versionRange>
178                                                                                 <goals>
179                                                                                         <goal>run</goal>
180                                                                                 </goals>
181                                                                         </pluginExecutionFilter>
182                                                                         <action>
183                                                                                 <ignore />
184                                                                         </action>
185                                                                 </pluginExecution>
186                                                         </pluginExecutions>
187                                                 </lifecycleMappingMetadata>
188                                         </configuration>
189                                 </plugin>
190                         </plugins>
191                 </pluginManagement>
192         </build>
193 </project>