7474246d7c9b1e7b0d44ab372f872e72dfae49a0
[vfc/nfvo/wfengine.git] / winery / org.eclipse.winery.highlevelrestapi / 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  *    Oliver Kopp - initial API and implementation and/or initial documentation
13  *    Tobias Binz - Adds support for building fatJars (including all dependencies) and profile for fatJars
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         <groupId>org.eclipse.winery</groupId>
19         <version>0.1.7-SNAPSHOT</version>
20         <artifactId>org.eclipse.winery.highlevelrestapi</artifactId>
21         <packaging>jar</packaging>
22         <url>http://www.eclipse.org/winery</url>
23         <organization>
24                 <name>Eclipse.org - Winery Project</name>
25                 <url>http://www.eclipse.org/winery</url>
26         </organization>
27         <issueManagement>
28                 <system>bugzilla</system>
29                 <url>https://bugs.eclipse.org/bugs</url>
30         </issueManagement>
31         <inceptionYear>2012</inceptionYear>
32         <mailingLists>
33                 <mailingList>
34                         <name>Winery Developer List</name>
35                         <post>winery-dev@eclipse.org</post>
36                         <archive>http://dev.eclipse.org/mhonarc/lists/winery-dev</archive>
37                 </mailingList>
38         </mailingLists>
39         <licenses>
40                 <license>
41                         <name>Eclipse Public License v1.0</name>
42                         <url>http://www.eclipse.org/legal/epl-v10.html</url>
43                         <distribution>repo</distribution>
44                         <comments>Standard Eclipse Licence</comments>
45                 </license>
46                 <license>
47                         <name>Apache License, Version 2.0</name>
48                         <url>http://www.apache.org/licenses/LICENSE-2.0</url>
49                         <distribution>repo</distribution>
50                 </license>
51         </licenses>
52         <properties>
53                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
54         </properties>
55         <profiles>
56                 <profile>
57                         <activation>
58                                 <activeByDefault>true</activeByDefault>
59                         </activation>
60                         <id>default</id>
61                         <properties>
62                                 <package.fatJar>none</package.fatJar>
63                         </properties>
64                 </profile>
65                 <profile>
66                         <id>fatJar</id>
67                         <properties>
68                                 <package.fatJar>package</package.fatJar>
69                         </properties>
70                 </profile>
71         </profiles>
72         <dependencies>
73                 <dependency>
74                         <groupId>commons-codec</groupId>
75                         <artifactId>commons-codec</artifactId>
76                         <version>1.3</version>
77                 </dependency>
78                 <dependency>
79                         <!-- NOTE: "The Commons HttpClient project is now end of life, and is no longer being developed."
80                                  See http://hc.apache.org/httpclient-3.x/. New project: http://hc.apache.org/httpcomponents-client-ga/ -->
81                         <groupId>commons-httpclient</groupId>
82                         <artifactId>commons-httpclient</artifactId>
83                         <version>3.1</version>
84                         <exclusions>
85                                 <!-- provided by jcl-over-slf4j to enable logging via logback -->
86                                 <exclusion>
87                                         <groupId>commons-logging</groupId>
88                                         <artifactId>commons-logging</artifactId>
89                                 </exclusion>
90                         </exclusions>
91                 </dependency>
92                 <dependency>
93                         <groupId>ch.qos.logback</groupId>
94                         <artifactId>logback-classic</artifactId>
95                         <version>1.1.1</version>
96                         <scope>compile</scope>
97                 </dependency>
98                 <dependency>
99                         <groupId>org.slf4j</groupId>
100                         <artifactId>jcl-over-slf4j</artifactId>
101                         <version>1.7.6</version>
102                         <scope>compile</scope>
103                 </dependency>
104                 <dependency>
105                         <groupId>junit</groupId>
106                         <artifactId>junit</artifactId>
107                         <version>4.11</version>
108                         <scope>test</scope>
109                 </dependency>
110         </dependencies>
111         <build>
112                 <plugins>
113                         <!-- Generates an additional *-jar-with-dependencies.jar -->
114                         <plugin>
115                                 <groupId>org.apache.maven.plugins</groupId>
116                                 <artifactId>maven-assembly-plugin</artifactId>
117                                 <version>2.4</version>
118                                 <configuration>
119                                         <descriptorRefs>
120                                                 <descriptorRef>jar-with-dependencies</descriptorRef>
121                                         </descriptorRefs>
122                                 </configuration>
123                                 <executions>
124                                         <execution>
125                                                 <id>assemble-all</id>
126                                                 <phase>${package.fatJar}</phase>
127                                                 <goals>
128                                                         <goal>single</goal>
129                                                 </goals>
130                                         </execution>
131                                 </executions>
132                         </plugin>
133                 </plugins>
134         </build>
135 </project>