Author: hboutemy Date: Thu Oct 30 06:21:30 2014 New Revision: 1635401 URL: http://svn.apache.org/r1635401 Log: upgraded parent pom
Modified: maven/shared/trunk/maven-runtime/pom.xml maven/shared/trunk/maven-runtime/src/main/java/org/apache/maven/shared/runtime/XMLMavenRuntimeVisitor.java Modified: maven/shared/trunk/maven-runtime/pom.xml URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-runtime/pom.xml?rev=1635401&r1=1635400&r2=1635401&view=diff ============================================================================== --- maven/shared/trunk/maven-runtime/pom.xml (original) +++ maven/shared/trunk/maven-runtime/pom.xml Thu Oct 30 06:21:30 2014 @@ -25,7 +25,7 @@ <parent> <groupId>org.apache.maven.shared</groupId> <artifactId>maven-shared-components</artifactId> - <version>20</version> + <version>21</version> <relativePath>../maven-shared-components/pom.xml</relativePath> </parent> Modified: maven/shared/trunk/maven-runtime/src/main/java/org/apache/maven/shared/runtime/XMLMavenRuntimeVisitor.java URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-runtime/src/main/java/org/apache/maven/shared/runtime/XMLMavenRuntimeVisitor.java?rev=1635401&r1=1635400&r2=1635401&view=diff ============================================================================== --- maven/shared/trunk/maven-runtime/src/main/java/org/apache/maven/shared/runtime/XMLMavenRuntimeVisitor.java (original) +++ maven/shared/trunk/maven-runtime/src/main/java/org/apache/maven/shared/runtime/XMLMavenRuntimeVisitor.java Thu Oct 30 06:21:30 2014 @@ -34,7 +34,6 @@ import org.apache.maven.project.Duplicat import org.apache.maven.project.MavenProject; import org.apache.maven.project.ProjectSorter; import org.apache.maven.shared.utils.io.IOUtil; -import org.apache.maven.shared.utils.ReaderFactory; import org.codehaus.plexus.util.dag.CycleDetectedException; import org.codehaus.plexus.util.xml.pull.XmlPullParserException; @@ -44,7 +43,8 @@ import org.codehaus.plexus.util.xml.pull * @author <a href="mailto:ma...@apache.org">Mark Hobson</a> * @version $Id$ */ -class XMLMavenRuntimeVisitor implements MavenRuntimeVisitor +class XMLMavenRuntimeVisitor + implements MavenRuntimeVisitor { // fields ----------------------------------------------------------------- @@ -68,7 +68,8 @@ class XMLMavenRuntimeVisitor implements /** * {@inheritDoc} */ - public void visitProjectProperties( URL url ) throws MavenRuntimeException + public void visitProjectProperties( URL url ) + throws MavenRuntimeException { // no-op } @@ -76,7 +77,8 @@ class XMLMavenRuntimeVisitor implements /** * {@inheritDoc} */ - public void visitProjectXML( URL url ) throws MavenRuntimeException + public void visitProjectXML( URL url ) + throws MavenRuntimeException { MavenProject project = parseProjectXML( url ); @@ -102,7 +104,8 @@ class XMLMavenRuntimeVisitor implements * @throws MavenRuntimeException * if an error occurred ordering the projects */ - public List<MavenProject> getSortedProjects() throws MavenRuntimeException + public List<MavenProject> getSortedProjects() + throws MavenRuntimeException { // mediate dependency versions since declared versions can differ from runtime versions List<MavenProject> mediatedProjects = MavenProjectUtils.cloneProjects( projects ); @@ -135,7 +138,8 @@ class XMLMavenRuntimeVisitor implements * @throws MavenRuntimeException * if an error occurs parsing the XML */ - private MavenProject parseProjectXML( URL url ) throws MavenRuntimeException + private MavenProject parseProjectXML( URL url ) + throws MavenRuntimeException { MavenXpp3Reader reader = new MavenXpp3Reader();