{
- "name": "branding",
+ "name": "website",
"version": "1.0.0",
"devDependencies": {
"grunt": "~0.4.5",
<groupId>de.juplo</groupId>
- <artifactId>branding</artifactId>
- <name>Juplo - branding</name>
+ <artifactId>website</artifactId>
+ <name>Juplo - Website</name>
+ <description>WAR, that deliveres one ore more statically defined websites with thymeleaf-power layout-sugar</description>
<version>1.0-SNAPSHOT</version>
<packaging>war</packaging>
- <url>http://www.juplo.de/branding</url>
+ <url>http://www.juplo.de/website</url>
<prerequisites>
<scm>
- <connection>scm:git:http://juplo.de/git/branding</connection>
- <developerConnection>scm:git:ssh://juplo.de:/var/lib/git/juplo/branding</developerConnection>
- <url>http://juplo.de/gitweb/?p=branding;a=summary</url>
+ <connection>scm:git:http://juplo.de/git/website</connection>
+ <developerConnection>scm:git:ssh://juplo.de:/var/lib/git/juplo/website</developerConnection>
+ <url>http://juplo.de/gitweb/?p=website;a=summary</url>
</scm>
<build>
- <finalName>branding</finalName>
+ <finalName>website</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
- <source>1.6</source>
- <target>1.6</target>
+ <source>1.8</source>
+ <target>1.8</target>
<encoding>utf8</encoding>
<showWarnings>true</showWarnings>
</configuration>
+++ /dev/null
-branding.cacheable=true
http://www.springframework.org/schema/util/spring-util-4.0.xsd
">
- <!-- Anwendungs-Parameter über Java-Systemproperties auflösen -->
- <context:property-placeholder location="classpath:branding.properties" />
+ <!-- Resolve application-parameters through java-systemproperties -->
+ <context:property-placeholder location="classpath:website.properties" />
- <!-- Damit das DispatcherServlet auf /* gemappt werden kann -->
+ <!-- Necesarry, to map the DispatcherServlet on /* -->
<mvc:default-servlet-handler/>
<mvc:view-controller path="/" view-name="index"/>
<!-- Scann classpath for classes anntated as components -->
- <context:component-scan base-package="de.juplo.branding"/>
+ <context:component-scan base-package="de.juplo.website"/>
<bean class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
<property name="mappings">
<property name="suffix" value=".html" />
<property name="templateMode" value="HTML5" />
<property name="characterEncoding" value="UTF-8" />
- <property name="cacheable" value="${branding.cacheable}" />
+ <property name="cacheable" value="${website.cacheable}" />
</bean>
<!-- Thymeleaf Spring4-Template-Engine -->
--- /dev/null
+website.cacheable=true
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
- <display-name>branding</display-name>
+ <display-name>website</display-name>
<!-- Context Configuration locations for Spring XML files -->
<!-- Handles all requests into the application -->
<servlet>
- <servlet-name>Dispatcher Servlet - Branding</servlet-name>
+ <servlet-name>Dispatcher Servlet - Website</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
</servlet>
<servlet-mapping>
- <servlet-name>Dispatcher Servlet - Branding</servlet-name>
+ <servlet-name>Dispatcher Servlet - Website</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>