netfengxia / js-test-driver

Automatically exported from code.google.com/p/js-test-driver
0 stars 0 forks source link

Not able to use "jstd-maven-plugin" version 1.3.2.5 sucessfully from our internal repository #386

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.We are refering to jstd-maven-plugin version 1.3.2.5 as dependencies in our 
maven project to run the JS test scripts using JS Test Driver with maven 
command.
sample dependency:
  <dependency>
    <groupId>com.googlecode.jstd-maven-plugin</groupId>
    <artifactId>jstd-maven-plugin</artifactId>
    <version>1.3.2.5</version>
    <scope>compile</scope>
  </dependency>
We are refering to following repository in our project pom file
<repositories>
    <repository>
      <id>jstd-maven-plugin-repo</id>
      <url>http://jstd-maven-plugin.googlecode.com/svn/maven2</url>
    </repository>
  </repositories>

  <pluginRepositories>
    <pluginRepository>
      <id>jstd-maven-plugin google code repo</id>
      <url>http://jstd-maven-plugin.googlecode.com/svn/maven2</url>
    </pluginRepository>
  </pluginRepositories>

2.When we try to run our project. It is able to download the jstd-maven-plugin 
sucessfully.

3.But when i upload the same jar file "jstd-maven-plugin-1.3.2.5" in to our 
internal repository and try to run the project. During the process of its 
downloading the dependency "jstd-maven-plugin" from the our internal 
repository, it gives the following error as though 
is it refering to the maven plugin old version

see the error below

[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project im-jsdriver: Could not resolve depende
ncies for project com.<company>.web:im-jsdriver:jar:1.0-SNAPSHOT: Could not f
ind artifact com.google.jstestdriver:jstestdriver:jar:1.3.2 in nexus (http://nex
us.<company>.com:8081/nexus/content/groups/public) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
lutionException

What is the expected output? What do you see instead?
I expect the project download the jstd-maven=plugin dependencies from our 
internal repository successfully

What version of the product are you using? On what operating system?
jstd-maven-plugin 1.3.2.5

Please provide any additional information below.
Any clue in this regard would be really helpfull. We are almost stuck because 
of this issue.

Original issue reported on code.google.com by chatpra...@gmail.com on 26 Jun 2012 at 1:10