title: 'packaging' with value 'jar' is invalid. Aggregator projects require 'pom' as packaging
body: <p>I am having a problem with my project that is the project pom file has an error stating that packaging should not resolve to jar but to pom. I need my project to generate a target 'jar' and I don't have any child modules, however this error is generated with another error: <code>Child module of pom.xml does not exist</code> now here goes my pom file:</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;groupId&gt;com.itworx.bigdata&lt;/groupId&gt;
      &lt;artifactId&gt;MediaSensor&lt;/artifactId&gt;
      &lt;version&gt;0.0.1&lt;/version&gt;
      &lt;name&gt;MediaSensor&lt;/name&gt;
      &lt;description&gt;Complete and Integrated Spark Flow of Big Data&lt;/description&gt;
      &lt;repositories&gt;
          &lt;repository&gt;
              &lt;id&gt;cloudera&lt;/id&gt;
              &lt;url&gt;https://repository.cloudera.com/artifactory/cloudera-repos/&lt;/url&gt;
          &lt;/repository&gt;
      &lt;/repositories&gt;
      &lt;!-- please stick to the CDH version and this repositry do not use apache repos --&gt;
      &lt;!-- All CDH jars in this link http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/cdh_vd_cdh5_maven_repo.html#concept_jhf_dcz_bs_unique_2--&gt;
      &lt;dependencies&gt;
          &lt;!-- following jar is implicitly needed by one of spark ref --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;jdk.tools&lt;/groupId&gt;
              &lt;artifactId&gt;jdk.tools&lt;/artifactId&gt;
              &lt;scope&gt;system&lt;/scope&gt;
              &lt;version&gt;1.6.0_24&lt;/version&gt;
              &lt;systemPath&gt;C:/Program Files/Java/jdk1.7.0_51/lib/tools.jar&lt;/systemPath&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;com.itworx.epenta&lt;/groupId&gt;
              &lt;artifactId&gt;ePenta&lt;/artifactId&gt;
              &lt;scope&gt;system&lt;/scope&gt;
              &lt;version&gt;1.1&lt;/version&gt;
              &lt;systemPath&gt;D:/Capability_Building/Media_Sensor_Development/temp_space/ePenta.jar&lt;/systemPath&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.itworx.lucene&lt;/groupId&gt;
              &lt;artifactId&gt;solr-writer&lt;/artifactId&gt;
              &lt;scope&gt;system&lt;/scope&gt;
              &lt;version&gt;1.1&lt;/version&gt;
              &lt;systemPath&gt;D:/Capability_Building/Media_Sensor_Development/temp_space/spark-solr-1.0-SNAPSHOT-shaded.jar
              &lt;/systemPath&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.json&lt;/groupId&gt;
              &lt;artifactId&gt;json&lt;/artifactId&gt;
              &lt;version&gt;20141113&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.spark&lt;/groupId&gt;
              &lt;artifactId&gt;spark-core_2.10&lt;/artifactId&gt;
              &lt;version&gt;1.3.0-cdh5.4.2&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.spark&lt;/groupId&gt;
              &lt;artifactId&gt;spark-streaming_2.10&lt;/artifactId&gt;
              &lt;version&gt;1.3.0-cdh5.4.2&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;!-- &lt;dependency&gt;   --&gt;
          &lt;!--   &lt;groupId&gt;org.apache.spark&lt;/groupId&gt;  --&gt;
          &lt;!--   &lt;artifactId&gt;spark-streaming-twitter_2.10&lt;/artifactId&gt;  --&gt;
          &lt;!--   &lt;version&gt;1.3.0-cdh5.4.2&lt;/version&gt;  --&gt;
          &lt;!-- &lt;/dependency&gt; --&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.spark&lt;/groupId&gt;
              &lt;artifactId&gt;spark-streaming-kafka-assembly_2.10&lt;/artifactId&gt;
              &lt;version&gt;1.3.0-cdh5.4.2&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.spark&lt;/groupId&gt;
              &lt;artifactId&gt;spark-streaming-kafka_2.10&lt;/artifactId&gt;
              &lt;version&gt;1.3.0-cdh5.4.2&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.htrace&lt;/groupId&gt;
              &lt;artifactId&gt;htrace-core&lt;/artifactId&gt;
              &lt;version&gt;3.1.0-incubating&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.hbase&lt;/groupId&gt;
              &lt;artifactId&gt;hbase-server&lt;/artifactId&gt;
              &lt;version&gt;1.0.0-cdh5.4.2&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.hbase&lt;/groupId&gt;
              &lt;artifactId&gt;hbase-annotations&lt;/artifactId&gt;
              &lt;version&gt;1.0.0-cdh5.4.2&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;!-- &lt;dependency&gt; --&gt;
          &lt;!--   &lt;groupId&gt;org.apache.hbase&lt;/groupId&gt;  --&gt;
          &lt;!--   &lt;artifactId&gt;hbase-hadoop-compat&lt;/artifactId&gt;  --&gt;
          &lt;!--  &lt;version&gt;1.0.0-cdh5.4.2&lt;/version&gt;  --&gt;
          &lt;!-- &lt;/dependency&gt; --&gt;
          &lt;!-- &lt;dependency&gt; --&gt;
          &lt;!--   &lt;groupId&gt;org.apache.hbase&lt;/groupId&gt;  --&gt;
          &lt;!--   &lt;artifactId&gt;hbase-hadoop2-compat&lt;/artifactId&gt;  --&gt;
          &lt;!--  &lt;version&gt;1.0.0-cdh5.4.2&lt;/version&gt;  --&gt;
          &lt;!-- &lt;/dependency&gt; --&gt;
          &lt;!-- &lt;dependency&gt; --&gt;
          &lt;!--   &lt;groupId&gt;org.apache.hbase&lt;/groupId&gt;  --&gt;
          &lt;!--   &lt;artifactId&gt;hbase-it&lt;/artifactId&gt;  --&gt;
          &lt;!--  &lt;version&gt;1.0.0-cdh5.4.2&lt;/version&gt;  --&gt;
          &lt;!-- &lt;/dependency&gt; --&gt;
          &lt;!-- &lt;dependency&gt; --&gt;
          &lt;!--   &lt;groupId&gt;org.apache.hbase&lt;/groupId&gt;  --&gt;
          &lt;!--   &lt;artifactId&gt;hbase-common&lt;/artifactId&gt;  --&gt;
          &lt;!--  &lt;version&gt;1.0.0-cdh5.4.2&lt;/version&gt;  --&gt;
          &lt;!-- &lt;/dependency&gt; --&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.hbase&lt;/groupId&gt;
              &lt;artifactId&gt;hbase-client&lt;/artifactId&gt;
              &lt;version&gt;1.0.0-cdh5.4.2&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;!-- &lt;dependency&gt; --&gt;
          &lt;!--   &lt;groupId&gt;org.apache.hbase&lt;/groupId&gt;  --&gt;
          &lt;!--   &lt;artifactId&gt;hbase-checkstyle&lt;/artifactId&gt;  --&gt;
          &lt;!--  &lt;version&gt;1.0.0-cdh5.4.2&lt;/version&gt;  --&gt;
          &lt;!-- &lt;/dependency&gt; --&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.hbase&lt;/groupId&gt;
              &lt;artifactId&gt;hbase-examples&lt;/artifactId&gt;
              &lt;version&gt;1.0.0-cdh5.4.2&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.hbase&lt;/groupId&gt;
              &lt;artifactId&gt;hbase-prefix-tree&lt;/artifactId&gt;
              &lt;version&gt;1.0.0-cdh5.4.2&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;!-- &lt;dependency&gt; --&gt;
          &lt;!--   &lt;groupId&gt;org.apache.hbase&lt;/groupId&gt;  --&gt;
          &lt;!--   &lt;artifactId&gt;hbase-protocol&lt;/artifactId&gt;  --&gt;
          &lt;!--  &lt;version&gt;1.0.0-cdh5.4.2&lt;/version&gt;  --&gt;
          &lt;!-- &lt;/dependency&gt; --&gt;
          &lt;!-- &lt;dependency&gt; --&gt;
          &lt;!--   &lt;groupId&gt;org.apache.hbase&lt;/groupId&gt;  --&gt;
          &lt;!--   &lt;artifactId&gt;hbase-rest&lt;/artifactId&gt;  --&gt;
          &lt;!--  &lt;version&gt;1.0.0-cdh5.4.2&lt;/version&gt;  --&gt;
          &lt;!-- &lt;/dependency&gt; --&gt;
          &lt;!-- &lt;dependency&gt; --&gt;
          &lt;!--   &lt;groupId&gt;org.apache.hbase&lt;/groupId&gt;  --&gt;
          &lt;!--   &lt;artifactId&gt;hbase-shell&lt;/artifactId&gt;  --&gt;
          &lt;!--  &lt;version&gt;1.0.0-cdh5.4.2&lt;/version&gt;  --&gt;
          &lt;!-- &lt;/dependency&gt; --&gt;
          &lt;!-- &lt;dependency&gt; --&gt;
          &lt;!--   &lt;groupId&gt;org.apache.hbase&lt;/groupId&gt;  --&gt;
          &lt;!--   &lt;artifactId&gt;hbase-testing-util&lt;/artifactId&gt;  --&gt;
          &lt;!--  &lt;version&gt;1.0.0-cdh5.4.2&lt;/version&gt;  --&gt;
          &lt;!-- &lt;/dependency&gt; --&gt;
          &lt;!-- &lt;dependency&gt; --&gt;
          &lt;!--   &lt;groupId&gt;org.apache.hbase&lt;/groupId&gt;  --&gt;
          &lt;!--   &lt;artifactId&gt;hbase-thrift&lt;/artifactId&gt;  --&gt;
          &lt;!--  &lt;version&gt;1.0.0-cdh5.4.2&lt;/version&gt;  --&gt;
          &lt;!-- &lt;/dependency&gt; --&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-shade-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.2&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;shadedArtifactAttached&gt;false&lt;/shadedArtifactAttached&gt;
                      &lt;outputFile&gt;D:/Capability_Building/Media_Sensor_Development/temp_space/MediaSensorShaded.jar
                      &lt;/outputFile&gt;
                      &lt;artifactSet&gt;
                          &lt;includes&gt;
                              &lt;include&gt;*:*&lt;/include&gt;
                          &lt;/includes&gt;
                      &lt;/artifactSet&gt;
                      &lt;filters&gt;
                          &lt;filter&gt;
                              &lt;artifact&gt;*:*&lt;/artifact&gt;
                              &lt;excludes&gt;
                                  &lt;exclude&gt;META-INF/*.SF&lt;/exclude&gt;
                                  &lt;exclude&gt;META-INF/*.DSA&lt;/exclude&gt;
                                  &lt;exclude&gt;META-INF/*.RSA&lt;/exclude&gt;
                              &lt;/excludes&gt;
                          &lt;/filter&gt;
                      &lt;/filters&gt;
                  &lt;/configuration&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;phase&gt;package&lt;/phase&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;shade&lt;/goal&gt;
                          &lt;/goals&gt;
                          &lt;configuration&gt;
                              &lt;transformers&gt;
                                  &lt;transformer
                                          implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/&gt;
                                  &lt;transformer
                                          implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"&gt;
                                      &lt;resource&gt;reference.conf&lt;/resource&gt;
                                  &lt;/transformer&gt;
                              &lt;/transformers&gt;
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  
      &lt;modules&gt;
          &lt;module&gt;?&lt;/module&gt;
      &lt;/modules&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>could anyone help?</p>