[Geoserver-devel] [jira] Created: (GEOS-3296) Update versions of iText & commons-httpclient dependencies; add URL mappings & dependencies for printing

Update versions of iText & commons-httpclient dependencies; add URL mappings & dependencies for printing
---------------------------------------------------------------------------------------------------------

                 Key: GEOS-3296
                 URL: http://jira.codehaus.org/browse/GEOS-3296
             Project: GeoServer
          Issue Type: Task
            Reporter: agerber
            Assignee: Andrea Aime
            Priority: Minor
             Fix For: 1.7.x

To port printing to 1.7.6, changes need to be made to non-community modules. These include:

Update versions of commons-httpclient & itext in src/pom.xml
----------------------------------------------------------------------------------------------------
svn diff looks like this:
@@ -454,7 +454,7 @@
    <dependency>
     <groupId>commons-httpclient</groupId>
     <artifactId>commons-httpclient</artifactId>
- <version>2.0</version>
+ <version>3.1</version>
    </dependency>
    <dependency>
     <groupId>commons-lang</groupId>
@@ -611,7 +611,7 @@
    <dependency>
     <groupId>com.lowagie</groupId>
     <artifactId>itext</artifactId>
- <version>2.0.6</version>
+ <version>2.1.5</version>
    </dependency>
    <dependency>
     <groupId>org.mortbay.jetty</groupId>

Add a URL mapping to WEB-INF/web.xml
----------------------------------------------------------------------------------------------------
svn diff looks like:
+++ web/src/main/webapp/WEB-INF/web.xml (working copy)
@@ -301,7 +301,11 @@
    <servlet-name>dispatcher</servlet-name>
    <url-pattern>/gwc/*</url-pattern>
   </servlet-mapping>
-
+ <servlet-mapping>
+ <servlet-name>dispatcher</servlet-name>
+ <url-pattern>/pdf/*</url-pattern>
+ </servlet-mapping>
+
   <mime-mapping>
    <extension>xsl</extension>
    <mime-type>text/xml</mime-type>

Add profile for printing dependency in /src/web/pom.xml
----------------------------------------------------------------------------------------------------
svn diff looks like:
+++ web/pom.xml (working copy)
@@ -636,5 +636,15 @@
        </dependency>
       </dependencies>
     </profile>
+ <profile>
+ <id>printing</id>
+ <dependencies>
+ <dependency>
+ <groupId>org.geoserver.community</groupId>
+ <artifactId>printing</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+ </profile>
   </profiles>
</project>

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira