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

  • Home
  • SEARCH
  • 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 711675
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T04:45:44+00:00 2026-05-14T04:45:44+00:00

I am taking over a project left by previous colleague. The project is mavenized

  • 0

I am taking over a project left by previous colleague. The project is mavenized and I’m having a hard time building it. There is a inside block, which generates error when I ran mvn install. The error shows that plugin cannot be found in maven central repo. I checked and it’s not there. I happened to find another internal repository that has the plugin jar file. So outside the block, I specified a to point at that internal repo. However, when I ran mvn install again, it still goes to maven central repo to look for the plugin. How do I make it look for the jar file at the right repo? I thought by specifying the list, it would automatically check that list? Other than the repo I added, there was no repository list set up previously.

The missing plugin that I can’t get it to work is like this:

    <build>
        <plugins>
            <plugin>
            <groupId>com.totsp.gwt</groupId>
            <artifactId>maven-googlewebtoolkit2-plugin</artifactId>
           <version>2.0-SNAPSHOT</version>
            <configuration>
                <gwtVersion>2.0.0</gwtVersion>
                <style>OBF</style>
                <gen>target/gwtgen</gen>
                <runTarget>/</runTarget>
                <extraJvmArgs>-Xmx512m</extraJvmArgs>
                <port>8088</port>
                <useHtmlUnit>true</useHtmlUnit>
                <htmlUnitBrowsers>
                    <param>FF3</param>
                </htmlUnitBrowsers>
            </configuration>
            <executions>
                <execution>
                    <goals>
                        <goal>test</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
        </plugin>
    </build>
  • 1 1 Answer
  • 1 View
  • 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-05-14T04:45:44+00:00Added an answer on May 14, 2026 at 4:45 am

    Ok, now that you’ve provided the relevant part of your pom, I can say that you basically have two options here: either get the sources of the plugin and install it in your local repo or get the plugin from the maven repository of the project.

    Option #1

    Use a subversion client and get the sources of the plugin (version 2.0-SNAPSHOT is the current version) from the svn repository, build and install the plugin in your local repository. Here using the svn command line client:

    $ svn co http://gwt-maven.googlecode.com/svn/trunk/maven-googlewebtoolkit2-plugin/ maven-googlewebtoolkit2-plugin
    $ cd maven-googlewebtoolkit2-plugin
    $ mvn install 
    

    Note that this approach doesn’t solve the portability issue (another developer would have to repeat the same steps) and I can’t guarantee that you’ll get exactly the same version of the code than the previous developer.

    Option #2

    Declare the Maven Repository of the project as a <pluginRepository> and change the version of the plugin (2.0-SNAPSHOT is not available). Something like this:

    <pluginRepositories>
      <pluginRepository>
        <id>gwt-maven</id>
        <url>http://gwt-maven.googlecode.com/svn/trunk/mavenrepo</url>
      </pluginRepository>
    </pluginRepositories>
    <build>
      <plugins>
        <plugin>
          <groupId>com.totsp.gwt</groupId>
          <artifactId>maven-googlewebtoolkit2-plugin</artifactId>
          <version>2.0-RC1</version>
          <configuration>
            <gwtVersion>2.0.0</gwtVersion>
            <style>OBF</style>
            <gen>target/gwtgen</gen>
            <runTarget>/</runTarget>
            <extraJvmArgs>-Xmx512m</extraJvmArgs>
            <port>8088</port>
            <useHtmlUnit>true</useHtmlUnit>
            <htmlUnitBrowsers>
              <param>FF3</param>
            </htmlUnitBrowsers>
          </configuration>
          <executions>
            <execution>
              <goals>
                <goal>test</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
      </plugins>
    </build>
    

    Again, I can’t say anything about the changes between this version and the 2.0-SNAPSHOT the other developer was using.

    Last but not least (but this might not be a top priority for you right now), this plugin has been deprecated and is replaced by the gwt-maven-plugin from Codehaus. On the long term, you should consider moving to the Codehaus plugin.

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

Sidebar

Related Questions

I'm taking over some project of a colleague that is on holidays now. Other
Im taking over a project someone started a while ago. Im having a little
I am taking over an existing PHP project. I noticed that the previous developer
I'm taking over a project and wanted to understand if this is common practice
I am taking over a project that has all the files on the server.
I'm taking over another team's project and am experiencing some bizarre Eclipse issues. I'm
I'm taking over an existing Spring/JPA(w/hibernate)/Maven project and attempting to integrate unit testing and
Having just wrapped up a GWT-1.5 based project, I'm taking a look at what
I'm taking over a codeigniter project and notice the original dev uses a mixture
I am taking over a large project, and a lot of nested arrays are

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.