Commit d367cf4a authored by mindthegab's avatar mindthegab
Browse files

Fixed issue #164 (deployment to Maven Central).

Deployed the first snapshot.

Updated documentation getting ready for beta-1.

Removed jetty references.

Added docs for the share-amp-archetype
parent e3547861
Loading
Loading
Loading
Loading
+0 −19
Original line number Diff line number Diff line
@@ -54,25 +54,6 @@
     </dependencies>
  </dependencyManagement>

    <!-- This repository is only needed to retrieve Alfresco parent POM. 
        NOTE: This can be removed when/if Alfresco will be on Maven Central 
        
        NOTE: The repository to be used for Alfresco Enterprise artifacts is
        https://artifacts.alfresco.com/nexus/content/groups/private/. Please check
        with Alfresco Support to get credentials to add to your ~/.m2/settings.xml
        if you are a Enterprise customer or Partner  
        -->
    <repositories>
        <repository>
            <id>alfresco-public</id>
            <url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
        </repository>
        <repository>
            <id>alfresco-public-snapshots</id>
            <url>https://artifacts.alfresco.com/nexus/content/groups/public-snapshots</url>
        </repository>
    </repositories>

    <!-- Invoke your build with -Prun to run the multimodule project and enable rapid dev mode in your IDE. 
         See 'run' profile in the sub modules pom.xml for further behavioral details.
     -->
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ All-in-One Archetype properties
        
            * <<<src/main/properties/<env>/alfresco-global.properties>>> (environment dependent <<<alfresco-global.properties>>> packaged in the WAR )
        
        * For Alfresco AMP projects
        * For Alfresco/Share AMP projects
        
            * <<<src/test/properties/<env>/alfresco-global.properties>>> (environment dependent <<<alfresco-global.properties>>> for test WAR run)
    
+4 −4
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ Introduction
  
  * AMP Dependency management and overlay in an Alfresco Repository or Share WAR
  
  * Embedded run in Jetty and embedded H2 database of the full Alfresco suite, including Repository, Share, Solr and Web Quick Start
  * Embedded run in Tomcat and embedded H2 database of the full Alfresco suite, including Repository, Share, Solr
  
  * Support for unit and integration testings

@@ -29,7 +29,7 @@ How to create a project:
  You can create the latest release archetype with the following command:
  
+---+
mvn archetype:generate -DarchetypeCatalog=https://artifacts.alfresco.com/nexus/content/groups/public/archetype-catalog.xml -Dfilter=org.alfresco.maven.archetype:
mvn archetype:generate -Dfilter=org.alfresco.maven.archetype:
+---+
  
  You should then:
@@ -38,11 +38,11 @@ mvn archetype:generate -DarchetypeCatalog=https://artifacts.alfresco.com/nexus/c
  
  [[2]] Specify the <<<groupId>>> and <<<artifactId>>> for the project you want to create
  
  [[3]] (<Optionally>) Select Alfresco Version / Edition (current default is: Alfresco Community 4.2.c)
  [[3]] (<Optionally>) Select Alfresco Version / Edition (current default is: Alfresco Community 5.0.a)
  
 You can find new Alfresco All-in-One project ready to go in the <<<artifactId>>> folder.

Usage

  Instructions on how to use the Alfresco AMP archetype can be found on the {{{./usage.html}usage page}}, while 
  Instructions on how to use the Alfresco All in One archetype can be found on the {{{./usage.html}usage page}}, while 
  for more advanced use cases refer to the {{{./advanced-usage.html}advanced usage page}}
+10 −9
Original line number Diff line number Diff line
@@ -20,36 +20,37 @@ Project layout
    |-> alfresco
    |-> share
    |-> solr
    |-> wcmqs (Alfresco Web Quick Start)
    |-> runner (a Jetty embedded runner / integration test runner)
    |-> runner (a Tomcat embedded runner / integration test runner)
+---+

* Modules 

    The All-in-One Alfresco project is composed by the following modules:
   
    * <<<amp>>>: An Repository Tier AMP project, demonstrating sample project structure and demo component loading. It can be configured to work for Share
    * <<<repo-amp>>>: An Repository Tier AMP project, demonstrating sample project structure and demo component loading
     
    * <<<alfresco>>>: An <<<alfresco.war>>> Repository Extension, overlaying the Alfresco WAR with custom resources / classes 
    * <<<repo>>>: An <<<alfresco.war>>> Repository Extension, overlaying the Alfresco WAR with custom resources / classes 
    and depending on the <<<amp>>> project
    
    * <<<share>>>: A <<<share.war>>> extension, overlaying the Share WAR with custom resoruces / classes
    * <<<share-amp>>>: A Share Tier AMP project, demonstrating sample project structure and demo component loading
    
    * <<<solr>>>: An Alfresco <<<alfresco-*-*-solr.zip>>> overlay / customization to configure {{{http://solr.apache.org}Apache Solr}} cores properties
    * <<<share>>>: A <<<share.war>>> extension, overlaying the Share WAR with the custom developed <<<share-amp>>>
    
    * <<<wcmqs>>>: An Alfresco Web Quick Start overlay / customization. WQS Repository and Share AMPs are also installed on Alfresco and Share.
    * <<<solr>>>: An Alfresco <<<alfresco-*-*-solr.zip>>> overlay / customization to configure {{{http://solr.apache.org}Apache Solr}} cores properties
    
    * <<<runner>>>: A Jetty + H2 runner, capable of running all the aforementioned projects in embedded mode for demo / integration-testing purposes
    * <<<runner>>>: A Tomcat + H2 runner, capable of running all the aforementioned projects in embedded mode for demo / integration-testing purposes

Usage 

    The project provides support for typical development lifecycle use cases like

        * Rapid development, in full IDE integration, and with hot classes reloading (using spring-loaded, check {{{../../prerequisites.html}prerequisites}}).
        
        * AMP/WAR packaging
        
        * AMP Unit testing
        
        * run embedded in Jetty + H2 database. 
        * run embedded in Tomcat + H2 database. 
          (<<NOTE>>: this is not a {{{http://www.alfresco.com/services/subscription/supported-platforms/} supported stack}} so use <<only for development purposes>>)
        
        * Integration testing
+9 −7
Original line number Diff line number Diff line
@@ -25,13 +25,15 @@
        <menu name="SDK components">
          <item name="Maven Alfresco SDK" href="../../index.html" />
          <item name="Alfresco AMP Archetype" href="../alfresco-amp-archetype/index.html" />
          <item name="Share AMP Archetype" href="../share-amp-archetype/index.html" />
          <item name="Alfresco All-in-One Archetype" href="./index.html" />
          <item name="Alfresco SDK Parent POM" href="../../poms/alfresco-sdk-parent/index.html" />
          <item name="Alfresco Platform Distribution POM" href="https://artifacts.alfresco.com/nexus/content/repositories/alfresco-docs/alfresco-platform-distribution/latest/index.html" />
          <item name="Alfresco Maven Plugin" href="../../plugins/alfresco-maven-plugin/index.html" />
        </menu>

        <menu name="Maven Alfresco Community">
        <menu name="Maven Alfresco Docs">
            <item name="Official Alfresco SDK docs" href="http://docs.alfresco.com/community/concepts/alfresco-sdk-intro.html" />
            <item name="Alfresco Maven Wiki Docs" href="http://wiki.alfresco.com/wiki/Maven_Alfresco_SDK" />
            <item name="Alfresco with Maven for Dummies" href="https://wiki.alfresco.com/wiki/Maven_For_Dummies" />
            <item name="Developer Access (Google Code)" href="http://code.google.com/p/maven-alfresco-archetypes/" />
Loading