Loading pom.xml +1 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ <parent> <groupId>com.sourcesense.alfresco</groupId> <artifactId>maven-alfresco-archetypes</artifactId> <version>1.0-SNAPSHOT</version> <version>1.0.0-SNAPSHOT</version> </parent> <description> This archetype developed aims to provide a standardized approach to development, release and deployment of Alfresco extensions (as opposed to Loading src/main/resources/archetype-resources/README-m2.txt +1 −1 Original line number Diff line number Diff line Loading @@ -65,7 +65,7 @@ Lifecycle HOWTO - Usage --- Fast one shot build and embedded jetty run-war|run-exploded [and restore bootstrap] [and customize webappName] [and integrate LDAP]: ' MAVEN_OPTS="-Xms256m -Xmx512m -XX:PermSize=128m mvn jetty:run-war|jetty:run-exploded [-Denv=yourEnv] [-DrestoreVersion=versionToRestore] [-DwebappName=yourCustomWebappName] [-Denterprise] ' ' MAVEN_OPTS="-Xms256m -Xmx512m -XX:PermSize=128m mvn integration-test [-Denv=yourEnv] [-DrestoreVersion=versionToRestore] [-DwebappName=yourCustomWebappName] [-Denterprise] ' (default env=src/main/properties/local/application.properties) Loading src/main/resources/archetype-resources/pom.xml +44 −20 Original line number Diff line number Diff line Loading @@ -26,6 +26,11 @@ <packaging>war</packaging> <url></url> <description>Alfresco extension</description> <parent> <groupId>com.sourcesense.alfresco</groupId> <artifactId>maven-alfresco-archetypes-base</artifactId> <version>1.0.0-SNAPSHOT</version> </parent> <!-- | | By default the project is overlayed to the alfresco war which depends upon and deployed as a WAR (local development and testing purposes) Loading Loading @@ -150,8 +155,20 @@ <version>2.1.0</version> <scope>provided</scope> </dependency> <!-- Sample of AMP dependency that will be properly uncompressed in the Alfresco WAR (no more need for AMP): this can be either an AMP built with maven-amp-plugin and deployed on an accessible maven repo or a generally available AMP previously deployed to a repo using mvn deploy:deploy-file <!-- Uncomment if you're using mysql --> <dependency> <scope>runtime</scope> <type>amp</type> <artifactId>recordsmanagement</artifactId> <version>2.1.0</version> <groupId>org.alfresco.community</groupId> </dependency> --> <!-- Comment if you're not using mysql --> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> Loading Loading @@ -257,10 +274,6 @@ <artifactId>wagon-webdav</artifactId> <version>1.0-beta-3</version> </extension> <extension> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-ssh</artifactId> </extension> </extensions> <!-- In certain cases we do build time filtering with the single sourcing application.properties --> <filters> Loading Loading @@ -386,8 +399,17 @@ <plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>maven-jetty-plugin</artifactId> <executions> <!-- Runs jetty when 'integration-test' phase is called --> <execution> <id>it</id> <phase>integration-test</phase> <goals> <goal>run-exploded</goal> </goals> <configuration> <contextPath>/${webapp.name}</contextPath> <webApp>${pom.build.directory}/${webapp.name}</webApp> <scanIntervalSeconds>10</scanIntervalSeconds> <connectors> <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector"> Loading @@ -396,6 +418,8 @@ </connector> </connectors> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.cargo</groupId> Loading Loading
pom.xml +1 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ <parent> <groupId>com.sourcesense.alfresco</groupId> <artifactId>maven-alfresco-archetypes</artifactId> <version>1.0-SNAPSHOT</version> <version>1.0.0-SNAPSHOT</version> </parent> <description> This archetype developed aims to provide a standardized approach to development, release and deployment of Alfresco extensions (as opposed to Loading
src/main/resources/archetype-resources/README-m2.txt +1 −1 Original line number Diff line number Diff line Loading @@ -65,7 +65,7 @@ Lifecycle HOWTO - Usage --- Fast one shot build and embedded jetty run-war|run-exploded [and restore bootstrap] [and customize webappName] [and integrate LDAP]: ' MAVEN_OPTS="-Xms256m -Xmx512m -XX:PermSize=128m mvn jetty:run-war|jetty:run-exploded [-Denv=yourEnv] [-DrestoreVersion=versionToRestore] [-DwebappName=yourCustomWebappName] [-Denterprise] ' ' MAVEN_OPTS="-Xms256m -Xmx512m -XX:PermSize=128m mvn integration-test [-Denv=yourEnv] [-DrestoreVersion=versionToRestore] [-DwebappName=yourCustomWebappName] [-Denterprise] ' (default env=src/main/properties/local/application.properties) Loading
src/main/resources/archetype-resources/pom.xml +44 −20 Original line number Diff line number Diff line Loading @@ -26,6 +26,11 @@ <packaging>war</packaging> <url></url> <description>Alfresco extension</description> <parent> <groupId>com.sourcesense.alfresco</groupId> <artifactId>maven-alfresco-archetypes-base</artifactId> <version>1.0.0-SNAPSHOT</version> </parent> <!-- | | By default the project is overlayed to the alfresco war which depends upon and deployed as a WAR (local development and testing purposes) Loading Loading @@ -150,8 +155,20 @@ <version>2.1.0</version> <scope>provided</scope> </dependency> <!-- Sample of AMP dependency that will be properly uncompressed in the Alfresco WAR (no more need for AMP): this can be either an AMP built with maven-amp-plugin and deployed on an accessible maven repo or a generally available AMP previously deployed to a repo using mvn deploy:deploy-file <!-- Uncomment if you're using mysql --> <dependency> <scope>runtime</scope> <type>amp</type> <artifactId>recordsmanagement</artifactId> <version>2.1.0</version> <groupId>org.alfresco.community</groupId> </dependency> --> <!-- Comment if you're not using mysql --> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> Loading Loading @@ -257,10 +274,6 @@ <artifactId>wagon-webdav</artifactId> <version>1.0-beta-3</version> </extension> <extension> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-ssh</artifactId> </extension> </extensions> <!-- In certain cases we do build time filtering with the single sourcing application.properties --> <filters> Loading Loading @@ -386,8 +399,17 @@ <plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>maven-jetty-plugin</artifactId> <executions> <!-- Runs jetty when 'integration-test' phase is called --> <execution> <id>it</id> <phase>integration-test</phase> <goals> <goal>run-exploded</goal> </goals> <configuration> <contextPath>/${webapp.name}</contextPath> <webApp>${pom.build.directory}/${webapp.name}</webApp> <scanIntervalSeconds>10</scanIntervalSeconds> <connectors> <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector"> Loading @@ -396,6 +418,8 @@ </connector> </connectors> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.cargo</groupId> Loading