Uploaded image for project: 'JBoss Modules'
  1. JBoss Modules
  2. MODULES-343

Automatic module version detection

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 1.8.0.Final
    • None
    • None
    • None

      Add some degree of automatic detection for module versions. Versions could be checked in this order:

      • For each resource root:
        • If it's an artifact, the version is the artifact version
        • If it's a local root (JAR or directory), the version is searched for:
          • In the module-info.class file
          • In the META-INF/maven/org.jboss.modules/jboss-modules/pom.properties version property
          • In the META-INF/MANIFEST.MF top-level Implementation-Version entry
      • If all versions are equal, that's the version
      • If not all versions agree but one resource root is marked as the "auto-version" resource root, use that version
      • If not all versions agree, no version is specified (log a warning?)

              dlloyd@redhat.com David Lloyd
              dlloyd@redhat.com David Lloyd
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: