Commit 0fd6c401 authored by mindthegab's avatar mindthegab
Browse files

-- added site support

-- made dependent on parent project

git-svn-id: http://maven-alfresco-archetypes.googlecode.com/svn/trunk@20 04253f4f-3451-0410-a141-5562f1e59037
parent 17256b0e
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -36,12 +36,5 @@
        <version>2.0-alpha-3</version>
      </extension>
    </extensions>
    <plugins>
      <plugin>
        <artifactId>maven-archetype-plugin</artifactId>
        <version>2.0-alpha-3</version>
        <extensions>true</extensions>
      </plugin>
    </plugins>
  </build>
</project>
 No newline at end of file
+31 −0
Original line number Diff line number Diff line
 -----
 Maven Alfresco Extension Archetype
 -----
 Sourcesense
 -----



Welcome to the Maven Alfresco Extension Archetype home

 You've reached the Sourcesense ({{ ${site_pom_url} }}) Maven Alfresco AMP archetype home page (version: ${site_pom_version}) 



Description

	${site_pom_description}



Quick Start (maven2)

 For a quick start you can a maven alfresco AMP project created by just running  <<(maven 2.0.6+ required)>>:

--------------------------------------------
mvn  org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create  -DarchetypeGroupId=${site_pom_groupId} -DarchetypeVersion=${site_pom_version} \
			-DarchetypeArtifactId=${site_pom_artifactId} \
			-DgroupId=mycompany.com  -DartifactId=my-test-amp -Dversion=0.1-SNAPSHOT \
			-DremoteRepositories=http://repository.sourcesense.com/maven2 \
			-DpomRemoteRepositories=http://repository.sourcesense.com/maven2
--------------------------------------------
+0 −0

Empty file added.

+46 −0
Original line number Diff line number Diff line
<?xml version="1.0"?>
<faqs id="Maven Alfresco Extension FAQ">
	<part id="General">
		<title>General</title>
		<faq id="build">
			<question>How do I build an AMP?</question>
			<answer>
			<p>
				Just Run <verbatim> mvn clean package </verbatim>
			</p>
			</answer>
		</faq>
		<faq id="test">
			<question>How do I test the AMP?</question>
			<answer>
				<p>
					You can run Jetty embedded in maven by typing
					<verbatim>mvn clean integration-test -P webapp</verbatim>
				</p>
			</answer>
		</faq>
		<faq id="transitive">
			<question>Are AMP transitive dependencies supported?</question>
			<answer>
				<p>
					Yes, they are, both from AMP and WAR packaging projects.
					For AMP projects this  will turn out into having a final built AMP
					which contains all the chain of AMPs the current AMP is depending upon.
					For WAR projects all AMPs will be unpacked in the proper position
					same as the MMT would do.
				</p>
			</answer>
		</faq>
		<faq id="mmt">
			<question>Is MMT needed with maven?</question>
			<answer>
				<p>
					No, it is not. The whole point of it is getting rid of the annoying
					non integrated in the lifecycle MMT run.
					We created the <a href="https://forge.alfresco.com/projects/maven4alfresco" target="_blank" >maven-amp-plugin</a> for 
					managing and processing AMP lifecycle, making MMT obsolete.
				</p>
			</answer>
		</faq>
	</part>
</faqs>
 No newline at end of file
+10.7 KiB
Loading image diff...
Loading