Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup for 2018 #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@

*iml
.idea/
target/
target/
.project
.settings/
358 changes: 217 additions & 141 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,143 +1,219 @@
<?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">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>

<groupId>com.homeaway</groupId>
<artifactId>oss-parent</artifactId>
<version>2-SNAPSHOT</version>

<packaging>pom</packaging>

<name>HomeAway OSS Parent</name>
<description>HomeAway's OSS parent pom.</description>

<!-- use settings.xml. see: https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide
<distributionManagement>
</distributionManagement>
-->

<url>http://homeaway.github.io/oss-parent/</url>

<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>

<developers>
<developer>
<id>trhodes</id>
<name>Tyler Rhodes</name>
<email>[email protected]</email>
<organization>HomeAway</organization>
<timezone>-6</timezone>
</developer>
</developers>

<scm>
<connection>scm:git:[email protected]:homeaway/oss-parent.git</connection>
<developerConnection>scm:git:[email protected]:homeaway/oss-parent.git</developerConnection>
<url>[email protected]:homeaway/oss-parent.git</url>
</scm>

<properties>
<github.global.server>github</github.global.server>

<sourceVersion>1.6</sourceVersion>
<targetVersion>1.6</targetVersion>
</properties>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>${sourceVersion}</source>
<target>${targetVersion}</target>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.0</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-module-markdown</artifactId>
<version>1.3</version>
</dependency>
</dependencies>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.7</version>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>2.5</version>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.4</version>
</plugin>

<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.1.1</version>
<executions>
<execution>
<id>enforce-plugin-versions</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requirePluginVersions>
<message>You MUST always define plugin versions!</message>
<banLatest>false</banLatest>
<banRelease>true</banRelease>
<banSnapshots>false</banSnapshots>
<phases>clean,test,install,deploy,site-deploy</phases>
</requirePluginVersions>
</rules>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
<version>0.9</version>
<configuration>
<message>Creating site for ${project.version}</message>
</configuration>
<executions>
<execution>
<goals>
<goal>site</goal>
</goals>
<phase>site-deploy</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
<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.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>

<groupId>com.homeaway</groupId>
<artifactId>oss-parent</artifactId>
<version>2.0.0-SNAPSHOT</version>

<packaging>pom</packaging>

<name>HomeAway OSS Parent</name>
<description>HomeAway's OSS parent pom.</description>

<!-- use settings.xml. see: https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide
<distributionManagement> </distributionManagement> -->

<url>http://homeaway.github.io/oss-parent/</url>

<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>

<developers>
<developer>
<id>trhodes</id>
<name>Tyler Rhodes</name>
<email>[email protected]</email>
<organization>HomeAway</organization>
<timezone>-6</timezone>
</developer>
</developers>

<scm>
<connection>scm:git:[email protected]:homeaway/oss-parent.git</connection>
<developerConnection>scm:git:[email protected]:homeaway/oss-parent.git</developerConnection>
<url>[email protected]:homeaway/oss-parent.git</url>
</scm>

<properties>
<github.global.server>github</github.global.server>

<sourceVersion>1.8</sourceVersion>
<targetVersion>1.8</targetVersion>

<compiler.pluginVersion>3.8.0</compiler.pluginVersion>
<site.pluginVersion>3.7.1</site.pluginVersion>
<deploy.pluginVersion>2.8.2</deploy.pluginVersion>
<clean.pluginVersion>3.1.0</clean.pluginVersion>
<install.pluginVersion>2.5.2</install.pluginVersion>
<enforcer.pluginVersion>1.4.2</enforcer.pluginVersion>
<githubSite.pluginVersion>0.12</githubSite.pluginVersion>
</properties>

<build>
<pluginManagement>
<plugins>

<plugin>
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
<version>${githubSite.pluginVersion}</version>
<configuration>
<message>Creating site for ${project.version}</message>
</configuration>
<executions>
<execution>
<goals>
<goal>site</goal>
</goals>
<phase>site-deploy</phase>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>${clean.pluginVersion}</version>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${compiler.pluginVersion}</version>
<configuration>
<source>${sourceVersion}</source>
<target>${targetVersion}</target>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${deploy.pluginVersion}</version>
</plugin>

<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${enforcer.pluginVersion}</version>
<executions>
<execution>
<id>enforce-plugin-versions</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requirePluginVersions>
<message>You MUST always define plugin versions!</message>
<banLatest>false</banLatest>
<banRelease>true</banRelease>
<banSnapshots>false</banSnapshots>
<phases>clean,test,install,deploy,site-deploy</phases>
</requirePluginVersions>
</rules>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>${install.pluginVersion}</version>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>${site.pluginVersion}</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-module-markdown</artifactId>
<version>1.3</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</pluginManagement>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
</plugin>

<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-plugin-versions</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requirePluginVersions>
<message>You MUST always define plugin versions!</message>
<banLatest>false</banLatest>
<banRelease>true</banRelease>
<banSnapshots>false</banSnapshots>
<phases>clean,test,install,deploy,site-deploy</phases>
</requirePluginVersions>
</rules>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
<configuration>
<message>Creating site for ${project.version}</message>
</configuration>
<executions>
<execution>
<goals>
<goal>site</goal>
</goals>
<phase>site-deploy</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>