Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-45042

Can not find dependency test jar with mvn verify

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • maven-plugin
    • None

      I have a maven project for automation test with Junit and Selenium. After the tests were added, I generated a test jar using maven-jar-plugin and deploy to Artifactory.

      In another maven project, get the test jar from Artifactory as a dependency with <type>test-jar</type> and <scope>test</scope>. It works fine when I do mvn verify in command line. But not working in Jenkins.

       

            Unassigned Unassigned
            gwang Grace Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: