| <?xml version="1.0" encoding="UTF-8"?> |
| <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"> |
| |
| <!-- |
| |
| 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. |
| --> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.kalumet</groupId> |
| <artifactId>kalumet-modules</artifactId> |
| <version>0.6-incubating</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>org.apache.kalumet.console</artifactId> |
| <packaging>war</packaging> |
| <name>Apache Kalumet :: Console</name> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.kalumet</groupId> |
| <artifactId>org.apache.kalumet.common</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.kalumet</groupId> |
| <artifactId>org.apache.kalumet.utils</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>commons-collections</groupId> |
| <artifactId>commons-collections</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.nextapp.echo</groupId> |
| <artifactId>app</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.nextapp.echo</groupId> |
| <artifactId>webcontainer</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.nextapp.echo</groupId> |
| <artifactId>webrender</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.nextapp.echo.extras</groupId> |
| <artifactId>app</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.nextapp.echo.extras</groupId> |
| <artifactId>webcontainer</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| <version>2.4</version> |
| <scope>provided</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-war-plugin</artifactId> |
| <configuration> |
| <warName>apache-kalumet</warName> |
| <archive> |
| <manifest> |
| <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> |
| </manifest> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>maven-jetty-plugin</artifactId> |
| <version>6.1.12</version> |
| <configuration> |
| <connectors> |
| <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector"> |
| <port>8181</port> |
| <maxIdleTime>60000</maxIdleTime> |
| </connector> |
| </connectors> |
| <systemProperties> |
| <systemProperty> |
| <name>com.sun.management.jmxremote</name> |
| <value>true</value> |
| </systemProperty> |
| <systemProperty> |
| <name>kalumet.home</name> |
| <value>target</value> |
| </systemProperty> |
| </systemProperties> |
| <scanIntervalSeconds>10</scanIntervalSeconds> |
| <contextPath>/apache-kalumet-console</contextPath> |
| <tmpDir>${project.build.directory}/work</tmpDir> |
| <webApp>${basedir}/target/${project.artifactId}-${project.version}.war</webApp> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.tomcat.maven</groupId> |
| <artifactId>tomcat7-maven-plugin</artifactId> |
| <configuration> |
| <port>8181</port> |
| <path>/apache-kalumet-console</path> |
| <systemProperties> |
| <java.io.tmpdir>${project.build.directory}</java.io.tmpdir> |
| <kalumet.home>${project.build.directory}</kalumet.home> |
| </systemProperties> |
| </configuration> |
| <dependencies> |
| |
| </dependencies> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <!-- profile for dev an log output in the console --> |
| <id>dev</id> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>override-log4j-with-console-output</id> |
| <phase>process-resources</phase> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <tasks> |
| <copy overwrite="true" file="${basedir}/src/test/tomcat/log4j.xml" todir="${project.build.outputDirectory}" /> |
| </tasks> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| </project> |