diff --git a/pom.xml b/pom.xml index 5ae56cf905894b235076ee77335d44b42b66e293..23963c56e0e7f932257ef29d4b05473690f03464 100644 --- a/pom.xml +++ b/pom.xml @@ -21,6 +21,12 @@ <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>com.syncleus</groupId> + <artifactId>syncleus</artifactId> + <version>2-SNAPSHOT</version> + </parent> + <groupId>com.syncleus.maven.plugins</groupId> <artifactId>maven-mongodb-plugin</artifactId> <version>1.2.0-SNAPSHOT</version> @@ -195,10 +201,18 @@ </contributor> </contributors> - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <tagNameFormat>@{project.version}</tagNameFormat> - </properties> + <repositories> + <repository> + <id>ossrh.snapshots</id> + <url>https://oss.sonatype.org/content/repositories/snapshots</url> + <releases> + <enabled>false</enabled> + </releases> + <snapshots> + <enabled>true</enabled> + </snapshots> + </repository> + </repositories> <distributionManagement> <repository> @@ -224,95 +238,33 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> - <version>2.10.3</version> - <configuration> - <!-- This is temporary until we get the javadocs to compile --> - <sourcepath>src/main/java/</sourcepath> - <show>public</show> - </configuration> - <executions> - <execution> - <id>attach-javadocs</id> - <goals> - <goal>jar</goal> - </goals> - </execution> - </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> - <version>2.18.1</version> - <configuration> - <argLine>-enableassertions</argLine> - </configuration> </plugin> <plugin> <groupId>com.mycila.maven-license-plugin</groupId> <artifactId>maven-license-plugin</artifactId> - <version>1.9.0</version> <configuration> - <header>NOTICE</header> - <strictCheck>true</strictCheck> - <aggregate>true</aggregate> - <encoding>UTF-8</encoding> - <failIfMissing>true</failIfMissing> <skipExistingHeaders>false</skipExistingHeaders> - <includes> - <include>**/src/main/java/**</include> - <include>**/src/test/java/**</include> - </includes> </configuration> - <executions> - <execution> - <phase>process-sources</phase> - <goals> - <goal>format</goal> - </goals> - </execution> - </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> - <configuration> - <mavenExecutorId>forked-path</mavenExecutorId> - </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> - <version>3.4</version> - <executions> - <execution> - <id>default-descriptor</id> - <phase>process-classes</phase> - </execution> - </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> - <version>1.6</version> - <executions> - <execution> - <id>sign-artifacts</id> - <phase>verify</phase> - <goals> - <goal>sign</goal> - </goals> - </execution> - </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> - <version>2.7</version> - <configuration> - <formats> - <format>xml</format> - </formats> - </configuration> </plugin> </plugins> </build> @@ -342,8 +294,6 @@ <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> </dependency> <dependency> <groupId>org.mongodb</groupId> @@ -363,10 +313,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jxr-plugin</artifactId> - <version>2.5</version> - <configuration> - <linkJavadoc>true</linkJavadoc> - </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> @@ -375,11 +321,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> - <version>2.10.3</version> - <configuration> - <excludePackageNames>*.xml</excludePackageNames> - <failOnError>false</failOnError> - </configuration> </plugin> </plugins> </reporting>