diff --git a/maven-alfresco-extension-archetype/.project b/maven-alfresco-extension-archetype/.project index ff34fdf8..270cc12f 100644 --- a/maven-alfresco-extension-archetype/.project +++ b/maven-alfresco-extension-archetype/.project @@ -1,32 +1,26 @@ - - alfresco-extension-archetype - This archetype developed within Sourcesense aims to provide a standardized approach to development, release and deployment of - Alfresco extensions (as opposed to AMP builds, to be released as a different artifact ). - Using standard m2 lifecycle commands (mvn compile package deploy) and generally available - plugins (cargo, release, assembly) we are able to cover a very high percentage of Alfresco lifecycle common use cases. - It can be used both with Maven2 and Ant build systems, but it must be clear that *only* the Maven2 approach provides all the automation features we will - describe in this website. - In addition to that the m2 approach provides a zero-conf approach while ant requires (as usual) manual gathering and selection of required alfresco - libraries and webapp (please refer to README-ant.txt for further info about the Ant build). Last but not the least, m2 build is more likely to be maintained - and improved (especially in the likely case Alfresco moves to maven2). - For more details on the m2 apprach please refer instead to README Section (or directly and to README-m2.txt of the generated project. - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.maven.ide.eclipse.maven2Builder - - - - - - org.eclipse.jdt.core.javanature - org.maven.ide.eclipse.maven2Nature - - + maven-alfresco-extension-archetype + This archetype developed within Sourcesense aims to provide a standardized approach to development, release and deployment of Alfresco extensions (as opposed to AMP builds, to be released as a different artifact ). + Using standard m2 lifecycle commands (mvn compile package deploy) and generally available plugins (cargo, release, assembly) + we are able to cover a very high percentage of Alfresco lifecycle common use cases. + It can be used both with Maven2 and Ant build systems, but it must be clear that *only* the Maven2 approach provides all the + automation features we will describe in this website. + In addition to that the m2 approach provides a zero-conf approach while ant requires (as usual) manual gathering and + selection of required alfresco libraries and webapp (please refer to README-ant.txt for further info about the Ant + build). + Last but not the least, m2 build is more likely to be maintained and improved (especially in the likely case Alfresco moves to + maven2). For more details on the m2 apprach please refer instead to README Section (or directly and to README-m2.txt of the generated project). + + + + org.eclipse.jdt.core.javabuilder + + + org.maven.ide.eclipse.maven2Builder + + + + org.eclipse.jdt.core.javanature + org.maven.ide.eclipse.maven2Nature + + \ No newline at end of file diff --git a/maven-alfresco-extension-archetype/pom.xml b/maven-alfresco-extension-archetype/pom.xml index aabbec19..61a8d158 100644 --- a/maven-alfresco-extension-archetype/pom.xml +++ b/maven-alfresco-extension-archetype/pom.xml @@ -24,6 +24,11 @@ maven-archetype Maven alfresco Extension archetype ${site.url} + + com.sourcesense.alfresco + maven-alfresco-archetypes + 1.0-SNAPSHOT + Jira https://dev.sourcesense.com/jira/secure/BrowseProject.jspa?id=10130 @@ -114,10 +119,6 @@ wagon-webdav 1.0-beta-3 - - org.apache.maven.wagon - wagon-ssh - see README-ant.txt -- Maven2 (suggested for structured team work and release) --> explained in this file - -Both build systems provide Alfresco customized build and deploy on tomcat. -WARNING: Make sure you run tomcat/jboss with appropriate memory size (JAVA_OPTS="-Xms256m -Xmx512m -XX:PermSize=128m") - - - -Alfresco maven2 WAR build -------------------------- - -FEATURES: ---------- -- centralized environment aware properties based configuration (common use cases covered with just properties file editing, contributions are more than welcome!) -- Content Bootstrap -- WAR customized build -- environment dependent deploy -- easy switch of alfresco version -- jetty embedded build -- jboss (local) and tomcat (local/remote) deployment support - -PROJECT LAYOUT --------------- - -src --------------------------------------------------------> (source folder) - | - |__ main ___ __ resources --------------------------> mapped in the classpath - | | | - | | |__ alfresco/extension ---> alfresco overriding Spring contexts - | | - | |__ properties -------------------------> environment aware application properties files - | | | - | | |__ local -------------> default application.properties - | | - | |__ java -------------------------------> customization java classes - | | - | |__ webapp -----------------------------> alfresco webapp overlay folder - this folder is overlayed (so may overwrite alfresco war) - | | - | |__ WEB-INF ----------------> drop in this folder WEB-INF custom / overwriting files (e.g. faces-config-custom.xml / web.xml) - | - |__ test - -tools -- - |__ ant ---------------------------------------------> ant tools - |__ m2 ---------------------------------------------> maven2 tools - |__ export ------------------------------------------> support folder for automatic restore (drop acp+xml files here) - |__ mysql -------------------------------------------> mysql setup/remove scripts, filtered based on the profile into - -target - Project build dir - - - -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] ' - -(default env=src/main/properties/local/application.properties) - ---- [Re]Deploy on Jboss (locally) [or on Tomcat locally or remotely]: - -' mvn clean package [cargo:undeploy] cargo:deploy -Pjboss [-Ptomcat] ' - -Note: Jboss or Tomcat must be running prior to deployment - ---- Packaging and Manual Deploy: -- Invoke ' mvn clean package -Denv=targetEnv ' -from the root project's folder; for a list of available environments check src/main/properties//application.properties -or create a custom src/main/properties//application.properties -- Copy target/${webapp.name}.war in $JBOSS_HOME/server/default/deploy or in $CATALINA_HOME/webapps - ---- Import data exports: -- Invoke the maven package goal using -DrestoreVersion=, where is the name of one of the folders listed below tools/export - -- NB: Due to http://forums.alfresco.com/viewtopic.php?p=29429#29429 with embedded jetty run we run into this bug, which prevents boostrap from working. -Restore properly works and was tested under Jboss and Tomcat. - ---- Release process -Just one command: ' mvn release:prepare release:perform ' - -You can customize goals to be executed in both phases in the maven-release-plugin configuration section in the POM. - -FAQ: ----- ---- Eclipse configuration --Run ' mvn eclipse:eclipse ' --hit "Refresh" on your Eclipse project - ---- Db access problems: -Remember to setup appropriate permissions for selected db / build profile. -You can either edit accordingly and then run: mysql -u root < tools/mysql/db_setup.sql - -or if you use POM property 'alfresco.db.name' you have sql files already filtered (after process-resources phase) in - -mysql -u root -p < target/classes/tools/[db_setup,db_remove].sql - ---- Out of memory errors: -Run your build with : -MAVEN_OPTS="-Xms256m -Xmx512m -XX:PermSize=128m" mvn ... ... - ---- Content integrity errors on restore running with jetty embedded -Did you remove also alf_data_jetty apart from the alf_jetty db ? - ---- Release Problems with LC_ALL -If underlying svn complains about LC_ALL variable please consider running your release prepending: -LC_ALL="C" (macosx environments, see http://svn.haxx.se/users/archive-2006-07/0320.shtml) - ---- Install manually JTA (if needed): -- Download jta-1_0_1B-classes.zip from http://java.sun.com/products/jta/ -- mvn install:install-file -Dfile=./jta-1_0_1B-classes.zip -DgroupId=jta -DartifactId=jta -Dversion=1.0.1B -Dpackaging=jar diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/build.xml b/maven-alfresco-extension-archetype/target/classes/archetype-resources/build.xml deleted file mode 100644 index c753a3b9..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/build.xml +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/pom.xml b/maven-alfresco-extension-archetype/target/classes/archetype-resources/pom.xml deleted file mode 100644 index 5ab2ee3a..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/pom.xml +++ /dev/null @@ -1,695 +0,0 @@ - - - - 4.0.0 - ${groupId} - ${artifactId} - ${version} - Alfresco extension - war - - Alfresco extension - - - - - - local - alfresco - - ./alf_data_jetty - alf_jetty - ${project.build.directory}/ - - - - ${pom.description} - ${pom.organization.url} - ${pom.groupId} - ${pom.artifactId} - ${pom.version} - ${svn.tags.url} - ${site.url} - - - - - ss-public - http://repository.sourcesense.com/maven2 - - - - - codehaus snapshot repository - http://snapshots.repository.codehaus.org/ - - true - - - - Maven Snapshots - http://snapshots.maven.codehaus.org/maven2/ - - - - false - - - - - - - - - - alfresco.community - alfresco - 2.1.0 - war - - - - alfresco.community - alfresco-web-client - 2.1.0 - provided - - - alfresco.community - alfresco-core - 2.1.0 - provided - - - alfresco.community - alfresco-repository - 2.1.0 - provided - - - alfresco.community - alfresco-remote-api - 2.1.0 - provided - - - - - mysql - mysql-connector-java - 5.0.3 - - - - - - javax.servlet - servlet-api - 2.5 - provided - - - - - - - ${webapp.name} - - - - org.apache.maven.wagon - wagon-webdav - 1.0-beta-3 - - - org.apache.maven.wagon - wagon-ssh - - - - - src/main/properties/${env}/application.properties - - - - - - src/main/resources - - **/restore-context.xml - **/ldap-*.xml - - - - - src/main/properties/${env} - - application.properties - - true - alfresco/extension - - - src/main/resources - - log4j.properties - - alfresco/extension/file-servers-custom.xml - - true - - - tools/mysql - - *.sql - - true - tools/mysql - - - - - - - org.apache.maven.plugins - maven-resources-plugin - - UTF-8 - - - - - org.apache.maven.plugins - maven-eclipse-plugin - - - - - maven-site-plugin - - en - - - - org.apache.maven.plugins - maven-war-plugin - - false - target/${webapp.name} - **classes/tools - - - - org.mortbay.jetty - maven-jetty-plugin - - /${webapp.name} - 10 - - - 8080 - 60000 - - - - - - org.codehaus.cargo - cargo-maven2-plugin - 0.3-SNAPSHOT - - - org.apache.maven.plugins - maven-release-plugin - - - true - clean package - install deploy cargo:undeploy cargo:deploy site:deploy - - - - - - org.apache.maven.doxia - doxia-maven-plugin - 1.0-alpha-10 - - - pre-site - - render-books - - - - - - target/site/books - - - src/site - src/books/manual.xml - - - xdoc - - - pdf - - - rtf - - - - - - - - - - - - - maven-compiler-plugin - - 1.5 - 1.5 - - - - maven-surefire-plugin - - - maven-javadoc-plugin - - - org.codehaus.mojo - jxr-maven-plugin - - - maven-clover-plugin - - - - org.codehaus.mojo - taglist-maven-plugin - - - - - - - - - ss-private - dav:https://dev.sourcesense.com/repos/dev/maven2 - - - ss-site-private - dav:https://dev.sourcesense.com/cargo/maven2-sites - - - - - - - - restore - - - restoreVersion - - - - package - - - src/main/resources - - **/restore-*.xml - - - - tools/export/${restoreVersion} - - ** - - alfresco/extension/restore - - - - - - - ldap - - - enterprise - - - - package - - - src/main/resources - - **/ldap-*-context.xml - - - - - - - - jboss - - - ./alf_data - alf_jboss - - - - cargo:deploy - - - src/main/resources - - **/restore-context.xml - **/ldap-*.xml - - - - src/main/resources - - - - true - - - - - org.codehaus.cargo - cargo-maven2-plugin - - - jboss4x - remote - - - runtime - - 8080 - - - - remote - - - ${pom.groupId} - ${pom.artifactId} - war - - - - - - - - org.apache.maven.plugins - maven-war-plugin - - false - target/${webapp.name} - **/log4j.properties,**/lib/log4j*.jar,log4j.properties - **/log4j.properties,WEB-INF/classes/tools - - - - - - - - tomcat - - - ./alf_data - alf_tomcat - - - - package - - - org.codehaus.cargo - cargo-maven2-plugin - - - tomcat5x - remote - - - - runtime - - tomcat - tomcat - 8080 - - - - remote - - - ${pom.artifactId} - war - - /${webapp.name} - - - - - - - - - - - diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/books/manual.xml b/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/books/manual.xml deleted file mode 100644 index de741200..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/books/manual.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - manual - Alfresco Extension Manual - - - introduction - Introduction - -
- book-index -
-
-
-
-
\ No newline at end of file diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/properties/local/README-properties.txt b/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/properties/local/README-properties.txt deleted file mode 100644 index ca1531a6..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/properties/local/README-properties.txt +++ /dev/null @@ -1,43 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -Ant/m2 runtime properties management ------------------------------------- - -Both build systems will comply to the following convention for properties: - -- if -Denv= property is specified at build time properties will be - looked up in folder - - src/main/properties//application.properties - - and copied in the classpath under - - alfresco/extension/application.properties - -- if no "env" system property is specified env=local default value will be used - - -Buildtime properties management - Note for Ant Users: ------------------------------------------------------ -Here you can also configure buildtime properties which will be loaded in ant -build context with the same aforementioned convention. -This is done for tomcat ATM. - -Buildtime properties management - Note for Maven Users: ------------------------------------------------------ -You should configure your buildtime properties as suggested by the maven -cascading build properties system, i.e. externalizing them from the project -by the means of settings.xml file. \ No newline at end of file diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/properties/local/application.properties b/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/properties/local/application.properties deleted file mode 100644 index 56f9e5ae..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/properties/local/application.properties +++ /dev/null @@ -1,141 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# BUILD TIME PROPERTIES -# --------------------- - -# NB: This group of properties is only used by ant for tomcat deployment, and may not be maintained. -# Appserver to deploy to (tomcat) - used only by ant ATM. -# Use $M2_HOME/conf/settings.xml (or ~/.m2/settings.xml) for maven2 appservers username/password -appserver.dir=/your/appserver/dir -appserver.host=localhost -appserver.manager.url=http://${appserver.host}:8080/manager -appserver.username=tomcat -appserver.password=tomcat - -# RUN TIME PROPERTIES -# ------------------- - -# Sample custom content and index data location -# This will create alf_data Relative to appserver run folder -# In this default file we take the property from the POM (for compatbility with local jetty and jboss deployments) but it can also be edited here. -dir.root=${alfresco.data.location} -# Allowed values are: NONE, AUTO, FULL -index.recovery.mode=NONE - -# Fail or not when there are node integrity checker errors -integrity.failOnError=true - -# database connection properties -# MySQL connection (This is default and requires mysql-connector-java-5.0.3-bin.jar, which ships with the Alfresco server) - -db.driver=org.gjt.mm.mysql.Driver -db.url=jdbc:mysql://localhost/${alfresco.db.name} -db.username=alfresco -db.password=alfresco -db.pool.initial=10 -db.pool.max=100 - -# MySQL dialect -hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect - - -# Property to control whether schema updates are performed automatically. -# Updates must be enabled during upgrades as, apart from the static upgrade scripts, -# there are also auto-generated update scripts that will need to be executed. After -# upgrading to a new version, this can be disabled. -#db.schema.update=true - - -# File servers related properties -# For local builds we disable CIFS and FTP. Edit the following property to reenable them -smb.server.enabled=false -smb.server.name=CFS_SHARE_LOCAL -smb.server.domain=mycompany.com -smb.server.bindto=127.0.0.1 -smb.tcpip.port=1445 -netbios.session.port=1139 -netbios.name.port=1137 -netbios.datagram.port=1138 -ftp.server.enables=false -ftp.port=1121 -ftp.authenticator=alfresco - -# This properties file is used to configure LDAP authentication -# NB: The following LDAP related properties are read only in case -Denteprise mvn build property is specified -# Wheter to allow silent deletion of users in the Alfresco UI (note: users will be then resynced in the next synchronization) -ldap.authentication.allowDeleteUser=true -# LDAP JNDI provider -ldap.authentication.provider=com.sun.jndi.ldap.LdapCtxFactory -# Url and protocol for LDAP server to carry authentication against -ldap.authentication.url=ldap://ldap.mycompany.com:636 -# can be (simple, ssl) -ldap.authentication.protcol=ssl -# Credentials with full access to the directoty used -ldap.authentication.adminUser=ou=Admin,ou=Services,o=Company -ldap.authentication.adminPassword=secret -# Wheter to allow unauthenticated guest a read only login -ldap.authentication.guestLogin.allowed=false -# Wheter users can be created on the fly upon successful external (e.g. LDAP) authentication. Useful to avoid user synchronization in case just uid and pwd are needed for a user -server.transaction.allow-writes=true -# Wheter user names are case sensitive -user.name.caseSensitive=true -# Wheter the synchronization process has to process duplicated users (e.g. synced users and users coming from the sync) -personService.processDuplicates=true -# Which action to take when processin duplicates. One of: LEAVE, SPLIT, DELETE -personService.duplicateMode=DELETE -# Which of the users (in case of SPLIT duplicates policy) should be considered valid -personService.lastIsBest=true -# Wheter auto created users should be considered when processing duplicates -personService.includeAutoCreated=true -# The query to find the people to import -ldap.synchronisation.personQuery=(objectclass=inetOrgPerson) -# The search base of the query to find people to import -ldap.synchronisation.personSearchBase=ou=Identities,ou=mycompany,o=com -# The attribute name on people objects found in LDAP to use as the uid in Alfresco -ldap.synchronisation.userIdAttributeName=cn -# The attribute on person objects in LDAP to map to the first name property in Alfresco -ldap.synchronisation.userFirstNameAttributeName=givenName -# The attribute on person objects in LDAP to map to the last name property in Alfresco -ldap.synchronisation.userLastNameAttributeName=sn -# The attribute on person objects in LDAP to map to the email property in Alfresco -ldap.synchronisation.userEmailAttributeName=cn -# The attribute on person objects in LDAP to map to the organizational id property in Alfresco -ldap.synchronisation.userOrganizationalIdAttributeName=maildomain -# The default home folder provider to use for people created via LDAP import -ldap.synchronisation.defaultHomeFolderProvider=companyHomeFolderProvider -# The query to find group objects -ldap.synchronisation.groupQuery=(objectclass=AlfrescoGroup) -# The search base to use to find group objects -ldap.synchronisation.groupSearchBase=ou=AlfrescoGroups,ou=mycompany,o=com -# The attribute on LDAP group objects to map to the gid property in Alfrecso -ldap.synchronisation.groupIdAttributeName=cn -# The group type in LDAP -ldap.synchronisation.groupType=AlfrescoGroup -# The person type in LDAP -ldap.synchronisation.personType=inetOrgPerson -# The attribute in LDAP on group objects that defines the DN for its members -ldap.synchronisation.groupMemberAttributeName=member -# The cron expression defining when people imports should take place (e.g. every evening at 22:00 hours) -ldap.synchronisation.import.person.cron=0 0 22 * * ? -# The cron expression defining when group imports should take place (e.g. every evening at 21:45 hours) -ldap.synchronisation.import.group.cron=0 45 21 * * ? -# Should all groups be cleared out at import time? -# - this is safe as groups are not used in Alfresco for other things (unlike person objects which you should never clear out during an import) -# - setting this to true means old group definitions will be tidied up. -ldap.synchronisation.import.group.clearAllChildren=false - - - diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/resources/alfresco/extension/custom-model-context.xml b/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/resources/alfresco/extension/custom-model-context.xml deleted file mode 100644 index f26b0cfe..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/resources/alfresco/extension/custom-model-context.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - alfresco/extension/custom-model.xml - - - - - - diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/resources/alfresco/extension/custom-model.xml b/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/resources/alfresco/extension/custom-model.xml deleted file mode 100644 index 08867368..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/resources/alfresco/extension/custom-model.xml +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - - - - - Custom Alfresco model - Sourcesense - 1.0 - - - - - - - - - - - - - - - - - - - Select a Document type... - Brief - E-mail - Fax - E-Form - - - - - - - Select a status... - New - Draft - Proposal - Approved - Public - - - - - - 0 - - - 6 - - - - - 0 - - - 20 - - - - - - - - - Incoming document - cm:content - - - d:text - true - - - - - - d:text - false - - - - - - d:text - false - New - - - - - - - cm:dublincore - cm:versionable - ss:sendable - - - - - - - - - - - d:date - false - - - d:text - false - - - - - - d:text - false - - - - - - d:text - false - - - - - - d:text - false - - - - - - d:text - false - - - - - - - - - - - diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/resources/alfresco/extension/custom-repository-context.xml b/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/resources/alfresco/extension/custom-repository-context.xml deleted file mode 100644 index a5c4c409..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/resources/alfresco/extension/custom-repository-context.xml +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - true - - - - classpath:alfresco/repository.properties - classpath:alfresco/version.properties - classpath:alfresco/domain/transaction.properties - - - classpath:alfresco/extension/application.properties - - - - - - - - classpath:alfresco/domain/hibernate-cfg.properties - - - - - \ No newline at end of file diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/resources/alfresco/extension/file-servers-custom.xml b/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/resources/alfresco/extension/file-servers-custom.xml deleted file mode 100644 index 70faa5b4..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/resources/alfresco/extension/file-servers-custom.xml +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - - - - - - - - - - - - - - - Alfresco CIFS Server - - - 255.255.255.0 - - - - - - ${smb.server.bindto} - - - - - - - - - - - - - - - - - - - ${ftp.port} - - - - - - - - - - - - workspace://SpacesStore - /app:company_home - - - - __Alfresco.url - http://${localname}/ - - - - - - - - - - alfresco/desktop/Alfresco.exe - http://${localname}/ - - - org.alfresco.filesys.smb.server.repo.desk.CheckInOutDesktopAction - CheckInOut - __CheckInOut.exe - - - org.alfresco.filesys.smb.server.repo.desk.JavaScriptDesktopAction - JavaScriptURL - __ShowDetails.exe - - anyFiles - copyToTarget - - - - - - - - - - - - - - - - - diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/resources/alfresco/extension/ldap-authentication-context.xml b/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/resources/alfresco/extension/ldap-authentication-context.xml deleted file mode 100644 index cfc5f8ea..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/resources/alfresco/extension/ldap-authentication-context.xml +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - - - true - - - classpath:alfresco/extension/application.properties - - - - - - - - - - ${ldap.authentication.allowDeleteUser} - - - - - - - - - - ${ldap.authentication.provider} - - - - - - - ${ldap.authentication.url} - - - ${ldap.authentication.protocol} - - - - - - - - - - ${ldap.authnetication.adminUser} - - - - ${ldap.authnetication.adminPassword} - - - - - - - - - - - cn=%s,ou=Identities,ou=Internal,o=NXP - - - ${ldap.authentication.guestLogin.allowed} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ${spaces.store} - - - - - - - - - - - ${server.transaction.allow-writes} - - - ${user.name.caseSensitive} - - - - ${personService.processDuplicates} - - - - ${personService.duplicateMode} - - - ${personService.lastIsBest} - - - ${personService.includeAutoCreated} - - - - - - diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/resources/alfresco/extension/ldap-synchronisation-context.xml b/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/resources/alfresco/extension/ldap-synchronisation-context.xml deleted file mode 100644 index 32d954be..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/resources/alfresco/extension/ldap-synchronisation-context.xml +++ /dev/null @@ -1,394 +0,0 @@ - - - - - - - - - true - - - classpath:alfresco/extension/application.properties - - - - - - - - - - - - - - - - - - ${ldap.synchronisation.personQuery} - - - - - ${ldap.synchronisation.personSearchBase} - - - - - ${ldap.synchronisation.userIdAttributeName} - - - - - - - - - - - - - - - - - - - ${ldap.synchronisation.userIdAttributeName} - - - - - ${ldap.synchronisation.userFirstNameAttributeName} - - - - - ${ldap.synchronisation.userLastNameAttributeName} - - - - - ${ldap.synchronisation.userEmailAttributeName} - - - - - ${ldap.synchronisation.userOrganizationalIdAttributeName} - - - - - - - - - - - - - ${ldap.synchronisation.defaultHomeFolderProvider} - - - - - - - - - - - ${ldap.synchronisation.groupQuery} - - - - - ${ldap.synchronisation.groupSearchBase} - - - - - ${ldap.synchronisation.userIdAttributeName} - - - - - ${ldap.synchronisation.groupIdAttributeName} - - - - - ${ldap.synchronisation.groupType} - - - - - ${ldap.synchronisation.personType} - - - - - - - - - - - ${ldap.synchronisation.groupMemberAttributeName} - - - - - - - - - - - - - - - - - - - - - org.alfresco.repo.importer.ImporterJob - - - - - - - - - - - - ${ldap.synchronisation.import.person.cron} - - - - - - - - - - - org.alfresco.repo.importer.ImporterJob - - - - - - - - - - - - ${ldap.synchronisation.import.group.cron} - - - - - - - - - - - - - - - - - - - - - - - - - ${spaces.store} - - - - - /${system.system_container.childname}/${system.people_container.childname} - - - - - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ${alfresco_user_store.store} - - - - - /${alfresco_user_store.system_container.childname}/${alfresco_user_store.authorities_container.childname} - - - - - ${ldap.synchronisation.import.group.clearAllChildren} - - - - - - - - - - - - - - - - - - - - - - - diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/resources/alfresco/extension/restore-context.xml b/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/resources/alfresco/extension/restore-context.xml deleted file mode 100644 index 5ff92001..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/resources/alfresco/extension/restore-context.xml +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - - - - alfresco/extension/restore/export_systeminfo.xml - - - - - - - - / - alfresco/extension/restore/export_users.acp - - - - true - - - - - - - / - alfresco/extension/restore/export_system.acp - - - - true - - - - - - - / - alfresco/extension/restore/export_versions.acp - - - - true - - - - - - - / - alfresco/extension/restore/export_spaces_archive.acp - - - - - - - - - - / - alfresco/extension/restore/export_spaces.acp - - - - true - - - diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/resources/alfresco/extension/web-client-config-custom.xml b/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/resources/alfresco/extension/web-client-config-custom.xml deleted file mode 100644 index d3464db4..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/resources/alfresco/extension/web-client-config-custom.xml +++ /dev/null @@ -1,193 +0,0 @@ - - - - - - - - - Italiano - Dutch - - - - - - - - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/resources/alfresco/extension/webclient.properties b/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/resources/alfresco/extension/webclient.properties deleted file mode 100644 index efa85e7e..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/resources/alfresco/extension/webclient.properties +++ /dev/null @@ -1,40 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - - -# Sample webclient alfresco custom labels (english) -# for additional i18n add files in alfresco/messages/*_{locale}.properties - -#========== Document labels ==============# - -# Incoming -incoming=Incoming document -incoming.properties=Incoming document additional properties -incoming.moreProperties=Additional document properties -incoming.scanId=Scan ID -incoming.status=Status -incoming.documentType=Document Type - -#========== Aspects labels ==============# - -# Sendable -sendable=Sendable document -sendable.properties=Sending details -sendable.dateSent=Sending date -sendable.senderName=Sender Name -sendable.senderBsn=Sender BSN -sendable.senderAddress=Sender Address -sendable.senderZipcode=Sender Zip Code -sendable.senderCity=Sender City \ No newline at end of file diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/resources/log4j.properties b/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/resources/log4j.properties deleted file mode 100644 index f7a4b7c5..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/resources/log4j.properties +++ /dev/null @@ -1,147 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - - -# Customized alfresco log location -# Set root logger level to error -log4j.rootLogger=error, Console, File - -###### Console appender definition ####### - -# All outputs currently set to be a ConsoleAppender. -log4j.appender.Console=org.apache.log4j.ConsoleAppender -log4j.appender.Console.layout=org.apache.log4j.PatternLayout -log4j.appender.Console.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c{3}] %m%n -#log4j.appender.Console.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c] %m%n - -###### File appender definition ####### -log4j.appender.File=org.apache.log4j.DailyRollingFileAppender -log4j.appender.File.File=${log.dir}alfresco.log -log4j.appender.File.Append=true -log4j.appender.File.DatePattern='.'yyyy-MM-dd -log4j.appender.File.layout=org.apache.log4j.PatternLayout -log4j.appender.File.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c] %m%n - -###### Hibernate specific appender definition ####### -#log4j.appender.file=org.apache.log4j.FileAppender -#log4j.appender.file.File=hibernate.log -#log4j.appender.file.layout=org.apache.log4j.PatternLayout -#log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n - -###### Log level overrides ####### - -log4j.logger.org.alfresco.repo.model.filefolder=info - -# Hibernate -log4j.logger.org.hibernate=error -log4j.logger.org.hibernate.util.JDBCExceptionReporter=fatal -log4j.logger.org.hibernate.event.def.AbstractFlushingEventListener=fatal -#log4j.logger.org.hibernate.cache.EhCacheProvider=warn -log4j.logger.org.hibernate.type=warn -# log4j.logger.org.hibernate.persister.collection=DEBUG - -# Spring -log4j.logger.org.springframework=warn - -# Axis/WSS4J -log4j.logger.org.apache.axis=info -log4j.logger.org.apache.ws=info - -# MyFaces -log4j.logger.org.apache.myfaces.util.DebugUtils=info -log4j.logger.org.apache.myfaces.el.VariableResolverImpl=error -log4j.logger.org.apache.myfaces.application.jsp.JspViewHandlerImpl=error -log4j.logger.org.apache.myfaces.taglib=error - -# log prepared statement cache activity ### -log4j.logger.org.hibernate.ps.PreparedStatementCache=info - -# Alfresco -log4j.logger.org.alfresco=error -log4j.logger.org.alfresco.repo.avm=info -log4j.logger.org.alfresco.config=info -log4j.logger.org.alfresco.sample=info -log4j.logger.org.alfresco.web=info -log4j.logger.org.alfresco.web.scripts=warn -#log4j.logger.org.alfresco.web.ui.repo.component.UIActions=debug -#log4j.logger.org.alfresco.web.ui.repo.tag.PageTag=debug -#log4j.logger.org.alfresco.web.bean.clipboard=debug -log4j.logger.org.alfresco.repo.webservice=info -log4j.logger.org.alfresco.service.descriptor.DescriptorService=info -#log4j.logger.org.alfresco.repo.importer.ImporterBootstrap=info -#log4j.logger.org.alfresco.web.ui.common.Utils=info -log4j.logger.org.alfresco.repo.admin.patch.PatchExecuter=info -log4j.logger.org.alfresco.repo.module.ModuleServiceImpl=info -log4j.logger.org.alfresco.repo.domain.schema.SchemaBootstrap=info -log4j.logger.org.alfresco.repo.admin.ConfigurationChecker=info -log4j.logger.org.alfresco.repo.node.index.FullIndexRecoveryComponent=info -log4j.logger.org.alfresco.util.OpenOfficeConnectionTester=warn -log4j.logger.org.alfresco.repo.node.db.hibernate.HibernateNodeDaoServiceImpl=warn -#log4j.logger.org.alfresco.web.app.DebugPhaseListener=debug -#log4j.logger.org.alfresco.repo.cache.EhCacheTracerJob=debug -#log4j.logger.org.alfresco.repo.search.Indexer=debug -#log4j.logger.org.alfresco.repo.workflow=info -#log4j.logger.org.alfresco.repo.jscript=DEBUG -log4j.logger.org.alfresco.repo.jscript.AlfrescoRhinoScriptDebugger=off - -# CIFS server debugging -#log4j.logger.org.alfresco.smb.protocol=debug -#log4j.logger.org.alfresco.smb.protocol.auth=debug -#log4j.logger.org.alfresco.acegi=debug - -# FTP server debugging -#log4j.logger.org.alfresco.ftp.protocol=debug -#log4j.logger.org.alfresco.ftp.server=debug - -# WebDAV debugging -#log4j.logger.org.alfresco.webdav.protocol=debug - -# NTLM servlet filters -#log4j.logger.org.alfresco.web.app.servlet.NTLMAuthenticationFilter=debug -#log4j.logger.org.alfresco.repo.webdav.auth.NTLMAuthenticationFilter=debug - -# Integrity message threshold - if 'failOnViolation' is off, then WARNINGS are generated -log4j.logger.org.alfresco.repo.node.integrity=ERROR - -# New indexer debugging -#log4j.logger.org.alfresco.repo.search.impl.lucene.index=DEBUG - -# Audit debugging -# log4j.logger.org.alfresco.repo.audit=DEBUG -# log4j.logger.org.alfresco.repo.audit.model=DEBUG - -# Turn off Spring remoting warnings that should really be info or debug. -log4j.logger.org.springframework.remoting.support=error - -# Templating debugging -# log4j.logger.org.alfresco.web.forms=debug -# log4j.logger.org.chiba.xml.xforms=debug - -# Property sheet and modelling debugging -# change to error to hide the warnings about missing properties and associations -log4j.logger.alfresco.missingProperties=warn -log4j.logger.org.alfresco.web.ui.repo.component.property.UIChildAssociation=warn -log4j.logger.org.alfresco.web.ui.repo.component.property.UIAssociation=warn -#log4j.logger.org.alfresco.web.ui.repo.component.property=debug -#log4j.logger.org.alfresco.repo.dictionary.DictionaryDAO=info - - -# Virtualization Server Registry -#log4j.logger.org.alfresco.mbeans.VirtServerRegistry=debug - -# Link Validation debugging -#log4j.logger.org.alfresco.linkvalidation.LinkValidationServiceImpl=debug -#log4j.logger.org.alfresco.linkvalidation.LinkValidationStoreCallbackHandler=debug - diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/webapp/WEB-INF/README-WEB-INF.txt b/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/webapp/WEB-INF/README-WEB-INF.txt deleted file mode 100644 index 974995c6..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/webapp/WEB-INF/README-WEB-INF.txt +++ /dev/null @@ -1,20 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -Readme for the WEB-INF overlay procedures ------------------------------------------ -- Note: -This folder contents will be overlayed to the ${webapp.name}/WEB-INF folder. So for example a web.xml file put into this folder will overwrite (not "override" by classpath or inheritance rules) the existing web.xml. -This is useful for example for configuring external SSO authentication filters (e.g. NTLMAuthenticationFilter) diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/webapp/WEB-INF/faces-config-custom.xml b/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/webapp/WEB-INF/faces-config-custom.xml deleted file mode 100644 index 5415178f..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/main/webapp/WEB-INF/faces-config-custom.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/site/apt/book-index.apt b/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/site/apt/book-index.apt deleted file mode 100644 index 3368415a..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/site/apt/book-index.apt +++ /dev/null @@ -1,76 +0,0 @@ - ----- - Maven Alfresco Extension Manual - ----- - Sourcesense - ----- - -Introduction - - Welcome to the Maven Alfresco Extension Archetype manual - - -How to edit this manual - - This page is generated from <<<$PROJECT_HOME/src/site/book-index.apt>>> file. \ - Book sections and chapters can be edited in the <<<$PROJECT_HOME/src/site/manual.xml>>> file. \ - While related POM configuration snippet follows> - -+------------------------------------------- - - - - org.apache.maven.doxia - doxia-maven-plugin - 1.0-alpha-10 - - - pre-site - - render-books - - - - - - target/site/books - - - src/site - src/books/manual.xml - - - xdoc - - - pdf - - - rtf - - - - - - - -+------------------------------------------- - -Limitations - - * Book sections are matched on id, so a file named section.* must be found - at any depth level withing the folder specified in the POM as book folder - - * Books cannot use property filtering - - * Books cannot use .vm files as filename cannot be specified, so this makes - only static (no filtering needed) APT/XDOC/FML pages usable for both site - and manual in a single sourcing fashion - - - - - diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/site/apt/index.apt.vm b/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/site/apt/index.apt.vm deleted file mode 100644 index f3cf465d..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/site/apt/index.apt.vm +++ /dev/null @@ -1,45 +0,0 @@ - ----- - Maven Alfresco Extension Manual - ----- - Sourcesense - ----- - - - -Welcome to the Maven Alfresco Extension Archetype manual - - You've reached the Sourcesense Maven Alfresco Extension archetype home page (version: ${site_pom_version}) . - - - -Description - - ${site_pom_description} - - -Full documentation - - You can also download the full application manual {{{books/pdf/manual/manual.pdf} PDF}} or {{{books/rtf/manual/manual.rtf} RTF}} format. - - -Quick Start (maven2) - - For a quick start you can a run alfresco extension project by just running <<(maven 2.0.6+ required)>>: - --------------------------------------------- - -mvn jetty:run-exploded - --------------------------------------------- - -Quick Start (Ant) - - For a quick start you can package alfresco by running <<(Default target : package)>> : - --------------------------------------------- -ant --------------------------------------------- - - - - diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/site/fml/faq.fml b/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/site/fml/faq.fml deleted file mode 100644 index fc6e5f94..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/site/fml/faq.fml +++ /dev/null @@ -1,121 +0,0 @@ - - - - - General - - How do I configure Eclipse? - -
    -
  • Run ' mvn eclipse:eclipse '
  • -
  • "Refresh" on your Eclipse project
  • -
-
-
- - Why I cannot access db "alf_[jetty,tomcat,jboss] "? - -

- Remember to setup appropriate permissions for selected db / build profile. You have 2 methods to configure/remove your db: -

    -
  1. - Properly edit - tools/mysql/db_setup.sql - and run from project home - mysql -u root < tools/mysql/db_setup.sql -
  2. -
  3. - if you use POM property 'alfresco.db.name' you have sql files already filtered (after process-resources phase), and run - directly - mysql -u root -p < target/classes/tools/[db_setup,db_remove].sql -
  4. -
-

-
-
- - Why do I get memory errors running jetty? - -

- Run your build with : - MAVEN_OPTS="-Xms256m -Xmx512m -XX:PermSize=128m" mvn jetty:[run-war,run-exploded] -

-
-
-
- - Release - - How do I release? - -
    -
  • Uncommenting in generated POM svn.tags.url and maven-release-plugin configuration
  • -
  • Ensuring dryRun="false" element in that configuration
  • -
  • - Running a single command: - mvn release:prepare release:perforn -
  • -
-
-
- - Why my release process complains about svn LC_ALL variable? - -

- If underlying svn complains about LC_ALL variable please consider running your release prepending: - LC_ALL="C" - (macosx environments, see http://svn.haxx.se/users/archive-2006-07/0320.shtml) -

-
-
- - Why do I get Content integrity errors on restore running with jetty embedded/during release? - -

Did you remove also alf_data_jetty (or how you renamed it) apart from the alf_jetty (or how you renamed it) db ;) ?

-
-
-
- - Dependency management - - Why JTA can't be properly found on maven repos? - -

- Due to redistribution problems you have to install JTA manuall when you need it with: - - - Download jta-1_0_1B-classes.zip from http://java.sun.com/products/jta/ - mvn install:install-file - -Dfile=./jta-1_0_1B-classes.zip -DgroupId=jta -DartifactId=jta -Dversion=1.0.1B -Dpackaging=jar - -

-
-
-
- - Documentation - - Why I have duplicated properties with '_' character in my POM? - -

- Due to maven/velocity filtering limitation, - dot based properties will not work in filtered site files. That's why a '_' separator is needed. -

-
-
-
-
\ No newline at end of file diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/site/site.xml b/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/site/site.xml deleted file mode 100644 index 31456e56..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/src/site/site.xml +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - org.apache.maven.skins - maven-application-skin - 1.0 - - - Maven Alfresco Generated Sample - v. ${site_pom_version} - ${site_site_url} - - - - - - - - - - - - - - - - - - - - - - - diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/book-index.html b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/book-index.html deleted file mode 100644 index c4b72484..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/book-index.html +++ /dev/null @@ -1,239 +0,0 @@ - - - - - - - - - - - - - - - Alfresco extension - Maven Alfresco Extension Manual - - - - - - - - -
- -
-
-
-

Introduction

-

Welcome to the Maven Alfresco Extension Archetype manual

-
-

How to edit this manual

-

This page is generated from $PROJECT_HOME/src/site/book-index.apt - file.
-Book sections and chapters can be edited in the $PROJECT_HOME/src/site/manual.xml - file.
-While related POM configuration snippet follows>

-
-<!-- Adds support for books PDF and RTF generation for single sourced documentation -->
-<plugin>
-        <groupId>org.apache.maven.doxia</groupId>
-        <artifactId>doxia-maven-plugin</artifactId>
-        <version>1.0-alpha-10</version>
-        <executions>
-                <execution>
-                        <phase>pre-site</phase>
-                        <goals>
-                                <goal>render-books</goal>
-                        </goals>
-                </execution>
-        </executions>
-        <configuration>
-                <!-- 
-                        | Target books dir: within the site so it can be linked and deployed
-                        | TODO: Use ${pom.target.dir} or so similar property instead of 
-                        |               hard wiring 'target'
-                         -->
-                <generatedDocs>target/site/books</generatedDocs>
-                <books>
-                        <book>
-                                <directory>src/site</directory>
-                                <descriptor>src/books/manual.xml</descriptor>
-                                <formats>
-                                        <format>
-                                                <id>xdoc</id>
-                                        </format>
-                                        <format>
-                                                <id>pdf</id>
-                                        </format>
-                                        <format>
-                                                <id>rtf</id>
-                                        </format>
-                                </formats>
-                        </book>
-                </books>
-        </configuration>
-</plugin>
-
-
-
-

Limitations

-
  • Book sections are matched on id, so a file named section.* must be found at any depth level withing the folder specified in the POM as book folder
  • -
  • Books cannot use property filtering
  • -
  • Books cannot use .vm files as filename cannot be specified, so this makes only static (no filtering needed) APT/XDOC/FML pages usable for both site and manual in a single sourcing fashion
  • -
-
- -
-
-
-
-
- - - diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/books/pdf/manual/manual.pdf b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/books/pdf/manual/manual.pdf deleted file mode 100644 index dd48a308..00000000 Binary files a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/books/pdf/manual/manual.pdf and /dev/null differ diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/books/pdf/manual/manual.xml b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/books/pdf/manual/manual.xml deleted file mode 100644 index deb995cb..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/books/pdf/manual/manual.xml +++ /dev/null @@ -1,143 +0,0 @@ - - - - - <chunk font="Helvetica" size="24.0" fontstyle="normal" red="255" green="0" blue="0">Introduction</chunk> - -
- - - <chunk font="Helvetica" size="22.0" fontstyle="bold" blue="0" green="0" red="0">Introduction </chunk> - - - - Welcome to the Maven Alfresco Extension Archetype manual - -
-
- - - <chunk font="Helvetica" size="22.0" fontstyle="bold" blue="0" green="0" red="0">How to edit this manual </chunk> - - - - This page is generated from - $PROJECT_HOME/src/site/book-index.apt - file. - - Book sections and chapters can be edited in the - $PROJECT_HOME/src/site/manual.xml - file. - - While related POM configuration snippet follows> - - - - - - - - ]]> - - ]]> - - org.apache.maven.doxia]]> - - doxia-maven-plugin]]> - - 1.0-alpha-10]]> - - ]]> - - ]]> - - pre-site]]> - - ]]> - - render-books]]> - - ]]> - - ]]> - - ]]> - - ]]> - - - - - - - - - - ]]> - - target/site/books]]> - - ]]> - - ]]> - - src/site]]> - - src/books/manual.xml]]> - - ]]> - - ]]> - - xdoc]]> - - ]]> - - ]]> - - pdf]]> - - ]]> - - ]]> - - rtf]]> - - ]]> - - ]]> - - ]]> - - ]]> - - ]]> - - ]]> - - - -
-
-
-
- - - <chunk font="Helvetica" size="22.0" fontstyle="bold" blue="0" green="0" red="0">Limitations </chunk> - - - - - Book sections are matched on id, so a file named section.* must be found at any depth level withing the folder specified in the POM as book folder - - - Books cannot use property filtering - - - Books cannot use .vm files as filename cannot be specified, so this makes only static (no filtering needed) APT/XDOC/FML pages usable for both site and manual in a single sourcing fashion - - - -
-
-
\ No newline at end of file diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/books/rtf/manual/manual.rtf b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/books/rtf/manual/manual.rtf deleted file mode 100644 index c2810c93..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/books/rtf/manual/manual.rtf +++ /dev/null @@ -1,33 +0,0 @@ -{\rtf1\ansi\ansicpg1252 -\deff0{\fonttbl{\f0\froman\fcharset0 Times New Roman;}{\f1\fswiss\fcharset0 Arial;}{\f2\froman\fcharset2 Symbol;}} -{\colortbl\red0\green0\blue0;\red255\green255\blue255;\red255\green0\blue0;} -{\*\listtable -{\list\listtemplateid247428345\hybrid -{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelstartat1{\leveltext\'01\u-3913 ?;}{\levelnumbers;}\f2\fi0\li300\ri0\tx300} -\listid658159304} -} -{\*\listoverridetable -{\listoverride\listid658159304\listoverridecount0\ls1} -} -{\info{\operator iText by lowagie.com}{\creationdate \yr2008\mo3\dy1\hr19\min0\sec8}{\operator Doxia iText}{\creationdate \yr2008\mo3\dy1\hr19\min0\sec8}} -\paperw11907\paperh16840\margl720\margr720\margt720\margb720 -{\footer }{\header }\pgwsxn11907\pghsxn16840\sectd{\footer }{\header }\pgwsxn11907\pghsxn16840\pard\li0\ri0\f1\fs48\cf2 1. \f1\fs48\cf2 Introduction\par\par\pard\li0\ri0\f1\fs44\cf0 1. \f1\fs44\cf0 Introduction \par\par\f0\fs20\cf0 \par \pard\li0\ri0\f0\fs20\cf0 \par \f1\fs20\cf0 Welcome to the Maven Alfresco Extension Archetype manual \par\par\pard\li0\ri0\f1\fs44\cf0 2. \f1\fs44\cf0 How to edit this manual \par\par\f0\fs20\cf0 \par \pard\li0\ri0\f0\fs20\cf0 \par \f1\fs20\cf0 This page is generated from $PROJECT_HOME/src/site/book-index.apt file. \f0\fs20\cf0 \par \f1\fs20\cf0 Book sections and chapters can be edited in the $PROJECT_HOME/src/site/manual.xml file. \f0\fs20\cf0 \par \f1\fs20\cf0 While related POM configuration snippet follows>\par\f1\fs20\cf0 \par\trowd -\trftsWidth3\trwWidth10400\trkeep\trqc\trgaph10\trbrdrl\brdrs\brdrw20\brdrcf0 -\trbrdrt\brdrs\brdrw20\brdrcf0 -\trbrdrb\brdrs\brdrw20\brdrcf0 -\trbrdrr\brdrs\brdrw20\brdrcf0 -\trbrdrh\brdrs\brdrw20\brdrcf0 -\trbrdrv\brdrs\brdrw20\brdrcf0 -\trpaddl100\trpaddr100\trpaddfl3\trpaddfr3 -\clbrdrl\brdrs\brdrw10\brdrcf0 -\clbrdrt\brdrs\brdrw10\brdrcf0 -\clbrdrb\brdrs\brdrw10\brdrcf0 -\clbrdrr\brdrs\brdrw10\brdrcf0 -\clcbpat1 -\clftsWidth3 -\clwWidth10400 -\clpadl100\clpadt100\clpadr100\clpadb100\clpadfl3\clpadft3\clpadfr3\clpadfb3\cellx10400\intbl\pard\intbl\li0\ri0\f0\fs20\cf0 \par \f1\fs20\cf0 \f0\fs20\cf0 \par \f1\fs20\cf0 \f0\fs20\cf0 \par \f1\fs20\cf0 org.apache.maven.doxia\f0\fs20\cf0 \par \f1\fs20\cf0 doxia-maven-plugin\f0\fs20\cf0 \par \f1\fs20\cf0 1.0-alpha-10\f0\fs20\cf0 \par \f1\fs20\cf0 \f0\fs20\cf0 \par \f1\fs20\cf0 \f0\fs20\cf0 \par \f1\fs20\cf0 pre-site\f0\fs20\cf0 \par \f1\fs20\cf0 \f0\fs20\cf0 \par \f1\fs20\cf0 render-books\f0\fs20\cf0 \par \f1\fs20\cf0 \f0\fs20\cf0 \par \f1\fs20\cf0 \f0\fs20\cf0 \par \f1\fs20\cf0 \f0\fs20\cf0 \par \f1\fs20\cf0 \f0\fs20\cf0 \par \f1\fs20\cf0 \f0\fs20\cf0 \par \f1\fs20\cf0 target/site/books\f0\fs20\cf0 \par \f1\fs20\cf0 \f0\fs20\cf0 \par \f1\fs20\cf0 \f0\fs20\cf0 \par \f1\fs20\cf0 src/site\f0\fs20\cf0 \par \f1\fs20\cf0 src/books/manual.xml\f0\fs20\cf0 \par \f1\fs20\cf0 \f0\fs20\cf0 \par \f1\fs20\cf0 \f0\fs20\cf0 \par \f1\fs20\cf0 xdoc\f0\fs20\cf0 \par \f1\fs20\cf0 \f0\fs20\cf0 \par \f1\fs20\cf0 \f0\fs20\cf0 \par \f1\fs20\cf0 pdf\f0\fs20\cf0 \par \f1\fs20\cf0 \f0\fs20\cf0 \par \f1\fs20\cf0 \f0\fs20\cf0 \par \f1\fs20\cf0 rtf\f0\fs20\cf0 \par \f1\fs20\cf0 \f0\fs20\cf0 \par \f1\fs20\cf0 \f0\fs20\cf0 \par \f1\fs20\cf0 \f0\fs20\cf0 \par \f1\fs20\cf0 \f0\fs20\cf0 \par \f1\fs20\cf0 \f0\fs20\cf0 \par \f1\fs20\cf0 \f0\fs20\cf0 \par \cell \row -\pard\par\qc\par\pard\li0\ri0\f1\fs44\cf0 3. \f1\fs44\cf0 Limitations \par\par\f0\fs20\cf0 \par \f1\fs20\cf0 \pard\ql\fi0\li300\ri0\fs20\ls1{{\listtext\pard\f2\fi0\li300\ri0 \'b7\tab}\f1\fs20\cf0 Book sections are matched on id, so a file named section.* must be found at any depth level withing the folder specified in the POM as book folder \par -{\listtext\pard\f2\fi0\li300\ri0 \'b7\tab}\f1\fs20\cf0 Books cannot use property filtering \par -{\listtext\pard\f2\fi0\li300\ri0 \'b7\tab}\f1\fs20\cf0 Books cannot use .vm files as filename cannot be specified, so this makes only static (no filtering needed) APT/XDOC/FML pages usable for both site and manual in a single sourcing fashion \par -}\pard\par\sect} \ No newline at end of file diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/books/rtf/manual/manual.xml b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/books/rtf/manual/manual.xml deleted file mode 100644 index deb995cb..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/books/rtf/manual/manual.xml +++ /dev/null @@ -1,143 +0,0 @@ - - - - - <chunk font="Helvetica" size="24.0" fontstyle="normal" red="255" green="0" blue="0">Introduction</chunk> - -
- - - <chunk font="Helvetica" size="22.0" fontstyle="bold" blue="0" green="0" red="0">Introduction </chunk> - - - - Welcome to the Maven Alfresco Extension Archetype manual - -
-
- - - <chunk font="Helvetica" size="22.0" fontstyle="bold" blue="0" green="0" red="0">How to edit this manual </chunk> - - - - This page is generated from - $PROJECT_HOME/src/site/book-index.apt - file. - - Book sections and chapters can be edited in the - $PROJECT_HOME/src/site/manual.xml - file. - - While related POM configuration snippet follows> - - - - - - - - ]]> - - ]]> - - org.apache.maven.doxia]]> - - doxia-maven-plugin]]> - - 1.0-alpha-10]]> - - ]]> - - ]]> - - pre-site]]> - - ]]> - - render-books]]> - - ]]> - - ]]> - - ]]> - - ]]> - - - - - - - - - - ]]> - - target/site/books]]> - - ]]> - - ]]> - - src/site]]> - - src/books/manual.xml]]> - - ]]> - - ]]> - - xdoc]]> - - ]]> - - ]]> - - pdf]]> - - ]]> - - ]]> - - rtf]]> - - ]]> - - ]]> - - ]]> - - ]]> - - ]]> - - ]]> - - - -
-
-
-
- - - <chunk font="Helvetica" size="22.0" fontstyle="bold" blue="0" green="0" red="0">Limitations </chunk> - - - - - Book sections are matched on id, so a file named section.* must be found at any depth level withing the folder specified in the POM as book folder - - - Books cannot use property filtering - - - Books cannot use .vm files as filename cannot be specified, so this makes only static (no filtering needed) APT/XDOC/FML pages usable for both site and manual in a single sourcing fashion - - - -
-
-
\ No newline at end of file diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/books/xdoc/manual/book-index.xml b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/books/xdoc/manual/book-index.xml deleted file mode 100644 index bdedcc19..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/books/xdoc/manual/book-index.xml +++ /dev/null @@ -1,93 +0,0 @@ - - - -Maven Alfresco Extension Manual -Sourcesense - - - - - - - - - -
Previous: Introduction
End of book
- -
-

Welcome to the Maven Alfresco Extension -Archetype manual

-
-

This page is generated from -$PROJECT_HOME/src/site/book-index.apt -file.
-Book sections and chapters can be edited in the -$PROJECT_HOME/src/site/manual.xml -file.
-While related POM configuration snippet follows>

- -<!-- Adds support for books PDF and RTF generation for single sourced documentation --> -<plugin> - <groupId>org.apache.maven.doxia</groupId> - <artifactId>doxia-maven-plugin</artifactId> - <version>1.0-alpha-10</version> - <executions> - <execution> - <phase>pre-site</phase> - <goals> - <goal>render-books</goal> - </goals> - </execution> - </executions> - <configuration> - <!-- - | Target books dir: within the site so it can be linked and deployed - | TODO: Use ${pom.target.dir} or so similar property instead of - | hard wiring 'target' - --> - <generatedDocs>target/site/books</generatedDocs> - <books> - <book> - <directory>src/site</directory> - <descriptor>src/books/manual.xml</descriptor> - <formats> - <format> - <id>xdoc</id> - </format> - <format> - <id>pdf</id> - </format> - <format> - <id>rtf</id> - </format> - </formats> - </book> - </books> - </configuration> -</plugin> - -
-
  • Book sections are matched on id, so a -file named section.* must be found at any depth level withing the folder -specified in the POM as book folder

    -
  • -
  • Books cannot use property filtering

    -
  • -
  • Books cannot use .vm files as filename cannot be specified, so this -makes only static (no filtering needed) APT/XDOC/FML pages usable for both -site and manual in a single sourcing fashion

    -
  • -
-
-
- - - - - - - -
Previous: Introduction
End of book
- - -
diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/books/xdoc/manual/index.xml b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/books/xdoc/manual/index.xml deleted file mode 100644 index 52f7cf0b..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/books/xdoc/manual/index.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - -Alfresco Extension Manual - Table Of Content - - - - - - - -
- -
-
-
-
- - - - - -
- - -
diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/books/xdoc/manual/introduction.xml b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/books/xdoc/manual/introduction.xml deleted file mode 100644 index bcf9c5de..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/books/xdoc/manual/introduction.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - -Introduction - - - - - - - - - -
- -
-
-
-
- - - - - - - -
- - -
diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/css/maven-base.css b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/css/maven-base.css deleted file mode 100644 index 5ccfd476..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/css/maven-base.css +++ /dev/null @@ -1,145 +0,0 @@ -body { - margin: 0px; - padding: 0px; -} -img { - border:none; -} -table { - padding:0px; - width: 100%; - margin-left: -2px; - margin-right: -2px; -} -acronym { - cursor: help; - border-bottom: 1px dotted #feb; -} -table.bodyTable th, table.bodyTable td { - padding: 2px 4px 2px 4px; - vertical-align: top; -} -div.clear{ - clear:both; - visibility: hidden; -} -div.clear hr{ - display: none; -} -#bannerLeft, #bannerRight { - font-size: xx-large; - font-weight: bold; -} -#bannerLeft img, #bannerRight img { - margin: 0px; -} -.xleft, #bannerLeft img { - float:left; - text-shadow: #7CFC00 1px 1px 1px; -} -.xright, #bannerRight { - float:right; - text-shadow: #7CFC00 1px 1px 1px; -} -#banner { - padding: 0px; -} -#banner img { - border: none; -} -#breadcrumbs { - padding: 3px 10px 3px 10px; -} -#leftColumn { - width: 170px; - float:left; - overflow: auto; -} -#bodyColumn { - margin-right: 1.5em; - margin-left: 197px; -} -#legend { - padding: 8px 0 8px 0; -} -#navcolumn { - padding: 8px 4px 0 8px; -} -#navcolumn h5 { - margin: 0; - padding: 0; - font-size: small; -} -#navcolumn ul { - margin: 0; - padding: 0; - font-size: small; -} -#navcolumn li { - list-style-type: none; - background-image: none; - background-repeat: no-repeat; - background-position: 0 0.4em; - padding-left: 16px; - list-style-position: outside; - line-height: 1.2em; - font-size: smaller; -} -#navcolumn li.expanded { - background-image: url(../images/expanded.gif); -} -#navcolumn li.collapsed { - background-image: url(../images/collapsed.gif); -} -#poweredBy { - text-align: center; -} -#navcolumn img { - margin-top: 10px; - margin-bottom: 3px; -} -#poweredBy img { - display:block; - margin: 20px 0 20px 17px; -} -#search img { - margin: 0px; - display: block; -} -#search #q, #search #btnG { - border: 1px solid #999; - margin-bottom:10px; -} -#search form { - margin: 0px; -} -#lastPublished { - font-size: x-small; -} -.navSection { - margin-bottom: 2px; - padding: 8px; -} -.navSectionHead { - font-weight: bold; - font-size: x-small; -} -.section { - padding: 4px; -} -#footer { - padding: 3px 10px 3px 10px; - font-size: x-small; -} -#breadcrumbs { - font-size: x-small; - margin: 0pt; -} -.source { - padding: 12px; - margin: 1em 7px 1em 7px; -} -.source pre { - margin: 0px; - padding: 0px; -} diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/css/maven-theme.css b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/css/maven-theme.css deleted file mode 100644 index c982168b..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/css/maven-theme.css +++ /dev/null @@ -1,141 +0,0 @@ -body { - padding: 0px 0px 10px 0px; -} -body, td, select, input, li{ - font-family: Verdana, Helvetica, Arial, sans-serif; - font-size: 13px; -} -code{ - font-family: Courier, monospace; - font-size: 13px; -} -a { - text-decoration: none; -} -a:link { - color:#36a; -} -a:visited { - color:#47a; -} -a:active, a:hover { - color:#69c; -} -#legend li.externalLink { - background: url(../images/external.png) left top no-repeat; - padding-left: 18px; -} -a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover { - background: url(../images/external.png) right center no-repeat; - padding-right: 18px; -} -#legend li.newWindow { - background: url(../images/newwindow.png) left top no-repeat; - padding-left: 18px; -} -a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover { - background: url(../images/newwindow.png) right center no-repeat; - padding-right: 18px; -} -h2 { - padding: 4px 4px 4px 6px; - border: 1px solid #999; - color: #900; - background-color: #ddd; - font-weight:900; - font-size: x-large; -} -h3 { - padding: 4px 4px 4px 6px; - border: 1px solid #aaa; - color: #900; - background-color: #eee; - font-weight: normal; - font-size: large; -} -h4 { - padding: 4px 4px 4px 6px; - border: 1px solid #bbb; - color: #900; - background-color: #fff; - font-weight: normal; - font-size: large; -} -h5 { - padding: 4px 4px 4px 6px; - color: #900; - font-size: normal; -} -p { - line-height: 1.3em; - font-size: small; -} -#breadcrumbs { - border-top: 1px solid #aaa; - border-bottom: 1px solid #aaa; - background-color: #ccc; -} -#leftColumn { - margin: 10px 0 0 5px; - border: 1px solid #999; - background-color: #eee; -} -#navcolumn h5 { - font-size: smaller; - border-bottom: 1px solid #aaaaaa; - padding-top: 2px; - color: #000; -} - -table.bodyTable th { - color: white; - background-color: #bbb; - text-align: left; - font-weight: bold; -} - -table.bodyTable th, table.bodyTable td { - font-size: 1em; -} - -table.bodyTable tr.a { - background-color: #ddd; -} - -table.bodyTable tr.b { - background-color: #eee; -} - -.source { - border: 1px solid #999; -} -dl { - padding: 4px 4px 4px 6px; - border: 1px solid #aaa; - background-color: #ffc; -} -dt { - color: #900; -} -#organizationLogo img, #projectLogo img, #projectLogo span{ - margin: 8px; -} -#banner { - border-bottom: 1px solid #fff; -} -.errormark, .warningmark, .donemark, .infomark { - background: url(../images/icon_error_sml.gif) no-repeat; -} - -.warningmark { - background-image: url(../images/icon_warning_sml.gif); -} - -.donemark { - background-image: url(../images/icon_success_sml.gif); -} - -.infomark { - background-image: url(../images/icon_info_sml.gif); -} - diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/css/print.css b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/css/print.css deleted file mode 100644 index 26ad7f0b..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/css/print.css +++ /dev/null @@ -1,7 +0,0 @@ -#banner, #footer, #leftcol, #breadcrumbs, .docs #toc, .docs .courtesylinks, #leftColumn, #navColumn { - display: none !important; -} -#bodyColumn, body.docs div.docs { - margin: 0 !important; - border: none !important -} diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/css/site.css b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/css/site.css deleted file mode 100644 index e69de29b..00000000 diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/dependencies.html b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/dependencies.html deleted file mode 100644 index ac6c74da..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/dependencies.html +++ /dev/null @@ -1,346 +0,0 @@ - - - - - - - - - - - - - - - Alfresco extension - Project Dependencies - - - - - - - -
- -
-
-
-

Project Dependencies

-

compile

-

The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:

- - - - - - - - - - - - - - - - - - - - - -
GroupIdArtifactIdVersionClassifierTypeOptional
alfresco.communityalfresco2.1.0-war
mysqlmysql-connector-java5.0.3-jar
-
-

provided

-

The following is a list of provided dependencies for this project. These dependencies are required to compile the application, but should be provided by default when using the library:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
GroupIdArtifactIdVersionClassifierTypeOptional
alfresco.communityalfresco-core2.1.0-jar
alfresco.communityalfresco-remote-api2.1.0-jar
alfresco.communityalfresco-repository2.1.0-jar
alfresco.communityalfresco-web-client2.1.0-jar
javax.servletservlet-api2.5-jar
-
-
-

Project Transitive Dependencies

-

The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies.

-
- - -
-
-
-
-
- - - diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/faq.html b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/faq.html deleted file mode 100644 index 2be420de..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/faq.html +++ /dev/null @@ -1,316 +0,0 @@ - - - - - - - - - - - - - - - Alfresco extension - FAQ - - - - - - - -
- -
-
-
- -

General

-
How do I configure Eclipse? -
-
-
    -
  • Run ' mvn eclipse:eclipse '
  • -
  • "Refresh" on your Eclipse project
  • -
-
[top] -

-
-
Why I cannot access db "alf_[jetty,tomcat,jboss] "? -
-
-

- Remember to setup appropriate permissions for selected db / build profile. You have 2 methods to configure/remove your db: -

    -
  1. - Properly edit - tools/mysql/db_setup.sql - and run from project home - mysql -u root < tools/mysql/db_setup.sql -
  2. -
  3. - if you use POM property 'alfresco.db.name' you have sql files already filtered (after process-resources phase), and run - directly - mysql -u root -p < target/classes/tools/[db_setup,db_remove].sql -
  4. -
-

-
[top] -

-
-
Why do I get memory errors running jetty? -
-
-

- Run your build with : - MAVEN_OPTS="-Xms256m -Xmx512m -XX:PermSize=128m" mvn jetty:[run-war,run-exploded] -

-
[top] -
-
-
-

Release

-
How do I release? -
-
-
    -
  • Uncommenting in generated POM svn.tags.url and maven-release-plugin configuration
  • -
  • Ensuring dryRun="false" element in that configuration
  • -
  • - Running a single command: - mvn release:prepare release:perforn -
  • -
-
[top] -

-
-
Why my release process complains about svn LC_ALL variable? -
-
-

- If underlying svn complains about LC_ALL variable please consider running your release prepending: - LC_ALL="C" - (macosx environments, see http://svn.haxx.se/users/archive-2006-07/0320.shtml) -

-
[top] -

-
-
Why do I get Content integrity errors on restore running with jetty embedded/during release? -
-
-

Did you remove also alf_data_jetty (or how you renamed it) apart from the alf_jetty (or how you renamed it) db ;) ?

-
[top] -
-
-
-

Dependency management

-
Why JTA can't be properly found on maven repos? -
-
-

- Due to redistribution problems you have to install JTA manuall when you need it with: - - - Download jta-1_0_1B-classes.zip from http://java.sun.com/products/jta/ - mvn install:install-file - -Dfile=./jta-1_0_1B-classes.zip -DgroupId=jta -DartifactId=jta -Dversion=1.0.1B -Dpackaging=jar - -

-
[top] -
-
-
-

Documentation

-
Why I have duplicated properties with '_' character in my POM? -
-
-

- Due to maven/velocity filtering limitation, - dot based properties will not work in filtered site files. That's why a '_' separator is needed. -

-
[top] -
-
-
- -
-
-
-
-
- - - diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/collapsed.gif b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/collapsed.gif deleted file mode 100644 index 6e710840..00000000 Binary files a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/collapsed.gif and /dev/null differ diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/expanded.gif b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/expanded.gif deleted file mode 100644 index 0fef3d89..00000000 Binary files a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/expanded.gif and /dev/null differ diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/external.png b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/external.png deleted file mode 100644 index 3f999fc8..00000000 Binary files a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/external.png and /dev/null differ diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/icon_error_sml.gif b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/icon_error_sml.gif deleted file mode 100644 index 61132ef2..00000000 Binary files a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/icon_error_sml.gif and /dev/null differ diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/icon_info_sml.gif b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/icon_info_sml.gif deleted file mode 100644 index c6cb9ad7..00000000 Binary files a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/icon_info_sml.gif and /dev/null differ diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/icon_success_sml.gif b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/icon_success_sml.gif deleted file mode 100644 index 52e85a43..00000000 Binary files a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/icon_success_sml.gif and /dev/null differ diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/icon_warning_sml.gif b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/icon_warning_sml.gif deleted file mode 100644 index 873bbb52..00000000 Binary files a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/icon_warning_sml.gif and /dev/null differ diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/logos/build-by-maven-black.png b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/logos/build-by-maven-black.png deleted file mode 100644 index 919fd0f6..00000000 Binary files a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/logos/build-by-maven-black.png and /dev/null differ diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/logos/build-by-maven-white.png b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/logos/build-by-maven-white.png deleted file mode 100644 index 7d44c9c2..00000000 Binary files a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/logos/build-by-maven-white.png and /dev/null differ diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/logos/maven-feather.png b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/logos/maven-feather.png deleted file mode 100644 index b5ada836..00000000 Binary files a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/logos/maven-feather.png and /dev/null differ diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/newwindow.png b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/newwindow.png deleted file mode 100644 index 6287f72b..00000000 Binary files a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/images/newwindow.png and /dev/null differ diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/index.html b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/index.html deleted file mode 100644 index 5c1b6c77..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/index.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - - - - - - - - - - Alfresco extension - Maven Alfresco Extension Manual - - - - - - - - -
- -
-
-
-

Welcome to the Maven Alfresco Extension Archetype manual

-

You've reached the Sourcesense Maven Alfresco Extension archetype home page (version: 1.0)

-
-

Description

-

Alfresco extension

-
-

Full documentation

-

You can also download the full application manual PDF - or RTF - format.

-
-

Quick Start (maven2)

-

For a quick start you can a run alfresco extension project by just running (maven 2.0.6+ required) -:

-
-mvn jetty:run-exploded
-
-
-
-

Quick Start (Ant)

-

For a quick start you can package alfresco by running (Default target : package) - :

-
ant 
-
-
- -
-
-
-
-
- - - diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/integration.html b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/integration.html deleted file mode 100644 index 5345bae7..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/integration.html +++ /dev/null @@ -1,217 +0,0 @@ - - - - - - - - - - - - - - - Alfresco extension - Continuous Integration - - - - - - - -
- -
-
-
-

Continuous Integration

-

No continuous integration management system is defined. Please check back at a later date.

-
- -
-
-
-
-
- - - diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/issue-tracking.html b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/issue-tracking.html deleted file mode 100644 index a021cf4c..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/issue-tracking.html +++ /dev/null @@ -1,217 +0,0 @@ - - - - - - - - - - - - - - - Alfresco extension - Issue Tracking - - - - - - - -
- -
-
-
-

Issue Tracking

-

No issue management system is defined. Please check back at a later date.

-
- -
-
-
-
-
- - - diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/jxr.html b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/jxr.html deleted file mode 100644 index 657f448e..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/jxr.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - - - - - - - - - - - Alfresco extension - Source Xref report - - - - - - - -
- -
-
-
-

Cross-reference Java source code

-

This report includes a cross-reference of the project's sources. Each source entry is also linked with its corresponding Javadoc (if Javadoc was generated).

-

Project sources

-

No project sources were found.

-
-

Test sources

-

No test sources were found.

-
-
- -
-
-
-
-
- - - diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/license.html b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/license.html deleted file mode 100644 index 4a2a53a0..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/license.html +++ /dev/null @@ -1,217 +0,0 @@ - - - - - - - - - - - - - - - Alfresco extension - Project License - - - - - - - -
- -
-
-
-

Project License

-

No project license is defined for this project.

-
- -
-
-
-
-
- - - diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/mail-lists.html b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/mail-lists.html deleted file mode 100644 index b1bd02a0..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/mail-lists.html +++ /dev/null @@ -1,217 +0,0 @@ - - - - - - - - - - - - - - - Alfresco extension - Project Mailing Lists - - - - - - - -
- -
-
-
-

Project Mailing Lists

-

There are no mailing lists currently associated with this project.

-
- -
-
-
-
-
- - - diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/project-info.html b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/project-info.html deleted file mode 100644 index fb715cf4..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/project-info.html +++ /dev/null @@ -1,256 +0,0 @@ - - - - - - - - - - - - - - - Alfresco extension - Project Information - - - - - - - -
- -
-
-
-

Project Information

-

This document provides an overview of the various documents and links that are part of this project's general information. All of this content is automatically generated by Maven - on behalf of the project.

-

Overview

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
DocumentDescription
Continuous Integration -This is a link to the definitions of all continuous integration processes that builds and tests code on a frequent, regular basis.
Dependencies -This document lists the projects dependencies and provides information on each dependency.
Issue Tracking -This is a link to the issue management system for this project. Issues (bugs, features, change requests) can be created and queried using this link.
Mailing Lists -This document provides subscription and archive information for this project's mailing lists.
Project License -This is a link to the definitions of project licenses.
Project Summary -This document lists other related information of this project
Project Team -This document provides information on the members of this project. These are the individuals who have contributed to the project in one form or another.
Source Repository -This is a link to the online source repository that can be viewed via a web browser.
-
-
- -
-
-
-
-
- - - diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/project-reports.html b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/project-reports.html deleted file mode 100644 index 609b4f5d..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/project-reports.html +++ /dev/null @@ -1,200 +0,0 @@ - - - - - - - - - - - - - - - Alfresco extension - Generated Reports - - - - - - - -
- -
-
-
-

Generated Reports

-

This document provides an overview of the various reports that are automatically generated by Maven - Each report is briefly described below.

-

Overview

- - - - - - -
DocumentDescription
Source Xref -HTML based, cross-reference version of Java source code.
-
-
- -
-
-
-
-
- - - diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/project-summary.html b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/project-summary.html deleted file mode 100644 index c39449a7..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/project-summary.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - - - - - - - - - - - - Alfresco extension - Project Summary - - - - - - - -
- -
-
-
-

Project Summary

-

Project Information

- - - - - - - - - - - - -
FieldValue
NameAlfresco extension
DescriptionAlfresco extension
Homepage
-
-

Project Organization

-

This project does not belong to an organization.

-
-

Build Information

- - - - - - - - - - - - - - - -
FieldValue
GroupIdtest
ArtifactIdtestart
Version1.0
Typewar
-
-
- -
-
-
-
-
- - - diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/source-repository.html b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/source-repository.html deleted file mode 100644 index 4047455f..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/source-repository.html +++ /dev/null @@ -1,217 +0,0 @@ - - - - - - - - - - - - - - - Alfresco extension - Source Repository - - - - - - - -
- -
-
-
-

Source Repository

-

No source configuration management system is defined. Please check back at a later date.

-
- -
-
-
-
-
- - - diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/team-list.html b/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/team-list.html deleted file mode 100644 index 495501d8..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/target/site/team-list.html +++ /dev/null @@ -1,239 +0,0 @@ - - - - - - - - - - - - - - - Alfresco extension - Team list - - - - - - - -
- -
-
-
-

The Team

-

A successful project requires many people to play many roles. Some members write code or documentation, while others are valuable as testers, submitting patches and suggestions.

-

The team is comprised of Members and Contributors. Members have direct access to the source of a project and actively evolve the code-base. Contributors improve the project through submission of patches and suggestions to the Members. The number of Contributors to the project is unbounded. Get involved today. All contributions to the project are greatly appreciated.

-

Members

-

There are no developers working on this project.

-
-

Contributors

-

There are no contributors listed for this project. Please check back again later.

-
-
- -
-
-
-
-
- - - diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/tools/ant/ant-bootstrap.sh b/maven-alfresco-extension-archetype/target/classes/archetype-resources/tools/ant/ant-bootstrap.sh deleted file mode 100644 index b8e9e7f8..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/tools/ant/ant-bootstrap.sh +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/bash -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -# This script is needed *only* in case you use Ant. -# You *need* to run this script otherwise build will fail without finding JAR and WAR artifacts. -# It will fetch alfresco dependencies specified in this file -# and download them when the Ant build process is able to find them, -# e.g. -# - the alfresco war unpacked in the $PROJECT_HOME/tools/ant/deps/alfresco folder -# - jars in $PROJECT_HOME/tools/ant/deps/alfresco/WEB-INF/lib will be used as jar dependencies by the build process. Change ALFRESCO_DIR accordingly to corresponding build.xml property. -# -# Use these properties to specify alfresco version/release from command line - -ALFRESCO_DIR=deps/alfresco -ALFRESCO_VERSION="2.1.0" -ALFRESCO_RELEASE="community" - - -if [ $1 ]; then - echo "Using command line specified ALFRESCO_VERSION=${1}" - ALFRESCO_VERSION=$1 -else - echo "Defaulting at ALFRESCO_VERSION=${ALFRESCO_VERSION}" -fi -if [ $2 ]; then - echo "Using command line specified ALFRESCO_RELEASE=${2}" - ALFRESCO_RELEASE=$2 - else - echo "Defaulting at ALFRESCO_RELEASE=${ALFRESCO_RELEASE}" -fi - - -echo "[INFO]" - Downloading Alfresco ${ALFRESCO_RELEASE} ${ALFRESCO_VERSION} WAR into ${ALFRESCO_DIR} -# Go to the target folder -cd ${ALFRESCO_DIR} -# Downloads alfresco -echo "[INFO]" - Unzipping Alfresco ${ALFRESCO_RELEASE} ${ALFRESCO_VERSION} WAR into ${ALFRESCO_DIR} -wget http://repository.sourcesense.com/maven2/alfresco/${ALFRESCO_RELEASE}/alfresco/${ALFRESCO_VERSION}/alfresco-${ALFRESCO_VERSION}.war -unzip alfresco-${ALFRESCO_VERSION}.war -rm -Rf alfresco-${ALFRESCO_VERSION}.war \ No newline at end of file diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/tools/ant/tasks/tomcat-tasks.properties b/maven-alfresco-extension-archetype/target/classes/archetype-resources/tools/ant/tasks/tomcat-tasks.properties deleted file mode 100644 index e6c69c25..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/tools/ant/tasks/tomcat-tasks.properties +++ /dev/null @@ -1,25 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -deploy=org.apache.catalina.ant.DeployTask -install=org.apache.catalina.ant.InstallTask -list=org.apache.catalina.ant.ListTask -reload=org.apache.catalina.ant.ReloadTask -remove=org.apache.catalina.ant.RemoveTask -resources=org.apache.catalina.ant.ResourcesTask -roles=org.apache.catalina.ant.RolesTask -start=org.apache.catalina.ant.StartTask -stop=org.apache.catalina.ant.StopTask -undeploy=org.apache.catalina.ant.UndeployTask \ No newline at end of file diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/tools/ant/tasks/tomcat-tasks.xml b/maven-alfresco-extension-archetype/target/classes/archetype-resources/tools/ant/tasks/tomcat-tasks.xml deleted file mode 100644 index 447c251a..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/tools/ant/tasks/tomcat-tasks.xml +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/tools/export/testRestoreVersion/README-restore.txt b/maven-alfresco-extension-archetype/target/classes/archetype-resources/tools/export/testRestoreVersion/README-restore.txt deleted file mode 100644 index 486c2499..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/tools/export/testRestoreVersion/README-restore.txt +++ /dev/null @@ -1,29 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -Restore procedure: ------------------- -(README: Only supported for WAR integrated build ATM) - -1. Place here your 6 full repository export files (5 acp + 1 xml) calling the export -package "export" (so that your file will appear like export_spaces.acp, export_users.acp, etc.) - -2. run your build with the property - -mvn clean package -DrestoreVersion=testRestoreVersion - -3. deploy as a war (mvn jboss:deploy) - -4. if you had a consistent repository/database you should have your repo fully imported \ No newline at end of file diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/tools/m2/m2-bootstrap.sh b/maven-alfresco-extension-archetype/target/classes/archetype-resources/tools/m2/m2-bootstrap.sh deleted file mode 100644 index 2ceb089b..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/tools/m2/m2-bootstrap.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/bash -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -# This script is needed *only* in case you *don't* have you don't have alfresco artifacts available in any public repo, -# and you can't connect to Sourcesense public repo. -# -# So you can manually downlaod JAR and WAR alfresco artifacts in $BASE_DIR -# and have them deployed to $TARGET_REPO (id here) and $TARGET_REPO_URL (url here) -# by running this script and passing the 3 params in the command line -# -# Note: This script works for alfresco 2.1.0 community artifacts. It must be modified for -# other versions. -# -# TODO: Make alfresco version and release parametric -# - -# 1st command line param: directory where jar and war dependencies are stored -BASE_DIR=$1 -# 2st command line param: target repo id (matches in settings) -TARGET_REPO=$2 -# 3rd command line param: target repo url -TARGET_REPO_URL=$3 - -mvn deploy:deploy-file -Dfile=${BASE_DIR}/alfresco-core.jar -DrepositoryId=${TARGET_REPO} -DgroupId=alfresco.community -DartifactId=alfresco-core -Dversion=2.1.0 -Durl=${TARGET_REPO_URL} -Dpackaging=jar -mvn deploy:deploy-file -Dfile=${BASE_DIR}/alfresco-repository.jar -DrepositoryId=${TARGET_REPO} -DgroupId=alfresco.community -DartifactId=alfresco-repository -Dversion=2.1.0 -Durl=${TARGET_REPO_URL} -Dpackaging=jar -mvn deploy:deploy-file -Dfile=${BASE_DIR}/alfresco.war -DrepositoryId=${TARGET_REPO} -DgroupId=alfresco.community -DartifactId=alfresco -Dversion=2.1.0 -Durl=${TARGET_REPO_URL} -Dpackaging=war -mvn deploy:deploy-file -Dfile=${BASE_DIR}/alfresco-web-client.jar -DrepositoryId=${TARGET_REPO} -DgroupId=alfresco.community -DartifactId=alfresco-web-client -Dversion=2.1.0 -Durl=${TARGET_REPO_URL} -Dpackaging=jar -mvn deploy:deploy-file -Dfile=${BASE_DIR}/alfresco-mbeans.jar -DrepositoryId=${TARGET_REPO} -DgroupId=alfresco.community -DartifactId=alfresco-mbeans -Dversion=2.1.0 -Durl=${TARGET_REPO_URL} -Dpackaging=jar -mvn deploy:deploy-file -Dfile=${BASE_DIR}/alfresco-remote-api.jar -DrepositoryId=${TARGET_REPO} -DgroupId=alfresco.community -DartifactId=alfresco-remote-api -Dversion=2.1.0 -Durl=${TARGET_REPO_URL} -Dpackaging=jar diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/tools/mysql/db_remove.sql b/maven-alfresco-extension-archetype/target/classes/archetype-resources/tools/mysql/db_remove.sql deleted file mode 100644 index b0d925ba..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/tools/mysql/db_remove.sql +++ /dev/null @@ -1 +0,0 @@ -drop database ${alfresco.db.name}; \ No newline at end of file diff --git a/maven-alfresco-extension-archetype/target/classes/archetype-resources/tools/mysql/db_setup.sql b/maven-alfresco-extension-archetype/target/classes/archetype-resources/tools/mysql/db_setup.sql deleted file mode 100644 index 3cb054aa..00000000 --- a/maven-alfresco-extension-archetype/target/classes/archetype-resources/tools/mysql/db_setup.sql +++ /dev/null @@ -1,3 +0,0 @@ -create database ${alfresco.db.name}; -grant all on ${alfresco.db.name}.* to 'alfresco'@'localhost' identified by 'alfresco' with grant option; -grant all on ${alfresco.db.name}.* to 'alfresco'@'localhost.localdomain' identified by 'alfresco' with grant option; \ No newline at end of file diff --git a/maven-alfresco-extension-archetype/target/maven-alfresco-extension-archetype-1.0.0.jar b/maven-alfresco-extension-archetype/target/maven-alfresco-extension-archetype-1.0.0.jar deleted file mode 100644 index 5ad9fac9..00000000 Binary files a/maven-alfresco-extension-archetype/target/maven-alfresco-extension-archetype-1.0.0.jar and /dev/null differ