3 Replies Latest reply on Feb 15, 2006 5:34 PM by Ruel Loehr

    Component validation

    Scott Stark Master

      Related to http://jira.jboss.com/jira/browse/JBBUILD-248, we need more validation on a component definition. A proper version, license type, project page, and description are a minimum set of attributes a component must declared to be usable by another project. A component without this info such as the current http://repository.jboss.com/junitejb/1.4/component-info.xml

      <project name="junitejb-component-info">
       <component id="junitejb"
       version="1.4"
       >
       <artifact id="junitejb.jar"/>
       <export>
       <include input="junitejb.jar"/>
       </export>
      
       </component>
      
      </project>
      


      should cause any build which attempts to import this component to fail. Does maven support this level of validation?