discovery-directory-servlet
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.joynr.java.backend-services</groupId> <artifactId>discovery-directory-servlet</artifactId> <version>1.0.5</version> </dependency>
<!-- #%L %% Copyright (C) 2011 - 2017 BMW Car IT GmbH %% Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. #L% --> <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>io.joynr.java.backend-services</groupId> <artifactId>discovery-directory-servlet</artifactId> <packaging>war</packaging> <name>${project.groupId}:${project.artifactId}</name> <parent> <groupId>io.joynr.java</groupId> <artifactId>backend-services</artifactId> <version>1.0.5</version> <relativePath>../pom.xml</relativePath> </parent> <dependencies> <dependency> <groupId>io.joynr.java.messaging</groupId> <artifactId>messaging-servlet</artifactId> <version>${project.version}</version> <classifier>classes</classifier> <type>jar</type> </dependency> <dependency> <groupId>io.joynr.java.messaging</groupId> <artifactId>messaging-servlet</artifactId> <version>${project.version}</version> <type>war</type> </dependency> <dependency> <groupId>io.joynr.java.backend-services</groupId> <artifactId>capabilities-directory</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> </dependency> <dependency> <groupId>net.logstash.log4j</groupId> <artifactId>jsonevent-layout</artifactId> </dependency> <dependency> <groupId>com.sun.jersey.jersey-test-framework</groupId> <artifactId>jersey-test-framework-grizzly2</artifactId> <scope>test</scope> <exclusions> <exclusion> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> </exclusion> </exclusions> </dependency> <!-- The sources of javassist must be added to the WAR due to its LGPL-2.1 license. It is pulled in as transitive dependency: io.joynr.java.messaging:messaging-servlet:jar:classes:1.0.5:compile +- org.reflections:reflections:jar:0.9.8:compile | +- javassist:javassist:jar:3.12.1.GA:compile Please double check the correct version if these dependencies change. --> <dependency> <groupId>javassist</groupId> <artifactId>javassist</artifactId> <classifier>sources</classifier> </dependency> <!-- The sources of hibernate-entitymanager. hibernate-core and hibernate-commons-annotations must be added to the WAR due to its LGPL-2.1 license. It is pulled in as transitive dependency: +- io.joynr.java.backend-services:capabilities-directory:jar:1.0.5:compile | +- org.hibernate:hibernate-entitymanager:jar:4.3.8.Final:compile | | +- org.hibernate:hibernate-core:jar:4.3.8.Final:compile | | +- org.hibernate.common:hibernate-commons-annotations:jar:4.0.5.Final:compile --> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-core</artifactId> <classifier>sources</classifier> <exclusions> <exclusion> <artifactId>jboss-logging-annotations</artifactId> <groupId>org.jboss.logging</groupId> </exclusion> <exclusion> <artifactId>jboss-logging</artifactId> <groupId>org.jboss.logging</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-entitymanager</artifactId> <classifier>sources</classifier> <exclusions> <exclusion> <artifactId>jboss-logging-annotations</artifactId> <groupId>org.jboss.logging</groupId> </exclusion> <exclusion> <artifactId>jboss-logging</artifactId> <groupId>org.jboss.logging</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.hibernate.common</groupId> <artifactId>hibernate-commons-annotations</artifactId> <version>4.0.5.Final</version> <classifier>sources</classifier> <exclusions> <exclusion> <artifactId>jboss-logging-annotations</artifactId> <groupId>org.jboss.logging</groupId> </exclusion> <exclusion> <artifactId>jboss-logging</artifactId> <groupId>org.jboss.logging</groupId> </exclusion> </exclusions> </dependency> </dependencies> <build> <finalName>${project.artifactId}</finalName> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <configuration> <!-- <webXml>${basedir}/src/main/resources/WEB-INF/web.xml</webXml> --> <!-- warName>discovery</warName --> <warSourceDirectory>src/main/resources</warSourceDirectory> <configuration> <!-- no default value --> <dependentWarIncludes>WEB-INF/web.xml, WEB-INF/glassfish-web.xml</dependentWarIncludes> <dependentWarExcludes>WEB-INF/lib/*</dependentWarExcludes> </configuration> <overlays> <overlay> <groupId>io.joynr.java.messaging</groupId> <artifactId>messaging-servlet</artifactId> <type>war</type> </overlay> </overlays> <webResources> <resource> <directory>${basedir}</directory> <includes> <include>*LICENSE*</include> <include>NOTICE*</include> </includes> </resource> <resource> <directory>${project.build.directory}</directory> <includes> <include>LICENSE</include> </includes> </resource> </webResources> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>copy</id> <phase>initialize</phase> <goals> <goal>copy</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>io.joynr.java.messaging.bounceproxy</groupId> <artifactId>single-bounceproxy</artifactId> <version>${project.version}</version> <type>war</type> <outputDirectory>${project.build.directory}</outputDirectory> <destFileName>bounceproxy.war</destFileName> </artifactItem> </artifactItems> <overWriteReleases>false</overWriteReleases> <overWriteSnapshots>true</overWriteSnapshots> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>properties-maven-plugin</artifactId> <executions> <execution> <goals> <goal>set-system-properties</goal> </goals> <configuration> <properties> <property> <name>log4j.configuration</name> <value>file:${basedir}/src/main/resources/WEB-INF/classes/log4j.properties</value> </property> </properties> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-maven-plugin</artifactId> <configuration> <webAppSourceDirectory>src/main/resources</webAppSourceDirectory> <webApp> <contextPath>/discovery</contextPath> </webApp> <!-- Don't define system properties here, because it will override system properties defined in plugin management in super POM. --> <contextHandlers combine.self="override"> <contextHandler implementation="org.eclipse.jetty.webapp.WebAppContext"> <war>${project.build.directory}/bounceproxy.war</war> <contextPath>/bounceproxy</contextPath> </contextHandler> </contextHandlers> </configuration> </plugin> </plugins> <pluginManagement> <plugins> <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself. --> <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> <pluginExecution> <pluginExecutionFilter> <groupId>org.appfuse</groupId> <artifactId> maven-warpath-plugin </artifactId> <versionRange> [2.0.2,) </versionRange> <goals> <goal>add-classes</goal> </goals> </pluginExecutionFilter> <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata> </configuration> </plugin> </plugins> </pluginManagement> </build> </project>