Uploaded image for project: 'JBoss Developer Materials'
  1. JBoss Developer Materials
  2. JDF-109

Invalid xml for copy&paste bom version

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jdfsite-2.0.0.M1
    • None
    • site
    • None

      If you navigate to any BOM version at http://www.jboss.org/jdf/stack/stacks/, you will get a pop-up windows listing something about BOM itself and how it can be used.

      There is <type>pom</scope> for every BOM in <dependencyManagement> section..

      Example:

      Errai provides a comprehensive framework and tools for building rich web applications, leveraging the GWT compiler. With standard server-side APIs, such as CDI, in the browser, managing large web applications was never so easy. This BOM adds both Errai and GWT to your project.

      To use the BOM, import into your dependency management:

      <dependencyManagement>
          <dependencies>
              <dependency>
                  <groupId>org.jboss.bom</groupId>
                  <artifactId>jboss-javaee-6.0-with-errai</artifactId>
                  <version>1.0.0.Final</version>
                  <!-- vvv this is wrong vvv -->
                  <type>pom</scope>
                  <!-- ^^^ this is wrong ^^^ -->
                  <scope>import</scope>
              </dependency>
          </dependencies>
      </dependencyManagement>
      

            rafabene_jira Rafael Benevides (Inactive)
            kpiwko Karel Piwko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: