Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8147527
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T14:22:59+00:00 2026-06-06T14:22:59+00:00

Is there a publicly available maven repository that hosts the Apache Tomcat binary distribution

  • 0

Is there a publicly available maven repository that hosts the Apache Tomcat binary distribution ZIPs as maven artifacts (I mean the file that can be downloaded via http://tomcat.apache.org, e.g. http://mirror.serversupportforum.de/apache/tomcat/tomcat-7/v7.0.28/bin/apache-tomcat-7.0.28.zip)?

Currently I download these distribution zips manually and put them into my Nexus repo, but I’d find it more elegant if there was such a repo that I just could add to my POMs. Does anybody else need the Tomcat distribution ZIPs within their maven build, how do you cope with this issue?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T14:23:00+00:00Added an answer on June 6, 2026 at 2:23 pm

    No, there isn’t such a repository or artifact.

    I was looking into this a while ago because we have a standard Tomcat which we pre-configure and ship along with our product.

    We ended up downloading the Tomcat zip from the official site (via Maven) and then applying the required changes and then pushing them over to our Nexus.

    Here’s more or less how we do it:

    <?xml version="1.0" encoding="UTF-8"?>
    <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/maven-v4_0_0.xsd">
    
        <modelVersion>4.0.0</modelVersion>
    
        <groupId>org.apache.tomcat</groupId>
        <artifactId>tomcat</artifactId>
        <version>7.0.28-ourbranding-1-SNAPSHOT</version>
        <packaging>pom</packaging>
    
        <name>Pre-Configured Tomcat</name>
    
        <properties>
            <version.tomcat>7.0.28</version.tomcat>
            <tomcat.archive.file>${project.build.directory}/apache-tomcat-${version.tomcat}.zip</tomcat.archive.file>
        </properties>
    
        <build>    
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-dependency-plugin</artifactId>
                    <version>2.3</version>
                </plugin>
    
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-antrun-plugin</artifactId>
                    <version>1.6</version>
    
                    <executions>
                        <execution>
                            <id>repackage-tomcat</id>
                            <phase>process-resources</phase>
                            <goals>
                                <goal>run</goal>
                            </goals>
    
                            <configuration>
                                <target>
                                    <echo message="Re-packaging ${tomcat.archive.file}..." />
    
                                    <unzip src="${basedir}/src/main/lib/apache-tomcat-${version.tomcat}.zip" dest="${project.build.directory}" />
    
                                    <move file="${project.build.directory}/apache-tomcat-${version.tomcat}" tofile="${project.build.directory}/tomcat" />
    
                                    <!-- Remove the default webapps -->
                                    <delete dir="${project.build.directory}/tomcat/webapps/docs" />
                                    <delete dir="${project.build.directory}/tomcat/webapps/manager" />
                                    <delete dir="${project.build.directory}/tomcat/webapps/host-manager" />
                                    <delete dir="${project.build.directory}/tomcat/webapps/examples" />
    
                                    <!-- Patch the bin/catalina* scripts to include some of our jars in the classpath -->
    
                                    <!-- ... Some more magic goes on here ... -->
                                </target>
                            </configuration>
                        </execution>
                    </executions>
                </plugin>
    
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>build-helper-maven-plugin</artifactId>
                    <version>1.6</version>
                    <executions>
                        <execution>
                            <id>attach-artifacts</id>
                            <phase>package</phase>
                            <goals>
                                <goal>attach-artifact</goal>
                            </goals>
                            <configuration>
                                <artifacts>
                                    <artifact>
                                        <file>${tomcat.archive.file}</file>
                                        <type>zip</type>
                                    </artifact>
                                </artifacts>
                            </configuration>
                        </execution>
                    </executions>
                </plugin>
    
            </plugins>
        </build>
    
    </project>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a publicly available server connection iOS class that retains a connection between
Is there a website that lists all of the publicly available JQuery plugins? Also,
Are there any publicly available libraries or APIs out there on Ubuntu that allow
Are there any classes/functions written in php publicly available that will take a timestamp,
I have a static file that I don't want to be publicly available. Is
Is there publicly available data somewhere with estimates on the number of users of
Is there a publicly available document explaining the naming conventions followed in the Android
Are there any recommended ActionScript 3 style guides publicly available?
Does anyone know of any publicly available RESTful services that can be used for
I'm making a quick Google App Engine program that presents a publicly available form

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.