Permalink
Browse files

Merge branch 'master' of github.com:joakime/xmlfresh-maven-plugin

  • Loading branch information...
2 parents 9556f0c + 0fe3f4c commit a43d17d209fb1bc9015e950ce890ac3df714781d @jmcc0nn3ll jmcc0nn3ll committed Feb 24, 2012
View
107 pom.xml
@@ -1,14 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns="http://maven.apache.org/POM/4.0.0"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<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>
- <groupId>com.erdfelt.maven</groupId>
+ <groupId>net.erdfelt.maven</groupId>
<artifactId>xmlfresh-maven-plugin</artifactId>
- <version>1.0-SNAPSHOT</version>
+ <version>1.0.1-SNAPSHOT</version>
<name>XmlFresh :: Maven Plugin</name>
<description>Simple XML tidy/cleanup/freshen utility for maven builds</description>
<packaging>maven-plugin</packaging>
+ <url>https://github.com/joakime/xmlfresh-maven-plugin</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>
+ <organization>
+ <name>Erdfelt.net Development</name>
+ <url>http://www.erdfelt.net/</url>
+ </organization>
+ <scm>
+ <connection>scm:git:git@github.com:joakime/xmlfresh-maven-plugin.git</connection>
+ <developerConnection>scm:git:git@github.com:joakime/xmlfresh-maven-plugin.git</developerConnection>
+ <url>git@github.com:joakime/xmlfresh-maven-plugin.git</url>
+ </scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
@@ -65,6 +80,88 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.1.2</version>
+ <executions>
+ <execution>
+ <id>source-jar</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.7</version>
+ <executions>
+ <execution>
+ <id>javadoc-jar</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>2.1</version>
+ <configuration>
+ <autoVersionSubmodules>true</autoVersionSubmodules>
+ <mavenExecutorId>forked-path</mavenExecutorId>
+ <useReleaseProfile>true</useReleaseProfile>
+ <goals>deploy</goals>
+ <preparationGoals>clean install</preparationGoals>
+ <arguments>-Perdfelt-release</arguments>
+ </configuration>
+ </plugin>
</plugins>
</build>
+ <developers>
+ <developer>
+ <id>joakime</id>
+ <name>Joakim Erdfelt</name>
+ <email>joakim@erdfelt.net</email>
+ <timezone>-7</timezone>
+ </developer>
+ </developers>
+ <distributionManagement>
+ <repository>
+ <id>oss.sonatype.org</id>
+ <name>Sonatype OSS Nexus Repository</name>
+ <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
+ </repository>
+ <snapshotRepository>
+ <id>oss.sonatype.org</id>
+ <name>Sonatype OSS SNAPSHOTS Nexus Repository</name>
+ <url>https://oss.sonatype.org/content/repositories/snapshots</url>
+ </snapshotRepository>
+ </distributionManagement>
+ <profiles>
+ <profile>
+ <id>erdfelt-release</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <version>1.4</version>
+ <executions>
+ <execution>
+ <id>sign-artifacts</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
View
4 .../erdfelt/maven/xmlfresh/XmlFormatter.java → .../erdfelt/maven/xmlfresh/XmlFormatter.java
@@ -1,4 +1,4 @@
-package com.erdfelt.maven.xmlfresh;
+package net.erdfelt.maven.xmlfresh;
import java.io.File;
import java.io.FileOutputStream;
@@ -14,7 +14,7 @@
import org.w3c.tidy.Tidy;
import org.xml.sax.SAXException;
-import com.erdfelt.maven.xmlfresh.io.IO;
+import net.erdfelt.maven.xmlfresh.io.IO;
public class XmlFormatter
{
View
4 ...rdfelt/maven/xmlfresh/XmlFreshenMojo.java → ...rdfelt/maven/xmlfresh/XmlFreshenMojo.java
@@ -1,12 +1,12 @@
-package com.erdfelt.maven.xmlfresh;
+package net.erdfelt.maven.xmlfresh;
import java.io.File;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
-import com.erdfelt.maven.xmlfresh.io.FileFinder;
+import net.erdfelt.maven.xmlfresh.io.FileFinder;
/**
* Formats the pom.xml and other XML files a known pretty print format that is consistent for source control and
View
2 ...erdfelt/maven/xmlfresh/io/FileFinder.java → ...erdfelt/maven/xmlfresh/io/FileFinder.java
@@ -1,4 +1,4 @@
-package com.erdfelt.maven.xmlfresh.io;
+package net.erdfelt.maven.xmlfresh.io;
import static java.util.Arrays.*;
View
2 ...ava/com/erdfelt/maven/xmlfresh/io/IO.java → ...ava/net/erdfelt/maven/xmlfresh/io/IO.java
@@ -1,4 +1,4 @@
-package com.erdfelt.maven.xmlfresh.io;
+package net.erdfelt.maven.xmlfresh.io;
import java.io.Closeable;
import java.io.IOException;
View
4 ...en/xmlfresh/util/BasicAttrComparator.java → ...en/xmlfresh/util/BasicAttrComparator.java
@@ -1,4 +1,4 @@
-package com.erdfelt.maven.xmlfresh.util;
+package net.erdfelt.maven.xmlfresh.util;
import java.text.CollationKey;
import java.text.Collator;
@@ -24,4 +24,4 @@ private CollationKey toKey(String str)
}
return collator.getCollationKey(str.trim());
}
-}
+}
View
2 ...xmlfresh/util/WeightedAttrComparator.java → ...xmlfresh/util/WeightedAttrComparator.java
@@ -1,4 +1,4 @@
-package com.erdfelt.maven.xmlfresh.util;
+package net.erdfelt.maven.xmlfresh.util;
import java.util.ArrayList;
import java.util.Comparator;
View
2 ...felt/maven/xmlfresh/XmlFormatterTest.java → ...felt/maven/xmlfresh/XmlFormatterTest.java
@@ -1,4 +1,4 @@
-package com.erdfelt.maven.xmlfresh;
+package net.erdfelt.maven.xmlfresh;
import java.io.ByteArrayOutputStream;
import java.io.File;

0 comments on commit a43d17d

Please sign in to comment.