title: Error while building bundle in maven
body: <p>I am trying to build a bundle from existing maven project which is in eclipse. I have most of the repository dependencies, still though it tries to download a few dependencies. after that it give list of errors which is below.Can anybody tell how to remove existing errors and build a bundle successfully. I am building the bundle for Adobe Aem aq5 tool where it accepts jar files as bundles to be installed.</p>
  
  <pre><code>    [ERROR] Unresolveable build extension: Plugin org.apache.felix:maven-bundle-plug
  in:2.3.7 or one of its dependencies could not be resolved: The following artifac
  ts could not be resolved: org.apache.maven:maven-core:jar:2.0.7, org.apache.mave
  n:maven-settings:jar:2.0.7, org.apache.maven:maven-plugin-parameter-documenter:j
  ar:2.0.7, org.apache.maven:maven-profile:jar:2.0.7, org.apache.maven:maven-model
  :jar:2.0.7, org.apache.maven:maven-artifact:jar:2.0.7, org.codehaus.plexus:plexu
  s-container-default:jar:1.0-alpha-9-stable-1, org.apache.maven:maven-repository-
  metadata:jar:2.0.7, org.apache.maven:maven-error-diagnostics:jar:2.0.7, org.apac
  he.maven:maven-project:jar:2.0.7, org.apache.maven:maven-plugin-registry:jar:2.0
  .7, org.apache.maven:maven-plugin-descriptor:jar:2.0.7, org.apache.maven:maven-a
  rtifact-manager:jar:2.0.7, org.apache.maven:maven-monitor:jar:2.0.7, classworlds
  :classworlds:jar:1.1: Could not transfer artifact org.apache.maven:maven-core:ja
  r:2.0.7 from/to adobe (http://repo.adobe.com/nexus/content/groups/public/): sun.
  security.validator.ValidatorException: PKIX path building failed: sun.security.p
  rovider.certpath.SunCertPathBuilderException: unable to find valid certification
   path to requested target @
  [ERROR] Unknown packaging: bundle @ com.lundbeck.master.nohmatters:nohmatters-bu
  ndle:[unknown-version], D:\CODEBASE\nohmatters\bundle\pom.xml, line 19, column 1
  6
   @
  [ERROR] The build could not read 1 project -&gt; [Help 1]
  [ERROR]
  [ERROR]   The project com.lundbeck.master.nohmatters:nohmatters-bundle:1.0.0-SNA
  PSHOT (D:\CODEBASE\nohmatters\bundle\pom.xml) has 2 errors
  [ERROR]     Unresolveable build extension: Plugin org.apache.felix:maven-bundle-
  plugin:2.3.7 or one of its dependencies could not be resolved: The following art
  ifacts could not be resolved: org.apache.maven:maven-core:jar:2.0.7, org.apache.
  maven:maven-settings:jar:2.0.7, org.apache.maven:maven-plugin-parameter-document
  er:jar:2.0.7, org.apache.maven:maven-profile:jar:2.0.7, org.apache.maven:maven-m
  odel:jar:2.0.7, org.apache.maven:maven-artifact:jar:2.0.7, org.codehaus.plexus:p
  lexus-container-default:jar:1.0-alpha-9-stable-1, org.apache.maven:maven-reposit
  ory-metadata:jar:2.0.7, org.apache.maven:maven-error-diagnostics:jar:2.0.7, org.
  apache.maven:maven-project:jar:2.0.7, org.apache.maven:maven-plugin-registry:jar
  :2.0.7, org.apache.maven:maven-plugin-descriptor:jar:2.0.7, org.apache.maven:mav
  en-artifact-manager:jar:2.0.7, org.apache.maven:maven-monitor:jar:2.0.7, classwo
  rlds:classworlds:jar:1.1: Could not transfer artifact org.apache.maven:maven-cor
  e:jar:2.0.7 from/to adobe (http://repo.adobe.com/nexus/content/groups/public/):
  sun.security.validator.ValidatorException: PKIX path building failed: sun.securi
  ty.provider.certpath.SunCertPathBuilderException: unable to find valid certifica
  tion path to requested target -&gt; [Help 2]
  
  [ERROR]     Unknown packaging: bundle @ com.lundbeck.master.nohmatters:nohmatter
  s-bundle:[unknown-version], D:\CODEBASE\nohmatters\bundle\pom.xml, line 19, colu
  mn 16
  </code></pre>
  
  <p>my pom.xml is as following:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&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/maven-v4_0_0.xsd "&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;!-- ====================================================================== --&gt;
      &lt;!-- P A R E N T P R O J E C T D E S C R I P T I O N --&gt;
      &lt;!-- ====================================================================== --&gt;
      &lt;parent&gt;
          &lt;groupId&gt;com.lundbeck.master.nohmatters&lt;/groupId&gt;
          &lt;artifactId&gt;nohmatters&lt;/artifactId&gt;
          &lt;version&gt;1.0.0-SNAPSHOT&lt;/version&gt;
      &lt;/parent&gt;
  
      &lt;!-- ====================================================================== --&gt;
      &lt;!-- P R O J E C T D E S C R I P T I O N --&gt;
      &lt;!-- ====================================================================== --&gt;
  
      &lt;artifactId&gt;nohmatters-bundle&lt;/artifactId&gt;
      &lt;packaging&gt;bundle&lt;/packaging&gt;
      &lt;name&gt;nohmatters Bundle&lt;/name&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.osgi&lt;/groupId&gt;
              &lt;artifactId&gt;org.osgi.compendium&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.osgi&lt;/groupId&gt;
              &lt;artifactId&gt;org.osgi.core&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.felix&lt;/groupId&gt;
              &lt;artifactId&gt;org.apache.felix.scr.annotations&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;biz.aQute&lt;/groupId&gt;
              &lt;artifactId&gt;bndlib&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
              &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;junit&lt;/groupId&gt;
              &lt;artifactId&gt;junit&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
              &lt;artifactId&gt;servlet-api&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax.jcr&lt;/groupId&gt;
              &lt;artifactId&gt;jcr&lt;/artifactId&gt;
          &lt;/dependency&gt;
           &lt;dependency&gt;
              &lt;groupId&gt;org.apache.sling&lt;/groupId&gt;
              &lt;artifactId&gt;org.apache.sling.api&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.sling&lt;/groupId&gt;
              &lt;artifactId&gt;org.apache.sling.jcr.api&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.day.cq.wcm&lt;/groupId&gt;
              &lt;artifactId&gt;cq-wcm-workflow-api&lt;/artifactId&gt;
              &lt;version&gt;5.3.0&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.day.cq.wcm&lt;/groupId&gt;
              &lt;artifactId&gt;cq-wcm-api&lt;/artifactId&gt;
              &lt;version&gt;5.5.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.day.cq&lt;/groupId&gt;
              &lt;artifactId&gt;cq-commons&lt;/artifactId&gt;
              &lt;version&gt;5.5.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;commons-lang&lt;/groupId&gt;
              &lt;artifactId&gt;commons-lang&lt;/artifactId&gt;
              &lt;version&gt;2.4&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.sling&lt;/groupId&gt;
              &lt;artifactId&gt;org.apache.sling.commons.json&lt;/artifactId&gt;
              &lt;version&gt;2.0.6&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.day.cq&lt;/groupId&gt;
              &lt;artifactId&gt;cq-mailer&lt;/artifactId&gt;
              &lt;version&gt;5.5.0&lt;/version&gt;
           &lt;/dependency&gt;
            &lt;dependency&gt;
              &lt;groupId&gt;com.day.cq&lt;/groupId&gt;
              &lt;artifactId&gt;cq-search&lt;/artifactId&gt;
              &lt;version&gt;5.5.4&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.adobe.granite&lt;/groupId&gt;
              &lt;artifactId&gt;com.adobe.granite.xssprotection&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.sling&lt;/groupId&gt;
              &lt;artifactId&gt;org.apache.sling.resourceresolver&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
                  &lt;groupId&gt;org.apache.sling&lt;/groupId&gt;
                  &lt;artifactId&gt;org.apache.sling.api&lt;/artifactId&gt;
                  &lt;version&gt;2.9.0&lt;/version&gt;
                  &lt;scope&gt;provided&lt;/scope&gt;
              &lt;/dependency&gt;   
              &lt;dependency&gt;
                          &lt;groupId&gt;com.itextpdf&lt;/groupId&gt;
                          &lt;artifactId&gt;itextpdf&lt;/artifactId&gt;
                          &lt;version&gt;5.5.6&lt;/version&gt;
                  &lt;/dependency&gt;
                  &lt;dependency&gt;
                          &lt;groupId&gt;com.itextpdf.tool&lt;/groupId&gt;
                          &lt;artifactId&gt;xmlworker&lt;/artifactId&gt;
                          &lt;version&gt;5.5.6&lt;/version&gt;
                  &lt;/dependency&gt;
                  &lt;dependency&gt;
             &lt;groupId&gt;com.jcraft&lt;/groupId&gt;
             &lt;artifactId&gt;jsch&lt;/artifactId&gt;
             &lt;version&gt;0.1.53&lt;/version&gt;
             &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
              &lt;dependency&gt;
      &lt;groupId&gt;com.jcraft&lt;/groupId&gt;
      &lt;artifactId&gt;jzlib&lt;/artifactId&gt;
      &lt;version&gt;1.1.3&lt;/version&gt;
  &lt;/dependency&gt;
   &lt;dependency&gt;
      &lt;groupId&gt;org.apache.commons&lt;/groupId&gt;
      &lt;artifactId&gt;commons-io&lt;/artifactId&gt;
      &lt;version&gt;1.3.2&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;com.google.code.gson&lt;/groupId&gt;
      &lt;artifactId&gt;gson&lt;/artifactId&gt;
      &lt;version&gt;2.3&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;com.adobe.aem&lt;/groupId&gt;
      &lt;artifactId&gt;uber-jar&lt;/artifactId&gt;
      &lt;version&gt;6.1.0&lt;/version&gt;
      &lt;classifier&gt;obfuscated-apis&lt;/classifier&gt;
      &lt;scope&gt;provided&lt;/scope&gt;
  &lt;/dependency&gt;
      &lt;/dependencies&gt;
  
      &lt;!-- ====================================================================== --&gt;
      &lt;!-- B U I L D D E F I N I T I O N --&gt;
      &lt;!-- ====================================================================== --&gt;
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.felix&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-scr-plugin&lt;/artifactId&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;id&gt;generate-scr-descriptor&lt;/id&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;scr&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.felix&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-bundle-plugin&lt;/artifactId&gt;
                  &lt;extensions&gt;true&lt;/extensions&gt;
                  &lt;configuration&gt;
                      &lt;instructions&gt;
                          &lt;Bundle-SymbolicName&gt;com.lundbeck.master.nohmatters.nohmatters-bundle&lt;/Bundle-SymbolicName&gt;
                          &lt;Import-Package&gt;org.osgi.framework,*&lt;/Import-Package&gt;
                          &lt;Export-Package&gt;com.lundbeck.master.nohmatters.*,com.lundbeck.master.nohmatters.servlet.EmailServlet,com.jcraft.*;com.jcraft.jzlib&lt;/Export-Package&gt;
                          &lt;Include-Resource&gt;{maven-resources}&lt;/Include-Resource&gt;
                          &lt;Import-Bundle&gt;*&lt;/Import-Bundle&gt;
                          &lt;Embed-Dependency&gt;gson&lt;/Embed-Dependency&gt;
                          &lt;Embed-Transitive&gt;true&lt;/Embed-Transitive&gt;
                          &lt;Private-Package&gt;com.lundbeck.master.nohmatters.servlet.*,com.jcraft.*&lt;/Private-Package&gt;
                      &lt;/instructions&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.sling&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-sling-plugin&lt;/artifactId&gt;
                  &lt;configuration&gt;
                      &lt;slingUrl&gt;http://${crx.host}:${crx.port}/apps/nohmatters/install&lt;/slingUrl&gt;
                      &lt;usePut&gt;true&lt;/usePut&gt;
                  &lt;/configuration&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;configuration&gt;
                      &lt;excludePackageNames&gt;
                          *.impl
                      &lt;/excludePackageNames&gt;
                   &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  &lt;/project&gt;
  &lt;?xml version="1.0" encoding="UTF-8"?&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/maven-v4_0_0.xsd "&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;!-- ====================================================================== --&gt;
      &lt;!-- P A R E N T P R O J E C T D E S C R I P T I O N --&gt;
      &lt;!-- ====================================================================== --&gt;
      &lt;parent&gt;
          &lt;groupId&gt;com.lundbeck.master.nohmatters&lt;/groupId&gt;
          &lt;artifactId&gt;nohmatters&lt;/artifactId&gt;
          &lt;version&gt;1.0.0-SNAPSHOT&lt;/version&gt;
      &lt;/parent&gt;
  
      &lt;!-- ====================================================================== --&gt;
      &lt;!-- P R O J E C T D E S C R I P T I O N --&gt;
      &lt;!-- ====================================================================== --&gt;
  
      &lt;artifactId&gt;nohmatters-bundle&lt;/artifactId&gt;
      &lt;packaging&gt;bundle&lt;/packaging&gt;
      &lt;name&gt;nohmatters Bundle&lt;/name&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.osgi&lt;/groupId&gt;
              &lt;artifactId&gt;org.osgi.compendium&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.osgi&lt;/groupId&gt;
              &lt;artifactId&gt;org.osgi.core&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.felix&lt;/groupId&gt;
              &lt;artifactId&gt;org.apache.felix.scr.annotations&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;biz.aQute&lt;/groupId&gt;
              &lt;artifactId&gt;bndlib&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
              &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;junit&lt;/groupId&gt;
              &lt;artifactId&gt;junit&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
              &lt;artifactId&gt;servlet-api&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax.jcr&lt;/groupId&gt;
              &lt;artifactId&gt;jcr&lt;/artifactId&gt;
          &lt;/dependency&gt;
           &lt;dependency&gt;
              &lt;groupId&gt;org.apache.sling&lt;/groupId&gt;
              &lt;artifactId&gt;org.apache.sling.api&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.sling&lt;/groupId&gt;
              &lt;artifactId&gt;org.apache.sling.jcr.api&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.day.cq.wcm&lt;/groupId&gt;
              &lt;artifactId&gt;cq-wcm-workflow-api&lt;/artifactId&gt;
              &lt;version&gt;5.3.0&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.day.cq.wcm&lt;/groupId&gt;
              &lt;artifactId&gt;cq-wcm-api&lt;/artifactId&gt;
              &lt;version&gt;5.5.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.day.cq&lt;/groupId&gt;
              &lt;artifactId&gt;cq-commons&lt;/artifactId&gt;
              &lt;version&gt;5.5.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;commons-lang&lt;/groupId&gt;
              &lt;artifactId&gt;commons-lang&lt;/artifactId&gt;
              &lt;version&gt;2.4&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.sling&lt;/groupId&gt;
              &lt;artifactId&gt;org.apache.sling.commons.json&lt;/artifactId&gt;
              &lt;version&gt;2.0.6&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.day.cq&lt;/groupId&gt;
              &lt;artifactId&gt;cq-mailer&lt;/artifactId&gt;
              &lt;version&gt;5.5.0&lt;/version&gt;
           &lt;/dependency&gt;
            &lt;dependency&gt;
              &lt;groupId&gt;com.day.cq&lt;/groupId&gt;
              &lt;artifactId&gt;cq-search&lt;/artifactId&gt;
              &lt;version&gt;5.5.4&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.adobe.granite&lt;/groupId&gt;
              &lt;artifactId&gt;com.adobe.granite.xssprotection&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.sling&lt;/groupId&gt;
              &lt;artifactId&gt;org.apache.sling.resourceresolver&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
                  &lt;groupId&gt;org.apache.sling&lt;/groupId&gt;
                  &lt;artifactId&gt;org.apache.sling.api&lt;/artifactId&gt;
                  &lt;version&gt;2.9.0&lt;/version&gt;
                  &lt;scope&gt;provided&lt;/scope&gt;
              &lt;/dependency&gt;   
              &lt;dependency&gt;
                          &lt;groupId&gt;com.itextpdf&lt;/groupId&gt;
                          &lt;artifactId&gt;itextpdf&lt;/artifactId&gt;
                          &lt;version&gt;5.5.6&lt;/version&gt;
                  &lt;/dependency&gt;
                  &lt;dependency&gt;
                          &lt;groupId&gt;com.itextpdf.tool&lt;/groupId&gt;
                          &lt;artifactId&gt;xmlworker&lt;/artifactId&gt;
                          &lt;version&gt;5.5.6&lt;/version&gt;
                  &lt;/dependency&gt;
                  &lt;dependency&gt;
             &lt;groupId&gt;com.jcraft&lt;/groupId&gt;
             &lt;artifactId&gt;jsch&lt;/artifactId&gt;
             &lt;version&gt;0.1.53&lt;/version&gt;
             &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
              &lt;dependency&gt;
      &lt;groupId&gt;com.jcraft&lt;/groupId&gt;
      &lt;artifactId&gt;jzlib&lt;/artifactId&gt;
      &lt;version&gt;1.1.3&lt;/version&gt;
  &lt;/dependency&gt;
   &lt;dependency&gt;
      &lt;groupId&gt;org.apache.commons&lt;/groupId&gt;
      &lt;artifactId&gt;commons-io&lt;/artifactId&gt;
      &lt;version&gt;1.3.2&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;com.google.code.gson&lt;/groupId&gt;
      &lt;artifactId&gt;gson&lt;/artifactId&gt;
      &lt;version&gt;2.3&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;com.adobe.aem&lt;/groupId&gt;
      &lt;artifactId&gt;uber-jar&lt;/artifactId&gt;
      &lt;version&gt;6.1.0&lt;/version&gt;
      &lt;classifier&gt;obfuscated-apis&lt;/classifier&gt;
      &lt;scope&gt;provided&lt;/scope&gt;
  &lt;/dependency&gt;
      &lt;/dependencies&gt;
  
      &lt;!-- ====================================================================== --&gt;
      &lt;!-- B U I L D D E F I N I T I O N --&gt;
      &lt;!-- ====================================================================== --&gt;
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.felix&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-scr-plugin&lt;/artifactId&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;id&gt;generate-scr-descriptor&lt;/id&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;scr&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.felix&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-bundle-plugin&lt;/artifactId&gt;
                  &lt;extensions&gt;true&lt;/extensions&gt;
                  &lt;configuration&gt;
                      &lt;instructions&gt;
                          &lt;Bundle-SymbolicName&gt;com.lundbeck.master.nohmatters.nohmatters-bundle&lt;/Bundle-SymbolicName&gt;
                          &lt;Import-Package&gt;org.osgi.framework,*&lt;/Import-Package&gt;
                          &lt;Export-Package&gt;com.lundbeck.master.nohmatters.*,com.lundbeck.master.nohmatters.servlet.EmailServlet,com.jcraft.*;com.jcraft.jzlib&lt;/Export-Package&gt;
                          &lt;Include-Resource&gt;{maven-resources}&lt;/Include-Resource&gt;
                          &lt;Import-Bundle&gt;*&lt;/Import-Bundle&gt;
                          &lt;Embed-Dependency&gt;gson&lt;/Embed-Dependency&gt;
                          &lt;Embed-Transitive&gt;true&lt;/Embed-Transitive&gt;
                          &lt;Private-Package&gt;com.lundbeck.master.nohmatters.servlet.*,com.jcraft.*&lt;/Private-Package&gt;
                      &lt;/instructions&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.sling&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-sling-plugin&lt;/artifactId&gt;
                  &lt;configuration&gt;
                      &lt;slingUrl&gt;http://${crx.host}:${crx.port}/apps/nohmatters/install&lt;/slingUrl&gt;
                      &lt;usePut&gt;true&lt;/usePut&gt;
                  &lt;/configuration&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;configuration&gt;
                      &lt;excludePackageNames&gt;
                          *.impl
                      &lt;/excludePackageNames&gt;
                   &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>