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 8462843
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T14:17:14+00:00 2026-06-10T14:17:14+00:00

I am trying to use the eclipse maven plugin but when using the command:

  • 0

I am trying to use the eclipse maven plugin but when using the command:

tomcat7:deploy I am getting build successful with lots of html output explaining about adding users, I have added the user to tomcat with only manager-script.
and added that to the user of settings.xml in maven.

What am I doing wrong?

From the tomcat logs

127.0.0.1 - - [29/Aug/2012:23:50:34 +0100] "PUT /manager/text/deploy?path=%2F HTTP/1.1" 401 2486

my cofigurations

pom.xml

        <plugins>
        <plugin>
            <groupId>org.apache.tomcat.maven</groupId>
            <artifactId>tomcat7-maven-plugin</artifactId>
            <version>2.0-SNAPSHOT</version>
            <configuration>
                <server>tomcat_7</server>
                <port>8180</port>
                <path>/</path>
                <url>http://localhost:8180/manager/text</url>
            </configuration>
          </plugin>
    </plugins>

settings.xml

<server>
  <id>tomcat_7</id>
  <username>admin</username>
  <password>secret</password>
</server>

tomcat-users.xml

<user username="admin" password="secret" roles="manager-script" />
  • 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-10T14:17:16+00:00Added an answer on June 10, 2026 at 2:17 pm

    OK so I managed to fix the problem.

    I checked where the eclipse thought the maven settings.xml file was. This was the main problem, there was no settings.xml file therefore no authentication. I coppied the file to the path specified in eclipse.

    The build is now successful.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to use m2e ie maven plugin for eclipse. but below site
I am trying to use the maven-warpath-plugin available here . But I keep getting
I'm trying to use dll in my java application in eclipse, but I'm getting
I'm trying to build a new web app using Eclipse, I want to use
I am trying to get setup to use Maven and pom.xml files in Eclipse
I'm trying to use Google's SDK Tutorial for Android using Eclipse. I was able
I am trying to automate pde tests, using pde-maven-plugin, maven calls, or ant tasks.
I'm trying to use the glassfish-maven-plugin ( https://maven-glassfish-plugin.dev.java.net/ ) with GlassFish v3 (I'm on
I'm trying to use Breakpoints in Eclipse, but when I set them - nothing
I'm trying to use this Sonatype Eclipse plugin for the first time to handle

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.