This is an automated email from the ASF dual-hosted git repository.
gk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/turbine-fulcrum-build.git
The following commit(s) were added to refs/heads/master by this push:
new be45853 describe how to add a new moduel(maven/git), add fulcrum
upload component to default modules
be45853 is described below
commit be4585371894b8e72162f8834dcf1b217ab314a2
Author: Georg Kallidis <[email protected]>
AuthorDate: Wed Sep 22 15:02:26 2021 +0200
describe how to add a new moduel(maven/git), add fulcrum upload component
to default modules
---
.gitmodules | 3 +++
README.md | 27 +++++++++++++++++++++------
pom.xml | 3 +--
upload | 1 +
4 files changed, 26 insertions(+), 8 deletions(-)
diff --git a/.gitmodules b/.gitmodules
index 99baeb3..210d983 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -58,3 +58,6 @@
path = intake
url = https://gitbox.apache.org/repos/asf/turbine-fulcrum-intake.git
branch = master
+[submodule "upload"]
+ path = upload
+ url = https://gitbox.apache.org/repos/asf/turbine-fulcrum-upload.git
diff --git a/README.md b/README.md
index 9b22ca5..c235b4f 100644
--- a/README.md
+++ b/README.md
@@ -54,6 +54,19 @@ Fulcrum Components requires Java 8. Older components might
require Java 7 only.
-----------------------------------------------------------------------
## COMPONENT DEVELOPMENT
--------------------------------------------------------------------------
+
+### Adding Fulcrum component
+
+ git submodule add
https://gitbox.apache.org/repos/asf/turbine-fulcrum-upload.git upload
+
+This will immediately clone the repo into folder upload.
+
+Edit in pom and add module
+
+ <module>upload</module>
+
+Test it, by running mvn install
+
### Publishing Workflow
#### Prerequisites
@@ -213,17 +226,19 @@ If no sha1 files are in the target folder, check local
repo.
Git Checkout <tagged release version> source. Generate and Publish Site
-### Description of the process
+### Description of the process (GIT)
+
+- Generate the site (mvn site, single module, mvn site site:stage multi
module) in master and optionally save it somewhere
-- Generate the site (mvn site, single module, mvn site site:stage multi module)
+- Git checkout branch asf-site (verify .asf.yaml has similar key/value asc
-- checkout branch asf-site (verify proper settings in .asf.yaml)
+ whoami: asf-site
-- copy content of target/site (single module), target/staging (multi module)
to the root of the branch
+- Copy generated content to the root of the branch
-- commit and push (this trigers the site update, if not contact INFRA)
+- Commit and push (this triggers the site update, if not contact INFRA)
-### Maven (not used for Git)
+### Maven (may or may not be used with Git)
IMPORTANT: You may have to clean up the checkoutDirectory of
maven-scm-publish-plugin plugin after doing a dry run!
This directory is configured in turbine-parent bydefault outside target folder:
diff --git a/pom.xml b/pom.xml
index 7e5f07f..44e9ef4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -46,8 +46,7 @@
<module>quartz</module>
<module>security</module>
<module>testcontainer</module>
- <!--TODO add as git
- module>upload</module-->
+ <module>upload</module>
<module>yaafi-crypto</module>
<module>yaafi</module>
diff --git a/upload b/upload
new file mode 160000
index 0000000..309d861
--- /dev/null
+++ b/upload
@@ -0,0 +1 @@
+Subproject commit 309d861d2aa3b5c69e2a9a53a118bcb02ee9dfa5