mirror of https://github.com/apache/archiva.git
use commons io 2.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1350768 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3c1be367cd
commit
e19ba78207
|
@ -192,7 +192,7 @@ public class DownloadArtifactsTest
|
||||||
resp.setStatus( 302 );
|
resp.setStatus( 302 );
|
||||||
resp.getWriter().write( "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n" + "<html><head>\n"
|
resp.getWriter().write( "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n" + "<html><head>\n"
|
||||||
+ "<title>302 Found</title>\n" + "</head><body>\n" + "<h1>Found</h1>\n"
|
+ "<title>302 Found</title>\n" + "</head><body>\n" + "<h1>Found</h1>\n"
|
||||||
+ "<p>The document has moved <a href=\"http://repo1.maven.apache.org/maven2/junit/junit/4.9/junit-4.9.jar\">here</a>.</p>\n"
|
+ "<p>The document has moved <a href=\"http://repo.maven.apache.org/maven2/junit/junit/4.9/junit-4.9.jar\">here</a>.</p>\n"
|
||||||
+ "</body></html>\n" + "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n"
|
+ "</body></html>\n" + "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n"
|
||||||
+ "<html><head>\n" );
|
+ "<html><head>\n" );
|
||||||
resp.sendRedirect( "http://repo.maven.apache.org/maven2/" + req.getRequestURI() );
|
resp.sendRedirect( "http://repo.maven.apache.org/maven2/" + req.getRequestURI() );
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -57,7 +57,7 @@
|
||||||
<commons-codec.version>1.6</commons-codec.version>
|
<commons-codec.version>1.6</commons-codec.version>
|
||||||
<commons-collections.version>3.2.1</commons-collections.version>
|
<commons-collections.version>3.2.1</commons-collections.version>
|
||||||
<commons-fileupload.version>1.2.2</commons-fileupload.version>
|
<commons-fileupload.version>1.2.2</commons-fileupload.version>
|
||||||
<commons-io.version>2.1</commons-io.version>
|
<commons-io.version>2.2</commons-io.version>
|
||||||
<commons-lang.version>2.6</commons-lang.version>
|
<commons-lang.version>2.6</commons-lang.version>
|
||||||
<struts.version>2.2.3.1</struts.version>
|
<struts.version>2.2.3.1</struts.version>
|
||||||
<maven3x.version>3.0.4</maven3x.version>
|
<maven3x.version>3.0.4</maven3x.version>
|
||||||
|
|
Loading…
Reference in New Issue