Paket umbenannt und überarbeitet (Feinschliff)
authorKai Moritz <kai@juplo.de>
Tue, 24 Jan 2017 14:04:51 +0000 (15:04 +0100)
committerKai Moritz <kai@juplo.de>
Wed, 28 Jun 2017 09:13:03 +0000 (11:13 +0200)
package.json
pom.xml
src/main/resources/branding.properties [deleted file]
src/main/resources/spring/mvc.xml
src/main/resources/website.properties [new file with mode: 0644]
src/main/webapp/WEB-INF/web.xml

index 05027f8..9fcdeb0 100644 (file)
@@ -1,5 +1,5 @@
 {
-  "name": "branding",
+  "name": "website",
   "version": "1.0.0",
   "devDependencies": {
     "grunt": "~0.4.5",
diff --git a/pom.xml b/pom.xml
index 1f38b11..7d35979 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -5,11 +5,12 @@
 
 
   <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>
@@ -18,9 +19,9 @@
 
 
   <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>
diff --git a/src/main/resources/branding.properties b/src/main/resources/branding.properties
deleted file mode 100644 (file)
index 5fea927..0000000
+++ /dev/null
@@ -1 +0,0 @@
-branding.cacheable=true
index bd79207..04c5637 100644 (file)
            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">
@@ -58,7 +58,7 @@
     <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 -->
diff --git a/src/main/resources/website.properties b/src/main/resources/website.properties
new file mode 100644 (file)
index 0000000..4f5e8dd
--- /dev/null
@@ -0,0 +1 @@
+website.cacheable=true
index a204d6b..763fc1b 100644 (file)
@@ -4,7 +4,7 @@
   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 -->
 
@@ -44,7 +44,7 @@
   <!-- 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>
@@ -55,7 +55,7 @@
   </servlet>
 
   <servlet-mapping>
-    <servlet-name>Dispatcher Servlet - Branding</servlet-name>
+    <servlet-name>Dispatcher Servlet - Website</servlet-name>
     <url-pattern>/</url-pattern>
   </servlet-mapping>