diff options
Diffstat (limited to 'winery/org.eclipse.winery.repository/pom.xml')
-rw-r--r-- | winery/org.eclipse.winery.repository/pom.xml | 511 |
1 files changed, 511 insertions, 0 deletions
diff --git a/winery/org.eclipse.winery.repository/pom.xml b/winery/org.eclipse.winery.repository/pom.xml new file mode 100644 index 0000000..7138039 --- /dev/null +++ b/winery/org.eclipse.winery.repository/pom.xml @@ -0,0 +1,511 @@ +<?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: + * Tobias Unger - initial API and implementation and/or initial documentation + * Oliver Kopp - improvements + *******************************************************************************/ +--> +<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> + <parent> + <groupId>org.eclipse.winery</groupId> + <artifactId>winery</artifactId> + <version>0.1.37-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.winery.repository</artifactId> + <packaging>war</packaging> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> + <dependencies> + <dependency> + <groupId>ch.qos.logback</groupId> + <artifactId>logback-classic</artifactId> + <version>1.1.1</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-databind</artifactId> + <version>2.2.2</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-core</artifactId> + <version>2.2.2</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>com.sun.jersey</groupId> + <artifactId>jersey-core</artifactId> + <version>1.17</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-compress</artifactId> + <version>1.6</version> + <scope>compile</scope> + <exclusions> + <exclusion> + <groupId>org.tukaani</groupId> + <artifactId>xz</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <!-- Version 1.3 is approved by Eclipse, Version 1.4 is not --> + <groupId>org.tukaani</groupId> + <artifactId>xz</artifactId> + <version>1.3</version> + </dependency> + <dependency> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + <version>2.4</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>xerces</groupId> + <artifactId>xercesImpl</artifactId> + <version>2.9.1</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>javax.servlet-api</artifactId> + <version>3.0.1</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.tika</groupId> + <artifactId>tika-core</artifactId> + <version>1.3</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>org.restdoc</groupId> + <artifactId>restdoc-server-jersey</artifactId> + <version>1.0.1</version> + <scope>compile</scope> + <!-- we have to stick with Orbit's versions of the libraries --> + <exclusions> + <exclusion> + <groupId>com.sun.jersey</groupId> + <artifactId>jersey-server</artifactId> + </exclusion> + <exclusion> + <groupId>com.sun.jersey</groupId> + <artifactId>jersey-servlet</artifactId> + </exclusion> + <exclusion> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-core</artifactId> + </exclusion> + <exclusion> + <!-- provided by jersey --> + <groupId>javax.ws.rs</groupId> + <artifactId>jsr311-api</artifactId> + </exclusion> + <exclusion> + <!-- version 2.2.2 explicitly included above --> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-annotations</artifactId> + </exclusion> + <exclusion> + <!-- version 2.2.2 explicitly included above --> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-databind</artifactId> + </exclusion> + <exclusion> + <!-- other version included via logback --> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-api</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>com.sun.jersey.contribs</groupId> + <artifactId>jersey-multipart</artifactId> + <version>1.17</version> + <scope>compile</scope> + <exclusions> + <exclusion> + <groupId>org.jvnet</groupId> + <artifactId>mimepull</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.jvnet.mimepull</groupId> + <artifactId>mimepull</artifactId> + <version>1.9.4</version> + </dependency> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-lang3</artifactId> + <version>3.1</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>org.eclipse.winery</groupId> + <artifactId>org.eclipse.winery.model.selfservice</artifactId> + <!-- in case of a change at the version, adapt about.html --> + <version>0.1.20-SNAPSHOT</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>com.sun.jersey</groupId> + <artifactId>jersey-servlet</artifactId> + <version>1.11</version> + <scope>compile</scope> + <!-- 1.11 depends on server 1.11, but we use 1.17 --> + <exclusions> + <exclusion> + <groupId>com.sun.jersey</groupId> + <artifactId>jersey-server</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>com.sun.jersey</groupId> + <artifactId>jersey-server</artifactId> + <version>1.17</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>jstl</groupId> + <artifactId>jstl</artifactId> + <version>1.2</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>org.eclipse.winery</groupId> + <artifactId>org.eclipse.winery.model.csar.toscametafile</artifactId> + <!-- in case of a change at the version, adapt about.html --> + <version>0.0.4-SNAPSHOT</version> + </dependency> + <!-- use jackson-jaxrs-json-provider instead of jersey-json as suggested by http://stackoverflow.com/a/17006866/873282 --> + <dependency> + <groupId>com.fasterxml.jackson.jaxrs</groupId> + <artifactId>jackson-jaxrs-json-provider</artifactId> + <version>2.2.2</version> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-ext</artifactId> + <version>1.7.2</version> + <scope>compile</scope> + <!-- not approved by Eclipse legal --> + <exclusions> + <exclusion> + <groupId>ch.qos.cal10n</groupId> + <artifactId>cal10n-api</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.eclipse.winery</groupId> + <artifactId>org.eclipse.winery.common</artifactId> + <version>0.1.37-SNAPSHOT</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>org.eclipse.winery</groupId> + <artifactId>org.eclipse.winery.generators.ia</artifactId> + <version>0.1.37-SNAPSHOT</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>org.eclipse.winery</groupId> + <artifactId>org.eclipse.winery.repository.client</artifactId> + <version>0.1.37-SNAPSHOT</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>commons-configuration</groupId> + <artifactId>commons-configuration</artifactId> + <version>1.9</version> + <scope>compile</scope> + <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>org.eclipse.jgit</groupId> + <artifactId>org.eclipse.jgit</artifactId> + <version>3.0.0.201306101825-r</version> + <scope>compile</scope> + </dependency> + <dependency> + <!-- Required for com.sun.xml.bind.namespacePrefixMapper --> + <groupId>com.sun.xml.bind</groupId> + <artifactId>jaxb-impl</artifactId> + <version>2.2.5</version> + </dependency> + <!-- no review, but approval is required for test-only dependencies: http://wiki.eclipse.org/Development_Resources/IP/Test_and_Build_Dependencies --> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.11</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>com.jayway.restassured</groupId> + <artifactId>rest-assured</artifactId> + <version>1.9.0</version> + <scope>test</scope> + </dependency> + </dependencies> + <build> + <resources> + <resource> + <directory>.</directory> + <filtering>true</filtering> + <includes> + <include>about.html</include> + </includes> + </resource> + <resource> + <directory>src/main/resources</directory> + <filtering>true</filtering> + <includes> + <include>winery.properties</include> + <include>logback.xml</include> + <include>logback-test.xml</include> + </includes> + </resource> + <resource> + <directory>src/main/templates</directory> + <includes> + <include>*.java</include> + </includes> + <filtering>true</filtering> + <targetPath>${project.build.directory}/generated-sources/java/org/eclipse/winery/repository</targetPath> + </resource> + </resources> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.1</version> + <configuration> + <source>1.7</source> + <target>1.7</target> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-war-plugin</artifactId> + <version>2.4</version> + <configuration> + <webResources> + <resource> + <directory>${basedir}/src/main/webapp/WEB-INF</directory> + <filtering>true</filtering> + <targetPath>WEB-INF</targetPath> + <includes> + <include>tags/about.tag</include> + <include>tags/genericpage.tag</include> + </includes> + </resource> + </webResources> + <attachClasses>true</attachClasses> + </configuration> + </plugin> + <plugin> + <groupId>com.github.eirslett</groupId> + <artifactId>frontend-maven-plugin</artifactId> + <version>1.0</version> + <!-- optional --> + <configuration> + <nodeVersion>v4.5.0</nodeVersion> + <npmVersion>2.15.9</npmVersion> + <nodeDownloadRoot>https://nodejs.org/dist/</nodeDownloadRoot> + <npmDownloadRoot>https://registry.npmjs.org/npm/-/</npmDownloadRoot> + </configuration> + <executions> + <execution> + <id>install node and npm</id> + <!-- optional: default phase is "generate-resources" --> + <phase>initialize</phase> + <goals> + <goal>install-node-and-npm</goal> + <goal>npm</goal> + </goals> + </execution> + <execution> + <id>bower install</id> + <phase>initialize</phase> + <goals> + <goal>bower</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <artifactId>maven-antrun-plugin</artifactId> + <version>1.7</version> + <executions> + <execution> + <phase>generate-sources</phase> + <id>default-cli</id> + <configuration> + <target> + <copy todir="${project.basedir}/src/main/webapp/WEB-INF/tags/common" overwrite="true"> + <fileset dir="${project.basedir}/../org.eclipse.winery.topologymodeler/src/main/webapp/WEB-INF/tags/common" /> + </copy> + <copy todir="${project.basedir}/src/main/webapp/jsp/shared" overwrite="true"> + <fileset dir="${project.basedir}/../org.eclipse.winery.topologymodeler/src/main/webapp/jsp/shared" /> + </copy> + <copy todir="${project.basedir}/src/main/webapp/WEB-INF" overwrite="true" file="${project.basedir}/../org.eclipse.winery.topologymodeler/src/main/webapp/WEB-INF/common-functions.tld" /> + <copy todir="${project.basedir}/src/main/webapp/js" overwrite="true" file="${project.basedir}/../org.eclipse.winery.topologymodeler/src/main/webapp/js/winery-common-topologyrendering.js" /> + <copy todir="${project.basedir}/src/main/webapp/js" overwrite="true" file="${project.basedir}/../org.eclipse.winery.topologymodeler/src/main/webapp/js/winery-support-common.js" /> + </target> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <artifactId>maven-clean-plugin</artifactId> + <version>2.5</version> + <configuration> + <filesets> + <fileset> + <!-- delete the files copied by generate source / the ant-task above. This ensures that deleted files being deleted at the topology modeler are also deleted at the repository --> + <directory>${project.basedir}/src/main/webapp/WEB-INF/tags/common</directory> + <excludes> + <exclude>.gitignore</exclude> + </excludes> + <followSymlinks>false</followSymlinks> + </fileset> + <fileset> + <!-- delete the files copied by generate source / the ant-task above. This ensures that deleted files being deleted at the topology modeler are also deleted at the repository --> + <directory>${project.basedir}/src/main/webapp/jsp/shared</directory> + <excludes> + <exclude>.gitignore</exclude> + </excludes> + <followSymlinks>false</followSymlinks> + </fileset> + </filesets> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>2.16</version> + <configuration> + <skipTests>true</skipTests> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>1.8</version> + <executions> + <execution> + <id>add-source</id> + <phase>generate-sources</phase> + <goals> + <goal>add-source</goal> + </goals> + <configuration> + <sources> + <source>${project.build.directory}/generated-sources/java/</source> + </sources> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + <finalName>winery</finalName> + <pluginManagement> + <plugins> + <plugin> + <!-- hint by http://wiki.eclipse.org/M2E_plugin_execution_not_covered --> + <groupId>org.eclipse.m2e</groupId> + <artifactId>lifecycle-mapping</artifactId> + <version>1.0.0</version> + <configuration> + <lifecycleMappingMetadata> + <pluginExecutions> + <pluginExecution> + <pluginExecutionFilter> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <versionRange>[1.0.0,)</versionRange> + <goals> + <goal>run</goal> + </goals> + </pluginExecutionFilter> + <action> + <ignore /> + </action> + </pluginExecution> + <pluginExecution> + <pluginExecutionFilter> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-resources-plugin</artifactId> + <versionRange>[1.0.0,)</versionRange> + <goals> + <goal>resources</goal> + </goals> + </pluginExecutionFilter> + <action> + <execute> + <runOnConfiguration>true</runOnConfiguration> + <runOnIncremental>false</runOnIncremental> + </execute> + </action> + </pluginExecution> + <pluginExecution> + <pluginExecutionFilter> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <versionRange>[1.0,)</versionRange> + <goals> + <goal>parse-version</goal> + <goal>add-source</goal> + <goal>maven-version</goal> + <goal>add-resource</goal> + <goal>add-test-resource</goal> + <goal>add-test-source</goal> + </goals> + </pluginExecutionFilter> + <action> + <execute> + <runOnConfiguration>true</runOnConfiguration> + <runOnIncremental>true</runOnIncremental> + </execute> + </action> + </pluginExecution> + </pluginExecutions> + </lifecycleMappingMetadata> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> +</project> |