diff options
Diffstat (limited to 'winery/org.eclipse.winery.highlevelrestapi/pom.xml')
-rw-r--r-- | winery/org.eclipse.winery.highlevelrestapi/pom.xml | 135 |
1 files changed, 135 insertions, 0 deletions
diff --git a/winery/org.eclipse.winery.highlevelrestapi/pom.xml b/winery/org.eclipse.winery.highlevelrestapi/pom.xml new file mode 100644 index 0000000..7474246 --- /dev/null +++ b/winery/org.eclipse.winery.highlevelrestapi/pom.xml @@ -0,0 +1,135 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +/******************************************************************************* + * Copyright (c) 2013 University of Stuttgart. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * and the Apache License 2.0 which both accompany this distribution, + * and are available at http://www.eclipse.org/legal/epl-v10.html + * and http://www.apache.org/licenses/LICENSE-2.0 + * + * Contributors: + * Oliver Kopp - initial API and implementation and/or initial documentation + * Tobias Binz - Adds support for building fatJars (including all dependencies) and profile for fatJars + *******************************************************************************/ +--> +<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"> + <modelVersion>4.0.0</modelVersion> + <groupId>org.eclipse.winery</groupId> + <version>0.1.7-SNAPSHOT</version> + <artifactId>org.eclipse.winery.highlevelrestapi</artifactId> + <packaging>jar</packaging> + <url>http://www.eclipse.org/winery</url> + <organization> + <name>Eclipse.org - Winery Project</name> + <url>http://www.eclipse.org/winery</url> + </organization> + <issueManagement> + <system>bugzilla</system> + <url>https://bugs.eclipse.org/bugs</url> + </issueManagement> + <inceptionYear>2012</inceptionYear> + <mailingLists> + <mailingList> + <name>Winery Developer List</name> + <post>winery-dev@eclipse.org</post> + <archive>http://dev.eclipse.org/mhonarc/lists/winery-dev</archive> + </mailingList> + </mailingLists> + <licenses> + <license> + <name>Eclipse Public License v1.0</name> + <url>http://www.eclipse.org/legal/epl-v10.html</url> + <distribution>repo</distribution> + <comments>Standard Eclipse Licence</comments> + </license> + <license> + <name>Apache License, Version 2.0</name> + <url>http://www.apache.org/licenses/LICENSE-2.0</url> + <distribution>repo</distribution> + </license> + </licenses> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> + <profiles> + <profile> + <activation> + <activeByDefault>true</activeByDefault> + </activation> + <id>default</id> + <properties> + <package.fatJar>none</package.fatJar> + </properties> + </profile> + <profile> + <id>fatJar</id> + <properties> + <package.fatJar>package</package.fatJar> + </properties> + </profile> + </profiles> + <dependencies> + <dependency> + <groupId>commons-codec</groupId> + <artifactId>commons-codec</artifactId> + <version>1.3</version> + </dependency> + <dependency> + <!-- NOTE: "The Commons HttpClient project is now end of life, and is no longer being developed." + See http://hc.apache.org/httpclient-3.x/. New project: http://hc.apache.org/httpcomponents-client-ga/ --> + <groupId>commons-httpclient</groupId> + <artifactId>commons-httpclient</artifactId> + <version>3.1</version> + <exclusions> + <!-- provided by jcl-over-slf4j to enable logging via logback --> + <exclusion> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>ch.qos.logback</groupId> + <artifactId>logback-classic</artifactId> + <version>1.1.1</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>jcl-over-slf4j</artifactId> + <version>1.7.6</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.11</version> + <scope>test</scope> + </dependency> + </dependencies> + <build> + <plugins> + <!-- Generates an additional *-jar-with-dependencies.jar --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-assembly-plugin</artifactId> + <version>2.4</version> + <configuration> + <descriptorRefs> + <descriptorRef>jar-with-dependencies</descriptorRef> + </descriptorRefs> + </configuration> + <executions> + <execution> + <id>assemble-all</id> + <phase>${package.fatJar}</phase> + <goals> + <goal>single</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> |