myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1410495 - in /myfaces/core/branches/2.2.x: ./ impl/ impl/src/main/java/org/apache/myfaces/ee6/ impl/src/main/resources/META-INF/services/ implee6/src/main/java/org/apache/myfaces/ee6/ implee6/src/main/resources/META-INF/services/
Date Fri, 16 Nov 2012 17:28:42 GMT
Author: struberg
Date: Fri Nov 16 17:28:41 2012
New Revision: 1410495

URL: http://svn.apache.org/viewvc?rev=1410495&view=rev
Log:
MYFACES-3649 handle servlet-3.0 directly in core/impl


Added:
    myfaces/core/branches/2.2.x/impl/src/main/java/org/apache/myfaces/ee6/
    myfaces/core/branches/2.2.x/impl/src/main/java/org/apache/myfaces/ee6/MyFacesContainerInitializer.java
  (props changed)
      - copied unchanged from r1410239, myfaces/core/branches/2.2.x/implee6/src/main/java/org/apache/myfaces/ee6/MyFacesContainerInitializer.java
    myfaces/core/branches/2.2.x/impl/src/main/resources/META-INF/services/javax.servlet.ServletContainerInitializer
  (props changed)
      - copied unchanged from r1410239, myfaces/core/branches/2.2.x/implee6/src/main/resources/META-INF/services/javax.servlet.ServletContainerInitializer
Removed:
    myfaces/core/branches/2.2.x/implee6/src/main/java/org/apache/myfaces/ee6/MyFacesContainerInitializer.java
    myfaces/core/branches/2.2.x/implee6/src/main/resources/META-INF/services/javax.servlet.ServletContainerInitializer
Modified:
    myfaces/core/branches/2.2.x/impl/pom.xml
    myfaces/core/branches/2.2.x/pom.xml

Modified: myfaces/core/branches/2.2.x/impl/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.2.x/impl/pom.xml?rev=1410495&r1=1410494&r2=1410495&view=diff
==============================================================================
--- myfaces/core/branches/2.2.x/impl/pom.xml (original)
+++ myfaces/core/branches/2.2.x/impl/pom.xml Fri Nov 16 17:28:41 2012
@@ -645,125 +645,6 @@
 
 
     <profiles>
-        <!-- 
-        <profile>
-            <id>add-shared-dependency</id>
-            <activation>
-                <property>
-                    <name>dev</name>
-                    <value>true</value>
-                </property>
-            </activation>
-            <dependencies>
-                <dependency>
-                    <groupId>org.apache.myfaces.shared</groupId>
-                    <artifactId>myfaces-shared-impl</artifactId>
-                    <scope>compile</scope>
-                </dependency>
-            </dependencies>
-        </profile>
-
-        <profile>
-            <id>unpack-shared</id>
-            <activation>
-                <property>
-                    <name>!dev</name>
-                </property>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-dependency-plugin</artifactId>
-                        <version>2.0</version>
-                        <executions>
-                            
-                            <execution>
-                                <id>unpack-shared-impl</id>
-                                <phase>process-classes</phase>
-                                <goals>
-                                    <goal>unpack</goal>
-                                </goals>
-                                <configuration>
-                                    <artifactItems>
-                                        <artifactItem>
-                                            <groupId>org.apache.myfaces.shared</groupId>
-                                            <artifactId>myfaces-shared-impl</artifactId>
-                                            <version>${myfaces-shared.version}</version>
-                                            <excludes>META-INF/DEPENDENCIES,META-INF/LICENSE,META-INF/NOTICE,META-INF/MANIFEST.MF</excludes>
-                                        </artifactItem>
-                                    </artifactItems>
-                                    <outputDirectory>${project.build.directory}/classes</outputDirectory>
-                                </configuration>
-                            </execution>
-                            
-                            <execution>
-                                <id>unpack-shared-impl-sources</id>
-                                <phase>process-sources</phase>
-                                <goals>
-                                    <goal>unpack</goal>
-                                </goals>
-                                <configuration>
-                                    <artifactItems>
-                                        <artifactItem>
-                                            <groupId>org.apache.myfaces.shared</groupId>
-                                            <artifactId>myfaces-shared-impl</artifactId>
-                                            <version>${myfaces-shared.version}</version>
-                                            <classifier>sources</classifier>
-                                            <excludes>META-INF/**</excludes>
-                                        </artifactItem>
-                                    </artifactItems>
-                                    <outputDirectory>${project.build.directory}/shared_sources</outputDirectory>
-                                </configuration>
-                            </execution>
-                            
-                            <execution>
-                                <id>unpack-impl-ee6</id>
-                                <phase>process-resources</phase>
-                                <goals>
-                                  <goal>unpack</goal>
-                                </goals>
-                                <configuration>
-                                  <artifactItems>
-                                    <artifactItem>
-                                      <groupId>org.apache.myfaces.core.internal</groupId>
-                                      <artifactId>myfaces-impl-ee6</artifactId>
-                                      <version>${project.version}</version>
-                                    </artifactItem>
-                                  </artifactItems>
-                                  <includes>org/**</includes>
-                                  <outputDirectory>${project.build.directory}/classes</outputDirectory>
-                                </configuration>
-                            </execution>
-                      
-                        </executions>
-                    </plugin>
-                    
-                    <plugin>
-                        <groupId>org.codehaus.mojo</groupId>
-                        <artifactId>build-helper-maven-plugin</artifactId>
-                        <version>1.0</version>
-                        <executions>
-                            <execution>
-                                <id>add-source-shared</id>
-                                <phase>process-sources</phase>
-                                <goals>
-                                    <goal>add-source</goal>
-                                </goals>
-                                <configuration>
-                                    <sources>
-                                        <source>${project.build.directory}/shared_sources</source>
-                                    </sources>
-                                </configuration>
-                            </execution>
-                        </executions>
-                    </plugin>
-
-                </plugins>
-            </build>
-        </profile>
-        -->
-
         <!--
           - Whenever the full website is generated, the command
           -   mvn -Pgenerate-site -Pgenerate-tlddoc site
@@ -1076,6 +957,37 @@
             </pluginRepositories>
         </profile>
 
+        <profile>
+            <id>ee5</id>
+            <dependencies>
+                <!-- disable Servlet 3.0 -->
+                <dependency>
+                    <groupId>org.apache.geronimo.specs</groupId>
+                    <artifactId>geronimo-servlet_3.0_spec</artifactId>
+                    <scope>test</scope> <!-- just to make it go away -->
+                </dependency>
+
+                <!-- and enable Servlet 2.5 -->
+                <dependency>
+                    <groupId>org.apache.geronimo.specs</groupId>
+                    <artifactId>geronimo-servlet_2.5_spec</artifactId>
+                </dependency>
+            </dependencies>
+
+            <build>
+              <plugins>
+                  <plugin>
+                      <groupId>org.apache.maven.plugins</groupId>
+                      <artifactId>maven-compiler-plugin</artifactId>
+                      <configuration>
+                          <excludes>
+                              <exclude>src/main/java/org/apache/myfaces/ee6</exclude>
+                          </excludes>
+                      </configuration>
+                  </plugin>
+              </plugins>
+            </build>
+        </profile>
     </profiles>
 
     
@@ -1118,10 +1030,10 @@
             <optional>true</optional> <!-- optional does not completely work
in dependencyManagement (MNG-1630) -->
         </dependency>
 
-        <!-- Servlet 2.5 -->
+        <!-- Servlet 3.0 by default. Use the -Pee5 compile for servlet-2.5 -->
         <dependency>
             <groupId>org.apache.geronimo.specs</groupId>
-            <artifactId>geronimo-servlet_2.5_spec</artifactId>
+            <artifactId>geronimo-servlet_3.0_spec</artifactId>
         </dependency>
 
         <!-- JSP 2.1 -->

Propchange: myfaces/core/branches/2.2.x/impl/src/main/java/org/apache/myfaces/ee6/MyFacesContainerInitializer.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/core/branches/2.2.x/impl/src/main/java/org/apache/myfaces/ee6/MyFacesContainerInitializer.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: myfaces/core/branches/2.2.x/impl/src/main/java/org/apache/myfaces/ee6/MyFacesContainerInitializer.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: myfaces/core/branches/2.2.x/impl/src/main/resources/META-INF/services/javax.servlet.ServletContainerInitializer
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: myfaces/core/branches/2.2.x/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.2.x/pom.xml?rev=1410495&r1=1410494&r2=1410495&view=diff
==============================================================================
--- myfaces/core/branches/2.2.x/pom.xml (original)
+++ myfaces/core/branches/2.2.x/pom.xml Fri Nov 16 17:28:41 2012
@@ -50,8 +50,10 @@
     <modules>
         <module>parent</module>
         <module>api</module>
+<!-- TODO remove finally
         <module>shaded-impl</module>
         <module>implee6</module>
+-->
         <module>shared-public</module>
         <module>shared</module>
         <module>impl</module>



Mime
View raw message