diff --git a/assembly/pom.xml b/assembly/pom.xml index 39a117712..af565eb19 100644 --- a/assembly/pom.xml +++ b/assembly/pom.xml @@ -30,7 +30,7 @@ org.apache.tiles tiles-parent - 3.0.0-SNAPSHOT + 3.0.9-SNAPSHOT @@ -58,6 +58,13 @@ + + + org.apache.maven.wagon + wagon-ssh + 2.5 + + @@ -67,12 +74,12 @@ org.apache.maven.plugins maven-assembly-plugin - 2.2-beta-4 + 3.1.0 make-assembly - attached + single package @@ -93,6 +100,28 @@ true + + net.nicoulaj.maven.plugins + checksum-maven-plugin + 1.6 + + + + artifacts + + + + + true + + + + org.apache.maven.plugins + maven-gpg-plugin + + ${project.build.directory}/.. + + org.apache.maven.plugins maven-antrun-plugin @@ -192,12 +221,9 @@ jar - org.slf4j - slf4j-jdk14 - 1.5.8 - runtime + slf4j-api diff --git a/assembly/src/site/site.xml b/assembly/src/site/site.xml index f7e677d03..de31de869 100644 --- a/assembly/src/site/site.xml +++ b/assembly/src/site/site.xml @@ -22,19 +22,65 @@ */ --> + + org.apache.maven.skins + maven-fluido-skin + 1.3.0 + + + + true + false + true + + apache/tiles + right + darkblue + + + + + Apache Tiles™ + http://tiles.apache.org/images/logo.png + http://tiles.apache.org + + + Apache Software Foundation + http://struts.apache.org/images/asf-logo.gif + http://www.apache.org + + name="Tiles 3.0.x" + href="../../framework/index.html"/> + + + + ${modules} ${reports} + +
+
+ Apache Tiles, Tiles, Apache, the Apache feather logo, and the Apache Tiles + project logos are trademarks of The Apache Software Foundation. +
+
diff --git a/pom.xml b/pom.xml index 77ea58404..364912964 100644 --- a/pom.xml +++ b/pom.xml @@ -26,14 +26,14 @@ tiles-master org.apache.tiles - 4 + 6 4.0.0 org.apache.tiles tiles-parent - 3.0.0-SNAPSHOT + 3.0.9-SNAPSHOT pom Tiles 3 Tiles 3: A framework for page composition. @@ -71,7 +71,7 @@ apache-site - scp://people.apache.org/www/tiles.apache.org/framework + scm:svn:https://svn.apache.org/repos/asf/tiles/site/staging/framework @@ -216,14 +216,13 @@ org.slf4j - slf4j-jdk14 - 1.5.8 - true + slf4j-api + 1.7.6 org.slf4j jcl-over-slf4j - 1.5.8 + 1.7.6 true @@ -255,6 +254,10 @@ 2.3.7 true
+ + maven-remote-resources-plugin + 1.5 + @@ -292,11 +295,11 @@ - org.apache.maven.plugins - maven-release-plugin + org.apache.maven.plugins + maven-scm-publish-plugin + true - apache-release - deploy site-deploy + scm:svn:https://svn.apache.org/repos/asf/tiles/site/staging/framework @@ -312,11 +315,18 @@ target/osgi/MANIFEST.MF UTF-8 - 1.0.0 - 1.0.0 + 1.0.7 + 1.2 - + + + org.slf4j + slf4j-simple + 1.5.8 + test + + diff --git a/src/site/apt/config-reference.apt b/src/site/apt/config-reference.apt index 71a7b6dce..8dd602c5e 100644 --- a/src/site/apt/config-reference.apt +++ b/src/site/apt/config-reference.apt @@ -143,9 +143,14 @@ Configuring Tiles internals The reason to use a custom Tiles application context could be: - * supporting a platform not supported yet; + * supporting a platform not supported yet; - * providing custom behaviour, such as loading resources in a different manner. + * providing custom behaviour, such as loading resources in a different manner. + + + When loading resources (by {{{/tiles-request/apidocs/org/apache/tiles/request/locale/PostfixedApplicationResource.html}default}}) + an underscore in the name of a file is used to indicate locale information. + See the documentation for {{{/framework/tutorial/advanced/l10n.html}localization}}. * Custom {TilesContainerFactory} @@ -160,41 +165,41 @@ Configuring Tiles internals {{{./apidocs/org/apache/tiles/factory/BasicTilesContainerFactory.html}Javadoc documentation of BasicTilesContainerFactory}} documents all the methods that can be overridden to use your own configuration. - + ** Changing the path for the Tiles Definitions file The <<>> loads the "/WEB-INF/tiles.xml" file; the <<>> loads all the files named "tiles*.xml" under /WEB-INF and under every META-INF in any part of the classpath. - + If this behaviour doesn't suits you, you can override the method <<>> and retrieve whatever resource you prefer. Just specify the path for the default locale; Tiles will extrapolate and load the localized files as needed. * Custom components These components can be used by overriding the appropriate <<>> method in a custom TilesContainerFactory. - + ** Custom {LocaleResolver} - + The default implementation is {{{./apidocs/org/apache/tiles/locale/impl/DefaultLocaleResolver.html}DefaultLocaleResolver}}. ** Custom {DefinitionDAO} The default implementation is {{{./apidocs/org/apache/tiles/definition/dao/ResolvingLocaleUrlDefinitionDAO.html}ResolvingLocaleUrlDefinitionDAO}}. - + ** Custom {AttributeEvaluatorFactory} The default implementation is {{{./apidocs/org/apache/tiles/evaluator/BasicAttributeEvaluatorFactory.html}BasicAttributeEvaluatorFactory}}. - + It can be used with a number of AttributeEvaluators like: - - * the {{{./apidocs/org/apache/tiles/evaluator/impl/DirectAttributeEvaluator.html}DirectAttributeEvaluator}}, - * the {{{./apidocs/org/apache/tiles/el/ELAttributeEvaluator.html}ELAttributeEvaluator}}, + * the {{{./apidocs/org/apache/tiles/evaluator/impl/DirectAttributeEvaluator.html}DirectAttributeEvaluator}}, + + * the {{{./apidocs/org/apache/tiles/el/ELAttributeEvaluator.html}ELAttributeEvaluator}}, + + * the {{{./apidocs/org/apache/tiles/mvel/MVELAttributeEvaluator.html}MVELAttributeEvaluator}}, - * the {{{./apidocs/org/apache/tiles/mvel/MVELAttributeEvaluator.html}MVELAttributeEvaluator}}, + * the {{{./apidocs/org/apache/tiles/ognl/OGNLAttributeEvaluator.html}OGNLAttributeEvaluator}}. - * the {{{./apidocs/org/apache/tiles/ognl/OGNLAttributeEvaluator.html}OGNLAttributeEvaluator}}. - Please see {{{./xref/org/apache/tiles/extras/complete/CompleteAutoloadTilesContainerFactory.html}CompleteAutoloadTilesContainerFactory}} for an example of how to configure those. @@ -214,20 +219,20 @@ Configuring Tiles internals The default implementation is {{{./apidocs/org/apache/tiles/definition/pattern/BasicPatternDefinitionResolver.html}BasicPatternDefinitionResolver}}, that implements the syntax. - - <<>> defines a <<>> to enable the use of + + <<>> defines a <<>> to enable the use of both the syntax and the syntax, with appropriate prefixes. * Registering {Renderers} Custom {{{/tiles-request/apidocs/org/apache/tiles/request/render/Renderer.html}Renderers}} can be registered by overriding the methods <<>> and <<>>. - + <<>> registers 3 renderers: <<>>, <<