JBehave
  1. JBehave
  2. JBEHAVE-953

jbehave-core / jbehave-jenkins-plugin cannot compile package

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Trivial Trivial
    • Resolution: Not A Bug
    • Affects Version/s: 4.x
    • Fix Version/s: 3.9
    • Component/s: Jenkins Support
    • Labels:
      None
    • Environment:
      Windows 7 64-bit
    • Number of attachments :
      0

      Description

      Reduce to trival since I didnt know you could get the hpi from http://search.maven.org/#search|ga|1|jbehave-jenkins-plugin

      A user cannot compile jbehave-core / jbehave-jenkins-plugin project using mvn package

      Steps to reproduce on windows OS:

      • download or clone master jbehave-core
      • Open cmd.exe
      • CD into the jbehave-jenkins-plugin directory
      • run the following
        mvn package
        

      when running these are the initial results on master:

      C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
      [INFO] Scanning for projects...
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
      Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.5 KB/sec)
      Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
      Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 3.1 KB/sec)
      Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
      Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 5.8 KB/sec)
      Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/xunit/1.62/xunit-1.62.pom
      [WARNING] The POM for org.jenkins-ci.plugins:xunit:jar:1.62 is missing, no dependency information available
      Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
      Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
      Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
      Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
      Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 6.8 KB/sec)
      Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 12.3 KB/sec)
      [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
      ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
      Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
      Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.9 KB/sec)
      Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
      Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 3.4 KB/sec)
      Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/xunit/1.62/xunit-1.62.jar
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 4.410s
      [INFO] Finished at: Sun Nov 03 20:33:01 EST 2013
      [INFO] Final Memory: 15M/224M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal on project jbehave-jenkins-plugin: Could not resolve dependencies for project org.jbehave:jbehave-jenkins-plugin:hpi:3.
      9-SNAPSHOT: Could not find artifact org.jenkins-ci.plugins:xunit:jar:1.62 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [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 read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
      
      • add the jenkins xunit repository to the pom to fix above problem
        <repositories>
        	<repository>
        		<id>jenkins-releases</id>
        		<url>http://repo.jenkins-ci.org/releases/</url>
        	</repository>
         </repositories>
        
      • run the following
        mvn package -U
        

      after running with the specified repository for jenkins xUnit I get the following error:

      C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
      [INFO] Scanning for projects...
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
      Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.1 KB/sec)
      Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
      Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 1.7 KB/sec)
      Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
      Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 3.0 KB/sec)
      Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
      Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
      Downloading: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml
      Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
      Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 3.3 KB/sec)
      Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
      Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 10.2 KB/sec)
      Downloaded: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml (2 KB at 1.9 KB/sec)
      [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
      ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
      Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
      Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
      Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.7 KB/sec)
      Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
      Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
      Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 3.2 KB/sec)
      [INFO]
      [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ jbehave-jenkins-plugin ---
      [debug] execute contextualize
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 2 resources
      [INFO] Copying 0 resource
      [INFO]
      [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jbehave-jenkins-plugin ---
      [INFO] Compiling 4 source files to C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin\target\classes
      [INFO]
      [INFO] --- access-modifier-checker:1.4:enforce (default-enforce) @ jbehave-jenkins-plugin ---
      Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.pom
      [WARNING] The POM for org.jenkins-ci:annotation-indexer:jar:1.4 is missing, no dependency information available
      Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.jar
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 6.718s
      [INFO] Finished at: Sun Nov 03 20:41:54 EST 2013
      [INFO] Final Memory: 25M/359M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.4:enforce (default-enforce) on project jbehave-jenkins-plugin: Execution default-
      enforce of goal org.kohsuke:access-modifier-checker:1.4:enforce failed: Plugin org.kohsuke:access-modifier-checker:1.4 or one of its dependencies coul
      d not be resolved: Could not find artifact org.jenkins-ci:annotation-indexer:jar:1.4 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [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 read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
      
      • so I added the dependency for jenkins annotation-indexer to the pom to fix above problem
        <dependency>
          <groupId>org.jenkins-ci</groupId>
          <artifactId>annotation-indexer</artifactId>
          <version>1.4</version>
        </dependency>
        
      • run the following
        mvn package -U
        

      after running with the specified dependency for jenkins annotation-indexer I get the following error:

       
      C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
      [INFO] Scanning for projects...
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
      Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.5 KB/sec)
      Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
      Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 2.6 KB/sec)
      Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
      Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 4.8 KB/sec)
      Downloading: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml
      Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
      Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
      Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
      Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 6.6 KB/sec)
      Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
      Downloaded: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml (2 KB at 6.9 KB/sec)
      Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 13.7 KB/sec)
      [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
      ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
      Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
      Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
      Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.9 KB/sec)
      Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
      Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
      Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 2.9 KB/sec)
      [INFO]
      [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ jbehave-jenkins-plugin ---
      [debug] execute contextualize
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 2 resources
      [INFO] Copying 0 resource
      [INFO]
      [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jbehave-jenkins-plugin ---
      [INFO] Nothing to compile - all classes are up to date
      [INFO]
      [INFO] --- access-modifier-checker:1.4:enforce (default-enforce) @ jbehave-jenkins-plugin ---
      Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.jar
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 4.789s
      [INFO] Finished at: Sun Nov 03 20:46:08 EST 2013
      [INFO] Final Memory: 20M/355M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.4:enforce (default-enforce) on project jbehave-jenkins-plugin: Execution default-
      enforce of goal org.kohsuke:access-modifier-checker:1.4:enforce failed: Plugin org.kohsuke:access-modifier-checker:1.4 or one of its dependencies coul
      d not be resolved: Could not find artifact org.jenkins-ci:annotation-indexer:jar:1.4 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [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 read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
      

      Stuck here. Just trying to build the hpi to put into jenkins...

      Using java version

      C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>java -version
      java version "1.7.0_40"
      Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
      Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
      

      Using maven version

      C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn --version
      Apache Maven 3.1.0 (893ca28a1da9d5f51ac03827af98bb730128f9f2; 2013-06-27 22:15:32-0400)
      Maven home: C:\apache-maven-3.1.0
      Java version: 1.7.0_40, vendor: Oracle Corporation
      Java home: C:\java\jdk7\jre
      Default locale: en_US, platform encoding: Cp1252
      OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
      

        Activity

        Paul Barton made changes -
        Field Original Value New Value
        Description A user cannot compile jbehave-core / jbehave-jenkins-plugin project using mvn package

        Steps to reproduce on windows OS:
        - download or clone jbehave-core
        - Open cmd.exe
        - CD into the jbehave-jenkins-plugin directory
        - run the following
        {code}
        mvn package
        {code}

        when running these are the initial results on master:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.5 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 3.1 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 5.8 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/xunit/1.62/xunit-1.62.pom
        [WARNING] The POM for org.jenkins-ci.plugins:xunit:jar:1.62 is missing, no dependency information available
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 6.8 KB/sec)
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 12.3 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.9 KB/sec)
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 3.4 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/xunit/1.62/xunit-1.62.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 4.410s
        [INFO] Finished at: Sun Nov 03 20:33:01 EST 2013
        [INFO] Final Memory: 15M/224M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal on project jbehave-jenkins-plugin: Could not resolve dependencies for project org.jbehave:jbehave-jenkins-plugin:hpi:3.
        9-SNAPSHOT: Could not find artifact org.jenkins-ci.plugins:xunit:jar:1.62 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
        {code}

        - add the jenkins xunit repository to the pom to fix above problem
        {code}
        <repositories>
        <repository>
        <id>jenkins-releases</id>
        <url>http://repo.jenkins-ci.org/releases/&lt;/url>
        </repository>
         </repositories>
        {code}

        - run the following
        {code}
        mvn package -U
        {code}

        after running with the specified repository for jenkins xUnit I get the following error:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.1 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 1.7 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 3.0 KB/sec)
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 3.3 KB/sec)
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 10.2 KB/sec)
        Downloaded: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml (2 KB at 1.9 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.7 KB/sec)
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 3.2 KB/sec)
        [INFO]
        [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ jbehave-jenkins-plugin ---
        [debug] execute contextualize
        [INFO] Using 'UTF-8' encoding to copy filtered resources.
        [INFO] Copying 2 resources
        [INFO] Copying 0 resource
        [INFO]
        [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jbehave-jenkins-plugin ---
        [INFO] Compiling 4 source files to C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin\target\classes
        [INFO]
        [INFO] --- access-modifier-checker:1.4:enforce (default-enforce) @ jbehave-jenkins-plugin ---
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.pom
        [WARNING] The POM for org.jenkins-ci:annotation-indexer:jar:1.4 is missing, no dependency information available
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 6.718s
        [INFO] Finished at: Sun Nov 03 20:41:54 EST 2013
        [INFO] Final Memory: 25M/359M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.4:enforce (default-enforce) on project jbehave-jenkins-plugin: Execution default-
        enforce of goal org.kohsuke:access-modifier-checker:1.4:enforce failed: Plugin org.kohsuke:access-modifier-checker:1.4 or one of its dependencies coul
        d not be resolved: Could not find artifact org.jenkins-ci:annotation-indexer:jar:1.4 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
        {code}
        A user cannot compile jbehave-core / jbehave-jenkins-plugin project using mvn package

        Steps to reproduce on windows OS:
        - download or clone jbehave-core
        - Open cmd.exe
        - CD into the jbehave-jenkins-plugin directory
        - run the following
        {code}
        mvn package
        {code}

        when running these are the initial results on master:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.5 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 3.1 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 5.8 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/xunit/1.62/xunit-1.62.pom
        [WARNING] The POM for org.jenkins-ci.plugins:xunit:jar:1.62 is missing, no dependency information available
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 6.8 KB/sec)
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 12.3 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.9 KB/sec)
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 3.4 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/xunit/1.62/xunit-1.62.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 4.410s
        [INFO] Finished at: Sun Nov 03 20:33:01 EST 2013
        [INFO] Final Memory: 15M/224M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal on project jbehave-jenkins-plugin: Could not resolve dependencies for project org.jbehave:jbehave-jenkins-plugin:hpi:3.
        9-SNAPSHOT: Could not find artifact org.jenkins-ci.plugins:xunit:jar:1.62 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
        {code}

        - add the jenkins xunit repository to the pom to fix above problem
        {code}
        <repositories>
        <repository>
        <id>jenkins-releases</id>
        <url>http://repo.jenkins-ci.org/releases/&lt;/url>
        </repository>
         </repositories>
        {code}

        - run the following
        {code}
        mvn package -U
        {code}

        after running with the specified repository for jenkins xUnit I get the following error:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.1 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 1.7 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 3.0 KB/sec)
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 3.3 KB/sec)
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 10.2 KB/sec)
        Downloaded: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml (2 KB at 1.9 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.7 KB/sec)
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 3.2 KB/sec)
        [INFO]
        [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ jbehave-jenkins-plugin ---
        [debug] execute contextualize
        [INFO] Using 'UTF-8' encoding to copy filtered resources.
        [INFO] Copying 2 resources
        [INFO] Copying 0 resource
        [INFO]
        [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jbehave-jenkins-plugin ---
        [INFO] Compiling 4 source files to C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin\target\classes
        [INFO]
        [INFO] --- access-modifier-checker:1.4:enforce (default-enforce) @ jbehave-jenkins-plugin ---
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.pom
        [WARNING] The POM for org.jenkins-ci:annotation-indexer:jar:1.4 is missing, no dependency information available
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 6.718s
        [INFO] Finished at: Sun Nov 03 20:41:54 EST 2013
        [INFO] Final Memory: 25M/359M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.4:enforce (default-enforce) on project jbehave-jenkins-plugin: Execution default-
        enforce of goal org.kohsuke:access-modifier-checker:1.4:enforce failed: Plugin org.kohsuke:access-modifier-checker:1.4 or one of its dependencies coul
        d not be resolved: Could not find artifact org.jenkins-ci:annotation-indexer:jar:1.4 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
        {code}

        - so I added the dependency for jenkins annotation-indexer to the pom to fix above problem
        {code}
        <dependency>
          <groupId>org.jenkins-ci</groupId>
          <artifactId>annotation-indexer</artifactId>
          <version>1.4</version>
        </dependency>
        {code}

        - run the following
        {code}
        mvn package -U
        {code}

        after running with the specified dependency for jenkins annotation-indexer I get the following error:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.5 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 2.6 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 4.8 KB/sec)
        Downloading: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 6.6 KB/sec)
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml (2 KB at 6.9 KB/sec)
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 13.7 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.9 KB/sec)
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 2.9 KB/sec)
        [INFO]
        [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ jbehave-jenkins-plugin ---
        [debug] execute contextualize
        [INFO] Using 'UTF-8' encoding to copy filtered resources.
        [INFO] Copying 2 resources
        [INFO] Copying 0 resource
        [INFO]
        [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jbehave-jenkins-plugin ---
        [INFO] Nothing to compile - all classes are up to date
        [INFO]
        [INFO] --- access-modifier-checker:1.4:enforce (default-enforce) @ jbehave-jenkins-plugin ---
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 4.789s
        [INFO] Finished at: Sun Nov 03 20:46:08 EST 2013
        [INFO] Final Memory: 20M/355M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.4:enforce (default-enforce) on project jbehave-jenkins-plugin: Execution default-
        enforce of goal org.kohsuke:access-modifier-checker:1.4:enforce failed: Plugin org.kohsuke:access-modifier-checker:1.4 or one of its dependencies coul
        d not be resolved: Could not find artifact org.jenkins-ci:annotation-indexer:jar:1.4 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
        {code}

        Stuck here.
        Paul Barton made changes -
        Description A user cannot compile jbehave-core / jbehave-jenkins-plugin project using mvn package

        Steps to reproduce on windows OS:
        - download or clone jbehave-core
        - Open cmd.exe
        - CD into the jbehave-jenkins-plugin directory
        - run the following
        {code}
        mvn package
        {code}

        when running these are the initial results on master:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.5 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 3.1 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 5.8 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/xunit/1.62/xunit-1.62.pom
        [WARNING] The POM for org.jenkins-ci.plugins:xunit:jar:1.62 is missing, no dependency information available
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 6.8 KB/sec)
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 12.3 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.9 KB/sec)
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 3.4 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/xunit/1.62/xunit-1.62.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 4.410s
        [INFO] Finished at: Sun Nov 03 20:33:01 EST 2013
        [INFO] Final Memory: 15M/224M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal on project jbehave-jenkins-plugin: Could not resolve dependencies for project org.jbehave:jbehave-jenkins-plugin:hpi:3.
        9-SNAPSHOT: Could not find artifact org.jenkins-ci.plugins:xunit:jar:1.62 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
        {code}

        - add the jenkins xunit repository to the pom to fix above problem
        {code}
        <repositories>
        <repository>
        <id>jenkins-releases</id>
        <url>http://repo.jenkins-ci.org/releases/&lt;/url>
        </repository>
         </repositories>
        {code}

        - run the following
        {code}
        mvn package -U
        {code}

        after running with the specified repository for jenkins xUnit I get the following error:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.1 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 1.7 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 3.0 KB/sec)
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 3.3 KB/sec)
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 10.2 KB/sec)
        Downloaded: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml (2 KB at 1.9 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.7 KB/sec)
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 3.2 KB/sec)
        [INFO]
        [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ jbehave-jenkins-plugin ---
        [debug] execute contextualize
        [INFO] Using 'UTF-8' encoding to copy filtered resources.
        [INFO] Copying 2 resources
        [INFO] Copying 0 resource
        [INFO]
        [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jbehave-jenkins-plugin ---
        [INFO] Compiling 4 source files to C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin\target\classes
        [INFO]
        [INFO] --- access-modifier-checker:1.4:enforce (default-enforce) @ jbehave-jenkins-plugin ---
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.pom
        [WARNING] The POM for org.jenkins-ci:annotation-indexer:jar:1.4 is missing, no dependency information available
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 6.718s
        [INFO] Finished at: Sun Nov 03 20:41:54 EST 2013
        [INFO] Final Memory: 25M/359M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.4:enforce (default-enforce) on project jbehave-jenkins-plugin: Execution default-
        enforce of goal org.kohsuke:access-modifier-checker:1.4:enforce failed: Plugin org.kohsuke:access-modifier-checker:1.4 or one of its dependencies coul
        d not be resolved: Could not find artifact org.jenkins-ci:annotation-indexer:jar:1.4 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
        {code}

        - so I added the dependency for jenkins annotation-indexer to the pom to fix above problem
        {code}
        <dependency>
          <groupId>org.jenkins-ci</groupId>
          <artifactId>annotation-indexer</artifactId>
          <version>1.4</version>
        </dependency>
        {code}

        - run the following
        {code}
        mvn package -U
        {code}

        after running with the specified dependency for jenkins annotation-indexer I get the following error:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.5 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 2.6 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 4.8 KB/sec)
        Downloading: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 6.6 KB/sec)
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml (2 KB at 6.9 KB/sec)
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 13.7 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.9 KB/sec)
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 2.9 KB/sec)
        [INFO]
        [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ jbehave-jenkins-plugin ---
        [debug] execute contextualize
        [INFO] Using 'UTF-8' encoding to copy filtered resources.
        [INFO] Copying 2 resources
        [INFO] Copying 0 resource
        [INFO]
        [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jbehave-jenkins-plugin ---
        [INFO] Nothing to compile - all classes are up to date
        [INFO]
        [INFO] --- access-modifier-checker:1.4:enforce (default-enforce) @ jbehave-jenkins-plugin ---
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 4.789s
        [INFO] Finished at: Sun Nov 03 20:46:08 EST 2013
        [INFO] Final Memory: 20M/355M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.4:enforce (default-enforce) on project jbehave-jenkins-plugin: Execution default-
        enforce of goal org.kohsuke:access-modifier-checker:1.4:enforce failed: Plugin org.kohsuke:access-modifier-checker:1.4 or one of its dependencies coul
        d not be resolved: Could not find artifact org.jenkins-ci:annotation-indexer:jar:1.4 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
        {code}

        Stuck here.
        A user cannot compile jbehave-core / jbehave-jenkins-plugin project using mvn package

        Steps to reproduce on windows OS:
        - download or clone master jbehave-core
        - Open cmd.exe
        - CD into the jbehave-jenkins-plugin directory
        - run the following
        {code}
        mvn package
        {code}

        when running these are the initial results on master:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.5 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 3.1 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 5.8 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/xunit/1.62/xunit-1.62.pom
        [WARNING] The POM for org.jenkins-ci.plugins:xunit:jar:1.62 is missing, no dependency information available
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 6.8 KB/sec)
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 12.3 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.9 KB/sec)
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 3.4 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/xunit/1.62/xunit-1.62.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 4.410s
        [INFO] Finished at: Sun Nov 03 20:33:01 EST 2013
        [INFO] Final Memory: 15M/224M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal on project jbehave-jenkins-plugin: Could not resolve dependencies for project org.jbehave:jbehave-jenkins-plugin:hpi:3.
        9-SNAPSHOT: Could not find artifact org.jenkins-ci.plugins:xunit:jar:1.62 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
        {code}

        - add the jenkins xunit repository to the pom to fix above problem
        {code}
        <repositories>
        <repository>
        <id>jenkins-releases</id>
        <url>http://repo.jenkins-ci.org/releases/&lt;/url>
        </repository>
         </repositories>
        {code}

        - run the following
        {code}
        mvn package -U
        {code}

        after running with the specified repository for jenkins xUnit I get the following error:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.1 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 1.7 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 3.0 KB/sec)
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 3.3 KB/sec)
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 10.2 KB/sec)
        Downloaded: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml (2 KB at 1.9 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.7 KB/sec)
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 3.2 KB/sec)
        [INFO]
        [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ jbehave-jenkins-plugin ---
        [debug] execute contextualize
        [INFO] Using 'UTF-8' encoding to copy filtered resources.
        [INFO] Copying 2 resources
        [INFO] Copying 0 resource
        [INFO]
        [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jbehave-jenkins-plugin ---
        [INFO] Compiling 4 source files to C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin\target\classes
        [INFO]
        [INFO] --- access-modifier-checker:1.4:enforce (default-enforce) @ jbehave-jenkins-plugin ---
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.pom
        [WARNING] The POM for org.jenkins-ci:annotation-indexer:jar:1.4 is missing, no dependency information available
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 6.718s
        [INFO] Finished at: Sun Nov 03 20:41:54 EST 2013
        [INFO] Final Memory: 25M/359M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.4:enforce (default-enforce) on project jbehave-jenkins-plugin: Execution default-
        enforce of goal org.kohsuke:access-modifier-checker:1.4:enforce failed: Plugin org.kohsuke:access-modifier-checker:1.4 or one of its dependencies coul
        d not be resolved: Could not find artifact org.jenkins-ci:annotation-indexer:jar:1.4 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
        {code}

        - so I added the dependency for jenkins annotation-indexer to the pom to fix above problem
        {code}
        <dependency>
          <groupId>org.jenkins-ci</groupId>
          <artifactId>annotation-indexer</artifactId>
          <version>1.4</version>
        </dependency>
        {code}

        - run the following
        {code}
        mvn package -U
        {code}

        after running with the specified dependency for jenkins annotation-indexer I get the following error:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.5 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 2.6 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 4.8 KB/sec)
        Downloading: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 6.6 KB/sec)
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml (2 KB at 6.9 KB/sec)
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 13.7 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.9 KB/sec)
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 2.9 KB/sec)
        [INFO]
        [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ jbehave-jenkins-plugin ---
        [debug] execute contextualize
        [INFO] Using 'UTF-8' encoding to copy filtered resources.
        [INFO] Copying 2 resources
        [INFO] Copying 0 resource
        [INFO]
        [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jbehave-jenkins-plugin ---
        [INFO] Nothing to compile - all classes are up to date
        [INFO]
        [INFO] --- access-modifier-checker:1.4:enforce (default-enforce) @ jbehave-jenkins-plugin ---
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 4.789s
        [INFO] Finished at: Sun Nov 03 20:46:08 EST 2013
        [INFO] Final Memory: 20M/355M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.4:enforce (default-enforce) on project jbehave-jenkins-plugin: Execution default-
        enforce of goal org.kohsuke:access-modifier-checker:1.4:enforce failed: Plugin org.kohsuke:access-modifier-checker:1.4 or one of its dependencies coul
        d not be resolved: Could not find artifact org.jenkins-ci:annotation-indexer:jar:1.4 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
        {code}

        Stuck here.
        Paul Barton made changes -
        Description A user cannot compile jbehave-core / jbehave-jenkins-plugin project using mvn package

        Steps to reproduce on windows OS:
        - download or clone master jbehave-core
        - Open cmd.exe
        - CD into the jbehave-jenkins-plugin directory
        - run the following
        {code}
        mvn package
        {code}

        when running these are the initial results on master:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.5 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 3.1 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 5.8 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/xunit/1.62/xunit-1.62.pom
        [WARNING] The POM for org.jenkins-ci.plugins:xunit:jar:1.62 is missing, no dependency information available
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 6.8 KB/sec)
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 12.3 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.9 KB/sec)
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 3.4 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/xunit/1.62/xunit-1.62.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 4.410s
        [INFO] Finished at: Sun Nov 03 20:33:01 EST 2013
        [INFO] Final Memory: 15M/224M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal on project jbehave-jenkins-plugin: Could not resolve dependencies for project org.jbehave:jbehave-jenkins-plugin:hpi:3.
        9-SNAPSHOT: Could not find artifact org.jenkins-ci.plugins:xunit:jar:1.62 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
        {code}

        - add the jenkins xunit repository to the pom to fix above problem
        {code}
        <repositories>
        <repository>
        <id>jenkins-releases</id>
        <url>http://repo.jenkins-ci.org/releases/&lt;/url>
        </repository>
         </repositories>
        {code}

        - run the following
        {code}
        mvn package -U
        {code}

        after running with the specified repository for jenkins xUnit I get the following error:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.1 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 1.7 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 3.0 KB/sec)
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 3.3 KB/sec)
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 10.2 KB/sec)
        Downloaded: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml (2 KB at 1.9 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.7 KB/sec)
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 3.2 KB/sec)
        [INFO]
        [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ jbehave-jenkins-plugin ---
        [debug] execute contextualize
        [INFO] Using 'UTF-8' encoding to copy filtered resources.
        [INFO] Copying 2 resources
        [INFO] Copying 0 resource
        [INFO]
        [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jbehave-jenkins-plugin ---
        [INFO] Compiling 4 source files to C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin\target\classes
        [INFO]
        [INFO] --- access-modifier-checker:1.4:enforce (default-enforce) @ jbehave-jenkins-plugin ---
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.pom
        [WARNING] The POM for org.jenkins-ci:annotation-indexer:jar:1.4 is missing, no dependency information available
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 6.718s
        [INFO] Finished at: Sun Nov 03 20:41:54 EST 2013
        [INFO] Final Memory: 25M/359M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.4:enforce (default-enforce) on project jbehave-jenkins-plugin: Execution default-
        enforce of goal org.kohsuke:access-modifier-checker:1.4:enforce failed: Plugin org.kohsuke:access-modifier-checker:1.4 or one of its dependencies coul
        d not be resolved: Could not find artifact org.jenkins-ci:annotation-indexer:jar:1.4 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
        {code}

        - so I added the dependency for jenkins annotation-indexer to the pom to fix above problem
        {code}
        <dependency>
          <groupId>org.jenkins-ci</groupId>
          <artifactId>annotation-indexer</artifactId>
          <version>1.4</version>
        </dependency>
        {code}

        - run the following
        {code}
        mvn package -U
        {code}

        after running with the specified dependency for jenkins annotation-indexer I get the following error:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.5 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 2.6 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 4.8 KB/sec)
        Downloading: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 6.6 KB/sec)
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml (2 KB at 6.9 KB/sec)
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 13.7 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.9 KB/sec)
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 2.9 KB/sec)
        [INFO]
        [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ jbehave-jenkins-plugin ---
        [debug] execute contextualize
        [INFO] Using 'UTF-8' encoding to copy filtered resources.
        [INFO] Copying 2 resources
        [INFO] Copying 0 resource
        [INFO]
        [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jbehave-jenkins-plugin ---
        [INFO] Nothing to compile - all classes are up to date
        [INFO]
        [INFO] --- access-modifier-checker:1.4:enforce (default-enforce) @ jbehave-jenkins-plugin ---
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 4.789s
        [INFO] Finished at: Sun Nov 03 20:46:08 EST 2013
        [INFO] Final Memory: 20M/355M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.4:enforce (default-enforce) on project jbehave-jenkins-plugin: Execution default-
        enforce of goal org.kohsuke:access-modifier-checker:1.4:enforce failed: Plugin org.kohsuke:access-modifier-checker:1.4 or one of its dependencies coul
        d not be resolved: Could not find artifact org.jenkins-ci:annotation-indexer:jar:1.4 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
        {code}

        Stuck here.
        A user cannot compile jbehave-core / jbehave-jenkins-plugin project using mvn package

        Steps to reproduce on windows OS:
        - download or clone master jbehave-core
        - Open cmd.exe
        - CD into the jbehave-jenkins-plugin directory
        - run the following
        {code}
        mvn package
        {code}

        when running these are the initial results on master:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.5 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 3.1 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 5.8 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/xunit/1.62/xunit-1.62.pom
        [WARNING] The POM for org.jenkins-ci.plugins:xunit:jar:1.62 is missing, no dependency information available
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 6.8 KB/sec)
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 12.3 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.9 KB/sec)
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 3.4 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/xunit/1.62/xunit-1.62.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 4.410s
        [INFO] Finished at: Sun Nov 03 20:33:01 EST 2013
        [INFO] Final Memory: 15M/224M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal on project jbehave-jenkins-plugin: Could not resolve dependencies for project org.jbehave:jbehave-jenkins-plugin:hpi:3.
        9-SNAPSHOT: Could not find artifact org.jenkins-ci.plugins:xunit:jar:1.62 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
        {code}

        - add the jenkins xunit repository to the pom to fix above problem
        {code}
        <repositories>
        <repository>
        <id>jenkins-releases</id>
        <url>http://repo.jenkins-ci.org/releases/&lt;/url>
        </repository>
         </repositories>
        {code}

        - run the following
        {code}
        mvn package -U
        {code}

        after running with the specified repository for jenkins xUnit I get the following error:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.1 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 1.7 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 3.0 KB/sec)
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 3.3 KB/sec)
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 10.2 KB/sec)
        Downloaded: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml (2 KB at 1.9 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.7 KB/sec)
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 3.2 KB/sec)
        [INFO]
        [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ jbehave-jenkins-plugin ---
        [debug] execute contextualize
        [INFO] Using 'UTF-8' encoding to copy filtered resources.
        [INFO] Copying 2 resources
        [INFO] Copying 0 resource
        [INFO]
        [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jbehave-jenkins-plugin ---
        [INFO] Compiling 4 source files to C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin\target\classes
        [INFO]
        [INFO] --- access-modifier-checker:1.4:enforce (default-enforce) @ jbehave-jenkins-plugin ---
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.pom
        [WARNING] The POM for org.jenkins-ci:annotation-indexer:jar:1.4 is missing, no dependency information available
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 6.718s
        [INFO] Finished at: Sun Nov 03 20:41:54 EST 2013
        [INFO] Final Memory: 25M/359M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.4:enforce (default-enforce) on project jbehave-jenkins-plugin: Execution default-
        enforce of goal org.kohsuke:access-modifier-checker:1.4:enforce failed: Plugin org.kohsuke:access-modifier-checker:1.4 or one of its dependencies coul
        d not be resolved: Could not find artifact org.jenkins-ci:annotation-indexer:jar:1.4 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
        {code}

        - so I added the dependency for jenkins annotation-indexer to the pom to fix above problem
        {code}
        <dependency>
          <groupId>org.jenkins-ci</groupId>
          <artifactId>annotation-indexer</artifactId>
          <version>1.4</version>
        </dependency>
        {code}

        - run the following
        {code}
        mvn package -U
        {code}

        after running with the specified dependency for jenkins annotation-indexer I get the following error:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.5 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 2.6 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 4.8 KB/sec)
        Downloading: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 6.6 KB/sec)
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml (2 KB at 6.9 KB/sec)
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 13.7 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.9 KB/sec)
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 2.9 KB/sec)
        [INFO]
        [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ jbehave-jenkins-plugin ---
        [debug] execute contextualize
        [INFO] Using 'UTF-8' encoding to copy filtered resources.
        [INFO] Copying 2 resources
        [INFO] Copying 0 resource
        [INFO]
        [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jbehave-jenkins-plugin ---
        [INFO] Nothing to compile - all classes are up to date
        [INFO]
        [INFO] --- access-modifier-checker:1.4:enforce (default-enforce) @ jbehave-jenkins-plugin ---
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 4.789s
        [INFO] Finished at: Sun Nov 03 20:46:08 EST 2013
        [INFO] Final Memory: 20M/355M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.4:enforce (default-enforce) on project jbehave-jenkins-plugin: Execution default-
        enforce of goal org.kohsuke:access-modifier-checker:1.4:enforce failed: Plugin org.kohsuke:access-modifier-checker:1.4 or one of its dependencies coul
        d not be resolved: Could not find artifact org.jenkins-ci:annotation-indexer:jar:1.4 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
        {code}

        Stuck here. Just trying to build the hpi to put into jenkins...

        Using java version
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>java -version
        java version "1.7.0_40"
        Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
        Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
        {code}

        Using maven version
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn --version
        Apache Maven 3.1.0 (893ca28a1da9d5f51ac03827af98bb730128f9f2; 2013-06-27 22:15:32-0400)
        Maven home: C:\apache-maven-3.1.0
        Java version: 1.7.0_40, vendor: Oracle Corporation
        Java home: C:\java\jdk7\jre
        Default locale: en_US, platform encoding: Cp1252
        OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
        {code}
        Paul Barton made changes -
        Priority Major [ 3 ] Trivial [ 5 ]
        Paul Barton made changes -
        Description A user cannot compile jbehave-core / jbehave-jenkins-plugin project using mvn package

        Steps to reproduce on windows OS:
        - download or clone master jbehave-core
        - Open cmd.exe
        - CD into the jbehave-jenkins-plugin directory
        - run the following
        {code}
        mvn package
        {code}

        when running these are the initial results on master:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.5 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 3.1 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 5.8 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/xunit/1.62/xunit-1.62.pom
        [WARNING] The POM for org.jenkins-ci.plugins:xunit:jar:1.62 is missing, no dependency information available
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 6.8 KB/sec)
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 12.3 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.9 KB/sec)
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 3.4 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/xunit/1.62/xunit-1.62.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 4.410s
        [INFO] Finished at: Sun Nov 03 20:33:01 EST 2013
        [INFO] Final Memory: 15M/224M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal on project jbehave-jenkins-plugin: Could not resolve dependencies for project org.jbehave:jbehave-jenkins-plugin:hpi:3.
        9-SNAPSHOT: Could not find artifact org.jenkins-ci.plugins:xunit:jar:1.62 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
        {code}

        - add the jenkins xunit repository to the pom to fix above problem
        {code}
        <repositories>
        <repository>
        <id>jenkins-releases</id>
        <url>http://repo.jenkins-ci.org/releases/&lt;/url>
        </repository>
         </repositories>
        {code}

        - run the following
        {code}
        mvn package -U
        {code}

        after running with the specified repository for jenkins xUnit I get the following error:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.1 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 1.7 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 3.0 KB/sec)
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 3.3 KB/sec)
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 10.2 KB/sec)
        Downloaded: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml (2 KB at 1.9 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.7 KB/sec)
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 3.2 KB/sec)
        [INFO]
        [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ jbehave-jenkins-plugin ---
        [debug] execute contextualize
        [INFO] Using 'UTF-8' encoding to copy filtered resources.
        [INFO] Copying 2 resources
        [INFO] Copying 0 resource
        [INFO]
        [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jbehave-jenkins-plugin ---
        [INFO] Compiling 4 source files to C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin\target\classes
        [INFO]
        [INFO] --- access-modifier-checker:1.4:enforce (default-enforce) @ jbehave-jenkins-plugin ---
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.pom
        [WARNING] The POM for org.jenkins-ci:annotation-indexer:jar:1.4 is missing, no dependency information available
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 6.718s
        [INFO] Finished at: Sun Nov 03 20:41:54 EST 2013
        [INFO] Final Memory: 25M/359M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.4:enforce (default-enforce) on project jbehave-jenkins-plugin: Execution default-
        enforce of goal org.kohsuke:access-modifier-checker:1.4:enforce failed: Plugin org.kohsuke:access-modifier-checker:1.4 or one of its dependencies coul
        d not be resolved: Could not find artifact org.jenkins-ci:annotation-indexer:jar:1.4 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
        {code}

        - so I added the dependency for jenkins annotation-indexer to the pom to fix above problem
        {code}
        <dependency>
          <groupId>org.jenkins-ci</groupId>
          <artifactId>annotation-indexer</artifactId>
          <version>1.4</version>
        </dependency>
        {code}

        - run the following
        {code}
        mvn package -U
        {code}

        after running with the specified dependency for jenkins annotation-indexer I get the following error:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.5 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 2.6 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 4.8 KB/sec)
        Downloading: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 6.6 KB/sec)
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml (2 KB at 6.9 KB/sec)
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 13.7 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.9 KB/sec)
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 2.9 KB/sec)
        [INFO]
        [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ jbehave-jenkins-plugin ---
        [debug] execute contextualize
        [INFO] Using 'UTF-8' encoding to copy filtered resources.
        [INFO] Copying 2 resources
        [INFO] Copying 0 resource
        [INFO]
        [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jbehave-jenkins-plugin ---
        [INFO] Nothing to compile - all classes are up to date
        [INFO]
        [INFO] --- access-modifier-checker:1.4:enforce (default-enforce) @ jbehave-jenkins-plugin ---
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 4.789s
        [INFO] Finished at: Sun Nov 03 20:46:08 EST 2013
        [INFO] Final Memory: 20M/355M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.4:enforce (default-enforce) on project jbehave-jenkins-plugin: Execution default-
        enforce of goal org.kohsuke:access-modifier-checker:1.4:enforce failed: Plugin org.kohsuke:access-modifier-checker:1.4 or one of its dependencies coul
        d not be resolved: Could not find artifact org.jenkins-ci:annotation-indexer:jar:1.4 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
        {code}

        Stuck here. Just trying to build the hpi to put into jenkins...

        Using java version
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>java -version
        java version "1.7.0_40"
        Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
        Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
        {code}

        Using maven version
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn --version
        Apache Maven 3.1.0 (893ca28a1da9d5f51ac03827af98bb730128f9f2; 2013-06-27 22:15:32-0400)
        Maven home: C:\apache-maven-3.1.0
        Java version: 1.7.0_40, vendor: Oracle Corporation
        Java home: C:\java\jdk7\jre
        Default locale: en_US, platform encoding: Cp1252
        OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
        {code}
        Reduce to trival since I didnt know you could get the hpi from http://search.maven.org/#search|ga|1|jbehave-jenkins-plugin

        A user cannot compile jbehave-core / jbehave-jenkins-plugin project using mvn package

        Steps to reproduce on windows OS:
        - download or clone master jbehave-core
        - Open cmd.exe
        - CD into the jbehave-jenkins-plugin directory
        - run the following
        {code}
        mvn package
        {code}

        when running these are the initial results on master:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.5 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 3.1 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 5.8 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/xunit/1.62/xunit-1.62.pom
        [WARNING] The POM for org.jenkins-ci.plugins:xunit:jar:1.62 is missing, no dependency information available
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 6.8 KB/sec)
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 12.3 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.9 KB/sec)
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 3.4 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/xunit/1.62/xunit-1.62.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 4.410s
        [INFO] Finished at: Sun Nov 03 20:33:01 EST 2013
        [INFO] Final Memory: 15M/224M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal on project jbehave-jenkins-plugin: Could not resolve dependencies for project org.jbehave:jbehave-jenkins-plugin:hpi:3.
        9-SNAPSHOT: Could not find artifact org.jenkins-ci.plugins:xunit:jar:1.62 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
        {code}

        - add the jenkins xunit repository to the pom to fix above problem
        {code}
        <repositories>
        <repository>
        <id>jenkins-releases</id>
        <url>http://repo.jenkins-ci.org/releases/&lt;/url>
        </repository>
         </repositories>
        {code}

        - run the following
        {code}
        mvn package -U
        {code}

        after running with the specified repository for jenkins xUnit I get the following error:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.1 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 1.7 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 3.0 KB/sec)
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 3.3 KB/sec)
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 10.2 KB/sec)
        Downloaded: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml (2 KB at 1.9 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.7 KB/sec)
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 3.2 KB/sec)
        [INFO]
        [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ jbehave-jenkins-plugin ---
        [debug] execute contextualize
        [INFO] Using 'UTF-8' encoding to copy filtered resources.
        [INFO] Copying 2 resources
        [INFO] Copying 0 resource
        [INFO]
        [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jbehave-jenkins-plugin ---
        [INFO] Compiling 4 source files to C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin\target\classes
        [INFO]
        [INFO] --- access-modifier-checker:1.4:enforce (default-enforce) @ jbehave-jenkins-plugin ---
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.pom
        [WARNING] The POM for org.jenkins-ci:annotation-indexer:jar:1.4 is missing, no dependency information available
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 6.718s
        [INFO] Finished at: Sun Nov 03 20:41:54 EST 2013
        [INFO] Final Memory: 25M/359M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.4:enforce (default-enforce) on project jbehave-jenkins-plugin: Execution default-
        enforce of goal org.kohsuke:access-modifier-checker:1.4:enforce failed: Plugin org.kohsuke:access-modifier-checker:1.4 or one of its dependencies coul
        d not be resolved: Could not find artifact org.jenkins-ci:annotation-indexer:jar:1.4 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
        {code}

        - so I added the dependency for jenkins annotation-indexer to the pom to fix above problem
        {code}
        <dependency>
          <groupId>org.jenkins-ci</groupId>
          <artifactId>annotation-indexer</artifactId>
          <version>1.4</version>
        </dependency>
        {code}

        - run the following
        {code}
        mvn package -U
        {code}

        after running with the specified dependency for jenkins annotation-indexer I get the following error:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.5 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 2.6 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 4.8 KB/sec)
        Downloading: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 6.6 KB/sec)
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml (2 KB at 6.9 KB/sec)
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 13.7 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.9 KB/sec)
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 2.9 KB/sec)
        [INFO]
        [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ jbehave-jenkins-plugin ---
        [debug] execute contextualize
        [INFO] Using 'UTF-8' encoding to copy filtered resources.
        [INFO] Copying 2 resources
        [INFO] Copying 0 resource
        [INFO]
        [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jbehave-jenkins-plugin ---
        [INFO] Nothing to compile - all classes are up to date
        [INFO]
        [INFO] --- access-modifier-checker:1.4:enforce (default-enforce) @ jbehave-jenkins-plugin ---
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 4.789s
        [INFO] Finished at: Sun Nov 03 20:46:08 EST 2013
        [INFO] Final Memory: 20M/355M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.4:enforce (default-enforce) on project jbehave-jenkins-plugin: Execution default-
        enforce of goal org.kohsuke:access-modifier-checker:1.4:enforce failed: Plugin org.kohsuke:access-modifier-checker:1.4 or one of its dependencies coul
        d not be resolved: Could not find artifact org.jenkins-ci:annotation-indexer:jar:1.4 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
        {code}

        Stuck here. Just trying to build the hpi to put into jenkins...

        Using java version
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>java -version
        java version "1.7.0_40"
        Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
        Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
        {code}

        Using maven version
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn --version
        Apache Maven 3.1.0 (893ca28a1da9d5f51ac03827af98bb730128f9f2; 2013-06-27 22:15:32-0400)
        Maven home: C:\apache-maven-3.1.0
        Java version: 1.7.0_40, vendor: Oracle Corporation
        Java home: C:\java\jdk7\jre
        Default locale: en_US, platform encoding: Cp1252
        OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
        {code}
        Paul Barton made changes -
        Description Reduce to trival since I didnt know you could get the hpi from http://search.maven.org/#search|ga|1|jbehave-jenkins-plugin

        A user cannot compile jbehave-core / jbehave-jenkins-plugin project using mvn package

        Steps to reproduce on windows OS:
        - download or clone master jbehave-core
        - Open cmd.exe
        - CD into the jbehave-jenkins-plugin directory
        - run the following
        {code}
        mvn package
        {code}

        when running these are the initial results on master:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.5 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 3.1 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 5.8 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/xunit/1.62/xunit-1.62.pom
        [WARNING] The POM for org.jenkins-ci.plugins:xunit:jar:1.62 is missing, no dependency information available
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 6.8 KB/sec)
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 12.3 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.9 KB/sec)
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 3.4 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/xunit/1.62/xunit-1.62.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 4.410s
        [INFO] Finished at: Sun Nov 03 20:33:01 EST 2013
        [INFO] Final Memory: 15M/224M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal on project jbehave-jenkins-plugin: Could not resolve dependencies for project org.jbehave:jbehave-jenkins-plugin:hpi:3.
        9-SNAPSHOT: Could not find artifact org.jenkins-ci.plugins:xunit:jar:1.62 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
        {code}

        - add the jenkins xunit repository to the pom to fix above problem
        {code}
        <repositories>
        <repository>
        <id>jenkins-releases</id>
        <url>http://repo.jenkins-ci.org/releases/&lt;/url>
        </repository>
         </repositories>
        {code}

        - run the following
        {code}
        mvn package -U
        {code}

        after running with the specified repository for jenkins xUnit I get the following error:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.1 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 1.7 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 3.0 KB/sec)
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 3.3 KB/sec)
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 10.2 KB/sec)
        Downloaded: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml (2 KB at 1.9 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.7 KB/sec)
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 3.2 KB/sec)
        [INFO]
        [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ jbehave-jenkins-plugin ---
        [debug] execute contextualize
        [INFO] Using 'UTF-8' encoding to copy filtered resources.
        [INFO] Copying 2 resources
        [INFO] Copying 0 resource
        [INFO]
        [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jbehave-jenkins-plugin ---
        [INFO] Compiling 4 source files to C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin\target\classes
        [INFO]
        [INFO] --- access-modifier-checker:1.4:enforce (default-enforce) @ jbehave-jenkins-plugin ---
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.pom
        [WARNING] The POM for org.jenkins-ci:annotation-indexer:jar:1.4 is missing, no dependency information available
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 6.718s
        [INFO] Finished at: Sun Nov 03 20:41:54 EST 2013
        [INFO] Final Memory: 25M/359M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.4:enforce (default-enforce) on project jbehave-jenkins-plugin: Execution default-
        enforce of goal org.kohsuke:access-modifier-checker:1.4:enforce failed: Plugin org.kohsuke:access-modifier-checker:1.4 or one of its dependencies coul
        d not be resolved: Could not find artifact org.jenkins-ci:annotation-indexer:jar:1.4 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
        {code}

        - so I added the dependency for jenkins annotation-indexer to the pom to fix above problem
        {code}
        <dependency>
          <groupId>org.jenkins-ci</groupId>
          <artifactId>annotation-indexer</artifactId>
          <version>1.4</version>
        </dependency>
        {code}

        - run the following
        {code}
        mvn package -U
        {code}

        after running with the specified dependency for jenkins annotation-indexer I get the following error:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.5 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 2.6 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 4.8 KB/sec)
        Downloading: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 6.6 KB/sec)
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml (2 KB at 6.9 KB/sec)
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 13.7 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.9 KB/sec)
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 2.9 KB/sec)
        [INFO]
        [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ jbehave-jenkins-plugin ---
        [debug] execute contextualize
        [INFO] Using 'UTF-8' encoding to copy filtered resources.
        [INFO] Copying 2 resources
        [INFO] Copying 0 resource
        [INFO]
        [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jbehave-jenkins-plugin ---
        [INFO] Nothing to compile - all classes are up to date
        [INFO]
        [INFO] --- access-modifier-checker:1.4:enforce (default-enforce) @ jbehave-jenkins-plugin ---
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 4.789s
        [INFO] Finished at: Sun Nov 03 20:46:08 EST 2013
        [INFO] Final Memory: 20M/355M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.4:enforce (default-enforce) on project jbehave-jenkins-plugin: Execution default-
        enforce of goal org.kohsuke:access-modifier-checker:1.4:enforce failed: Plugin org.kohsuke:access-modifier-checker:1.4 or one of its dependencies coul
        d not be resolved: Could not find artifact org.jenkins-ci:annotation-indexer:jar:1.4 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
        {code}

        Stuck here. Just trying to build the hpi to put into jenkins...

        Using java version
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>java -version
        java version "1.7.0_40"
        Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
        Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
        {code}

        Using maven version
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn --version
        Apache Maven 3.1.0 (893ca28a1da9d5f51ac03827af98bb730128f9f2; 2013-06-27 22:15:32-0400)
        Maven home: C:\apache-maven-3.1.0
        Java version: 1.7.0_40, vendor: Oracle Corporation
        Java home: C:\java\jdk7\jre
        Default locale: en_US, platform encoding: Cp1252
        OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
        {code}
        Reduce to trival since I didnt know you could get the hpi from http://search.maven.org/#search|ga|1|jbehave-jenkins-plugin or

        A user cannot compile jbehave-core / jbehave-jenkins-plugin project using mvn package

        Steps to reproduce on windows OS:
        - download or clone master jbehave-core
        - Open cmd.exe
        - CD into the jbehave-jenkins-plugin directory
        - run the following
        {code}
        mvn package
        {code}

        when running these are the initial results on master:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.5 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 3.1 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 5.8 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/xunit/1.62/xunit-1.62.pom
        [WARNING] The POM for org.jenkins-ci.plugins:xunit:jar:1.62 is missing, no dependency information available
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 6.8 KB/sec)
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 12.3 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.9 KB/sec)
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 3.4 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/xunit/1.62/xunit-1.62.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 4.410s
        [INFO] Finished at: Sun Nov 03 20:33:01 EST 2013
        [INFO] Final Memory: 15M/224M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal on project jbehave-jenkins-plugin: Could not resolve dependencies for project org.jbehave:jbehave-jenkins-plugin:hpi:3.
        9-SNAPSHOT: Could not find artifact org.jenkins-ci.plugins:xunit:jar:1.62 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
        {code}

        - add the jenkins xunit repository to the pom to fix above problem
        {code}
        <repositories>
        <repository>
        <id>jenkins-releases</id>
        <url>http://repo.jenkins-ci.org/releases/&lt;/url>
        </repository>
         </repositories>
        {code}

        - run the following
        {code}
        mvn package -U
        {code}

        after running with the specified repository for jenkins xUnit I get the following error:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.1 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 1.7 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 3.0 KB/sec)
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 3.3 KB/sec)
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 10.2 KB/sec)
        Downloaded: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml (2 KB at 1.9 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.7 KB/sec)
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 3.2 KB/sec)
        [INFO]
        [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ jbehave-jenkins-plugin ---
        [debug] execute contextualize
        [INFO] Using 'UTF-8' encoding to copy filtered resources.
        [INFO] Copying 2 resources
        [INFO] Copying 0 resource
        [INFO]
        [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jbehave-jenkins-plugin ---
        [INFO] Compiling 4 source files to C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin\target\classes
        [INFO]
        [INFO] --- access-modifier-checker:1.4:enforce (default-enforce) @ jbehave-jenkins-plugin ---
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.pom
        [WARNING] The POM for org.jenkins-ci:annotation-indexer:jar:1.4 is missing, no dependency information available
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 6.718s
        [INFO] Finished at: Sun Nov 03 20:41:54 EST 2013
        [INFO] Final Memory: 25M/359M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.4:enforce (default-enforce) on project jbehave-jenkins-plugin: Execution default-
        enforce of goal org.kohsuke:access-modifier-checker:1.4:enforce failed: Plugin org.kohsuke:access-modifier-checker:1.4 or one of its dependencies coul
        d not be resolved: Could not find artifact org.jenkins-ci:annotation-indexer:jar:1.4 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
        {code}

        - so I added the dependency for jenkins annotation-indexer to the pom to fix above problem
        {code}
        <dependency>
          <groupId>org.jenkins-ci</groupId>
          <artifactId>annotation-indexer</artifactId>
          <version>1.4</version>
        </dependency>
        {code}

        - run the following
        {code}
        mvn package -U
        {code}

        after running with the specified dependency for jenkins annotation-indexer I get the following error:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.5 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 2.6 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 4.8 KB/sec)
        Downloading: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 6.6 KB/sec)
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml (2 KB at 6.9 KB/sec)
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 13.7 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.9 KB/sec)
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 2.9 KB/sec)
        [INFO]
        [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ jbehave-jenkins-plugin ---
        [debug] execute contextualize
        [INFO] Using 'UTF-8' encoding to copy filtered resources.
        [INFO] Copying 2 resources
        [INFO] Copying 0 resource
        [INFO]
        [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jbehave-jenkins-plugin ---
        [INFO] Nothing to compile - all classes are up to date
        [INFO]
        [INFO] --- access-modifier-checker:1.4:enforce (default-enforce) @ jbehave-jenkins-plugin ---
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 4.789s
        [INFO] Finished at: Sun Nov 03 20:46:08 EST 2013
        [INFO] Final Memory: 20M/355M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.4:enforce (default-enforce) on project jbehave-jenkins-plugin: Execution default-
        enforce of goal org.kohsuke:access-modifier-checker:1.4:enforce failed: Plugin org.kohsuke:access-modifier-checker:1.4 or one of its dependencies coul
        d not be resolved: Could not find artifact org.jenkins-ci:annotation-indexer:jar:1.4 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
        {code}

        Stuck here. Just trying to build the hpi to put into jenkins...

        Using java version
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>java -version
        java version "1.7.0_40"
        Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
        Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
        {code}

        Using maven version
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn --version
        Apache Maven 3.1.0 (893ca28a1da9d5f51ac03827af98bb730128f9f2; 2013-06-27 22:15:32-0400)
        Maven home: C:\apache-maven-3.1.0
        Java version: 1.7.0_40, vendor: Oracle Corporation
        Java home: C:\java\jdk7\jre
        Default locale: en_US, platform encoding: Cp1252
        OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
        {code}
        Paul Barton made changes -
        Description Reduce to trival since I didnt know you could get the hpi from http://search.maven.org/#search|ga|1|jbehave-jenkins-plugin or

        A user cannot compile jbehave-core / jbehave-jenkins-plugin project using mvn package

        Steps to reproduce on windows OS:
        - download or clone master jbehave-core
        - Open cmd.exe
        - CD into the jbehave-jenkins-plugin directory
        - run the following
        {code}
        mvn package
        {code}

        when running these are the initial results on master:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.5 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 3.1 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 5.8 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/xunit/1.62/xunit-1.62.pom
        [WARNING] The POM for org.jenkins-ci.plugins:xunit:jar:1.62 is missing, no dependency information available
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 6.8 KB/sec)
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 12.3 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.9 KB/sec)
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 3.4 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/xunit/1.62/xunit-1.62.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 4.410s
        [INFO] Finished at: Sun Nov 03 20:33:01 EST 2013
        [INFO] Final Memory: 15M/224M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal on project jbehave-jenkins-plugin: Could not resolve dependencies for project org.jbehave:jbehave-jenkins-plugin:hpi:3.
        9-SNAPSHOT: Could not find artifact org.jenkins-ci.plugins:xunit:jar:1.62 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
        {code}

        - add the jenkins xunit repository to the pom to fix above problem
        {code}
        <repositories>
        <repository>
        <id>jenkins-releases</id>
        <url>http://repo.jenkins-ci.org/releases/&lt;/url>
        </repository>
         </repositories>
        {code}

        - run the following
        {code}
        mvn package -U
        {code}

        after running with the specified repository for jenkins xUnit I get the following error:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.1 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 1.7 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 3.0 KB/sec)
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 3.3 KB/sec)
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 10.2 KB/sec)
        Downloaded: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml (2 KB at 1.9 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.7 KB/sec)
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 3.2 KB/sec)
        [INFO]
        [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ jbehave-jenkins-plugin ---
        [debug] execute contextualize
        [INFO] Using 'UTF-8' encoding to copy filtered resources.
        [INFO] Copying 2 resources
        [INFO] Copying 0 resource
        [INFO]
        [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jbehave-jenkins-plugin ---
        [INFO] Compiling 4 source files to C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin\target\classes
        [INFO]
        [INFO] --- access-modifier-checker:1.4:enforce (default-enforce) @ jbehave-jenkins-plugin ---
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.pom
        [WARNING] The POM for org.jenkins-ci:annotation-indexer:jar:1.4 is missing, no dependency information available
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 6.718s
        [INFO] Finished at: Sun Nov 03 20:41:54 EST 2013
        [INFO] Final Memory: 25M/359M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.4:enforce (default-enforce) on project jbehave-jenkins-plugin: Execution default-
        enforce of goal org.kohsuke:access-modifier-checker:1.4:enforce failed: Plugin org.kohsuke:access-modifier-checker:1.4 or one of its dependencies coul
        d not be resolved: Could not find artifact org.jenkins-ci:annotation-indexer:jar:1.4 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
        {code}

        - so I added the dependency for jenkins annotation-indexer to the pom to fix above problem
        {code}
        <dependency>
          <groupId>org.jenkins-ci</groupId>
          <artifactId>annotation-indexer</artifactId>
          <version>1.4</version>
        </dependency>
        {code}

        - run the following
        {code}
        mvn package -U
        {code}

        after running with the specified dependency for jenkins annotation-indexer I get the following error:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.5 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 2.6 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 4.8 KB/sec)
        Downloading: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 6.6 KB/sec)
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml (2 KB at 6.9 KB/sec)
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 13.7 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.9 KB/sec)
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 2.9 KB/sec)
        [INFO]
        [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ jbehave-jenkins-plugin ---
        [debug] execute contextualize
        [INFO] Using 'UTF-8' encoding to copy filtered resources.
        [INFO] Copying 2 resources
        [INFO] Copying 0 resource
        [INFO]
        [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jbehave-jenkins-plugin ---
        [INFO] Nothing to compile - all classes are up to date
        [INFO]
        [INFO] --- access-modifier-checker:1.4:enforce (default-enforce) @ jbehave-jenkins-plugin ---
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 4.789s
        [INFO] Finished at: Sun Nov 03 20:46:08 EST 2013
        [INFO] Final Memory: 20M/355M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.4:enforce (default-enforce) on project jbehave-jenkins-plugin: Execution default-
        enforce of goal org.kohsuke:access-modifier-checker:1.4:enforce failed: Plugin org.kohsuke:access-modifier-checker:1.4 or one of its dependencies coul
        d not be resolved: Could not find artifact org.jenkins-ci:annotation-indexer:jar:1.4 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
        {code}

        Stuck here. Just trying to build the hpi to put into jenkins...

        Using java version
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>java -version
        java version "1.7.0_40"
        Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
        Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
        {code}

        Using maven version
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn --version
        Apache Maven 3.1.0 (893ca28a1da9d5f51ac03827af98bb730128f9f2; 2013-06-27 22:15:32-0400)
        Maven home: C:\apache-maven-3.1.0
        Java version: 1.7.0_40, vendor: Oracle Corporation
        Java home: C:\java\jdk7\jre
        Default locale: en_US, platform encoding: Cp1252
        OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
        {code}
        Reduce to trival since I didnt know you could get the hpi from http://search.maven.org/#search|ga|1|jbehave-jenkins-plugin or https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-jenkins-plugin/

        A user cannot compile jbehave-core / jbehave-jenkins-plugin project using mvn package

        Steps to reproduce on windows OS:
        - download or clone master jbehave-core
        - Open cmd.exe
        - CD into the jbehave-jenkins-plugin directory
        - run the following
        {code}
        mvn package
        {code}

        when running these are the initial results on master:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.5 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 3.1 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 5.8 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/xunit/1.62/xunit-1.62.pom
        [WARNING] The POM for org.jenkins-ci.plugins:xunit:jar:1.62 is missing, no dependency information available
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 6.8 KB/sec)
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 12.3 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.9 KB/sec)
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 3.4 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/xunit/1.62/xunit-1.62.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 4.410s
        [INFO] Finished at: Sun Nov 03 20:33:01 EST 2013
        [INFO] Final Memory: 15M/224M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal on project jbehave-jenkins-plugin: Could not resolve dependencies for project org.jbehave:jbehave-jenkins-plugin:hpi:3.
        9-SNAPSHOT: Could not find artifact org.jenkins-ci.plugins:xunit:jar:1.62 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
        {code}

        - add the jenkins xunit repository to the pom to fix above problem
        {code}
        <repositories>
        <repository>
        <id>jenkins-releases</id>
        <url>http://repo.jenkins-ci.org/releases/&lt;/url>
        </repository>
         </repositories>
        {code}

        - run the following
        {code}
        mvn package -U
        {code}

        after running with the specified repository for jenkins xUnit I get the following error:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.1 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 1.7 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 3.0 KB/sec)
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 3.3 KB/sec)
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 10.2 KB/sec)
        Downloaded: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml (2 KB at 1.9 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.7 KB/sec)
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 3.2 KB/sec)
        [INFO]
        [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ jbehave-jenkins-plugin ---
        [debug] execute contextualize
        [INFO] Using 'UTF-8' encoding to copy filtered resources.
        [INFO] Copying 2 resources
        [INFO] Copying 0 resource
        [INFO]
        [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jbehave-jenkins-plugin ---
        [INFO] Compiling 4 source files to C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin\target\classes
        [INFO]
        [INFO] --- access-modifier-checker:1.4:enforce (default-enforce) @ jbehave-jenkins-plugin ---
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.pom
        [WARNING] The POM for org.jenkins-ci:annotation-indexer:jar:1.4 is missing, no dependency information available
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 6.718s
        [INFO] Finished at: Sun Nov 03 20:41:54 EST 2013
        [INFO] Final Memory: 25M/359M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.4:enforce (default-enforce) on project jbehave-jenkins-plugin: Execution default-
        enforce of goal org.kohsuke:access-modifier-checker:1.4:enforce failed: Plugin org.kohsuke:access-modifier-checker:1.4 or one of its dependencies coul
        d not be resolved: Could not find artifact org.jenkins-ci:annotation-indexer:jar:1.4 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
        {code}

        - so I added the dependency for jenkins annotation-indexer to the pom to fix above problem
        {code}
        <dependency>
          <groupId>org.jenkins-ci</groupId>
          <artifactId>annotation-indexer</artifactId>
          <version>1.4</version>
        </dependency>
        {code}

        - run the following
        {code}
        mvn package -U
        {code}

        after running with the specified dependency for jenkins annotation-indexer I get the following error:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.5 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 2.6 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 4.8 KB/sec)
        Downloading: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 6.6 KB/sec)
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml (2 KB at 6.9 KB/sec)
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 13.7 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.9 KB/sec)
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 2.9 KB/sec)
        [INFO]
        [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ jbehave-jenkins-plugin ---
        [debug] execute contextualize
        [INFO] Using 'UTF-8' encoding to copy filtered resources.
        [INFO] Copying 2 resources
        [INFO] Copying 0 resource
        [INFO]
        [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jbehave-jenkins-plugin ---
        [INFO] Nothing to compile - all classes are up to date
        [INFO]
        [INFO] --- access-modifier-checker:1.4:enforce (default-enforce) @ jbehave-jenkins-plugin ---
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 4.789s
        [INFO] Finished at: Sun Nov 03 20:46:08 EST 2013
        [INFO] Final Memory: 20M/355M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.4:enforce (default-enforce) on project jbehave-jenkins-plugin: Execution default-
        enforce of goal org.kohsuke:access-modifier-checker:1.4:enforce failed: Plugin org.kohsuke:access-modifier-checker:1.4 or one of its dependencies coul
        d not be resolved: Could not find artifact org.jenkins-ci:annotation-indexer:jar:1.4 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
        {code}

        Stuck here. Just trying to build the hpi to put into jenkins...

        Using java version
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>java -version
        java version "1.7.0_40"
        Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
        Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
        {code}

        Using maven version
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn --version
        Apache Maven 3.1.0 (893ca28a1da9d5f51ac03827af98bb730128f9f2; 2013-06-27 22:15:32-0400)
        Maven home: C:\apache-maven-3.1.0
        Java version: 1.7.0_40, vendor: Oracle Corporation
        Java home: C:\java\jdk7\jre
        Default locale: en_US, platform encoding: Cp1252
        OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
        {code}
        Paul Barton made changes -
        Description Reduce to trival since I didnt know you could get the hpi from http://search.maven.org/#search|ga|1|jbehave-jenkins-plugin or https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-jenkins-plugin/

        A user cannot compile jbehave-core / jbehave-jenkins-plugin project using mvn package

        Steps to reproduce on windows OS:
        - download or clone master jbehave-core
        - Open cmd.exe
        - CD into the jbehave-jenkins-plugin directory
        - run the following
        {code}
        mvn package
        {code}

        when running these are the initial results on master:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.5 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 3.1 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 5.8 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/xunit/1.62/xunit-1.62.pom
        [WARNING] The POM for org.jenkins-ci.plugins:xunit:jar:1.62 is missing, no dependency information available
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 6.8 KB/sec)
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 12.3 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.9 KB/sec)
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 3.4 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/xunit/1.62/xunit-1.62.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 4.410s
        [INFO] Finished at: Sun Nov 03 20:33:01 EST 2013
        [INFO] Final Memory: 15M/224M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal on project jbehave-jenkins-plugin: Could not resolve dependencies for project org.jbehave:jbehave-jenkins-plugin:hpi:3.
        9-SNAPSHOT: Could not find artifact org.jenkins-ci.plugins:xunit:jar:1.62 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
        {code}

        - add the jenkins xunit repository to the pom to fix above problem
        {code}
        <repositories>
        <repository>
        <id>jenkins-releases</id>
        <url>http://repo.jenkins-ci.org/releases/&lt;/url>
        </repository>
         </repositories>
        {code}

        - run the following
        {code}
        mvn package -U
        {code}

        after running with the specified repository for jenkins xUnit I get the following error:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.1 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 1.7 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 3.0 KB/sec)
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 3.3 KB/sec)
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 10.2 KB/sec)
        Downloaded: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml (2 KB at 1.9 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.7 KB/sec)
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 3.2 KB/sec)
        [INFO]
        [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ jbehave-jenkins-plugin ---
        [debug] execute contextualize
        [INFO] Using 'UTF-8' encoding to copy filtered resources.
        [INFO] Copying 2 resources
        [INFO] Copying 0 resource
        [INFO]
        [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jbehave-jenkins-plugin ---
        [INFO] Compiling 4 source files to C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin\target\classes
        [INFO]
        [INFO] --- access-modifier-checker:1.4:enforce (default-enforce) @ jbehave-jenkins-plugin ---
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.pom
        [WARNING] The POM for org.jenkins-ci:annotation-indexer:jar:1.4 is missing, no dependency information available
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 6.718s
        [INFO] Finished at: Sun Nov 03 20:41:54 EST 2013
        [INFO] Final Memory: 25M/359M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.4:enforce (default-enforce) on project jbehave-jenkins-plugin: Execution default-
        enforce of goal org.kohsuke:access-modifier-checker:1.4:enforce failed: Plugin org.kohsuke:access-modifier-checker:1.4 or one of its dependencies coul
        d not be resolved: Could not find artifact org.jenkins-ci:annotation-indexer:jar:1.4 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
        {code}

        - so I added the dependency for jenkins annotation-indexer to the pom to fix above problem
        {code}
        <dependency>
          <groupId>org.jenkins-ci</groupId>
          <artifactId>annotation-indexer</artifactId>
          <version>1.4</version>
        </dependency>
        {code}

        - run the following
        {code}
        mvn package -U
        {code}

        after running with the specified dependency for jenkins annotation-indexer I get the following error:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.5 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 2.6 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 4.8 KB/sec)
        Downloading: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 6.6 KB/sec)
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml (2 KB at 6.9 KB/sec)
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 13.7 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.9 KB/sec)
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 2.9 KB/sec)
        [INFO]
        [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ jbehave-jenkins-plugin ---
        [debug] execute contextualize
        [INFO] Using 'UTF-8' encoding to copy filtered resources.
        [INFO] Copying 2 resources
        [INFO] Copying 0 resource
        [INFO]
        [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jbehave-jenkins-plugin ---
        [INFO] Nothing to compile - all classes are up to date
        [INFO]
        [INFO] --- access-modifier-checker:1.4:enforce (default-enforce) @ jbehave-jenkins-plugin ---
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 4.789s
        [INFO] Finished at: Sun Nov 03 20:46:08 EST 2013
        [INFO] Final Memory: 20M/355M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.4:enforce (default-enforce) on project jbehave-jenkins-plugin: Execution default-
        enforce of goal org.kohsuke:access-modifier-checker:1.4:enforce failed: Plugin org.kohsuke:access-modifier-checker:1.4 or one of its dependencies coul
        d not be resolved: Could not find artifact org.jenkins-ci:annotation-indexer:jar:1.4 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
        {code}

        Stuck here. Just trying to build the hpi to put into jenkins...

        Using java version
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>java -version
        java version "1.7.0_40"
        Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
        Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
        {code}

        Using maven version
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn --version
        Apache Maven 3.1.0 (893ca28a1da9d5f51ac03827af98bb730128f9f2; 2013-06-27 22:15:32-0400)
        Maven home: C:\apache-maven-3.1.0
        Java version: 1.7.0_40, vendor: Oracle Corporation
        Java home: C:\java\jdk7\jre
        Default locale: en_US, platform encoding: Cp1252
        OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
        {code}
        Reduce to trival since I didnt know you could get the hpi from http://search.maven.org/#search|ga|1|jbehave-jenkins-plugin

        A user cannot compile jbehave-core / jbehave-jenkins-plugin project using mvn package

        Steps to reproduce on windows OS:
        - download or clone master jbehave-core
        - Open cmd.exe
        - CD into the jbehave-jenkins-plugin directory
        - run the following
        {code}
        mvn package
        {code}

        when running these are the initial results on master:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.5 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 3.1 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 5.8 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/xunit/1.62/xunit-1.62.pom
        [WARNING] The POM for org.jenkins-ci.plugins:xunit:jar:1.62 is missing, no dependency information available
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 6.8 KB/sec)
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 12.3 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.9 KB/sec)
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 3.4 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/plugins/xunit/1.62/xunit-1.62.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 4.410s
        [INFO] Finished at: Sun Nov 03 20:33:01 EST 2013
        [INFO] Final Memory: 15M/224M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal on project jbehave-jenkins-plugin: Could not resolve dependencies for project org.jbehave:jbehave-jenkins-plugin:hpi:3.
        9-SNAPSHOT: Could not find artifact org.jenkins-ci.plugins:xunit:jar:1.62 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
        {code}

        - add the jenkins xunit repository to the pom to fix above problem
        {code}
        <repositories>
        <repository>
        <id>jenkins-releases</id>
        <url>http://repo.jenkins-ci.org/releases/&lt;/url>
        </repository>
         </repositories>
        {code}

        - run the following
        {code}
        mvn package -U
        {code}

        after running with the specified repository for jenkins xUnit I get the following error:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.1 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 1.7 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 3.0 KB/sec)
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 3.3 KB/sec)
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 10.2 KB/sec)
        Downloaded: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml (2 KB at 1.9 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.7 KB/sec)
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 3.2 KB/sec)
        [INFO]
        [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ jbehave-jenkins-plugin ---
        [debug] execute contextualize
        [INFO] Using 'UTF-8' encoding to copy filtered resources.
        [INFO] Copying 2 resources
        [INFO] Copying 0 resource
        [INFO]
        [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jbehave-jenkins-plugin ---
        [INFO] Compiling 4 source files to C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin\target\classes
        [INFO]
        [INFO] --- access-modifier-checker:1.4:enforce (default-enforce) @ jbehave-jenkins-plugin ---
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.pom
        [WARNING] The POM for org.jenkins-ci:annotation-indexer:jar:1.4 is missing, no dependency information available
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 6.718s
        [INFO] Finished at: Sun Nov 03 20:41:54 EST 2013
        [INFO] Final Memory: 25M/359M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.4:enforce (default-enforce) on project jbehave-jenkins-plugin: Execution default-
        enforce of goal org.kohsuke:access-modifier-checker:1.4:enforce failed: Plugin org.kohsuke:access-modifier-checker:1.4 or one of its dependencies coul
        d not be resolved: Could not find artifact org.jenkins-ci:annotation-indexer:jar:1.4 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
        {code}

        - so I added the dependency for jenkins annotation-indexer to the pom to fix above problem
        {code}
        <dependency>
          <groupId>org.jenkins-ci</groupId>
          <artifactId>annotation-indexer</artifactId>
          <version>1.4</version>
        </dependency>
        {code}

        - run the following
        {code}
        mvn package -U
        {code}

        after running with the specified dependency for jenkins annotation-indexer I get the following error:
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn package -U
        [INFO] Scanning for projects...
        [INFO]
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBehave Jenkins Plugin 3.9-SNAPSHOT
        [INFO] ------------------------------------------------------------------------
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (592 B at 1.5 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/access-modifier-checker/maven-metadata.xml (364 B at 2.6 KB/sec)
        Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (678 B at 4.8 KB/sec)
        Downloading: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://maven.glassfish.org/content/groups/public/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloading: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.maven.apache.org/maven2/org/kohsuke/stapler/stapler/maven-metadata.xml (705 B at 6.6 KB/sec)
        Downloading: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml
        Downloaded: http://repo.jenkins-ci.org/releases/org/kohsuke/stapler/stapler/maven-metadata.xml (2 KB at 6.9 KB/sec)
        Downloaded: http://download.java.net/maven/2/org/kohsuke/stapler/stapler/maven-metadata.xml (5 KB at 13.7 KB/sec)
        [WARNING] Could not transfer metadata org.kohsuke.stapler:stapler/maven-metadata.xml from/to m.g.o-public (http://maven.glassfish.org/content/groups/p
        ublic/): hostname in certificate didn't match: <maven.glassfish.org> != <maven.java.net> OR <maven.java.net>
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave-core/3.9-SNAPSHOT/maven-metadata.xml (2 KB at 3.9 KB/sec)
        Downloading: http://repo.jenkins-ci.org/releases/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml
        Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/jbehave/jbehave/3.9-SNAPSHOT/maven-metadata.xml (593 B at 2.9 KB/sec)
        [INFO]
        [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ jbehave-jenkins-plugin ---
        [debug] execute contextualize
        [INFO] Using 'UTF-8' encoding to copy filtered resources.
        [INFO] Copying 2 resources
        [INFO] Copying 0 resource
        [INFO]
        [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jbehave-jenkins-plugin ---
        [INFO] Nothing to compile - all classes are up to date
        [INFO]
        [INFO] --- access-modifier-checker:1.4:enforce (default-enforce) @ jbehave-jenkins-plugin ---
        Downloading: http://repo.maven.apache.org/maven2/org/jenkins-ci/annotation-indexer/1.4/annotation-indexer-1.4.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 4.789s
        [INFO] Finished at: Sun Nov 03 20:46:08 EST 2013
        [INFO] Final Memory: 20M/355M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.kohsuke:access-modifier-checker:1.4:enforce (default-enforce) on project jbehave-jenkins-plugin: Execution default-
        enforce of goal org.kohsuke:access-modifier-checker:1.4:enforce failed: Plugin org.kohsuke:access-modifier-checker:1.4 or one of its dependencies coul
        d not be resolved: Could not find artifact org.jenkins-ci:annotation-indexer:jar:1.4 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [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 read the following articles:
        [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
        {code}

        Stuck here. Just trying to build the hpi to put into jenkins...

        Using java version
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>java -version
        java version "1.7.0_40"
        Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
        Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
        {code}

        Using maven version
        {code}
        C:\Users\qateam\Downloads\jbehave-core-master\jbehave-jenkins-plugin>mvn --version
        Apache Maven 3.1.0 (893ca28a1da9d5f51ac03827af98bb730128f9f2; 2013-06-27 22:15:32-0400)
        Maven home: C:\apache-maven-3.1.0
        Java version: 1.7.0_40, vendor: Oracle Corporation
        Java home: C:\java\jdk7\jre
        Default locale: en_US, platform encoding: Cp1252
        OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
        {code}
        Hide
        Mauro Talevi added a comment -

        As stated in the README you need to use the top-level settings.xml to access the non-Central repos.

        http://jbehave.org/reference/stable/building-source.html

        Show
        Mauro Talevi added a comment - As stated in the README you need to use the top-level settings.xml to access the non-Central repos. http://jbehave.org/reference/stable/building-source.html
        Mauro Talevi made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 3.9 [ 19035 ]
        Resolution Not A Bug [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Paul Barton
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: