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>