Styling für sehr kleine Bildschirmgrößen hinzugefügt
[website] / pom.xml
diff --git a/pom.xml b/pom.xml
index 3eaaa8f..6eea9ba 100644 (file)
--- a/pom.xml
+++ b/pom.xml
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 
     <!-- Verwendete Versionen -->
+    <jsp-api.version>2.2.1</jsp-api.version>
+    <jstl.version>1.2</jstl.version>
+    <servlet-api.version>3.0.1</servlet-api.version>
     <slf4j.version>1.5.8</slf4j.version>
+    <springframework.version>3.2.4.RELEASE</springframework.version>
     <tiles.version>3.0.1</tiles.version>
+    <wro4j.version>1.7.2</wro4j.version>
 
   </properties>
 
 
   <dependencies>
 
+    <!-- Spring -->
+    <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>spring-webmvc</artifactId>
+      <version>${springframework.version}</version>
+    </dependency>
+
     <!-- Tiles -->
     <dependency>
       <groupId>org.apache.tiles</groupId>
       <scope>runtime</scope>
     </dependency>
 
+    <!-- Servlet -->
+    <dependency>
+      <groupId>javax.servlet</groupId>
+      <artifactId>javax.servlet-api</artifactId>
+      <version>${servlet-api.version}</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>javax.servlet.jsp</groupId>
+      <artifactId>javax.servlet.jsp-api</artifactId>
+      <version>${jsp-api.version}</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>javax.servlet</groupId>
+      <artifactId>jstl</artifactId>
+      <version>${jstl.version}</version>
+      <scope>runtime</scope>
+    </dependency>
+
     <!-- Logging -->
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-api</artifactId>
+      <version>${slf4j.version}</version>
+    </dependency>
     <dependency>
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-log4j12</artifactId>
     <finalName>branding</finalName>
     <plugins>
       <plugin>
-        <groupId>org.lesscss</groupId>
-        <artifactId>lesscss-maven-plugin</artifactId>
-        <version>1.3.3</version>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <source>1.6</source>
+          <target>1.6</target>
+          <encoding>utf8</encoding>
+          <showWarnings>true</showWarnings>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>ro.isdc.wro4j</groupId>
+        <artifactId>wro4j-maven-plugin</artifactId>
+        <version>${wro4j.version}</version>
+        <configuration>
+          <wroManagerFactory>ro.isdc.wro.maven.plugin.manager.factory.ConfigurableWroManagerFactory</wroManagerFactory>
+          <cssDestinationFolder>${project.build.directory}/${project.build.finalName}/css/</cssDestinationFolder>
+          <jsDestinationFolder>${project.build.directory}/${project.build.finalName}/js/</jsDestinationFolder>
+        </configuration>
         <executions>
           <execution>
+            <phase>prepare-package</phase>
             <goals>
-              <goal>compile</goal>
+              <goal>run</goal>
             </goals>
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <artifactId>maven-war-plugin</artifactId>
+        <configuration>
+          <warSourceExcludes>
+            WEB-INF/wro.*,
+            js/**,
+            less/**
+          </warSourceExcludes>
+        </configuration>
+      </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-source-plugin</artifactId>
       <plugin>
         <groupId>org.eclipse.jetty</groupId>
         <artifactId>jetty-maven-plugin</artifactId>
+        <configuration>
+          <webApp>
+            <overrideDescriptor>${project.basedir}/src/test/resources/jetty-web.xml</overrideDescriptor>
+          </webApp>
+        </configuration>
+        <dependencies>
+          <dependency>
+            <groupId>ro.isdc.wro4j</groupId>
+            <artifactId>wro4j-core</artifactId>
+            <version>${wro4j.version}</version>
+          </dependency>
+          <dependency>
+            <groupId>ro.isdc.wro4j</groupId>
+            <artifactId>wro4j-extensions</artifactId>
+            <version>${wro4j.version}</version>
+            <exclusions>
+              <exclusion>
+                <groupId>javax.servlet</groupId>
+                <artifactId>servlet-api</artifactId>
+              </exclusion>
+              <exclusion>
+                <groupId>org.apache.commons</groupId>
+                <artifactId>commons-lang3</artifactId>
+              </exclusion>
+              <exclusion>
+                <groupId>commons-io</groupId>
+                <artifactId>commons-io</artifactId>
+              </exclusion>
+              <exclusion>
+                <groupId>org.springframework</groupId>
+                <artifactId>spring-web</artifactId>
+              </exclusion>
+              <exclusion>
+                <groupId>com.google.code.gson</groupId>
+                <artifactId>gson</artifactId>
+              </exclusion>
+              <exclusion>
+                <groupId>com.google.javascript</groupId>
+                <artifactId>closure-compiler</artifactId>
+              </exclusion>
+              <exclusion>
+                <groupId>com.github.lltyk</groupId>
+                <artifactId>dojo-shrinksafe</artifactId>
+              </exclusion>
+              <exclusion>
+                <groupId>org.jruby</groupId>
+                <artifactId>jruby-core</artifactId>
+              </exclusion>
+              <exclusion>
+                <groupId>org.jruby</groupId>
+                <artifactId>jruby-stdlib</artifactId>
+              </exclusion>
+              <exclusion>
+                <groupId>me.n4u.sass</groupId>
+                <artifactId>sass-gems</artifactId>
+              </exclusion>
+              <exclusion>
+                <groupId>nz.co.edmi</groupId>
+                <artifactId>bourbon-gem-jar</artifactId>
+              </exclusion>
+              <exclusion>
+                <groupId>org.codehaus.gmaven.runtime</groupId>
+                <artifactId>gmaven-runtime-1.7</artifactId>
+              </exclusion>
+              <exclusion>
+                <groupId>org.webjars</groupId>
+                <artifactId>jshint</artifactId>
+              </exclusion>
+              <exclusion>
+                <groupId>org.webjars</groupId>
+                <artifactId>emberjs</artifactId>
+              </exclusion>
+              <exclusion>
+                <groupId>org.webjars</groupId>
+                <artifactId>handlebars</artifactId>
+              </exclusion>
+              <exclusion>
+                <groupId>org.webjars</groupId>
+                <artifactId>coffee-script</artifactId>
+              </exclusion>
+              <exclusion>
+                <groupId>org.webjars</groupId>
+                <artifactId>jslint</artifactId>
+              </exclusion>
+              <exclusion>
+                <groupId>org.webjars</groupId>
+                <artifactId>json2</artifactId>
+              </exclusion>
+              <exclusion>
+                <groupId>org.webjars</groupId>
+                <artifactId>jquery</artifactId>
+              </exclusion>
+            </exclusions>
+          </dependency>
+        </dependencies>
       </plugin>
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
           <uriEncoding>UTF-8</uriEncoding>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>com.google.appengine</groupId>
+        <artifactId>appengine-maven-plugin</artifactId>
+        <version>1.8.2</version>
+      </plugin>
     </plugins>
   </build>