1 Reply Latest reply on Dec 3, 2007 10:03 AM by pgier

    How to get the latest microcontainer document

    crystal70

      I check the MicroContainer 2.0.0Beta7, and change the directory to docs,then type the command like this:
      mvn generate-sources

      the result is :

      [INFO] Scanning for projects...
      [INFO] Reactor build order:
      [INFO] JBossMC Getting Started Guide (en_US)
      [INFO] JBossMC Getting Started Guide (aggregator)
      [INFO] JBossMC Reference Guide (en_US)
      [INFO] JBossMC Reference Guide (aggregator)
      [INFO] JBoss Microcontainer Docs
      Downloading: http://repo1.maven.org/maven2/org/jboss/maven/plugins/maven-jdocboo
      k-plugin/2.0.0/maven-jdocbook-plugin-2.0.0.pom
      Downloading: http://repo1.maven.org/maven2/org/jboss/maven/plugins/maven-jdocboo
      k-plugin/2.0.0/maven-jdocbook-plugin-2.0.0.pom
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Failed to resolve artifact.

      GroupId: org.jboss.maven.plugins
      ArtifactId: maven-jdocbook-plugin
      Version: 2.0.0

      Reason: Unable to download the artifact from any repository

      org.jboss.maven.plugins:maven-jdocbook-plugin:pom:2.0.0

      from the specified remote repositories:
      central (http://repo1.maven.org/maven2)


      [INFO] ------------------------------------------------------------------------
      [INFO] For more information, run Maven with the -e switch
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 3 seconds
      [INFO] Finished at: Mon Dec 03 20:35:11 CST 2007
      [INFO] Final Memory: 1M/3M
      [INFO] ------------------------------------------------------------------------


      How should I do to get the latest document of mircocontainer?

        • 1. Re: How to get the latest microcontainer document
          pgier

          The jdocbook plugin is not available in the central maven repository yet, so you'll have to add the jboss repository to your settings.xml.

          Here are the settings for the repositories.

           <repositories>
           <repository>
           <id>snapshots.jboss.org</id>
           <url>http://snapshots.jboss.org/maven2</url>
           <snapshots>
           <enabled>true</enabled>
           </snapshots>
           </repository>
           <repository>
           <id>repository.jboss.org</id>
           <url>http://repository.jboss.org/maven2</url>
           <snapshots>
           <enabled>false</enabled>
           </snapshots>
           </repository>
           </repositories>
           <pluginRepositories>
           <pluginRepository>
           <id>repository.jboss.org</id>
           <url>http://repository.jboss.org/maven2</url>
           <snapshots>
           <enabled>false</enabled>
           </snapshots>
           </pluginRepository>
           <pluginRepository>
           <id>snapshots.jboss.org</id>
           <url>http://snapshots.jboss.org/maven2</url>
           <snapshots>
           <enabled>true</enabled>
           </snapshots>
           </pluginRepository>
           </pluginRepositories>
          


          You can also find this information in the wiki:
          http://wiki.jboss.org/wiki/Wiki.jsp?page=MavenSettings