Commit Graph

992 Commits

Author SHA1 Message Date
Jose Luis Osorno
f7e4ea1b5c Archetypes - Make ACS containers optional in share archetype
Modify the docker-compose.yml file of the share-jar archetype in order to
comment out the unnecessary containers (ACS, ASS, DB). They're optional and
can be used simply removing the comments.
2019-03-25 15:10:51 +01:00
Ole Hejlskov
7838649c81 Merge pull request #556 from Alfresco/sdk-4/aio-build-it-supported
Archetypes - Add build with IT supported task
2019-03-25 12:27:37 +01:00
Jose Luis Osorno
deaf4c06b8 Archetypes - Add build with IT supported task
Modify the run scripts to add the task: build_start_it_supported. After the
last changes regarding the way the project is compiled and retrieves the
IT dependencies, it losted the ability to run the project in docker with
IT support (including the libraries required to execute IT) but without
executing the tests. It only had build_start (no IT supported) and build_test
(IT supported but started and stopped the environment after IT execution).

This new task allows the execution of the docker environment with IT execution
supported to cover the next use cases:
- Running IT classes from IDE (for instance, to debug the execution).
- Running IT classes with hot reload enabled.
2019-03-25 12:14:43 +01:00
Jose Luis Osorno
067d751193 Merge pull request #547 from it-novum/sdk-4.0-build-and-docker-fixes
Sdk 4.0 build and docker fixes
2019-03-25 10:28:15 +01:00
Jose Luis Osorno
c0658f3a94 Merge pull request #555 from Alfresco/bug/548-549
Archetypes - Update module dependency version
2019-03-25 08:23:20 +01:00
Jose Luis Osorno
e378eec194 Archetypes - Update project version in dependency
Change the share module dependency version to project.version in order
to avoid errors updating project version.

Fix minor typo.
2019-03-25 08:19:05 +01:00
Jose Luis Osorno
01e79d6953 Archetypes - Update project version in dependency
Change the platform module dependency version to project.version in order
to avoid errors updating project version.
2019-03-25 08:17:23 +01:00
Ole Hejlskov
b00ee7f5e5 Merge pull request #545 from it-novum/sdk-4.0-remove-duplicate-versions
Sdk 4.0 remove duplicate versions
2019-02-15 16:07:22 +01:00
Piotr Anders
6e5445a271 * Changing run scripts to execute maven package/verify instead of install (and to run unit tests during build).
* Changing artifacts collection for docker deployment in platform-docker module to use scopes (for integration tests) and adding comment how to deal with amps only or amps+jars extenstions.
2019-02-07 17:11:16 +01:00
Piotr Anders
388f74eea3 Removing duplicate library versions which are managed via imported acs-packaging pom. 2019-02-07 11:42:02 +01:00
Piotr Anders
2db3051599 Renaming modules in AIO archetype:
[artifactId]-plaform-jar -> [artifactId]-platform
[artifactId]-share-jar -> [artifactId]-share
integration-tests -> [artifactId]-integration-tests
2019-02-07 11:05:05 +01:00
panderspl
8bb094b61a Merge pull request #5 from Alfresco/sdk-4.0
Syncing upstream Sdk 4.0
2019-02-07 09:55:41 +01:00
Ole Hejlskov
a4e79cc569 Merge pull request #540 from jpotts/upgrade-to-4.0
Steps to upgrade to 4.0
2019-01-31 10:59:12 +01:00
Ole Hejlskov
c14887f549 Merge pull request #542 from Alfresco/bug/539
Archetypes - Remove redundant dependency copy
2019-01-31 10:58:32 +01:00
panderspl
4e225147ea Merge pull request #4 from Alfresco/sdk-4.0
Syncing upstream Alfresco/alfresco-sdk(sdk-4-0)
2019-01-30 11:12:13 +01:00
Jose Luis Osorno
c5e92bdc25 Archetypes - Remove redundant dependency copy
Modify the AIO archetype docker modules to remove the redundant copy
of the dependency to the corresponding jar module (share or platform).
2019-01-30 08:14:34 +01:00
jpotts
ef59a6a39a Add step to clean up project name references in run.sh and run.cmd 2019-01-29 14:16:41 +00:00
Jeff Potts
42dc3659bd Add more details around platform module and share module dependencies. Add a blurb about deleting alf_data_dev. Add a short section on how to test. 2019-01-29 14:04:05 +00:00
Jeff Potts
5d1fb4f4d9 Formatting tweaks and example project name change 2019-01-29 13:46:21 +00:00
Jeff Potts
185c4ad2bd Add new file to document upgrade steps
The new upgrading.md file documents steps necessary to upgrade from SDK 3.0.1 to SDK 4.0.0.
2019-01-29 07:26:48 -06:00
Ole Hejlskov
0b85afc6fd Merge pull request #536 from Alfresco/sdk-4/platform-it
Archetypes - Add ITs to platform jar archetype
2019-01-29 14:07:44 +01:00
Ole Hejlskov
9db0f5cff1 Merge pull request #534 from Alfresco/sdk-4/doc-change-db
Documentation - Switching ACS database
2019-01-29 14:07:35 +01:00
Ole Hejlskov
243f94227b Merge pull request #537 from Alfresco/bug/535
BUGFIX - Archetypes - Remove redundant license fileSet
2019-01-29 14:07:24 +01:00
Ole Hejlskov
330c66a1be Merge pull request #538 from Alfresco/sdk-4/gitignore
Archetypes - Add gitignore files to archetypes
2019-01-29 14:06:50 +01:00
Jose Luis Osorno
ab4927afeb Archetypes - Remove redundant license fileSet
Modify the AIO and platform-jar archetypes to remove a redundant fileSet
for the license folder.
2019-01-29 13:40:02 +01:00
Jose Luis Osorno
c48dffea69 Archetypes - Add gitignore files to archetypes
Add standard gitignore files to the archetypes.
2019-01-29 12:33:09 +01:00
Jose Luis Osorno
b3391a67c3 Archetypes - Add ITs to platform jar archetype
Modify the platform JAR archetype to include sample ITs.
2019-01-29 10:20:00 +01:00
Jose Luis Osorno
465aa3de5a Documentation - Switching ACS database
Add a new article to explain how to switch from the default
PostgreSQL database to another one (MySQL).
2019-01-29 08:48:14 +01:00
Jose Luis Osorno
b32a78b7b3 Merge branch 'master' into sdk-4.0 2019-01-28 15:38:49 +01:00
Jose Luis Osorno
7bd5c58136 Merge pull request #533 from Alfresco/sdk-4/acs-61-support
Archetypes - Add support for ACS 6.1
2019-01-28 13:53:56 +01:00
Jose Luis Osorno
5b21775793 Merge pull request #532 from Alfresco/sdk-4/documentation-update
Documentation - SDK 4 Documentation
2019-01-28 13:32:03 +01:00
Ole Hejlskov
1d551d1895 Merge pull request #531 from Alfresco/bug/sdk-3-bugfixing
BUGFIX - SDK 3.0.1 bug fixing
2019-01-28 12:36:36 +01:00
Jose Luis Osorno
766847585e Fix javadoc errors
- Fix the javadoc error raised by the javadoc-maven-plugin.
- Configure the javadoc-maven-plugin to accept custom javadoc annotations
from maven mojo development.
2019-01-28 12:30:05 +01:00
Ole Hejlskov
b366ae3ddd Merge pull request #530 from Alfresco/bug/255
BUGFIX - 255 - Archetypes - Add JS minification
2019-01-25 11:36:27 +01:00
Ole Hejlskov
19369a23b5 Merge pull request #529 from Alfresco/bug/457
BUGFIX - 457 - Archetypes - Modify IT company home assertion
2019-01-25 11:35:33 +01:00
Jose Luis Osorno
93c28f5dde 255 - Archetypes - Add JS minification
Modify the pom.xml files of the archetypes to include the
yuicompressor-maven-plugin in order to configure the minification
of the JS files.
2019-01-24 17:09:44 +01:00
Jose Luis Osorno
7792574dae 457 - Archetypes - Modify IT company home assertion
Modity the assertion about the name of the company home node in the
integration test DemoComponentIT to avoid issues with the language
in which the Alfresco environment is installed. It asserts now
about the path of the node which is independant from the language
of the application.
2019-01-24 12:34:50 +01:00
Ole Hejlskov
e8976addea Merge pull request #528 from Alfresco/bug/440
BUGFIX - 440 - Maven Plugin - Make Tomcat Maven Plugin version configurable
2019-01-24 11:48:55 +01:00
Jose Luis Osorno
a7f2db61e8 440 - Maven Plugin - Make Tomcat Maven Plugin version configurable
Add a new parameter (tomcatMavenPluginVersion) and maven property
(maven.alfresco.tomcat.maven.plugin.version) to be able to set the version of
the Tomcat Maven Plugin that is going to be used in the Alfresco Maven
Plugin to run the project.

This way, an integrator can create a patched version of the Tomcat Plugin to
solve any issue with it and tell the Alfresco Maven Plugin to use that fixed
version of the Tomcat Plugin. This is helpful with the reported issue about
the maxHttpHeaderSize (https://github.com/Alfresco/alfresco-sdk/issues/440).
2019-01-24 11:37:21 +01:00
Ole Hejlskov
2926a9ae83 Merge pull request #527 from Alfresco/bug/526
BUGFIX - 526 - Documentation - Installing 3rd party AMPs
2019-01-23 13:05:14 +01:00
Jose Luis Osorno
246ae7a138 526 - Documentation - Installing 3rd party AMPs
Fix the documentation about installing 3rd party AMPs because they
must be added as a dependency in the docker module and not in the
jar module.
2019-01-23 10:34:35 +01:00
Ole Hejlskov
387a584aa1 Merge pull request #525 from Alfresco/bug/420
BUGFIX - 420 - Maven Plugin - Add goal to generate WARs only
2019-01-22 15:15:55 +01:00
Ole Hejlskov
edd8d8317b Merge pull request #524 from Alfresco/bug/425
BUGFIX - 425 - Maven Plugin - Support for platform context file
2019-01-22 15:01:48 +01:00
Jose Luis Osorno
eb30a2d9e2 Merge pull request #491 from tartard/master
BUGFIX - Allow to write test methods in abstract classes
2019-01-22 11:01:33 +01:00
Jose Luis Osorno
cf777840be Merge pull request #496 from tartard/solr-cron
Make the Solr indexation frequency customizable
2019-01-22 10:01:15 +01:00
Jose Luis Osorno
efec137a10 Merge branch 'bug/sdk-3-bugfixing' into solr-cron 2019-01-22 10:00:46 +01:00
Jose Luis Osorno
210bee7d76 420 - Maven Plugin - Add goal to generate WARs only
Add a new goal to the Alfresco Mvane Plugin to be able to generate
the WAR files (platform, share and/or activity if they're enabled)
without the need of running the Tomcat server.
2019-01-22 09:33:39 +01:00
Jose Luis Osorno
534e70a2c4 425 - Maven Plugin - Support for platform context file
Code change migrated from PR https://github.com/Alfresco/alfresco-sdk/pull/431.

Change implemented by the user @pzrinscak.

Modify the Alfresco Maven Plugin to add the possibility to set
a custom Tomcat context file for the platform war. This features
enables the possibility to define custom JNDI resources in the
context of the Alfresco platform application.
2019-01-22 08:21:11 +01:00
Ole Hejlskov
0fcec384fd Merge pull request #523 from Alfresco/bug/469
BUGFIX - 469 - Maven Plugin - AMP files order
2019-01-21 15:59:02 +01:00
Jose Luis Osorno
9d1c2feaf2 469 - Maven Plugin - AMP files order
Modify the Alfresco Maven Plugin in order to take into
account the order in which the AMP modules were defined
as the same order of the AMPs to be applied to the war
files.
2019-01-21 15:16:46 +01:00