You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2019/09/16 10:51:13 UTC
[syncope] branch master updated: SYNCOPE-1489: Reorganize travis CI
into build stages/jobs (#115)
This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/master by this push:
new 7637ee4 SYNCOPE-1489: Reorganize travis CI into build stages/jobs (#115)
7637ee4 is described below
commit 7637ee4510ca55cccc2f07fcf737f9638c833fab
Author: Misagh Moayyed <mm...@gmail.com>
AuthorDate: Mon Sep 16 14:51:08 2019 +0400
SYNCOPE-1489: Reorganize travis CI into build stages/jobs (#115)
---
.gitignore | 1 +
.travis.yml | 68 ++++++++++++++++++----
client/am/console/pom.xml | 1 +
client/idm/console/pom.xml | 1 +
client/idrepo/common-ui/pom.xml | 1 +
.../ui/commons/markup/html/form/FieldPanel.java | 1 -
.../client/ui/commons/wizards/AjaxWizard.java | 10 +---
.../ui/commons/wizards/AjaxWizardBuilder.java | 3 -
client/idrepo/console/pom.xml | 1 +
.../client/console/commons/ITabComponent.java | 3 -
.../commons/SortableAnyProviderComparator.java | 3 -
.../AnyObjectDisplayAttributesModalPanel.java | 2 +-
.../panels/DisplayAttributesModalPanel.java | 2 +-
.../panels/GroupDisplayAttributesModalPanel.java | 2 +-
.../client/console/panels/MultilevelPanel.java | 2 +-
.../panels/UserDisplayAttributesModalPanel.java | 2 +-
.../client/console/wizards/WizardMgtPanel.java | 2 +-
client/idrepo/enduser/pom.xml | 1 +
.../client/lib/SyncopeClientFactoryBean.java | 4 +-
.../apache/syncope/common/lib/LogOutputStream.java | 3 -
.../common/lib/collections/CircularFifoQueue.java | 2 +-
.../common/lib/collections/IteratorChain.java | 6 +-
.../common/lib/search/OrderByClauseBuilder.java | 2 +-
.../syncope/common/lib/search/SpecialAttr.java | 5 +-
.../common/lib/to/AbstractAnnotatedBean.java | 6 +-
.../syncope/core/logic/cocoon/XSLTTransformer.java | 3 -
.../core/logic/init/EntitlementAccessor.java | 2 +-
.../apache/syncope/core/rest/cxf/WADLServlet.java | 2 +-
.../validation/InvalidEntityException.java | 2 +-
.../jpa/entity/AbstractAnnotatedEntity.java | 6 +-
.../jpa/openjpa/BooleanValueHandler.java | 5 +-
.../jpa/openjpa/LocaleValueHandler.java | 5 +-
.../jpa/outer/XMLContentExporterTest.java | 2 +-
.../provisioning/api/PropagationByResource.java | 4 +-
.../core/provisioning/api/TimeoutException.java | 4 +-
.../java/jexl/SyncopeJexlFunctions.java | 2 -
.../core/flowable/WorkflowFlowableContext.java | 2 +-
.../META-INF/resources/saml2sp/loginSuccess.jsp | 4 +-
.../fit/buildtools/ServiceTimeoutServlet.java | 8 +--
pom.xml | 21 ++++++-
.../resources/org/apache/syncope/checkstyle.xml | 2 +-
src/site/xdoc/building.xml | 8 +--
src/site/xdoc/downloads.xml | 2 +-
src/site/xdoc/release-process.xml | 50 ++++++++--------
src/site/xdoc/security.xml | 2 +-
45 files changed, 155 insertions(+), 115 deletions(-)
diff --git a/.gitignore b/.gitignore
index 058b090..1d105b4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@ maven-eclipse.xml
archetype/src/main/resources/archetype-resources/pom.xml
*nb-configuration.xml
node_modules
+**/checkstyle.cache
diff --git a/.travis.yml b/.travis.yml
index 2176b40..027590f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,18 +17,62 @@ sudo: false
language: java
jdk:
- openjdk11
-before_install:
- - echo 'MAVEN_OPTS="-Xmx4096M -Xss128M -XX:+CMSClassUnloadingEnabled -XX:+TieredCompilation -XX:TieredStopAtLevel=1"' >~/.mavenrc
-# default install is mvn install --quiet -DskipTests=true
-install: travis_wait 30 mvn --show-version --quiet -T 1C -P all,skipTests
-before_script:
- - cd fit/core-reference
-script:
- # invoker.streamLogs: we cannot access to log files through Travis web ui, so display everything in the console
- - mvn --show-version verify -Dinvoker.streamLogs=true
-after_failure:
- - cat target/log/*
- - cat target/failsafe-reports/org.apache.syncope.fit.*-output.txt
+cache:
+ bundler: false
+ cargo: false
+ directories:
+ - $HOME/.m2
+git:
+ depth: 2
+matrix:
+ fast_finish: true
+env:
+ global:
+ - MAVEN_OPTS="-Xmx4096M -Xss128M -XX:+CMSClassUnloadingEnabled -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -noverify"
+install: true
notifications:
email:
- dev@syncope.apache.org
+stages:
+ - initialize
+ - build
+ - validate
+ - test
+ - fit
+jobs:
+ include:
+ - stage: initialize
+ script: mvn --quiet --show-version -T 4 enforcer:enforce
+ name: "Verify Platform"
+ - stage: initialize
+ script: mvn -T 4 clean dependency:go-offline dependency:resolve-plugins --quiet -Denforcer.skip=true
+ name: "Warm Up Dependencies"
+ #######################################################
+ - stage: build
+ script: mvn install --quiet -T 4 -P all,skipTests,skipLegalFiles -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Denforcer.skip=true
+ name: "Build"
+ #######################################################
+ - stage: validate
+ script: mvn checkstyle:check -T 4 -Denforcer.skip=true --quiet
+ name: "Checkstyle Analysis"
+ - stage: validate
+ script: mvn -T 4 --quiet javadoc:javadoc javadoc:test-javadoc -Denforcer.skip=true
+ name: "Javadoc Analysis"
+ - stage: validate
+ script: mvn -T 4 --quiet ianal:verify-legal-files -Denforcer.skip=true
+ name: "Legal Files Analysis"
+ - stage: validate
+ script: mvn -T 4 --quiet modernizer:modernizer
+ name: "Modernizer Legacy API Analysis"
+ ######################################################
+ - stage: test
+ script: mvn clean test -T 4 -P skipLegalFiles,skipSass -T 4 --quiet -Dinvoker.streamLogs=true -Denforcer.skip=true -Dmodernizer.skip=true
+ name: "Unit Tests"
+ ######################################################
+ - stage: fit
+ script: travis_wait 30 mvn -f fit/core-reference/pom.xml verify -P skipLegalFiles,skipSass -T 4 -Dinvoker.streamLogs=true -Denforcer.skip=true -Dmodernizer.skip=true -Djacoco.skip=true
+ name: "Full Integration Tests"
+ #####################################################
+ after_failure:
+ - cat fit/core-reference/target/log/*
+ - cat fit/core-reference/target/failsafe-reports/org.apache.syncope.fit.*-output.txt
\ No newline at end of file
diff --git a/client/am/console/pom.xml b/client/am/console/pom.xml
index 1b3fea6..bfddc84 100644
--- a/client/am/console/pom.xml
+++ b/client/am/console/pom.xml
@@ -85,6 +85,7 @@ under the License.
<destination>${project.build.outputDirectory}/META-INF/resources/css</destination>
</resource>
</resources>
+ <skip>${skip.sass}</skip>
</configuration>
</plugin>
</plugins>
diff --git a/client/idm/console/pom.xml b/client/idm/console/pom.xml
index 0f33c09..adb6a4d 100644
--- a/client/idm/console/pom.xml
+++ b/client/idm/console/pom.xml
@@ -85,6 +85,7 @@ under the License.
<destination>${project.build.outputDirectory}/META-INF/resources/css</destination>
</resource>
</resources>
+ <skip>${skip.sass}</skip>
</configuration>
</plugin>
</plugins>
diff --git a/client/idrepo/common-ui/pom.xml b/client/idrepo/common-ui/pom.xml
index ffb4bc3..3c49f74 100644
--- a/client/idrepo/common-ui/pom.xml
+++ b/client/idrepo/common-ui/pom.xml
@@ -134,6 +134,7 @@ under the License.
<destination>${project.build.outputDirectory}/META-INF/resources/ui-commons/css/accessibility</destination>
</resource>
</resources>
+ <skip>${skip.sass}</skip>
</configuration>
</plugin>
</plugins>
diff --git a/client/idrepo/common-ui/src/main/java/org/apache/syncope/client/ui/commons/markup/html/form/FieldPanel.java b/client/idrepo/common-ui/src/main/java/org/apache/syncope/client/ui/commons/markup/html/form/FieldPanel.java
index af762a5..d618694 100644
--- a/client/idrepo/common-ui/src/main/java/org/apache/syncope/client/ui/commons/markup/html/form/FieldPanel.java
+++ b/client/idrepo/common-ui/src/main/java/org/apache/syncope/client/ui/commons/markup/html/form/FieldPanel.java
@@ -160,7 +160,6 @@ public abstract class FieldPanel<T extends Serializable> extends AbstractFieldPa
*
* @param item item to attach.
* @return updated FieldPanel object.
- * @see MultiFieldPanel
*/
@SuppressWarnings({ "unchecked", "rawtypes" })
public FieldPanel<T> setNewModel(final ListItem item) {
diff --git a/client/idrepo/common-ui/src/main/java/org/apache/syncope/client/ui/commons/wizards/AjaxWizard.java b/client/idrepo/common-ui/src/main/java/org/apache/syncope/client/ui/commons/wizards/AjaxWizard.java
index 5d3dab5..1d913f9 100644
--- a/client/idrepo/common-ui/src/main/java/org/apache/syncope/client/ui/commons/wizards/AjaxWizard.java
+++ b/client/idrepo/common-ui/src/main/java/org/apache/syncope/client/ui/commons/wizards/AjaxWizard.java
@@ -86,7 +86,7 @@ public abstract class AjaxWizard<T extends Serializable> extends Wizard
* @param id The component id.
* @param item model object.
* @param model wizard model
- * @param mode <tt>true</tt> if edit mode.
+ * @param mode {@code true} if edit mode.
* @param pageRef caller page reference.
*/
public AjaxWizard(
@@ -123,7 +123,7 @@ public abstract class AjaxWizard<T extends Serializable> extends Wizard
/**
* Add object outside the main container.
* Use this method just to be not influenced by specific inner object css'.
- * Be sure to provide <tt>outer</tt> as id.
+ * Be sure to provide {@code outer} as id.
*
* @param childs components to be added.
* @return the current panel instance.
@@ -175,9 +175,6 @@ public abstract class AjaxWizard<T extends Serializable> extends Wizard
protected abstract long getMaxWaitTimeInSeconds();
- /**
- * @see org.apache.wicket.extensions.wizard.Wizard#onCancel()
- */
@Override
public final void onCancel() {
AjaxRequestTarget target = RequestCycle.get().find(AjaxRequestTarget.class).orElse(null);
@@ -196,9 +193,6 @@ public abstract class AjaxWizard<T extends Serializable> extends Wizard
}
}
- /**
- * @see org.apache.wicket.extensions.wizard.Wizard#onFinish()
- */
@Override
public final void onFinish() {
AjaxRequestTarget target = RequestCycle.get().find(AjaxRequestTarget.class).orElse(null);
diff --git a/client/idrepo/common-ui/src/main/java/org/apache/syncope/client/ui/commons/wizards/AjaxWizardBuilder.java b/client/idrepo/common-ui/src/main/java/org/apache/syncope/client/ui/commons/wizards/AjaxWizardBuilder.java
index 9031f8a..e80ae84 100644
--- a/client/idrepo/common-ui/src/main/java/org/apache/syncope/client/ui/commons/wizards/AjaxWizardBuilder.java
+++ b/client/idrepo/common-ui/src/main/java/org/apache/syncope/client/ui/commons/wizards/AjaxWizardBuilder.java
@@ -56,9 +56,6 @@ public abstract class AjaxWizardBuilder<T extends Serializable> extends Abstract
return this;
}
- /**
- * {@inheritDoc }
- */
@Override
public AjaxWizard<T> build(final String id, final int index, final AjaxWizard.Mode mode) {
final AjaxWizard<T> wizard = build(id, mode);
diff --git a/client/idrepo/console/pom.xml b/client/idrepo/console/pom.xml
index aefa2ac..30523ab 100644
--- a/client/idrepo/console/pom.xml
+++ b/client/idrepo/console/pom.xml
@@ -171,6 +171,7 @@ under the License.
<destination>${project.build.outputDirectory}/META-INF/resources/css</destination>
</resource>
</resources>
+ <skip>${skip.sass}</skip>
</configuration>
</plugin>
</plugins>
diff --git a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/commons/ITabComponent.java b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/commons/ITabComponent.java
index 05317df..b6a8e2f 100644
--- a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/commons/ITabComponent.java
+++ b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/commons/ITabComponent.java
@@ -65,9 +65,6 @@ public abstract class ITabComponent extends Component implements ITab {
return true;
}
- /**
- * @see org.apache.wicket.Component#onRender()
- */
@Override
protected void onRender() {
internalRenderComponent();
diff --git a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/commons/SortableAnyProviderComparator.java b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/commons/SortableAnyProviderComparator.java
index 6edd6d8..be9e144 100644
--- a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/commons/SortableAnyProviderComparator.java
+++ b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/commons/SortableAnyProviderComparator.java
@@ -59,9 +59,6 @@ public class SortableAnyProviderComparator<T extends AnyTO> extends SortableData
this.anyTO = anyTO;
}
- /**
- * @see UserAttrColumn constructor
- */
@Override
public Comparable getObject() {
int hashPos = provider.getSort().getProperty().indexOf('#');
diff --git a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/AnyObjectDisplayAttributesModalPanel.java b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/AnyObjectDisplayAttributesModalPanel.java
index 101d372..4f619f3 100644
--- a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/AnyObjectDisplayAttributesModalPanel.java
+++ b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/AnyObjectDisplayAttributesModalPanel.java
@@ -27,7 +27,7 @@ import org.apache.wicket.PageReference;
* Modal window with Display any attributes form.
*
* @param <T> can be {@link org.apache.syncope.common.lib.to.AnyTO} or
- * {@link org.apache.syncope.client.console.wizards.any.AnyWrapper}
+ * {@link org.apache.syncope.client.ui.commons.wizards.any.AnyWrapper}
*/
public class AnyObjectDisplayAttributesModalPanel<T extends Serializable> extends DisplayAttributesModalPanel<T> {
diff --git a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/DisplayAttributesModalPanel.java b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/DisplayAttributesModalPanel.java
index 694fe03..e510437 100644
--- a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/DisplayAttributesModalPanel.java
+++ b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/DisplayAttributesModalPanel.java
@@ -46,7 +46,7 @@ import org.apache.wicket.model.util.ListModel;
/**
* Modal window with Display attributes form.
*
- * @param <T> can be {@link AnyTO} or {@link org.apache.syncope.client.console.wizards.any.AnyWrapper}
+ * @param <T> can be {@link AnyTO} or {@link org.apache.syncope.client.ui.commons.wizards.any.AnyWrapper}
*/
public abstract class DisplayAttributesModalPanel<T extends Serializable> extends AbstractModalPanel<T> {
diff --git a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/GroupDisplayAttributesModalPanel.java b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/GroupDisplayAttributesModalPanel.java
index d86447a..50771e0 100644
--- a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/GroupDisplayAttributesModalPanel.java
+++ b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/GroupDisplayAttributesModalPanel.java
@@ -28,7 +28,7 @@ import org.apache.wicket.PageReference;
* Modal window with Display group attributes form.
*
* @param <T> can be {@link org.apache.syncope.common.lib.to.AnyTO} or
- * {@link org.apache.syncope.client.console.wizards.any.AnyWrapper}
+ * {@link org.apache.syncope.client.ui.commons.wizards.any.AnyWrapper}
*/
public class GroupDisplayAttributesModalPanel<T extends Serializable> extends DisplayAttributesModalPanel<T> {
diff --git a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/MultilevelPanel.java b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/MultilevelPanel.java
index 6050d30..8d60be6 100644
--- a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/MultilevelPanel.java
+++ b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/MultilevelPanel.java
@@ -103,7 +103,7 @@ public class MultilevelPanel extends Panel implements IHeaderContributor {
}
/**
- * Add panel with id <tt>first</tt>
+ * Add panel with id {@code first}
*
* @param panel panel to be used into the first level.
* @return the current MultilevelPanel instance.
diff --git a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/UserDisplayAttributesModalPanel.java b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/UserDisplayAttributesModalPanel.java
index e267308..5e5f01d 100644
--- a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/UserDisplayAttributesModalPanel.java
+++ b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/UserDisplayAttributesModalPanel.java
@@ -28,7 +28,7 @@ import org.apache.wicket.PageReference;
* Modal window with Display user attributes form.
*
* @param <T> can be {@link org.apache.syncope.common.lib.to.AnyTO} or
- * {@link org.apache.syncope.client.console.wizards.any.AnyWrapper}
+ * {@link org.apache.syncope.client.ui.commons.wizards.any.AnyWrapper}
*/
public class UserDisplayAttributesModalPanel<T extends Serializable> extends DisplayAttributesModalPanel<T> {
diff --git a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/wizards/WizardMgtPanel.java b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/wizards/WizardMgtPanel.java
index 44f41a2..bb744a2 100644
--- a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/wizards/WizardMgtPanel.java
+++ b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/wizards/WizardMgtPanel.java
@@ -313,7 +313,7 @@ public abstract class WizardMgtPanel<T extends Serializable> extends AbstractWiz
/**
* Add object outside the main container.
* Use this method just to be not influenced by specific inner object css'.
- * Be sure to provide <tt>outer</tt> as id.
+ * Be sure to provide {@code outer} as id.
*
* @param childs components to be added.
* @return the current panel instance.
diff --git a/client/idrepo/enduser/pom.xml b/client/idrepo/enduser/pom.xml
index 42ab85a..2dad2c1 100644
--- a/client/idrepo/enduser/pom.xml
+++ b/client/idrepo/enduser/pom.xml
@@ -154,6 +154,7 @@ under the License.
<destination>${project.build.outputDirectory}/org/apache/syncope/client/enduser/assets/css</destination>
</resource>
</resources>
+ <skip>${skip.sass}</skip>
</configuration>
</plugin>
</plugins>
diff --git a/client/idrepo/lib/src/main/java/org/apache/syncope/client/lib/SyncopeClientFactoryBean.java b/client/idrepo/lib/src/main/java/org/apache/syncope/client/lib/SyncopeClientFactoryBean.java
index c3f8048..b9f6cc4 100644
--- a/client/idrepo/lib/src/main/java/org/apache/syncope/client/lib/SyncopeClientFactoryBean.java
+++ b/client/idrepo/lib/src/main/java/org/apache/syncope/client/lib/SyncopeClientFactoryBean.java
@@ -210,9 +210,9 @@ public class SyncopeClientFactoryBean {
}
/**
- * Sets the given service instance for transparent gzip <tt>Content-Encoding</tt> handling.
+ * Sets the given service instance for transparent gzip {@code Content-Encoding} handling.
*
- * @param useCompression whether transparent gzip <tt>Content-Encoding</tt> handling is to be enabled
+ * @param useCompression whether transparent gzip {@code Content-Encoding} handling is to be enabled
* @return the current instance
*/
public SyncopeClientFactoryBean setUseCompression(final boolean useCompression) {
diff --git a/common/idrepo/lib/src/main/java/org/apache/syncope/common/lib/LogOutputStream.java b/common/idrepo/lib/src/main/java/org/apache/syncope/common/lib/LogOutputStream.java
index 213d170..9e1ce8c 100644
--- a/common/idrepo/lib/src/main/java/org/apache/syncope/common/lib/LogOutputStream.java
+++ b/common/idrepo/lib/src/main/java/org/apache/syncope/common/lib/LogOutputStream.java
@@ -57,7 +57,6 @@ public class LogOutputStream extends OutputStream {
* detected.
*
* @param cc data to log (byte).
- * @see OutputStream#write(int)
*/
@Override
public void write(final int cc) {
@@ -75,7 +74,6 @@ public class LogOutputStream extends OutputStream {
/**
* Flush this log stream.
*
- * @see OutputStream#flush()
*/
@Override
public void flush() {
@@ -104,7 +102,6 @@ public class LogOutputStream extends OutputStream {
* @param b the array containing the data
* @param off the offset into the array where data starts
* @param len the length of block
- * @see OutputStream#write(byte[], int, int)
*/
@Override
public void write(final byte[] b, final int off, final int len) {
diff --git a/common/idrepo/lib/src/main/java/org/apache/syncope/common/lib/collections/CircularFifoQueue.java b/common/idrepo/lib/src/main/java/org/apache/syncope/common/lib/collections/CircularFifoQueue.java
index 1977a7e..9cb0ffd 100644
--- a/common/idrepo/lib/src/main/java/org/apache/syncope/common/lib/collections/CircularFifoQueue.java
+++ b/common/idrepo/lib/src/main/java/org/apache/syncope/common/lib/collections/CircularFifoQueue.java
@@ -175,7 +175,7 @@ public class CircularFifoQueue<E> extends AbstractCollection<E> implements Queue
}
/**
- * {@inheritDoc}
+ *
* <p>
* A {@code CircularFifoQueue} can never be full, thus this returns always
* {@code false}.
diff --git a/common/idrepo/lib/src/main/java/org/apache/syncope/common/lib/collections/IteratorChain.java b/common/idrepo/lib/src/main/java/org/apache/syncope/common/lib/collections/IteratorChain.java
index 7aef942..6d4b822 100644
--- a/common/idrepo/lib/src/main/java/org/apache/syncope/common/lib/collections/IteratorChain.java
+++ b/common/idrepo/lib/src/main/java/org/apache/syncope/common/lib/collections/IteratorChain.java
@@ -100,7 +100,7 @@ public class IteratorChain<E> implements Iterator<E> {
}
/**
- * Constructs a new <code>IteratorChain</code> over the two given iterators.
+ * Constructs a new {@code IteratorChain} over the two given iterators.
*
* This method takes two iterators. The newly constructed iterator will
* iterate through each one of the input iterators in turn.
@@ -116,7 +116,7 @@ public class IteratorChain<E> implements Iterator<E> {
}
/**
- * Constructs a new <code>IteratorChain</code> over the array of iterators.
+ * Constructs a new {@code IteratorChain} over the array of iterators.
*
* This method takes an array of iterators. The newly constructed iterator
* will iterate through each one of the input iterators in turn.
@@ -133,7 +133,7 @@ public class IteratorChain<E> implements Iterator<E> {
}
/**
- * Constructs a new <code>IteratorChain</code> over the collection of
+ * Constructs a new {@code IteratorChain} over the collection of
* iterators.
*
* This method takes a collection of iterators. The newly constructed
diff --git a/common/idrepo/lib/src/main/java/org/apache/syncope/common/lib/search/OrderByClauseBuilder.java b/common/idrepo/lib/src/main/java/org/apache/syncope/common/lib/search/OrderByClauseBuilder.java
index 41d152c..71c6f98 100644
--- a/common/idrepo/lib/src/main/java/org/apache/syncope/common/lib/search/OrderByClauseBuilder.java
+++ b/common/idrepo/lib/src/main/java/org/apache/syncope/common/lib/search/OrderByClauseBuilder.java
@@ -21,7 +21,7 @@ package org.apache.syncope.common.lib.search;
import org.apache.commons.lang3.StringUtils;
/**
- * Simple builder for generating <tt>orderby</tt> values.
+ * Simple builder for generating {@code orderby} values.
*/
public class OrderByClauseBuilder {
diff --git a/common/idrepo/lib/src/main/java/org/apache/syncope/common/lib/search/SpecialAttr.java b/common/idrepo/lib/src/main/java/org/apache/syncope/common/lib/search/SpecialAttr.java
index 80858e8..c4597ff 100644
--- a/common/idrepo/lib/src/main/java/org/apache/syncope/common/lib/search/SpecialAttr.java
+++ b/common/idrepo/lib/src/main/java/org/apache/syncope/common/lib/search/SpecialAttr.java
@@ -22,10 +22,7 @@ import java.util.Arrays;
import java.util.Optional;
public enum SpecialAttr {
-
- /**
- * Applies to users, groups and any objects.
- */
+
/**
* Applies to users, groups and any objects.
*/
diff --git a/common/idrepo/lib/src/main/java/org/apache/syncope/common/lib/to/AbstractAnnotatedBean.java b/common/idrepo/lib/src/main/java/org/apache/syncope/common/lib/to/AbstractAnnotatedBean.java
index 40ddfbf..538405d 100644
--- a/common/idrepo/lib/src/main/java/org/apache/syncope/common/lib/to/AbstractAnnotatedBean.java
+++ b/common/idrepo/lib/src/main/java/org/apache/syncope/common/lib/to/AbstractAnnotatedBean.java
@@ -39,7 +39,7 @@ public abstract class AbstractAnnotatedBean extends BaseBean implements EntityTO
/**
* Username of the user that has created this profile.
* <p>
- * Cannot be used a reference to an existing user for two main reasons: the creator can be the user <tt>admin</tt>;
+ * Cannot be used a reference to an existing user for two main reasons: the creator can be the user {@code admin};
* the creator could have been removed.
*/
private String creator;
@@ -56,7 +56,7 @@ public abstract class AbstractAnnotatedBean extends BaseBean implements EntityTO
* <p>
* The modifier can be the user itself whether the last performed change has been a self-modification.
* <p>
- * Cannot be used a reference to an existing user for two main reasons: the modifier can be the user <tt>admin</tt>;
+ * Cannot be used a reference to an existing user for two main reasons: the modifier can be the user {@code admin};
* the modifier could have been removed.
*/
private String lastModifier;
@@ -64,7 +64,7 @@ public abstract class AbstractAnnotatedBean extends BaseBean implements EntityTO
/**
* Last change date.
* <p>
- * This field cannot be null: at creation time it has to be initialized with <tt>creationDate</tt> field value.
+ * This field cannot be null: at creation time it has to be initialized with {@code creationDate} field value.
*/
private Date lastChangeDate;
diff --git a/core/idrepo/logic/src/main/java/org/apache/syncope/core/logic/cocoon/XSLTTransformer.java b/core/idrepo/logic/src/main/java/org/apache/syncope/core/logic/cocoon/XSLTTransformer.java
index ae4ecaa..4c27ee8 100644
--- a/core/idrepo/logic/src/main/java/org/apache/syncope/core/logic/cocoon/XSLTTransformer.java
+++ b/core/idrepo/logic/src/main/java/org/apache/syncope/core/logic/cocoon/XSLTTransformer.java
@@ -134,9 +134,6 @@ public class XSLTTransformer extends AbstractSAXTransformer implements CachingPi
}
}
- /**
- * {@inheritDoc}
- */
@Override
protected void setSAXConsumer(final SAXConsumer consumer) {
TransformerHandler transformerHandler;
diff --git a/core/idrepo/logic/src/main/java/org/apache/syncope/core/logic/init/EntitlementAccessor.java b/core/idrepo/logic/src/main/java/org/apache/syncope/core/logic/init/EntitlementAccessor.java
index dfae712..8ae448a 100644
--- a/core/idrepo/logic/src/main/java/org/apache/syncope/core/logic/init/EntitlementAccessor.java
+++ b/core/idrepo/logic/src/main/java/org/apache/syncope/core/logic/init/EntitlementAccessor.java
@@ -27,7 +27,7 @@ import org.springframework.transaction.annotation.Transactional;
/**
* Domain-sensible (via {@code @Transactional} access to any type data for entitlement init.
*
- * @see EntitlementLoader
+ * @see IdRepoEntitlementLoader
*/
@Component
public class EntitlementAccessor {
diff --git a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/WADLServlet.java b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/WADLServlet.java
index fe403e4..e827e6a 100644
--- a/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/WADLServlet.java
+++ b/core/idrepo/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/WADLServlet.java
@@ -61,7 +61,7 @@ public class WADLServlet extends HttpServlet {
}
/**
- * Handles the HTTP <code>GET</code> method.
+ * Handles the HTTP {@code GET} method.
*
* @param request servlet request
* @param response servlet response
diff --git a/core/persistence-api/src/main/java/org/apache/syncope/core/persistence/api/attrvalue/validation/InvalidEntityException.java b/core/persistence-api/src/main/java/org/apache/syncope/core/persistence/api/attrvalue/validation/InvalidEntityException.java
index 045f47f..a7a3cfc 100644
--- a/core/persistence-api/src/main/java/org/apache/syncope/core/persistence/api/attrvalue/validation/InvalidEntityException.java
+++ b/core/persistence-api/src/main/java/org/apache/syncope/core/persistence/api/attrvalue/validation/InvalidEntityException.java
@@ -60,7 +60,7 @@ public class InvalidEntityException extends ValidationException {
}
/**
- * Constructs a map of violations out of given <tt>ConstraintViolation</tt> set.
+ * Constructs a map of violations out of given {@code ConstraintViolation} set.
*
* @param entityClassSimpleName simple class name of invalid entity
* @param violations as returned by bean validation
diff --git a/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/entity/AbstractAnnotatedEntity.java b/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/entity/AbstractAnnotatedEntity.java
index 9f9b14a..d0746cf 100644
--- a/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/entity/AbstractAnnotatedEntity.java
+++ b/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/entity/AbstractAnnotatedEntity.java
@@ -38,7 +38,7 @@ public abstract class AbstractAnnotatedEntity extends AbstractGeneratedKeyEntity
/**
* Username of the user that has created this profile.
- * Reference to existing user cannot be used: the creator can either be <tt>admin</tt> or was deleted.
+ * Reference to existing user cannot be used: the creator can either be {@code admin} or was deleted.
*/
private String creator;
@@ -52,13 +52,13 @@ public abstract class AbstractAnnotatedEntity extends AbstractGeneratedKeyEntity
* Username of the user that has performed the last modification to this profile.
* This field cannot be null: at creation time it needs to be initialized with the creator username.
* The modifier can be the user itself if the last performed change was a self-modification.
- * Reference to existing user cannot be used: the creator can either be <tt>admin</tt> or was deleted.
+ * Reference to existing user cannot be used: the creator can either be {@code admin} or was deleted.
*/
private String lastModifier;
/**
* Last change date.
- * This field cannot be null: at creation time it needs to be initialized with <tt>creationDate</tt> field value.
+ * This field cannot be null: at creation time it needs to be initialized with {@code creationDate} field value.
*/
@Temporal(TemporalType.TIMESTAMP)
private Date lastChangeDate;
diff --git a/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/openjpa/BooleanValueHandler.java b/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/openjpa/BooleanValueHandler.java
index f5ee2e7..01145dd 100644
--- a/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/openjpa/BooleanValueHandler.java
+++ b/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/openjpa/BooleanValueHandler.java
@@ -41,11 +41,10 @@ public class BooleanValueHandler extends AbstractValueHandler {
}
/**
- * {@inheritDoc}
- *
- * @Deprecated
+ * @deprecated
*/
@Override
+ @Deprecated
public Column[] map(final ValueMapping vm, final String name, final ColumnIO io, final boolean adapt) {
DBDictionary dict = vm.getMappingRepository().getDBDictionary();
DBIdentifier colName = DBIdentifier.newColumn(name, Optional.ofNullable(dict)
diff --git a/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/openjpa/LocaleValueHandler.java b/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/openjpa/LocaleValueHandler.java
index 6a7a00a..56ee3cc 100644
--- a/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/openjpa/LocaleValueHandler.java
+++ b/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/openjpa/LocaleValueHandler.java
@@ -42,11 +42,12 @@ public class LocaleValueHandler extends AbstractValueHandler {
}
/**
- * {@inheritDoc}
*
- * @Deprecated
+ *
+ * @deprecated
*/
@Override
+ @Deprecated
public Column[] map(final ValueMapping vm, final String name, final ColumnIO io, final boolean adapt) {
DBDictionary dict = vm.getMappingRepository().getDBDictionary();
DBIdentifier colName = DBIdentifier.newColumn(name, Optional.ofNullable(dict)
diff --git a/core/persistence-jpa/src/test/java/org/apache/syncope/core/persistence/jpa/outer/XMLContentExporterTest.java b/core/persistence-jpa/src/test/java/org/apache/syncope/core/persistence/jpa/outer/XMLContentExporterTest.java
index 4dfc322..9d8fef7 100644
--- a/core/persistence-jpa/src/test/java/org/apache/syncope/core/persistence/jpa/outer/XMLContentExporterTest.java
+++ b/core/persistence-jpa/src/test/java/org/apache/syncope/core/persistence/jpa/outer/XMLContentExporterTest.java
@@ -42,7 +42,7 @@ public class XMLContentExporterTest extends AbstractTest {
/**
* Also checks for SYNCOPE-1307.
*
- * @throws Exception
+ * @throws Exception exception thrown when dealing with IO.
*/
@Test
public void issueSYNCOPE1128() throws Exception {
diff --git a/core/provisioning-api/src/main/java/org/apache/syncope/core/provisioning/api/PropagationByResource.java b/core/provisioning-api/src/main/java/org/apache/syncope/core/provisioning/api/PropagationByResource.java
index 70bcf01..1d8ae9d 100644
--- a/core/provisioning-api/src/main/java/org/apache/syncope/core/provisioning/api/PropagationByResource.java
+++ b/core/provisioning-api/src/main/java/org/apache/syncope/core/provisioning/api/PropagationByResource.java
@@ -191,7 +191,7 @@ public class PropagationByResource implements Serializable {
* collection.
*
* @param resourceKeys collection containing resource names to be retained in the underlying resource name sets
- * @return <tt>true</tt> if the underlying resource name sets changed as a result of the call
+ * @return {@code true} if the underlying resource name sets changed as a result of the call
* @see Collection#removeAll(java.util.Collection)
*/
public boolean removeAll(final Collection<String> resourceKeys) {
@@ -205,7 +205,7 @@ public class PropagationByResource implements Serializable {
* collection.
*
* @param resourceKeys collection containing resource names to be retained in the underlying resource name sets
- * @return <tt>true</tt> if the underlying resource name sets changed as a result of the call
+ * @return {@code true} if the underlying resource name sets changed as a result of the call
* @see Collection#retainAll(java.util.Collection)
*/
public boolean retainAll(final Collection<String> resourceKeys) {
diff --git a/core/provisioning-api/src/main/java/org/apache/syncope/core/provisioning/api/TimeoutException.java b/core/provisioning-api/src/main/java/org/apache/syncope/core/provisioning/api/TimeoutException.java
index 3f67890..cba153f 100644
--- a/core/provisioning-api/src/main/java/org/apache/syncope/core/provisioning/api/TimeoutException.java
+++ b/core/provisioning-api/src/main/java/org/apache/syncope/core/provisioning/api/TimeoutException.java
@@ -24,7 +24,7 @@ public class TimeoutException extends RuntimeException {
/**
* Creates a new instance of
- * <code>TimeoutException</code> without detail message.
+ * {@code TimeoutException} without detail message.
*/
public TimeoutException() {
super();
@@ -32,7 +32,7 @@ public class TimeoutException extends RuntimeException {
/**
* Constructs an instance of
- * <code>TimeoutException</code> with the specified detail message.
+ * {@code TimeoutException} with the specified detail message.
*
* @param msg the detail message.
*/
diff --git a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/jexl/SyncopeJexlFunctions.java b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/jexl/SyncopeJexlFunctions.java
index 5cf632a..f154a97 100644
--- a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/jexl/SyncopeJexlFunctions.java
+++ b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/jexl/SyncopeJexlFunctions.java
@@ -25,8 +25,6 @@ import org.apache.commons.lang3.StringUtils;
/**
* Utility functions for usage with JEXL engine.
- *
- * @see JexlUtils#getEngine()
*/
public class SyncopeJexlFunctions {
diff --git a/ext/flowable/flowable-bpmn/src/main/java/org/apache/syncope/core/flowable/WorkflowFlowableContext.java b/ext/flowable/flowable-bpmn/src/main/java/org/apache/syncope/core/flowable/WorkflowFlowableContext.java
index dec4972..3a59def 100644
--- a/ext/flowable/flowable-bpmn/src/main/java/org/apache/syncope/core/flowable/WorkflowFlowableContext.java
+++ b/ext/flowable/flowable-bpmn/src/main/java/org/apache/syncope/core/flowable/WorkflowFlowableContext.java
@@ -109,7 +109,7 @@ public class WorkflowFlowableContext {
/**
* This is called to generate unique identifiers for database entities used by Flowable.
*
- * Consider to switch to {@link import org.flowable.common.engine.impl.persistence.StrongUuidGenerator} in
+ * Consider to switch to {@link org.flowable.common.engine.impl.persistence.StrongUuidGenerator} in
* high-demanding production environments.
*
* @return {@link IdGenerator} used by Flowable
diff --git a/ext/saml2sp/agent/src/main/resources/META-INF/resources/saml2sp/loginSuccess.jsp b/ext/saml2sp/agent/src/main/resources/META-INF/resources/saml2sp/loginSuccess.jsp
index 7f70349..3043b9d 100644
--- a/ext/saml2sp/agent/src/main/resources/META-INF/resources/saml2sp/loginSuccess.jsp
+++ b/ext/saml2sp/agent/src/main/resources/META-INF/resources/saml2sp/loginSuccess.jsp
@@ -28,7 +28,7 @@ under the License.
<h1>Welcome ${responseTO.username}</h1>
<p>You have been successfully authenticated by the requested SAML 2.0 IdP with
- <tt>NameID ${responseTO.nameID}</tt> and <tt>SessionIndex ${responseTO.sessionIndex}</tt>.</p>
+ <code>NameID ${responseTO.nameID}</code> and <code>SessionIndex ${responseTO.sessionIndex}</code>.</p>
<p>Your current session is valid:</p>
<ul>
@@ -45,4 +45,4 @@ under the License.
</c:forEach>
</ul>
</body>
-</html>
\ No newline at end of file
+</html>
diff --git a/fit/build-tools/src/main/java/org/apache/syncope/fit/buildtools/ServiceTimeoutServlet.java b/fit/build-tools/src/main/java/org/apache/syncope/fit/buildtools/ServiceTimeoutServlet.java
index 249a64b..56552b7 100644
--- a/fit/build-tools/src/main/java/org/apache/syncope/fit/buildtools/ServiceTimeoutServlet.java
+++ b/fit/build-tools/src/main/java/org/apache/syncope/fit/buildtools/ServiceTimeoutServlet.java
@@ -36,8 +36,8 @@ public class ServiceTimeoutServlet extends HttpServlet {
/**
* Processes requests for both HTTP
- * <code>GET</code> and
- * <code>POST</code> methods.
+ * {@code GET} and
+ * {@code POST} methods.
*
* @param request servlet request
* @param response servlet response
@@ -62,7 +62,7 @@ public class ServiceTimeoutServlet extends HttpServlet {
/**
* Handles the HTTP
- * <code>GET</code> method.
+ * {@code GET} method.
*
* @param request servlet request
* @param response servlet response
@@ -78,7 +78,7 @@ public class ServiceTimeoutServlet extends HttpServlet {
/**
* Handles the HTTP
- * <code>POST</code> method.
+ * {@code POST} method.
*
* @param request servlet request
* @param response servlet response
diff --git a/pom.xml b/pom.xml
index 29003ee..42b9d1b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -526,6 +526,8 @@ under the License.
-->
<argLine>-Xms512m -Xmx1024m -Xss256k</argLine>
+ <ianal.skip>false</ianal.skip>
+ <skip.sass>false</skip.sass>
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
<sonar.jacoco.utReportPath>${rootpom.basedir}/target/jacoco.ut.exec</sonar.jacoco.utReportPath>
<sonar.jacoco.itReportPath>${rootpom.basedir}/target/jacoco.it.exec</sonar.jacoco.itReportPath>
@@ -2096,7 +2098,7 @@ under the License.
<version>3.0.0-M2</version>
<executions>
<execution>
- <id>enforce-maven</id>
+ <id>default-cli</id>
<goals>
<goal>enforce</goal>
</goals>
@@ -2108,7 +2110,7 @@ under the License.
<requireMavenVersion>
<version>3.5.0</version>
</requireMavenVersion>
- </rules>
+ </rules>
</configuration>
</execution>
</executions>
@@ -2343,6 +2345,7 @@ under the License.
<configuration>
<!-- Fail the build if any artifacts are missing legal files -->
<strict>true</strict>
+ <skip>${ianal.skip}</skip>
</configuration>
</execution>
</executions>
@@ -2612,6 +2615,20 @@ under the License.
</profile>
<profile>
+ <id>skipLegalFiles</id>
+ <properties>
+ <ianal.skip>true</ianal.skip>
+ </properties>
+ </profile>
+
+ <profile>
+ <id>skipSass</id>
+ <properties>
+ <skip.sass>true</skip.sass>
+ </properties>
+ </profile>
+
+ <profile>
<id>skipTests</id>
<properties>
diff --git a/src/main/resources/org/apache/syncope/checkstyle.xml b/src/main/resources/org/apache/syncope/checkstyle.xml
index a5b3033..18de61c 100644
--- a/src/main/resources/org/apache/syncope/checkstyle.xml
+++ b/src/main/resources/org/apache/syncope/checkstyle.xml
@@ -47,7 +47,7 @@ under the License.
-->
<module name="Checker">
- <property name="cacheFile" value="target/checkstyle.cache"/>
+ <property name="cacheFile" value="checkstyle.cache"/>
<!--
If you set the basedir property below, then all reported file
diff --git a/src/site/xdoc/building.xml b/src/site/xdoc/building.xml
index 573beaa..288ba47 100644
--- a/src/site/xdoc/building.xml
+++ b/src/site/xdoc/building.xml
@@ -135,9 +135,9 @@ under the License.
<source>$ mvn clean verify -Pfull-it,all</source>
<h4>Other Content-Type values</h4>
- By default, integration tests are run using <code>application/json</code> for both <code>Accept</code> and
- <code>Content-Type</code> HTTP headers; it is possible, however, to use <code>application/xml</code> or
- <code>application/yaml</code>.
+ By default, integration tests are run using <tt>application/json</tt> for both <tt>Accept</tt> and
+ <tt>Content-Type</tt> HTTP headers; it is possible, however, to use <tt>application/xml</tt> or
+ <tt>application/yaml</tt>.
<source>$ mvn clean verify -DjaxrsContentType=application/xml</source>
<source>$ mvn clean verify -DjaxrsContentType=application/yaml</source>
@@ -239,7 +239,7 @@ under the License.
<p>
Once started in debug mode, the test cases can be executed as follows:
<source>$ cd target/enduser-test && nodejs/node/node nodejs/bin/protractor protractor-conf.js</source>
- where the actual tests to be run can be selected by modifying the <code>protractor-conf.js</code> content.
+ where the actual tests to be run can be selected by modifying the <tt>protractor-conf.js</tt> content.
</p>
<h4>HotSwapAgent</h4>
diff --git a/src/site/xdoc/downloads.xml b/src/site/xdoc/downloads.xml
index a6907a5..b0fb555 100644
--- a/src/site/xdoc/downloads.xml
+++ b/src/site/xdoc/downloads.xml
@@ -29,7 +29,7 @@ under the License.
<section name="Downloads">
<p>Apache Syncope artifacts are distributed in source and binary form under the terms of the
<a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.
- See the <tt>LICENSE</tt> and <tt>NOTICE</tt> files included in each artifact for additional license
+ See the <tt>LICENSE</tt> and <tt>NOTICE</tt> files included in each artifact for additional license
information.
</p>
<p>Use the links below to download a distribution of Apache Syncope.
diff --git a/src/site/xdoc/release-process.xml b/src/site/xdoc/release-process.xml
index 120207e..6a66efb 100644
--- a/src/site/xdoc/release-process.xml
+++ b/src/site/xdoc/release-process.xml
@@ -70,7 +70,7 @@ under the License.
<subsection name="ASF settings">
<p>Using the instructions from the previous step encrypt your Apache Nexus repository password and add the
following servers to your
- <code>~/.m2/settings.xml</code> file. You may already have other servers in this file, if not just create
+ <tt>~/.m2/settings.xml</tt> file. You may already have other servers in this file, if not just create
the file.
</p>
@@ -157,7 +157,7 @@ under the License.
<b>Resolved</b> issues to the <b>Closed</b> state.
</li>
<li>
- From <tt>$SYNCOPE_RELEASE_DIR</tt>, update the <tt>CHANGES</tt> file,
+ From <tt>$SYNCOPE_RELEASE_DIR</tt>, update the <tt>CHANGES</tt> file,
based on the text release reports from JIRA, then commit and push:
<source><![CDATA[git commit -m "Updating CHANGES for release" CHANGES
git push]]></source>
@@ -180,7 +180,7 @@ git push]]></source>
git push]]></source>
</li>
<li>
- From <tt>$SYNCOPE_SITE_DIR</tt>, update the <tt>src/site/xdoc/downloads.xml</tt>
+ From <tt>$SYNCOPE_SITE_DIR</tt>, update the <tt>src/site/xdoc/downloads.xml</tt>
site page by changing the relevant URLs, then commit and push:
<source><![CDATA[git commit -m "Updating downloads site page for release" src/site/xdoc/downloads.xml
git push]]></source>
@@ -192,7 +192,7 @@ git push]]></source>
<p>Perform the steps below from <tt>$SYNCOPE_RELEASE_DIR</tt>.</p>
<ol>
<li>
- Do a dry run of the <code>release:prepare</code> step.
+ Do a dry run of the <tt>release:prepare</tt> step.
<source>mvn -P apache-release release:prepare -Darguments="-P all,docker -DbuildNumber=syncope-$VERSION" -DdryRun=true</source>
The dry run will not commit any changes and gives you the opportunity to verify that the
@@ -200,27 +200,27 @@ git push]]></source>
<p>
<em>If you cancel a
- <code>release:prepare</code> before it updates the pom.xml versions, then use the
- <code>release:clean</code> goal to just remove the extra files that were created.
+ <tt>release:prepare</tt> before it updates the pom.xml versions, then use the
+ <tt>release:clean</tt> goal to just remove the extra files that were created.
</em>
</p>
</li>
<li>
Verify that the release process completed as expected:
<ol>
- <li>The release plugin will create <code>pom.xml.tag</code> files which contain the changes that would
- have been committed. The only differences between <code>pom.xml.tag</code> and its corresponding
- <code>pom.xml</code> file should be the version number.
+ <li>The release plugin will create <tt>pom.xml.tag</tt> files which contain the changes that would
+ have been committed. The only differences between <tt>pom.xml.tag</tt> and its corresponding
+ <tt>pom.xml</tt> file should be the version number.
</li>
<li>
If other formatting changes have been made you should review the changes and then commit them:
<source>git commit -a -m "Fixing formatting for release"</source>
</li>
<li>
- Assuming the <code>.tag</code> files look OK you may proceed and do any other validation you feel
+ Assuming the <tt>.tag</tt> files look OK you may proceed and do any other validation you feel
necessary. The following list may be helpful:
<ol>
- <li>Check <code>release.properties</code> and make sure that the scm properties have the
+ <li>Check <tt>release.properties</tt> and make sure that the scm properties have the
right version. Sometimes the scm location can be the previous version not the next version.
</li>
<li>
@@ -244,7 +244,7 @@ gpg: Signature made ...]]></source>
</ol>
</li>
<li>
- Run the <code>release:prepare</code> step for real this time. You'll be prompted for the same version
+ Run the <tt>release:prepare</tt> step for real this time. You'll be prompted for the same version
information and optionally your GPG passphrase again.
<source>mvn -P apache-release release:prepare -Darguments="-P all,docker -DbuildNumber=syncope-$VERSION"</source>
</li>
@@ -378,7 +378,7 @@ svn copy docs/2.0/ $VERSION/docs/
svn commit -m "Staging site for release"]]></source>
</li>
<li>
- From <code>$SYNCOPE_RELEASE_DIR</code> execute (this step will create a maven staging repository):
+ From <tt>$SYNCOPE_RELEASE_DIR</tt> execute (this step will create a maven staging repository):
<source>mvn -P apache-release release:perform -Darguments="-P all,docker -DbuildNumber=syncope-$VERSION" [-Duser.name=<your_apache_uid>]</source>
<p>
@@ -401,14 +401,14 @@ svn commit -m "Staging site for release"]]></source>
<strong>Staging tab --> Name column --> org.apache.syncope</strong>
</li>
<li>Navigate through the artifact tree and make sure that all binary,
- <code>javadoc</code>,
- <code>sources</code>, and
- <code>tests</code> jars, as well as
- <code>poms</code>s, ... have
- <code>.asc</code> (GPG signature) and
+ <tt>javadoc</tt>,
+ <tt>sources</tt>, and
+ <tt>tests</tt> jars, as well as
+ <tt>poms</tt>s, ... have
+ <tt>.asc</tt> (GPG signature) and
files
<br/>
- The <code>syncope-$VERSION-source-release.zip</code>
+ The <tt>syncope-$VERSION-source-release.zip</tt>
should likewise have signature and checksum files.
</li>
</ol>
@@ -425,7 +425,7 @@ svn commit -m "Staging site for release"]]></source>
<strong>Staging tab --> Name column --> org.apache.syncope</strong>
</li>
<li>Right click on the open
- <code>org.apache.syncope-XXX</code> staging repo
+ <tt>org.apache.syncope-XXX</tt> staging repo
and select
<strong>Close</strong>.
</li>
@@ -460,7 +460,7 @@ git push]]></source>
<ol>
<li>
Create a
- <code>VOTE</code> email thread on
+ <tt>VOTE</tt> email thread on
<a href="mailto:dev@syncope.apache.org">syncope-dev</a> to record votes as replies, e.g.:
<pre><![CDATA[
To: dev@syncope.apache.org
@@ -547,7 +547,7 @@ Best regards.
<strong>Staging tab --> Name column --> org.apache.syncope</strong>
</li>
<li>Right click on the closed
- <code>org.apache.syncope-XXX</code> staging repo and select
+ <tt>org.apache.syncope-XXX</tt> staging repo and select
<strong>Release</strong>.
</li>
</ol>
@@ -604,7 +604,7 @@ svn commit -m "Promoting the staging site"]]></source>
<ol>
<li>
<p>Reply to the initial vote email prepending
- <code>[CANCELED]</code> to the original subject.
+ <tt>[CANCELED]</tt> to the original subject.
</p>
</li>
<li>
@@ -624,7 +624,7 @@ svn commit -m "Promoting the staging site"]]></source>
</li>
<li>
<p>Delete the GIT tag created by the
- <code>release:perform</code> step:
+ <tt>release:perform</tt> step:
</p>
<source>git tag -d $VERSION && git push origin</source>
</li>
@@ -646,7 +646,7 @@ svn commit -m "Promoting the staging site"]]></source>
<strong>Staging tab --> Name column --> org.apache.syncope</strong>
</li>
<li>Right click on the closed
- <code>org.apache.syncope-XXX</code> staging repo and select
+ <tt>org.apache.syncope-XXX</tt> staging repo and select
<strong>Drop</strong>.
</li>
</ol>
diff --git a/src/site/xdoc/security.xml b/src/site/xdoc/security.xml
index 9f1ceb3..4167a21 100644
--- a/src/site/xdoc/security.xml
+++ b/src/site/xdoc/security.xml
@@ -128,7 +128,7 @@ under the License.
<subsection name="CVE-2018-1322: Information disclosure via FIQL and ORDER BY sorting">
<p>An administrator with user search entitlements can recover sensitive security values using the
- <code>fiql</code> and <code>orderby</code> parameters.</p>
+ <tt>fiql</tt> and <tt>orderby</tt> parameters.</p>
<p>
<b>Severity</b>