updated pom.xml

This commit is contained in:
Tony Tam 2012-08-24 15:31:49 -07:00
parent 58ce2a1298
commit 05ccb75ebf

456
pom.xml
View File

@ -1,227 +1,231 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <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"> 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>com.wordnik</groupId> <groupId>org.sonatype.oss</groupId>
<artifactId>swagger-codegen_2.9.1</artifactId> <artifactId>oss-parent</artifactId>
<packaging>jar</packaging> <version>5</version>
<name>swagger-codegen</name> </parent>
<version>1.2-SNAPSHOT</version> <modelVersion>4.0.0</modelVersion>
<scm> <groupId>com.wordnik</groupId>
<connection>scm:git:git@github.com:wordnik/swagger-codegen-2.git</connection> <artifactId>swagger-codegen_2.9.1</artifactId>
<developerConnection>scm:git:git@github.com:wordnik/swagger-codegen-2.git</developerConnection> <packaging>jar</packaging>
<url>https://github.com/wordnik/swagger-codegen-2</url> <name>swagger-codegen</name>
</scm> <version>2.0.0-SNAPSHOT</version>
<prerequisites> <scm>
<maven>2.2.0</maven> <connection>scm:git:git@github.com:wordnik/swagger-codegen.git</connection>
</prerequisites> <developerConnection>scm:git:git@github.com:wordnik/swagger-codegen.git</developerConnection>
<url>https://github.com/wordnik/swagger-codegen</url>
<pluginRepositories> </scm>
<pluginRepository> <prerequisites>
<id>scala-tools.org</id> <maven>2.2.0</maven>
<name>Scala-Tools Maven2 Repository</name> </prerequisites>
<url>http://scala-tools.org/repo-releases</url> <developers>
</pluginRepository> <developer>
<pluginRepository> <id>rpidikiti</id>
<id>maven-mongodb-plugin-repo</id> <name>Ramesh Pidikiti</name>
<name>maven mongodb plugin repository</name> <email>ramesh@wordnik.com</email>
<url>http://maven-mongodb-plugin.googlecode.com/svn/maven/repo</url> </developer>
<layout>default</layout> <developer>
</pluginRepository> <id>ayush</id>
<name>Ayush Gupts</name>
<email>ayush@glugbot.com</email>
</pluginRepositories> </developer>
<developer>
<build> <id>fehguy</id>
<plugins> <name>Tony Tam</name>
<plugin> <email>fehguy@gmail.com</email>
<groupId>org.apache.maven.plugins</groupId> </developer>
<artifactId>maven-surefire-plugin</artifactId> </developers>
<version>2.12</version> <issueManagement>
<configuration> <system>github</system>
<systemProperties> <url>https://github.com/wordnik/swagger-codegen/issues</url>
<property> </issueManagement>
<name>loggerPath</name> <mailingLists>
<value>conf/log4j.properties</value> <mailingList>
</property> <name>swagger-swaggersocket</name>
</systemProperties> <archive>https://groups.google.com/forum/#!forum/swagger-swaggersocket</archive>
<argLine>-Xms512m -Xmx1500m</argLine> </mailingList>
<parallel>methods</parallel> </mailingLists>
<forkMode>pertest</forkMode> <licenses>
</configuration> <license>
</plugin> <name>Apache License 2.0</name>
<plugin> <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
<artifactId>maven-dependency-plugin</artifactId> <distribution>repo</distribution>
<executions> </license>
<execution> </licenses>
<phase>package</phase> <build>
<goals> <plugins>
<goal>copy-dependencies</goal> <plugin>
</goals> <groupId>org.apache.maven.plugins</groupId>
<configuration> <artifactId>maven-surefire-plugin</artifactId>
<outputDirectory>${project.build.directory}/lib</outputDirectory> <version>2.12</version>
</configuration> <configuration>
</execution> <systemProperties>
</executions> <property>
</plugin> <name>loggerPath</name>
<value>conf/log4j.properties</value>
<!-- attach test jar --> </property>
<plugin> </systemProperties>
<groupId>org.apache.maven.plugins</groupId> <argLine>-Xms512m -Xmx1500m</argLine>
<artifactId>maven-jar-plugin</artifactId> <parallel>methods</parallel>
<version>2.2</version> <forkMode>pertest</forkMode>
<executions> </configuration>
<execution> </plugin>
<goals> <plugin>
<goal>jar</goal> <artifactId>maven-dependency-plugin</artifactId>
<goal>test-jar</goal> <executions>
</goals> <execution>
</execution> <phase>package</phase>
</executions> <goals>
<configuration> <goal>copy-dependencies</goal>
</configuration> </goals>
</plugin> <configuration>
<outputDirectory>${project.build.directory}/lib</outputDirectory>
<plugin> </configuration>
<groupId>org.codehaus.mojo</groupId> </execution>
<artifactId>build-helper-maven-plugin</artifactId> </executions>
<executions> </plugin>
<execution> <plugin>
<id>add_sources</id> <groupId>org.apache.maven.plugins</groupId>
<phase>generate-sources</phase> <artifactId>maven-jar-plugin</artifactId>
<goals> <version>2.2</version>
<goal>add-source</goal> <executions>
</goals> <execution>
<configuration> <goals>
<sources> <goal>jar</goal>
<source>src/main/java</source> <goal>test-jar</goal>
</sources> </goals>
</configuration> </execution>
</execution> </executions>
<execution> <configuration>
<id>add_test_sources</id> </configuration>
<phase>generate-test-sources</phase> </plugin>
<goals> <plugin>
<goal>add-test-source</goal> <groupId>org.codehaus.mojo</groupId>
</goals> <artifactId>build-helper-maven-plugin</artifactId>
<configuration> <executions>
<sources> <execution>
<source>src/test/java</source> <id>add_sources</id>
</sources> <phase>generate-sources</phase>
</configuration> <goals>
</execution> <goal>add-source</goal>
</executions> </goals>
</plugin> <configuration>
<plugin> <sources>
<groupId>org.apache.maven.plugins</groupId> <source>src/main/java</source>
<artifactId>maven-compiler-plugin</artifactId> </sources>
<version>2.3.2</version> </configuration>
<configuration> </execution>
<source>1.6</source> <execution>
<target>1.6</target> <id>add_test_sources</id>
</configuration> <phase>generate-test-sources</phase>
</plugin> <goals>
<plugin> <goal>add-test-source</goal>
<groupId>org.scala-tools</groupId> </goals>
<artifactId>maven-scala-plugin</artifactId> <configuration>
<version>2.15.2</version> <sources>
<executions> <source>src/test/java</source>
<execution> </sources>
<id>scala-compile-first</id> </configuration>
<phase>process-resources</phase> </execution>
<goals> </executions>
<goal>add-source</goal> </plugin>
<goal>compile</goal> <plugin>
</goals> <groupId>org.apache.maven.plugins</groupId>
</execution> <artifactId>maven-compiler-plugin</artifactId>
<execution> <version>2.3.2</version>
<id>scala-test-compile</id> <configuration>
<phase>process-test-resources</phase> <source>1.6</source>
<goals> <target>1.6</target>
<goal>testCompile</goal> </configuration>
</goals> </plugin>
</execution> <plugin>
</executions> <groupId>org.scala-tools</groupId>
<configuration> <artifactId>maven-scala-plugin</artifactId>
<jvmArgs> <version>2.15.2</version>
<jvmArg>-Xms128m</jvmArg> <executions>
<jvmArg>-Xmx1500m</jvmArg> <execution>
</jvmArgs> <id>scala-compile-first</id>
</configuration> <phase>process-resources</phase>
</plugin> <goals>
</plugins> <goal>add-source</goal>
</build> <goal>compile</goal>
<reporting> </goals>
<plugins> </execution>
<plugin> <execution>
<groupId>org.scala-tools</groupId> <id>scala-test-compile</id>
<artifactId>maven-scala-plugin</artifactId> <phase>process-test-resources</phase>
<configuration> <goals>
<scalaVersion>${scala-version}</scalaVersion> <goal>testCompile</goal>
</configuration> </goals>
</plugin> </execution>
</plugins> </executions>
</reporting> <configuration>
<dependencies> <jvmArgs>
<dependency> <jvmArg>-Xms128m</jvmArg>
<groupId>com.wordnik</groupId> <jvmArg>-Xmx1500m</jvmArg>
<artifactId>swagger-core_2.9.1</artifactId> </jvmArgs>
<version>${swagger-core-version}</version> </configuration>
<scope>compile</scope> </plugin>
</dependency> </plugins>
</build>
<dependency> <reporting>
<groupId>org.fusesource.scalate</groupId> <plugins>
<artifactId>scalate-wikitext</artifactId> <plugin>
<version>1.5.3</version> <groupId>org.scala-tools</groupId>
</dependency> <artifactId>maven-scala-plugin</artifactId>
<dependency> <configuration>
<groupId>org.fusesource.scalate</groupId> <scalaVersion>${scala-version}</scalaVersion>
<artifactId>scalate-page</artifactId> </configuration>
<version>1.5.3</version> </plugin>
</dependency> </plugins>
<dependency> </reporting>
<groupId>org.scala-lang</groupId> <dependencies>
<artifactId>scala-library</artifactId> <dependency>
<version>${scala-version}</version> <groupId>com.wordnik</groupId>
<scope>compile</scope> <artifactId>swagger-core_2.9.1</artifactId>
</dependency> <version>${swagger-core-version}</version>
<dependency> <scope>compile</scope>
<groupId>org.scalatest</groupId> </dependency>
<artifactId>scalatest_2.9.1</artifactId> <dependency>
<version>${scala-test-version}</version> <groupId>commons-io</groupId>
<scope>test</scope> <artifactId>commons-io</artifactId>
</dependency> <version>2.3</version>
<dependency> </dependency>
<groupId>junit</groupId> <dependency>
<artifactId>junit</artifactId> <groupId>org.fusesource.scalate</groupId>
<version>${junit-version}</version> <artifactId>scalate-wikitext</artifactId>
<scope>test</scope> <version>1.5.3</version>
</dependency> </dependency>
</dependencies> <dependency>
<repositories> <groupId>org.fusesource.scalate</groupId>
<repository> <artifactId>scalate-page</artifactId>
<id>scala-tools.org</id> <version>1.5.3</version>
<name>Scala-Tools Maven2 Repository</name> </dependency>
<url>http://scala-tools.org/repo-releases</url> <dependency>
</repository> <groupId>org.scala-lang</groupId>
<repository> <artifactId>scala-library</artifactId>
<id>wordnik-ci-aws</id> <version>${scala-version}</version>
<url>https://ci.aws.wordnik.com/artifactory/libs-snapshots/</url> <scope>compile</scope>
</repository> </dependency>
<repository> <dependency>
<id>wordnik-ci-aws-maven</id> <groupId>org.scalatest</groupId>
<url>https://ci.aws.wordnik.com/artifactory/m2-snapshots/</url> <artifactId>scalatest_2.9.1</artifactId>
</repository> <version>${scala-test-version}</version>
<repository> <scope>test</scope>
<id>wordnik-ci-aws-remote</id> </dependency>
<url>https://ci.aws.wordnik.com/artifactory/remote-repos/</url> <dependency>
</repository> <groupId>junit</groupId>
</repositories> <artifactId>junit</artifactId>
<properties> <version>${junit-version}</version>
<swagger-core-version>1.02-SNAPSHOT</swagger-core-version> <scope>test</scope>
<scala-version>2.9.1-1</scala-version> </dependency>
<junit-version>4.8.1</junit-version> </dependencies>
<maven-plugin.version>1.0.0</maven-plugin.version> <properties>
<scala-test-version>1.6.1</scala-test-version> <swagger-core-version>1.1.0</swagger-core-version>
</properties> <scala-version>2.9.1-1</scala-version>
</project> <junit-version>4.8.1</junit-version>
<maven-plugin.version>1.0.0</maven-plugin.version>
<scala-test-version>1.6.1</scala-test-version>
</properties>
</project>