title: maven-ear-plugin, Cannot find 'version' in class org.apache.maven.plugin.ear.EjbModule
body: <p>Desperatley trying to create a EAR bundle with some modules, using the maven EAR plugin version 2.10.1 with Maven 3. There is a problem with the generate-application-xml goal, I´m getting the error:</p>
  
  <p>Failed to execute goal org.apache.maven.plugins:maven-ear-plugin:2.10.1:generate-application-xml (default-generate-application-xml) on project wineapp-ear: Unable to parse configuration of mojo org.apache.maven.plugins:maven-ear-plugin:2.10.1:generate-application-xml for parameter version: Cannot find 'version' in class org.apache.maven.plugin.ear.EjbModule -> [Help 1]</p>
  
  <p>here is the pom.xml snippet:</p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
  &lt;parent&gt;
      &lt;artifactId&gt;wineapp-parent&lt;/artifactId&gt;
      &lt;groupId&gt;com.jueggs&lt;/groupId&gt;
      &lt;version&gt;1.0.0&lt;/version&gt;
  &lt;/parent&gt;
  
  &lt;artifactId&gt;wineapp-ear&lt;/artifactId&gt;
  &lt;packaging&gt;ear&lt;/packaging&gt;
  &lt;name&gt;wineapp-ear&lt;/name&gt;
  
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.jueggs&lt;/groupId&gt;
          &lt;artifactId&gt;wineapp-ejb&lt;/artifactId&gt;
          &lt;version&gt;1.0.0&lt;/version&gt;
          &lt;type&gt;ejb&lt;/type&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.jueggs&lt;/groupId&gt;
          &lt;artifactId&gt;wineapp-web&lt;/artifactId&gt;
          &lt;version&gt;1.0.0&lt;/version&gt;
          &lt;type&gt;war&lt;/type&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.jueggs&lt;/groupId&gt;
          &lt;artifactId&gt;wineapp-jpa&lt;/artifactId&gt;
          &lt;version&gt;1.0.0&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.jueggs&lt;/groupId&gt;
          &lt;artifactId&gt;wineapp-common&lt;/artifactId&gt;
          &lt;version&gt;1.0.0&lt;/version&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  
  &lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-ear-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.10.1&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;!--&lt;version&gt;6&lt;/version&gt;--&gt;
                  &lt;!--&lt;applicationXml&gt;/src/main/application/META-INF/&lt;/applicationXml&gt;--&gt;
                  &lt;modules&gt;
                      &lt;ejbModule&gt;
                          &lt;groupId&gt;com.jueggs&lt;/groupId&gt;
                          &lt;artifactId&gt;wineapp-ejb&lt;/artifactId&gt;
                          &lt;version&gt;1.0.0&lt;/version&gt;
                          &lt;bundleFileName&gt;ejb.jar&lt;/bundleFileName&gt;
                      &lt;/ejbModule&gt;
                      &lt;webModule&gt;
                          &lt;groupId&gt;com.jueggs&lt;/groupId&gt;
                          &lt;artifactId&gt;wineapp-web&lt;/artifactId&gt;
                          &lt;version&gt;1.0.0&lt;/version&gt;
                          &lt;bundleFileName&gt;web.war&lt;/bundleFileName&gt;
                      &lt;/webModule&gt;
                      &lt;jarModule&gt;
                          &lt;groupId&gt;com.jueggs&lt;/groupId&gt;
                          &lt;artifactId&gt;wineapp-common&lt;/artifactId&gt;
                          &lt;version&gt;1.0.0&lt;/version&gt;
                          &lt;bundleDir&gt;lib&lt;/bundleDir&gt;
                          &lt;bundleFileName&gt;common.jar&lt;/bundleFileName&gt;
                      &lt;/jarModule&gt;
                      &lt;jarModule&gt;
                          &lt;groupId&gt;com.jueggs&lt;/groupId&gt;
                          &lt;artifactId&gt;wineapp-jpa&lt;/artifactId&gt;
                          &lt;version&gt;1.0.0&lt;/version&gt;
                          &lt;bundleDir&gt;lib&lt;/bundleDir&gt;
                          &lt;bundleFileName&gt;jpa.jar&lt;/bundleFileName&gt;
                      &lt;/jarModule&gt;
                  &lt;/modules&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p></p>
  
  <p>what the hack is wrong here? or is it just a f.. typo in the xml? inside the configuration element, the automatic tag detection by IDE (how is the word for that..) also not working, but i compared it with examples nearly a thousand times. don´t know what else matters for error finding, there´s also a parent pom</p>