title: Maven 3 site descriptor issue : deploying artifact not working or site not building
body: <p>I've migrated to maven 3.0.3 but I'm not able to build the maven site.
  In fact my project use an external parent pom that doesn't provide any site descriptor as artifact.</p>
  
  <p>1- Is there a way to generate the maven site even if the parent doesn't provide a site.xml ? I can't make it work. "mvn site" command still crashing trying to download the site.xml of the parent with the following eroor (ArtifactResolutionException: Unable to locate site descriptor...)</p>
  
  <p>2- How do we install or deploy the site.xml on maven repository. I try to add the following xml in my parent pom, but it's not installing anything in my local repo with mvn install command. I've a src/site/site.xml in my project, my project is a pom type project
          
            
              maven-site-plugin
              
                
                  attach-descriptor
                  
                    attach-descriptor
                  
                
              
            
          </p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>No it's not working
  In my pom I have</p>
  
  <pre><code>&lt;url&gt;${site_url_pattern}&lt;/url&gt;
  
  &lt;distributionManagement&gt;
  &lt;site&gt;
  &lt;id&gt;test&lt;/id&gt;
  &lt;url&gt;file://${baseDir}../maven-site&lt;/url&gt;
  &lt;/site&gt;
  &lt;/distributionManagement&gt;
  </code></pre>
  
  <p>In plugin management I put</p>
  
  <pre><code>&lt;plugin&gt;
  &lt;!-- Site plugin --&gt;
  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
  &lt;artifactId&gt;maven-site-plugin&lt;/artifactId&gt;
  &lt;version&gt;3.0&lt;/version&gt;
  &lt;configuration&gt;
  &lt;chmod&gt;true&lt;/chmod&gt;
  &lt;inputEncoding&gt;${encoding}&lt;/inputEncoding&gt;
  &lt;outputEncoding&gt;${encoding}&lt;/outputEncoding&gt;
  &lt;/configuration&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>In plugins I put</p>
  
  <pre><code>&lt;plugin&gt;
  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
  &lt;artifactId&gt;maven-site-plugin&lt;/artifactId&gt;
  &lt;version&gt;3.0&lt;/version&gt;
  &lt;configuration&gt;
  &lt;locales&gt;en&lt;/locales&gt;
  &lt;reportPlugins&gt;
  &lt;!-- Manage site info part creation --&gt;
  &lt;plugin&gt;
  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
  &lt;artifactId&gt;maven-project-info-reports-plugin
  &lt;/artifactId&gt;
  &lt;version&gt;2.2&lt;/version&gt;
  &lt;configuration&gt;
  &lt;dependencyLocationsEnabled&gt;false&lt;/dependencyLocationsEnabled&gt;
  &lt;dependencyDetailsEnabled&gt;false&lt;/dependencyDetailsEnabled&gt;
  &lt;offline&gt;true&lt;/offline&gt;
  &lt;/configuration&gt;
  &lt;reports&gt;
  &lt;report&gt;cim&lt;/report&gt;
  &lt;!-- Dependencies report are consuming resources set MAVEN_OPTS=-Xmx1024m if java heap &lt;report&gt;dependencies&lt;/report&gt; &lt;report&gt;dependencies-convergence&lt;/report&gt; &lt;report&gt;dependencies-management&lt;/report&gt; --&gt;
  &lt;report&gt;index&lt;/report&gt;
  &lt;report&gt;issue-tracking&lt;/report&gt;
  &lt;!-- pb time generation on licence report &lt;report&gt;license&lt;/report&gt; --&gt;
  &lt;report&gt;mailing-list&lt;/report&gt;
  &lt;report&gt;plugin-management&lt;/report&gt;
  &lt;report&gt;project-team&lt;/report&gt;
  &lt;report&gt;scm&lt;/report&gt;
  &lt;report&gt;summary&lt;/report&gt;
  &lt;/reports&gt;
  &lt;/plugin&gt;
  &lt;/reportPlugins&gt;
  &lt;/configuration&gt;
  &lt;executions&gt;
  &lt;execution&gt;
  &lt;id&gt;attach-descriptor&lt;/id&gt;
  &lt;goals&gt;
  &lt;goal&gt;attach-descriptor&lt;/goal&gt;
  &lt;/goals&gt;
  &lt;/execution&gt;
  &lt;/executions&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>I have a src/site/site.xml in the same project</p>
  
  <p>When I do mvn site I still have</p>
  
  <pre><code>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:si
  te (default-site) on project ner-delivery: SiteToolException: The site descripto
  r cannot be resolved from the repository: ArtifactResolutionException: Unable to
   locate site descriptor: Could not transfer artifact com.sopragroup.evolan:evola
  n-framework-superpom:xml:site_en:6.14.2 from/to Artifactory (http://pdtinteg.ptx
  .fr.sopra/artifactory/repo): Access denied to: http://pdtinteg.ptx.fr.sopra/arti
  factory/repo/com/sopragroup/evolan/evolan-framework-superpom/6.14.2/evolan-frame
  work-superpom-6.14.2-site_en.xml
  [ERROR] com.sopragroup.evolan:evolan-framework-superpom:xml:6.14.2
  </code></pre>
  
  <p>If I put manually a evolan-framework-superpom-6.14.2-site_en.xml on my local repo it's working, but that's not a real solution</p>