title: Maven war - 'packaging' with value 'war' is invalid. Aggregator projects require 'pom' as packaging
body: <p>I have a maven project which previously worked with the following structure, except for the war packaging, build plugin and webapp/:</p>
  <p><a href="https://i.stack.imgur.com/6I2wk.jpg" rel="nofollow noreferrer">Project structure</a>
  And the following parent pom.xml build cycle</p>
  <pre><code>&lt;build&gt;
      &lt;pluginManagement&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.4&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;warName&gt;${project.artifactId}&lt;/warName&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-dependency-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.8&lt;/version&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;id&gt;install&lt;/id&gt;
                          &lt;phase&gt;install&lt;/phase&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;sources&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-resources-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.5&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;encoding&gt;UTF-8&lt;/encoding&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                  &lt;version&gt;3.6.1&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;source&gt;1.8&lt;/source&gt;
                      &lt;target&gt;1.8&lt;/target&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/pluginManagement&gt;
      &lt;finalName&gt;ConcertLiveCheck&lt;/finalName&gt;
  &lt;/build&gt;
  </code></pre>
  <p>but, whenever i attempt to compile my project as a war, i receive the following error</p>
  <pre><code>    'packaging' with value 'war' is invalid. Aggregator projects require 'pom' as packaging
  </code></pre>
  <p>Beforehand, i was compiling as pom, without the maven war plugin and every maven module was compiling correctly to it's target, and my project was running.
  But, since i intend to run my project on a web server, i am attempting to compile to a POM, to later on auto deploy to my web server.</p>
  <p>Any tips on solving the issue?</p>
  <p>Thank you,</p>