title: Trying to add plugin in pom.xml in maven
body: <p>i'm trying to add this plugin in the pom.xml : </p>
  
  <pre><code>&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;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;finalName&gt;${project.artifactId}-${project.version}-withDependency-ShadedForAndroid&lt;/finalName&gt;
                              &lt;artifactSet&gt;
                                  &lt;includes&gt;
                                      &lt;include&gt;com.mashape.unirest:unirest-java&lt;/include&gt;
                                      &lt;include&gt;org.apache.httpcomponents:httpclient&lt;/include&gt;
                                      &lt;include&gt;org.apache.httpcomponents:httpcore&lt;/include&gt;
                                      &lt;include&gt;org.apache.httpcomponents:httpcore-nio&lt;/include&gt;
                                      &lt;include&gt;org.apache.httpcomponents:httpasyncclient&lt;/include&gt;
                                      &lt;include&gt;org.apache.httpcomponents:httpmime&lt;/include&gt;
                                      &lt;include&gt;org.json:json&lt;/include&gt;
                                      &lt;include&gt;commons-logging:commons-logging&lt;/include&gt;
                                      &lt;include&gt;commons-codec:commons-codec&lt;/include&gt;
                                  &lt;/includes&gt;
                              &lt;/artifactSet&gt;
                              &lt;relocations&gt;
                                  &lt;relocation&gt;
                                      &lt;pattern&gt;org.apache.http&lt;/pattern&gt;
                                      &lt;shadedPattern&gt;com.mashape.relocation&lt;/shadedPattern&gt;
                                  &lt;/relocation&gt;
                              &lt;/relocations&gt;
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
  </code></pre>
  
  <p>In this pom.xml : </p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &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.mashape.unirest&lt;/groupId&gt;
      &lt;artifactId&gt;unirest-java&lt;/artifactId&gt;
      &lt;packaging&gt;jar&lt;/packaging&gt;
      &lt;version&gt;1.4.10-SNAPSHOT&lt;/version&gt;
      &lt;name&gt;unirest-java&lt;/name&gt;
      &lt;description&gt;Simplified, lightweight HTTP client library&lt;/description&gt;
      &lt;url&gt;http://unirest.io/&lt;/url&gt;
  
      &lt;parent&gt;
          &lt;groupId&gt;org.sonatype.oss&lt;/groupId&gt;
          &lt;artifactId&gt;oss-parent&lt;/artifactId&gt;
          &lt;version&gt;7&lt;/version&gt;
      &lt;/parent&gt;
  
      &lt;licenses&gt;
          &lt;license&gt;
              &lt;name&gt;MIT&lt;/name&gt;
              &lt;url&gt;http://opensource.org/licenses/MIT&lt;/url&gt;
              &lt;distribution&gt;repo&lt;/distribution&gt;
          &lt;/license&gt;
      &lt;/licenses&gt;
  
      &lt;scm&gt;
          &lt;url&gt;https://github.com/Mashape/unirest-java&lt;/url&gt;
          &lt;connection&gt;scm:git:git@github.com:Mashape/unirest-java.git&lt;/connection&gt;
          &lt;developerConnection&gt;scm:git:git@github.com:Mashape/unirest-java.git&lt;/developerConnection&gt;
      &lt;/scm&gt;
  
      &lt;developers&gt;
          &lt;developer&gt;
              &lt;id&gt;mashape&lt;/id&gt;
              &lt;name&gt;Mashape&lt;/name&gt;
              &lt;email&gt;opensource@mashape.com&lt;/email&gt;
              &lt;url&gt;https://github.com/Mashape&lt;/url&gt;
              &lt;organization&gt;Mashape&lt;/organization&gt;
              &lt;organizationUrl&gt;https://www.mashape.com&lt;/organizationUrl&gt;
          &lt;/developer&gt;
      &lt;/developers&gt;
  
      &lt;properties&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
          &lt;project.reporting.outputEncoding&gt;UTF-8&lt;/project.reporting.outputEncoding&gt;
          &lt;jackson.version&gt;2.6.0&lt;/jackson.version&gt;
      &lt;/properties&gt;
  
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                  &lt;version&gt;3.1&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;fork&gt;true&lt;/fork&gt;
                      &lt;meminitial&gt;128m&lt;/meminitial&gt;
                      &lt;maxmem&gt;512m&lt;/maxmem&gt;
                      &lt;source&gt;1.5&lt;/source&gt;
                      &lt;target&gt;1.5&lt;/target&gt;
                      &lt;encoding&gt;UTF-8&lt;/encoding&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.4&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;descriptorRefs&gt;
                          &lt;descriptorRef&gt;jar-with-dependencies&lt;/descriptorRef&gt;
                      &lt;/descriptorRefs&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-source-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.2.1&lt;/version&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;id&gt;attach-sources&lt;/id&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;jar&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-javadoc-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.9.1&lt;/version&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;id&gt;attach-javadocs&lt;/id&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;jar&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.httpcomponents&lt;/groupId&gt;
              &lt;artifactId&gt;httpclient&lt;/artifactId&gt;
              &lt;version&gt;4.5.2&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.httpcomponents&lt;/groupId&gt;
              &lt;artifactId&gt;httpasyncclient&lt;/artifactId&gt;
              &lt;version&gt;4.1.1&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.httpcomponents&lt;/groupId&gt;
              &lt;artifactId&gt;httpmime&lt;/artifactId&gt;
              &lt;version&gt;4.5.2&lt;/version&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;20160212&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;junit&lt;/groupId&gt;
              &lt;artifactId&gt;junit&lt;/artifactId&gt;
              &lt;version&gt;4.12&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;commons-io&lt;/groupId&gt;
              &lt;artifactId&gt;commons-io&lt;/artifactId&gt;
              &lt;version&gt;2.4&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.fasterxml.jackson.core&lt;/groupId&gt;
              &lt;artifactId&gt;jackson-databind&lt;/artifactId&gt;
              &lt;version&gt;${jackson.version}&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>But i don't know how to do it, if someone could explain me; when i try i have some issue about putting it in the wrong place. Unrecognized tag 'plugin'.. 
  Thank you.</p>