| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You 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. |
| --> |
| <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.apache.marmotta</groupId> |
| <artifactId>marmotta-parent</artifactId> |
| <version>3.1.0-incubating-SNAPSHOT</version> |
| <relativePath>../../parent</relativePath> |
| </parent> |
| |
| <artifactId>marmotta-webapp</artifactId> |
| <packaging>war</packaging> |
| |
| <name>Apache Marmotta Web Application</name> |
| <description>Web Application bundle (WAR file) containing Apache Marmotta</description> |
| |
| <properties> |
| <!-- these are used for the goals tomcat6/7:run or jetty:run --> |
| <marmotta.home>/tmp/marmotta</marmotta.home> |
| <marmotta.context>/</marmotta.context> |
| <marmotta.port>8080</marmotta.port> |
| </properties> |
| |
| <build> |
| <finalName>marmotta</finalName> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <artifactId>maven-war-plugin</artifactId> |
| <version>2.3</version> |
| <configuration> |
| <archive> |
| <manifest> |
| <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> |
| </manifest> |
| </archive> |
| <archiveClasses>false</archiveClasses> |
| </configuration> |
| </plugin> |
| <plugin> <!-- generate JRebel Configuration --> |
| <groupId>org.zeroturnaround</groupId> |
| <artifactId>jrebel-maven-plugin</artifactId> |
| <configuration> |
| <relativePath>../</relativePath> |
| <rootPath>${rebel.root}</rootPath> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-install-plugin</artifactId> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.tomcat.maven</groupId> |
| <artifactId>tomcat7-maven-plugin</artifactId> |
| <version>2.1</version> |
| <configuration> |
| <path>${marmotta.context}</path> |
| <port>${marmotta.port}</port> |
| <systemProperties> |
| <marmotta.home>${marmotta.home}</marmotta.home> |
| </systemProperties> |
| <!-- <contextReloadable>true</contextReloadable> --> |
| <!-- <backgroundProcessorDelay>10</backgroundProcessorDelay> --> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| <filtering>true</filtering> |
| </resource> |
| </resources> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.tomcat.maven</groupId> |
| <artifactId>tomcat7-maven-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <artifactId>maven-dependency-plugin</artifactId> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.jasig.maven</groupId> |
| <artifactId>maven-notice-plugin</artifactId> |
| <version>1.0.4</version> |
| <configuration> |
| <noticeTemplate>NOTICE.template</noticeTemplate> |
| <licenseMapping> |
| <param>../../license-mappings.xml</param> |
| </licenseMapping> |
| <noticeMessage>* {0}, under {1}</noticeMessage> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>cleanall</id> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-clean-plugin</artifactId> |
| <version>2.5</version> |
| <configuration> |
| <filesets> |
| <fileset> |
| <directory>${marmotta.home}</directory> |
| <followSymlinks>true</followSymlinks> |
| </fileset> |
| </filesets> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>marmotta-release</id> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <phase>package</phase> |
| <configuration> |
| <descriptors> |
| <descriptor>assembly.xml</descriptor> |
| </descriptors> |
| <finalName>apache-marmotta-${project.version}</finalName> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| <dependencies> |
| <!-- Marmotta Modules, include the ones needed by the application --> |
| <dependency> |
| <groupId>org.apache.marmotta</groupId> |
| <artifactId>marmotta-core</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.marmotta</groupId> |
| <artifactId>marmotta-ldpath</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.marmotta</groupId> |
| <artifactId>marmotta-ldcache</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.marmotta</groupId> |
| <artifactId>marmotta-reasoner</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.marmotta</groupId> |
| <artifactId>marmotta-sparql</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.marmotta</groupId> |
| <artifactId>marmotta-security</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.marmotta</groupId> |
| <artifactId>marmotta-versioning</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <!-- |
| <dependency> |
| <groupId>org.apache.marmotta</groupId> |
| <artifactId>marmotta-templating</artifactId> |
| <version>${project.parent.version}</version> |
| </dependency> |
| --> |
| <dependency> |
| <groupId>org.apache.marmotta</groupId> |
| <artifactId>marmotta-user</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <!-- Servlet / CDI Environment --> |
| <dependency> |
| <groupId>javax.el</groupId> |
| <artifactId>javax.el-api</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.weld.servlet</groupId> |
| <artifactId>weld-servlet-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.weld</groupId> |
| <artifactId>weld-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.h2database</groupId> |
| <artifactId>h2</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.postgresql</groupId> |
| <artifactId>postgresql</artifactId> |
| </dependency> |
| |
| <!-- CORS filter --> |
| <dependency> |
| <groupId>com.thetransactioncompany</groupId> |
| <artifactId>cors-filter</artifactId> |
| </dependency> |
| |
| </dependencies> |
| |
| </project> |