- Add shell scripts to perform usual project actions
- Improve site home page to add news, articles & contribute menu


Project: http://git-wip-us.apache.org/repos/asf/incubator-unomi/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-unomi/commit/3096e874
Tree: http://git-wip-us.apache.org/repos/asf/incubator-unomi/tree/3096e874
Diff: http://git-wip-us.apache.org/repos/asf/incubator-unomi/diff/3096e874

Branch: refs/heads/master
Commit: 3096e87483f38746edb2d0cccbacef8831b03115
Parents: 11079da
Author: Serge Huber <[email protected]>
Authored: Fri Nov 20 13:44:09 2015 +0100
Committer: Serge Huber <[email protected]>
Committed: Fri Nov 20 13:44:09 2015 +0100

----------------------------------------------------------------------
 NOTICE.template             |  6 +++++-
 generate-site-and-upload.sh | 24 ++++++++++++++++++++++++
 generate-site.sh            | 21 +++++++++++++++++++++
 pom.xml                     | 34 +++++++++++++++++++++++++++++-----
 release-audit.sh            | 20 ++++++++++++++++++++
 src/site/markdown/index.md  | 18 ++++++++++++------
 src/site/site.xml           | 25 ++++++++++++++++++-------
 update-notice.sh            | 20 ++++++++++++++++++++
 8 files changed, 149 insertions(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/3096e874/NOTICE.template
----------------------------------------------------------------------
diff --git a/NOTICE.template b/NOTICE.template
index 3b44aca..a0d3332 100644
--- a/NOTICE.template
+++ b/NOTICE.template
@@ -12,4 +12,8 @@ Edin Dazdarevic ([email protected]).
 Copyright (c) 2013 Edin Dazdarevic ([email protected])
 Licensed under the MIT License.
 
-#GENERATED_NOTICES#
\ No newline at end of file
+#GENERATED_NOTICES#
+
+License summary:
+
+#GENERATED_LICENSE_SUMMARY#
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/3096e874/generate-site-and-upload.sh
----------------------------------------------------------------------
diff --git a/generate-site-and-upload.sh b/generate-site-and-upload.sh
new file mode 100644
index 0000000..de5b530
--- /dev/null
+++ b/generate-site-and-upload.sh
@@ -0,0 +1,24 @@
+#!/usr/bin/env 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.
+#
+################################################################################
+echo Generating site...
+mvn clean install site site:stage -P integration-tests,performance-tests
+echo Committing site to Apache SVN...
+mvn scm-publish:publish-scm
+echo Site generation and upload completed.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/3096e874/generate-site.sh
----------------------------------------------------------------------
diff --git a/generate-site.sh b/generate-site.sh
new file mode 100755
index 0000000..321f54d
--- /dev/null
+++ b/generate-site.sh
@@ -0,0 +1,21 @@
+#!/usr/bin/env 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.
+#
+################################################################################
+echo Generating site...
+mvn site site:stage -P integration-tests,performance-tests

http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/3096e874/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index fcb6739..3404382 100644
--- a/pom.xml
+++ b/pom.xml
@@ -444,6 +444,7 @@
                     <plugin>
                         <groupId>org.jasig.maven</groupId>
                         <artifactId>maven-notice-plugin</artifactId>
+                        <!--version>1.0.7-SNAPSHOT</version-->
                         <version>1.0.6</version>
                         <executions>
                             <execution>
@@ -456,11 +457,34 @@
                         <configuration>
                             <fileName>NOTICE-generated</fileName>
                             <generateChildNotices>false</generateChildNotices>
-                            <noticeMessage><![CDATA[
-This product includes the software {0}.
-Licensed under the {1}.
-_
-                            ]]></noticeMessage>
+                            <!-- The following options are only available in 
the fork here : https://github.com/Jasig/maven-notice-plugin/pull/4 . If it 
gets accepted we can reactivate -->
+                            <!--licenseNameAliases>
+                                <property>
+                                    <name>Apache License, Version 2.0</name>
+                                    <value>The Apache Software License, 
Version 2.0</value>
+                                </property>
+                                <property>
+                                    <name>Apache 2</name>
+                                    <value>The Apache Software License, 
Version 2.0</value>
+                                </property>
+                                <property>
+                                    <name>ALv2</name>
+                                    <value>The Apache Software License, 
Version 2.0</value>
+                                </property>
+                                <property>
+                                    <name>Apache 2.0 License</name>
+                                    <value>The Apache Software License, 
Version 2.0</value>
+                                </property>
+                                <property>
+                                    <name>Apache License 2.0</name>
+                                    <value>The Apache Software License, 
Version 2.0</value>
+                                </property>
+                                <property>
+                                    <name>Apache License Version 2.0</name>
+                                    <value>The Apache Software License, 
Version 2.0</value>
+                                </property>
+                            </licenseNameAliases>
+                            <noticeMessage>\nThis product includes the 
software {0}.\nLicensed under the {1}.\n{7}</noticeMessage-->
                             <noticeTemplate>NOTICE.template</noticeTemplate>
                             <licenseMapping>
                                 
<param>https://source.jasig.org/licenses/license-mappings.xml</param>

http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/3096e874/release-audit.sh
----------------------------------------------------------------------
diff --git a/release-audit.sh b/release-audit.sh
new file mode 100644
index 0000000..be37999
--- /dev/null
+++ b/release-audit.sh
@@ -0,0 +1,20 @@
+#!/usr/bin/env 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.
+#
+################################################################################
+mvn clean install -P generate-package,integration-tests,performance-tests,rat
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/3096e874/src/site/markdown/index.md
----------------------------------------------------------------------
diff --git a/src/site/markdown/index.md b/src/site/markdown/index.md
index 871981e..cadb914 100644
--- a/src/site/markdown/index.md
+++ b/src/site/markdown/index.md
@@ -29,6 +29,18 @@ Apache unomi gathers information about users actions, 
information that is proces
 The collected information can then be used to personalize content, derive 
insights on user behavior, categorize the 
 profiles into segments along user-definable dimensions or acted upon by 
algorithms.
 
+### News
+
+- 2015-11-13 Initial web site created
+- 2015-10-20 JIRA, mailing lists, git, website space created.
+- 2015-10-05 Project enters incubation.
+
+### Articles & slides
+
+* [Linux.com : Unomi: A Bridge Between Privacy and Digital 
Marketing](http://www.linux.com/news/enterprise/cloud-computing/858418-unomi-a-bridge-between-privacy-and-digital-marketing)
+* [Introducing Apache Unomi, JavaOne 
2015](http://www.slideshare.net/sergehuber/introducing-apache-unomi-javaone-2015-session)
 This presentation has a cool example of integrating Apache Unomi with IoT 
devices (Internet of Things) such as beacons, smartphones and even televisions
+* [Apache Unomi In-depth, ApacheCon EU 
2015](http://www.slideshare.net/sergehuber/apache-unomi-in-depth-apachecon-eu-2015-session)
+
 ### Features
 
 ![Unomi features](images/unomi-features.png)
@@ -51,12 +63,6 @@ interacting with any system. Using the context, events may 
be sent to the contex
 These rules will executing matching actions that may either perform context 
updates or even sent data to external
 systems such as BigData frameworks.
 
-### Articles & slides
-
-* [Linux.com : Unomi: A Bridge Between Privacy and Digital 
Marketing](http://www.linux.com/news/enterprise/cloud-computing/858418-unomi-a-bridge-between-privacy-and-digital-marketing)
-* [Introducing Apache Unomi, JavaOne 
2015](http://www.slideshare.net/sergehuber/introducing-apache-unomi-javaone-2015-session)
 This presentation has a cool example of integrating Apache Unomi with IoT 
devices (Internet of Things) such as beacons, smartphones and even televisions
-* [Apache Unomi In-depth, ApacheCon EU 
2015](http://www.slideshare.net/sergehuber/apache-unomi-in-depth-apachecon-eu-2015-session)
-
 ### Requirements
 
 * JDK 7 or later, 
http://www.oracle.com/technetwork/java/javase/downloads/index.html

http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/3096e874/src/site/site.xml
----------------------------------------------------------------------
diff --git a/src/site/site.xml b/src/site/site.xml
index d2c1228..b018826 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -54,9 +54,9 @@
             <titleTemplate>%2$s | %1$s</titleTemplate>
             <toc>sidebar</toc>
             <!--tocTopMax>6</tocTopMax-->
-            <topNav>Documentation|Source</topNav>
+            <topNav>Documentation|Standard|Contribute|Privacy</topNav>
             <bottomNav>
-                <column>Source</column>
+                <column>Documentation|Standard|Contribute|Privacy</column>
                 <column>modules</column>
                 <column>reports</column>
             </bottomNav>
@@ -106,11 +106,6 @@
 
     <body>
 
-        <links>
-            <item name="Source" href="https://github.com/Jahia/unomi"/>
-            <item name="Privacy" href="privacy-policy.html"/>
-        </links>
-
         <menu name="Documentation" inherit="top">
             <item name="Home" href="./" />
             <item name="Building and deploying" 
href="building-and-deploying.html" />
@@ -124,6 +119,22 @@
         <menu name="parent" ref="parent"/>
         <menu ref="modules"/>
         <menu ref="reports"/>
+
+        <menu name="Standard" inherit="top">
+            <item name="OASIS Context Server Technical Committee" 
href="https://www.oasis-open.org/committees/cxs/"/>
+        </menu>
+
+        <menu name="Privacy" inherit="bottom">
+            <item name="Site policy" href="privacy-policy.html"/>
+        </menu>
+
+        <menu name="Contribute" inherit="bottom">
+            <item name="Mailing lists" href="mail-lists.html"/>
+            <item name="Source" href="source-repository.html"/>
+            <item name="Issues" href="issue-tracking.html"/>
+        </menu>
+
+        <footer></footer>
     </body>
 
 </project>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/3096e874/update-notice.sh
----------------------------------------------------------------------
diff --git a/update-notice.sh b/update-notice.sh
new file mode 100644
index 0000000..7c1470d
--- /dev/null
+++ b/update-notice.sh
@@ -0,0 +1,20 @@
+#!/usr/bin/env 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.
+#
+################################################################################
+mvn notice:generate -P 
generate-package,integration-tests,performance-tests,generate-notice
\ No newline at end of file

Reply via email to