title: Maven, Flex build issue
body: <p>I am new to Maven. I am trying to compile Flex using maven plug-in flexmojos. I am having hard time to get maven download files from public repository. Currently we do not have any company intranet repository. Maven always fails to download required files (eg: flex-framework) from repository. Initially I did not configure the proxy, but now I did. After that maven was able to communicate to the repositories but unable to download all the files. I did try deleting the 'repository' directory couple of times, and also tried re-installing maven software.</p>
  
  <p>Because, it could not download the files I thought may be I should try copying the files manually into the default repository location (/.m2/repository) and did that. But still I get an error as below.</p>
  
  <pre><code>[ERROR] Failed to execute goal on project nuxi-nms-flex-stats: Could not resolve
  dependencies for project nuxi:nuxi-nms-flex-stats :swf:1.0.0: The following artifacts 
  could not be resolved: com.adobe.flex.framework:flex-framework:pom:4.1.0.16248,
  com.adobe.flex .framework:playerglobal:0.swc:2:4.1.0.16248: Could not find artifact
  com.adobe.flex.framework:flex-framework:pom:4.1.0.16248 in central 
  http://search.maven.org/) -&gt; [Help 1]
  </code></pre>
  
  <p>This error message is really frustrating me. I have also tried building a sample app from sonatype examples on how to build a Flex app. Even that fails with a similar message (this time it complained unable to download flex compiler)</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
  http://maven.apache.org/xsd/maven-4.0.0.xsd"
  xmlns="http://maven.apache.org/POM/4.0.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  &lt;parent&gt;
      &lt;groupId&gt;nuxi&lt;/groupId&gt;
      &lt;artifactId&gt;nuxi-nms-flex&lt;/artifactId&gt;
      &lt;version&gt;1.0.0&lt;/version&gt;
  &lt;/parent&gt;
  &lt;groupId&gt;nuxi&lt;/groupId&gt;
  &lt;artifactId&gt;nuxi-nms-flex-stats&lt;/artifactId&gt;
  &lt;version&gt;1.0.0&lt;/version&gt;
  &lt;packaging&gt;swf&lt;/packaging&gt;
  &lt;name&gt;nuxi nms flex stats&lt;/name&gt;
  
  
  &lt;repositories&gt;
      &lt;repository&gt;
          &lt;id&gt;central&lt;/id&gt;
          &lt;name&gt;Central Maven Repository&lt;/name&gt;
          &lt;url&gt;http://search.maven.org/&lt;/url&gt;
          &lt;layout&gt;default&lt;/layout&gt;
      &lt;/repository&gt;
  &lt;/repositories&gt;
  
  &lt;pluginRepositories&gt;
      &lt;pluginRepository&gt;
          &lt;id&gt;org.sonatype.flexmojos&lt;/id&gt;
          &lt;name&gt;Flex mojos plugin for maven&lt;/name&gt;
          &lt;url&gt;https://repository.sonatype.org/content/groups/flexgroup&lt;/url&gt;
          &lt;releases&gt;
              &lt;enabled&gt;true&lt;/enabled&gt;
              &lt;updatePolicy&gt;never&lt;/updatePolicy&gt;
              &lt;checksumPolicy&gt;warn&lt;/checksumPolicy&gt;
          &lt;/releases&gt;
          &lt;snapshots&gt;
              &lt;enabled&gt;true&lt;/enabled&gt;
              &lt;updatePolicy&gt;never&lt;/updatePolicy&gt;
              &lt;checksumPolicy&gt;fail&lt;/checksumPolicy&gt;
          &lt;/snapshots&gt;
      &lt;/pluginRepository&gt;
      &lt;pluginRepository&gt;
          &lt;id&gt;com.adobe.flex&lt;/id&gt;
          &lt;name&gt;Flex compiler&lt;/name&gt;
          &lt;url&gt;https://repository.sonatype.org/content/groups/flexgroup&lt;/url&gt;
          &lt;releases&gt;
              &lt;enabled&gt;true&lt;/enabled&gt;
              &lt;updatePolicy&gt;never&lt;/updatePolicy&gt;
              &lt;checksumPolicy&gt;warn&lt;/checksumPolicy&gt;
          &lt;/releases&gt;
          &lt;snapshots&gt;
              &lt;enabled&gt;false&lt;/enabled&gt;
              &lt;updatePolicy&gt;never&lt;/updatePolicy&gt;
              &lt;checksumPolicy&gt;fail&lt;/checksumPolicy&gt;
          &lt;/snapshots&gt;
      &lt;/pluginRepository&gt;
      &lt;pluginRepository&gt;
          &lt;id&gt;com.adobe.flex.framework&lt;/id&gt;
          &lt;name&gt;Flex Framework&lt;/name&gt;
          &lt;url&gt;https://repository.sonatype.org/content/groups/flexgroup&lt;/url&gt;
          &lt;releases&gt;
              &lt;enabled&gt;true&lt;/enabled&gt;
              &lt;updatePolicy&gt;never&lt;/updatePolicy&gt;
              &lt;checksumPolicy&gt;warn&lt;/checksumPolicy&gt;
          &lt;/releases&gt;
          &lt;snapshots&gt;
              &lt;enabled&gt;false&lt;/enabled&gt;
              &lt;updatePolicy&gt;never&lt;/updatePolicy&gt;
              &lt;checksumPolicy&gt;fail&lt;/checksumPolicy&gt;
          &lt;/snapshots&gt;
      &lt;/pluginRepository&gt;
  &lt;/pluginRepositories&gt;
  
  &lt;build&gt;
      &lt;sourceDirectory&gt;src/main/flex&lt;/sourceDirectory&gt;
      &lt;testSourceDirectory&gt;src/test/flex&lt;/testSourceDirectory&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.sonatype.flexmojos&lt;/groupId&gt;
              &lt;artifactId&gt;flexmojos-maven-plugin&lt;/artifactId&gt;
              &lt;version&gt;4.0-SNAPSHOT&lt;/version&gt;
              &lt;extensions&gt;true&lt;/extensions&gt;
              &lt;configuration&gt;
                  &lt;sourceFile&gt;statsapp.mxml&lt;/sourceFile&gt;
                  &lt;htmlName&gt;SampleSWF&lt;/htmlName&gt;
              &lt;/configuration&gt;
              &lt;dependencies&gt;
                  &lt;dependency&gt;
                      &lt;groupId&gt;com.adobe.flex&lt;/groupId&gt;
                      &lt;artifactId&gt;compiler&lt;/artifactId&gt;
                      &lt;!--
                      &lt;version&gt;4.0.0.10485&lt;/version&gt;
                      --&gt;
                      &lt;version&gt;4.1.0.16248&lt;/version&gt;
                      &lt;type&gt;pom&lt;/type&gt;
                  &lt;/dependency&gt;
              &lt;/dependencies&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
      &lt;finalName&gt;statsapp&lt;/finalName&gt;
  &lt;/build&gt;
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.adobe.flex.framework&lt;/groupId&gt;
          &lt;artifactId&gt;flex-framework&lt;/artifactId&gt;
          &lt;!--
          &lt;version&gt;4.0.0.10485&lt;/version&gt;
          --&gt;
          &lt;version&gt;4.1.0.16248&lt;/version&gt;
          &lt;type&gt;pom&lt;/type&gt;
          &lt;exclusions&gt;
             &lt;exclusion&gt;
                 &lt;groupId&gt;com.adobe.flex.framework&lt;/groupId&gt;
                 &lt;artifactId&gt;playerglobal&lt;/artifactId&gt;
             &lt;/exclusion&gt;
         &lt;/exclusions&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
         &lt;groupId&gt;com.adobe.flex.framework&lt;/groupId&gt;
         &lt;artifactId&gt;playerglobal&lt;/artifactId&gt;
         &lt;version&gt;4.1.0.16248&lt;/version&gt;
         &lt;classifier&gt;2&lt;/classifier&gt;
         &lt;type&gt;0.swc&lt;/type&gt;
     &lt;/dependency&gt;
  &lt;/dependencies&gt;
  </code></pre>
  
  <p></p>
  
  <p>My question is, am I doing anything wrong? What could be the issue here? Any help in this regard is appreciated.... Thanks...</p>
  
  <p>Sorry for such a lengthy explanation...</p>