title: Alfresco Configuration to Eclipse or by Maven
body: <p>I am trying to configure the development environment for Alfresco version 5.0.b.
  i have tried as per the documentation for maven and also tried by my way in eclipse but i am facing an issue with both like </p>
  
  <p>if i do it by maven from command prompt like </p>
  
  <blockquote>
    <p>C:\maven_projects\project_1>mvn install 
    [INFO] Scanning for
    projects... Downloading:
    https   ://repo.maven.apache.org/maven2/org/alfresco/maven/alfresco-sd
    k-parent/2.0.0-beta-4/alfresco-sdk-parent-2.0.0-beta-4.pom [ERROR] The
    build could not read 1 project -> [Help 1] [ERROR] [ERROR]   The
    project ipr.res.in:project_1:1.0-SNAPSHOT (C:\maven_projects\proje
    ct_1\pom.xml) has 1 error [ERROR]     Non-resolvable parent POM: Could
    not transfer artifact org.alfresco.
    maven:alfresco-sdk-parent:pom:2.0.0-beta-4 from/to central
    (https:    //repo.maven.a pache.org/maven2): repo.maven.apache.org and
    'parent.relativePath' points at wro ng local POM @ line 12, column 13:
    Unknown host repo.maven.apache.org -> [Help 2 ] [ERROR] [ERROR] To see
    the full stack trace of the errors, re-run Maven with the -e swit ch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR] [ERROR] For more information about the errors and possible
    solutions, please rea d the following articles: [ERROR] [Help 1]
    http:  //cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin
    gException [ERROR] [Help 2]
    http:  //cwiki.apache.org   /confluence/display/MAVEN/UnresolvableMo
    delException C:\maven_projects\project_1></p>
  </blockquote>
  
  <p>If i try in eclipse 
  i create one project as maven project in that i add the catalog file with maven central for the url (http:   //repo1.maven.org/maven2/archetype-catalog.xml) but when i try to import the archetype (org.alfresco. ..) it is not giving me anything.</p>
  
  <p>So kindly help me out for the issue to configure the AMP</p>
  
  <h2>My Project POM.XML</h2>
  
  <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;groupId&gt;com.alfresco.tutorials&lt;/groupId&gt;
  &lt;artifactId&gt;quick-start-project&lt;/artifactId&gt;
  &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
  &lt;name&gt;quick-start-project Repository AMP project&lt;/name&gt;
  &lt;packaging&gt;amp&lt;/packaging&gt;
  &lt;description&gt;Manages the lifecycle of the quick-start-project Repository AMP (Alfresco Module Package)&lt;/description&gt;
  
  &lt;parent&gt;
  &lt;groupId&gt;org.alfresco.maven&lt;/groupId&gt;
  &lt;artifactId&gt;alfresco-sdk-parent&lt;/artifactId&gt;
  &lt;version&gt;2.0.0-beta-4&lt;/version&gt;
  &lt;/parent&gt;
  
  &lt;!-- 
  | SDK properties have sensible defaults in the SDK parent,
  | but you can override the properties below to use another version. 
  | For more available properties see the alfresco-sdk-parent POM. 
  --&gt;
  &lt;properties&gt;
  &lt;!--
  | Defines the groupId for the Alfresco Artifacts to work against. As of 4.2 the only allowed value is: org.alfresco
  | NOTE: See http:  //docs.alfresco.com/4.2/concepts/dev-extensions-maven-sdk-tutorials-alfresco-enterprise.html for details
  --&gt;
  &lt;alfresco.groupId&gt;org.alfresco&lt;/alfresco.groupId&gt;
  &lt;!-- Defines the Alfresco version to work against.
  Community versions are typically identified by major.minor.character (4.2.a) while Enterprise versions are identified by major.minor.digit (4.2.0)  --&gt;
  &lt;alfresco.version&gt;5.0.a&lt;/alfresco.version&gt;
  &lt;app.log.root.level&gt;WARN&lt;/app.log.root.level&gt;
  &lt;alfresco.data.location&gt;alf_data_dev&lt;/alfresco.data.location&gt;
  &lt;!-- Defines the target WAR artifactId to run this amp, only used with the -Pamp-to-war switch
  .    | Allowed values: alfresco | share. Defaults to a repository AMP, but could point to your foundation WAR --&gt;
  &lt;alfresco.client.war&gt;alfresco&lt;/alfresco.client.war&gt;
  &lt;!-- Defines the target WAR groupId to run this amp, only used with the -Pamp-to-war switch
  .    | Could be org.alfresco or your corporate groupId --&gt;
  &lt;alfresco.client.war.groupId&gt;org.alfresco&lt;/alfresco.client.war.groupId&gt;
  &lt;!-- Defines the target WAR version to run this amp, only used with the -Pamp-to-war switch --&gt;
  &lt;alfresco.client.war.version&gt;5.0.a&lt;/alfresco.client.war.version&gt;
  &lt;!-- This controls which properties will be picked in src/test/properties for embedded run --&gt;
  &lt;env&gt;local&lt;/env&gt;
  &lt;/properties&gt;
  
  &lt;!-- Here we realize the connection with the Alfresco selected platform 
  (e.g.version and edition) --&gt;
  &lt;dependencyManagement&gt;
  &lt;dependencies&gt;
  &lt;!-- This will import the dependencyManagement for all artifacts in the selected Alfresco version/edition
  (see http:  //maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Importing_Dependencies) 
  NOTE: You still need to define dependencies in your POM, but you can omit version as it's enforced by this dependencyManagement. NOTE: It defaults 
  to the latest version this SDK pom has been tested with, but alfresco version can/should be overridden in your project's pom --&gt;
  &lt;dependency&gt;
  &lt;groupId&gt;${alfresco.groupId}&lt;/groupId&gt;
  &lt;artifactId&gt;alfresco-platform-distribution&lt;/artifactId&gt;
  &lt;version&gt;${alfresco.version}&lt;/version&gt;
  &lt;type&gt;pom&lt;/type&gt;
  &lt;scope&gt;import&lt;/scope&gt;
  &lt;/dependency&gt;
  &lt;/dependencies&gt;
  &lt;/dependencyManagement&gt;
  &lt;!-- Following dependencies are needed for compiling Java code in src/main/java; 
  &lt;scope&gt;provided&lt;/scope&gt; is inherited for each of the following; 
  for more info, please refer to alfresco-platform-distribution POM --&gt;
  &lt;dependencies&gt;
  &lt;dependency&gt;
  &lt;groupId&gt;${alfresco.groupId}&lt;/groupId&gt;
  &lt;artifactId&gt;alfresco-repository&lt;/artifactId&gt;
  &lt;/dependency&gt;
  &lt;/dependencies&gt;
  &lt;/project&gt;
  </code></pre>
  
  <hr>