| <?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. |
| --> |
| |
| <!-- $Rev$ $Date$ --> |
| |
| <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/maven-v4_0_0.xsd"> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.geronimo.genesis.config</groupId> |
| <artifactId>project-config</artifactId> |
| <version>1.1</version> |
| </parent> |
| |
| <groupId>org.apache.geronimo.gshell</groupId> |
| <artifactId>gshell</artifactId> |
| <name>GShell</name> |
| <packaging>pom</packaging> |
| |
| <version>0.0.2-SNAPSHOT</version> |
| |
| <scm> |
| <connection>scm:svn:http://svn.apache.org/repos/asf/geronimo/sandbox/gshell/</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/geronimo/sandbox/gshell/</developerConnection> |
| <url>https://svn.apache.org/viewvc/geronimo/sandbox/gshell/</url> |
| </scm> |
| |
| <properties> |
| <!-- |
| NOTE: Project version, to be used instead of ${version} since that |
| value magically changes when using SNAPSHOT versions. |
| |
| This value *must* be kept in sync with the value of the <version> |
| element, and it will need to be changed manually before a release, |
| as the maven-release-plugin will not update this value. |
| --> |
| <version>0.0.2-SNAPSHOT</version> |
| </properties> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| <version>1.2.13</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>3.8.1</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging-api</artifactId> |
| <version>1.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging-adapters</artifactId> |
| <version>1.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-lang</groupId> |
| <artifactId>commons-lang</artifactId> |
| <version>2.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-cli</groupId> |
| <artifactId>commons-cli</artifactId> |
| <version>1.0</version> |
| <exclusions> |
| <!-- Includes commons-logging-1.0 --> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-collections</groupId> |
| <artifactId>commons-collections</artifactId> |
| <version>3.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-jexl</groupId> |
| <artifactId>commons-jexl</artifactId> |
| <version>1.1</version> |
| <exclusions> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>classworlds</groupId> |
| <artifactId>classworlds</artifactId> |
| <version>1.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>jline</groupId> |
| <artifactId>jline</artifactId> |
| <version>0.9.91</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.xbean</groupId> |
| <artifactId>xbean-finder</artifactId> |
| <version>3.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>net.sourceforge.telnetd</groupId> |
| <artifactId>telnetd</artifactId> |
| <version>2.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>picocontainer</groupId> |
| <artifactId>picocontainer</artifactId> |
| <version>1.2</version> |
| <exclusions> |
| <!-- Includes commons-logging-1.0.4 --> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <!-- |
| <dependency> |
| <groupId>picocontainer</groupId> |
| <artifactId>picocontainer-gems</artifactId> |
| <version>1.2</version> |
| <exclusions> |
| <exclusion> |
| <groupId>picocontainer</groupId> |
| <artifactId>picocontainer-tck</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| --> |
| </dependencies> |
| </dependencyManagement> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <version>1.0-alpha-3</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.3</version> |
| <configuration> |
| <redirectTestOutputToFile>true</redirectTestOutputToFile> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-idea-plugin</artifactId> |
| <version>2.1</version> |
| <configuration> |
| <jdkName>1.5</jdkName> |
| <jdkLevel>5.0</jdkLevel> |
| <linkModules>true</linkModules> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>retrotranslator-maven-plugin</artifactId> |
| <version>1.0-alpha-2</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>validate</phase> |
| <goals> |
| <goal>enforce</goal> |
| </goals> |
| <configuration> |
| <rules> |
| <!-- Allow any Java >= 1.5, but not 1.6 or above --> |
| <requireJavaVersion> |
| <version>[1.5,1.6)</version> |
| </requireJavaVersion> |
| |
| <!-- Allow any Maven >= 2.0.5 --> |
| <requireMavenVersion> |
| <version>[2.0.5,)</version> |
| </requireMavenVersion> |
| </rules> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.geronimo.genesis.plugins</groupId> |
| <artifactId>tools-maven-plugin</artifactId> |
| <extensions>true</extensions> |
| |
| <executions> |
| <execution> |
| <id>install-legal-files</id> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>copy-legal-files</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>retrotranslator-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>translate-project</goal> |
| </goals> |
| <configuration> |
| <failonwarning>true</failonwarning> |
| <lazy>true</lazy> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>1.5</source> |
| <target>1.5</target> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-idea-plugin</artifactId> |
| <configuration> |
| <jdkName>1.5</jdkName> |
| <jdkLevel>5.0</jdkLevel> |
| <linkModules>true</linkModules> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-release-plugin</artifactId> |
| <configuration> |
| <tagBase>https://svn.apache.org/repos/asf/geronimo/sandbox/gshell/tags</tagBase> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <modules> |
| <module>repository</module> |
| <module>gshell-bootstrap</module> |
| <module>javacc-maven-plugin</module> |
| <module>gshell-api</module> |
| <module>gshell-core</module> |
| <module>gshell-cli</module> |
| <module>gshell-commands</module> |
| <module>gshell-server</module> |
| <module>gshell-testsuite</module> |
| <module>gshell-assembly</module> |
| </modules> |
| |
| <repositories> |
| <!-- |
| NOTE: The default repositories are picked up by Genesis, but need to |
| specify where Genesis lives to pick it up + any additional repositories. |
| --> |
| |
| <repository> |
| <id>apache-snapshots</id> |
| <name>Apache Snapshots Repository</name> |
| <url>http://people.apache.org/repo/m2-snapshot-repository</url> |
| <layout>default</layout> |
| <snapshots> |
| <enabled>true</enabled> |
| <updatePolicy>daily</updatePolicy> |
| <checksumPolicy>ignore</checksumPolicy> |
| </snapshots> |
| <releases> |
| <enabled>false</enabled> |
| </releases> |
| </repository> |
| </repositories> |
| |
| <distributionManagement> |
| <site> |
| <id>geronimo-website</id> |
| <url>scp://people.apache.org/www/geronimo.apache.org/maven/gshell</url> |
| </site> |
| </distributionManagement> |
| |
| <!-- |
| NOTE: Overridding some reports to configure for JDK 1.5 |
| --> |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.0</version> |
| <configuration> |
| <minmemory>128m</minmemory> |
| <maxmemory>512</maxmemory> |
| <breakiterator>true</breakiterator> |
| <quiet>true</quiet> |
| <verbose>false</verbose> |
| <source>1.5</source> |
| <!-- |
| FIXME: This worked in m1, but m2 complains about it being an invalid flag |
| |
| <additionalparam>-J-Djava.awt.headless=true</additionalparam> |
| --> |
| <linksource>true</linksource> |
| <links> |
| <!-- JSE --> |
| <link>http://java.sun.com/j2se/1.5.0/docs/api/</link> |
| <link>http://java.sun.com/j2se/1.4.2/docs/api/</link> |
| <link>http://java.sun.com/j2se/1.3/docs/api/</link> |
| |
| <!-- JEE --> |
| <link>http://java.sun.com/j2ee/1.4/docs/api/</link> |
| <link>http://java.sun.com/j2ee/sdk_1.3/techdocs/api/</link> |
| |
| <!-- Libraries --> |
| <link>http://jakarta.apache.org/commons/collections/apidocs</link> |
| <link>http://jakarta.apache.org/commons/logging/apidocs/</link> |
| <link>http://www.junit.org/junit/javadoc/</link> |
| <link>http://logging.apache.org/log4j/docs/api/</link> |
| <link>http://jakarta.apache.org/regexp/apidocs/</link> |
| <link>http://jakarta.apache.org/velocity/api/</link> |
| </links> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pmd-plugin</artifactId> |
| <version>2.1</version> |
| <configuration> |
| <targetJdk>1.5</targetJdk> |
| </configuration> |
| </plugin> |
| </plugins> |
| </reporting> |
| |
| <profiles> |
| <profile> |
| <id>idea</id> |
| |
| <build> |
| <defaultGoal>validate</defaultGoal> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-idea-plugin</artifactId> |
| <configuration> |
| <overwrite>true</overwrite> |
| <downloadSources>true</downloadSources> |
| <downloadJavadocs>true</downloadJavadocs> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>validate</phase> |
| <goals> |
| <goal>clean</goal> |
| <goal>idea</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| <profile> |
| <id>super-helpful-integration-tests</id> |
| |
| <activation> |
| <property> |
| <name>shit</name> |
| <value>true</value> |
| </property> |
| </activation> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>shitty-maven-plugin</artifactId> |
| <version>1.0-alpha-1-SNAPSHOT</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>clean</goal> |
| <goal>install</goal> |
| <goal>test</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| <profile> |
| <id>stage-distribution</id> |
| |
| <activation> |
| <property> |
| <name>stage.distributionUrl</name> |
| </property> |
| </activation> |
| |
| <distributionManagement> |
| <repository> |
| <id>stage-repository</id> |
| <url>${stage.distributionUrl}/repository</url> |
| </repository> |
| <snapshotRepository> |
| <id>stage-snapshot-repository</id> |
| <url>${stage.distributionUrl}/snapshot-repository</url> |
| </snapshotRepository> |
| <site> |
| <id>stage-site</id> |
| <url>${stage.distributionUrl}/site</url> |
| </site> |
| </distributionManagement> |
| </profile> |
| </profiles> |
| |
| </project> |