[seam-commits] Seam SVN: r14419 - in branches/community/Seam_2_3/examples-ee6: blog/blog-ejb and 1 other directory.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Fri Mar 16 16:33:11 EDT 2012


Author: dhinojosa
Date: 2012-03-16 16:33:10 -0400 (Fri, 16 Mar 2012)
New Revision: 14419

Modified:
   branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/pom.xml
   branches/community/Seam_2_3/examples-ee6/pom.xml
Log:
adjusted pom.xmls for blog-ejb and turned it on in the examples-ee6 pom.xml

Modified: branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/pom.xml	2012-03-16 08:42:32 UTC (rev 14418)
+++ branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/pom.xml	2012-03-16 20:33:10 UTC (rev 14419)
@@ -45,124 +45,113 @@
          <groupId>com.sun.faces</groupId>
          <artifactId>jsf-api</artifactId>
       </dependency>
-
+      <dependency>
+         <groupId>org.apache.lucene</groupId>
+         <artifactId>lucene-core</artifactId>
+         <version>2.9.4</version>
+      </dependency>
+      <dependency>
+         <groupId>org.apache.solr</groupId>
+         <artifactId>solr-lucene-analyzers</artifactId>
+         <version>1.3.0</version>
+      </dependency>
+      <dependency>
+         <groupId>org.hibernate</groupId>
+         <artifactId>hibernate-search</artifactId>
+         <exclusions>
+            <exclusion>
+               <groupId>org.hibernate</groupId>
+               <artifactId>hibernate-core</artifactId>
+            </exclusion>
+            <exclusion>
+               <groupId>org.hibernate</groupId>
+               <artifactId>ejb3-persistence</artifactId>
+            </exclusion>
+            <exclusion>
+               <groupId>javax.transaction</groupId>
+               <artifactId>jta</artifactId>
+            </exclusion>
+            <exclusion>
+               <groupId>hsqldb</groupId>
+               <artifactId>hsqldb</artifactId>
+            </exclusion>
+         </exclusions>
+      </dependency>
+      <dependency>
+         <groupId>org.hibernate</groupId>
+         <artifactId>hibernate-annotations</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>jboss</groupId>
+         <artifactId>jboss-cache</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>jgroups</groupId>
+         <artifactId>jgroups</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.apache.solr</groupId>
+         <artifactId>solr-core</artifactId>
+         <version>3.5.0</version>
+         <exclusions>
+            <exclusion>
+               <groupId>commons-httpclient</groupId>
+               <artifactId>commons-httpclient</artifactId>
+            </exclusion>
+            <exclusion>
+               <groupId>commons-fileupload</groupId>
+               <artifactId>commons-fileupload</artifactId>
+            </exclusion>
+            <exclusion>
+               <groupId>woodstox</groupId>
+               <artifactId>wstx-asl</artifactId>
+            </exclusion>
+            <exclusion>
+               <groupId>org.apache.solr</groupId>
+               <artifactId>solr-commons-csv</artifactId>
+            </exclusion>
+            <exclusion>
+               <groupId>org.apache.geronimo.specs</groupId>
+               <artifactId>geronimo-stax-api_1.0_spec</artifactId>
+            </exclusion>
+            <exclusion>
+               <groupId>org.apache.solr</groupId>
+               <artifactId>solr-solrj</artifactId>
+            </exclusion>
+            <exclusion>
+               <groupId>org.codehaus.woodstox</groupId>
+               <artifactId>wstx-asl</artifactId>
+            </exclusion>
+            <exclusion>
+               <groupId>org.apache.solr</groupId>
+               <artifactId>solr-lucene-highlighter</artifactId>
+            </exclusion>
+            <exclusion>
+               <groupId>org.apache.solr</groupId>
+               <artifactId>solr-lucene-queries</artifactId>
+            </exclusion>
+            <exclusion>
+               <groupId>org.apache.solr</groupId>
+               <artifactId>solr-lucene-spellchecker</artifactId>
+            </exclusion>
+            <exclusion>
+               <groupId>net.java.dev.stax-utils</groupId>
+               <artifactId>stax-utils</artifactId>
+            </exclusion>
+         </exclusions>
+      </dependency>
+      <dependency>
+         <groupId>org.apache.solr</groupId>
+         <artifactId>solr-lucene-snowball</artifactId>
+         <version>1.3.0</version>
+         <exclusions>
+            <exclusion>
+               <groupId>org.apache.solr</groupId>
+               <artifactId>solr-lucene-core</artifactId>
+            </exclusion>
+         </exclusions>
+      </dependency>
       <!--<dependency>-->
-      <!--<groupId>org.hibernate</groupId>-->
-      <!--<artifactId>hibernate-annotations</artifactId>-->
-      <!--</dependency>-->
-      <!--<dependency>-->
-      <!--<groupId>org.hibernate</groupId>-->
-      <!--<artifactId>hibernate-entitymanager</artifactId>-->
-      <!--</dependency>-->
-      <!--<dependency>-->
-      <!--<groupId>org.hibernate</groupId>-->
-      <!--<artifactId>hibernate-search</artifactId>-->
-      <!--<exclusions>-->
-      <!--<exclusion>-->
-      <!--<groupId>org.hibernate</groupId>-->
-      <!--<artifactId>hibernate-core</artifactId>-->
-      <!--</exclusion>-->
-      <!--<exclusion>-->
-      <!--<groupId>org.hibernate</groupId>-->
-      <!--<artifactId>ejb3-persistence</artifactId>-->
-      <!--</exclusion>-->
-      <!--<exclusion>-->
-      <!--<groupId>javax.transaction</groupId>-->
-      <!--<artifactId>jta</artifactId>-->
-      <!--</exclusion>-->
-      <!--<exclusion>-->
-      <!--<groupId>hsqldb</groupId>-->
-      <!--<artifactId>hsqldb</artifactId>-->
-      <!--</exclusion>-->
-      <!--</exclusions>-->
-      <!--</dependency>-->
-      <!--<dependency>-->
-      <!--<groupId>jboss</groupId>-->
-      <!--<artifactId>jboss-cache</artifactId>-->
-      <!--</dependency>-->
-      <!--<dependency>-->
-      <!--<groupId>jgroups</groupId>-->
-      <!--<artifactId>jgroups</artifactId>-->
-      <!--</dependency>-->
-      <!--<dependency>-->
-      <!--<groupId>org.apache.lucene</groupId>-->
-      <!--<artifactId>lucene-core</artifactId>-->
-      <!--<version>2.9.4</version>-->
-      <!--</dependency>-->
-      <!--<dependency>-->
-      <!--<groupId>org.apache.solr</groupId>-->
-      <!--<artifactId>solr-core</artifactId>-->
-      <!--<version>3.5.0</version>-->
-      <!--<exclusions>-->
-      <!--<exclusion>-->
-      <!--<groupId>commons-httpclient</groupId>-->
-      <!--<artifactId>commons-httpclient</artifactId>-->
-      <!--</exclusion>-->
-      <!--<exclusion>-->
-      <!--<groupId>commons-fileupload</groupId>-->
-      <!--<artifactId>commons-fileupload</artifactId>-->
-      <!--</exclusion>-->
-      <!--<exclusion>-->
-      <!--<groupId>woodstox</groupId>-->
-      <!--<artifactId>wstx-asl</artifactId>-->
-      <!--</exclusion>-->
-      <!--<exclusion>-->
-      <!--<groupId>org.apache.solr</groupId>-->
-      <!--<artifactId>solr-commons-csv</artifactId>-->
-      <!--</exclusion>-->
-      <!--<exclusion>-->
-      <!--<groupId>org.apache.geronimo.specs</groupId>-->
-      <!--<artifactId>geronimo-stax-api_1.0_spec</artifactId>-->
-      <!--</exclusion>-->
-      <!--<exclusion>-->
-      <!--<groupId>org.apache.solr</groupId>-->
-      <!--<artifactId>solr-solrj</artifactId>-->
-      <!--</exclusion>-->
-      <!--<exclusion>-->
-      <!--<groupId>org.codehaus.woodstox</groupId>-->
-      <!--<artifactId>wstx-asl</artifactId>-->
-      <!--</exclusion>-->
-      <!--<exclusion>-->
-      <!--<groupId>org.apache.solr</groupId>-->
-      <!--<artifactId>solr-lucene-highlighter</artifactId>-->
-      <!--</exclusion>-->
-      <!--<exclusion>-->
-      <!--<groupId>org.apache.solr</groupId>-->
-      <!--<artifactId>solr-lucene-queries</artifactId>-->
-      <!--</exclusion>-->
-      <!--<exclusion>-->
-      <!--<groupId>org.apache.solr</groupId>-->
-      <!--<artifactId>solr-lucene-spellchecker</artifactId>-->
-      <!--</exclusion>-->
-      <!--<exclusion>-->
-      <!--<groupId>net.java.dev.stax-utils</groupId>-->
-      <!--<artifactId>stax-utils</artifactId>-->
-      <!--</exclusion>-->
-      <!--</exclusions>-->
-      <!--</dependency>-->
-      <!--<dependency>-->
-      <!--<groupId>org.apache.solr</groupId>-->
-      <!--<artifactId>solr-lucene-analyzers</artifactId>-->
-      <!--<version>1.3.0</version>-->
-      <!--<exclusions>-->
-      <!--<exclusion>-->
-      <!--<groupId>org.apache.solr</groupId>-->
-      <!--<artifactId>solr-lucene-core</artifactId>-->
-      <!--</exclusion>-->
-      <!--</exclusions>-->
-      <!--</dependency>-->
-      <!--<dependency>-->
-      <!--<groupId>org.apache.solr</groupId>-->
-      <!--<artifactId>solr-lucene-snowball</artifactId>-->
-      <!--<version>1.3.0</version>-->
-      <!--<exclusions>-->
-      <!--<exclusion>-->
-      <!--<groupId>org.apache.solr</groupId>-->
-      <!--<artifactId>solr-lucene-core</artifactId>-->
-      <!--</exclusion>-->
-      <!--</exclusions>-->
-      <!--</dependency>-->
-      <!--<dependency>-->
       <!--<groupId>javax.servlet</groupId>-->
       <!--<artifactId>servlet-api</artifactId>-->
       <!--<scope>provided</scope>-->
@@ -176,4 +165,226 @@
       <!--<artifactId>jsf-api</artifactId>-->
       <!--</dependency>-->
    </dependencies>
+   <profiles>
+      <profile>
+         <id>jbossas51</id>
+         <activation>
+            <activeByDefault>true</activeByDefault>
+         </activation>
+         <build>
+            <plugins>
+               <plugin>
+                  <groupId>org.codehaus.mojo</groupId>
+                  <artifactId>build-helper-maven-plugin</artifactId>
+                  <executions>
+                     <execution>
+                        <id>add-source</id>
+                        <phase>generate-sources</phase>
+                        <goals>
+                           <goal>add-source</goal>
+                        </goals>
+                        <configuration>
+                           <sources>
+                              <source>src/jboss5/java</source>
+                           </sources>
+                        </configuration>
+                     </execution>
+                  </executions>
+               </plugin>
+            </plugins>
+         </build>
+      </profile>
+      <profile>
+         <id>jbossas6</id>
+         <dependencies>
+            <dependency>
+               <groupId>org.hibernate</groupId>
+               <artifactId>hibernate-search</artifactId>
+               <version>${hibernate.search.version}</version>
+               <exclusions>
+                  <exclusion>
+                     <groupId>org.hibernate</groupId>
+                     <artifactId>hibernate-core</artifactId>
+                  </exclusion>
+                  <exclusion>
+                     <groupId>org.hibernate</groupId>
+                     <artifactId>ejb3-persistence</artifactId>
+                  </exclusion>
+                  <exclusion>
+                     <groupId>javax.transaction</groupId>
+                     <artifactId>jta</artifactId>
+                  </exclusion>
+                  <exclusion>
+                     <groupId>hsqldb</groupId>
+                     <artifactId>hsqldb</artifactId>
+                  </exclusion>
+                  <exclusion>
+                     <groupId>org.hibernate</groupId>
+                     <artifactId>hibernate-commons-annotations</artifactId>
+                  </exclusion>
+               </exclusions>
+            </dependency>
+            <dependency>
+               <groupId>org.apache.solr</groupId>
+               <artifactId>solr-core</artifactId>
+               <scope>provided</scope>
+            </dependency>
+            <dependency>
+               <groupId>org.apache.solr</groupId>
+               <artifactId>solr-lucene-analyzers</artifactId>
+               <scope>provided</scope>
+            </dependency>
+            <dependency>
+               <groupId>org.apache.solr</groupId>
+               <artifactId>solr-lucene-snowball</artifactId>
+               <scope>provided</scope>
+            </dependency>
+            <dependency>
+               <groupId>org.apache.lucene</groupId>
+               <artifactId>lucene-snowball</artifactId>
+               <version>${org.apache.lucene.version}</version>
+            </dependency>
+            <dependency>
+               <groupId>org.apache.lucene</groupId>
+               <artifactId>lucene-core</artifactId>
+               <version>${org.apache.lucene.version}</version>
+            </dependency>
+         </dependencies>
+         <build>
+            <plugins>
+               <plugin>
+                  <groupId>org.codehaus.mojo</groupId>
+                  <artifactId>build-helper-maven-plugin</artifactId>
+                  <executions>
+                     <execution>
+                        <id>add-source</id>
+                        <phase>generate-sources</phase>
+                        <goals>
+                           <goal>add-source</goal>
+                        </goals>
+                        <configuration>
+                           <sources>
+                              <source>src/jboss6/java</source>
+                           </sources>
+                        </configuration>
+                     </execution>
+                  </executions>
+               </plugin>
+            </plugins>
+         </build>
+      </profile>
+      <profile>
+         <id>jbossas42</id>
+         <dependencies>
+            <dependency>
+               <groupId>org.hibernate</groupId>
+               <artifactId>hibernate-search</artifactId>
+               <exclusions>
+                  <exclusion>
+                     <groupId>org.hibernate</groupId>
+                     <artifactId>ejb3-persistence</artifactId>
+                  </exclusion>
+                  <exclusion>
+                     <groupId>javax.transaction</groupId>
+                     <artifactId>jta</artifactId>
+                  </exclusion>
+                  <exclusion>
+                     <groupId>hsqldb</groupId>
+                     <artifactId>hsqldb</artifactId>
+                  </exclusion>
+               </exclusions>
+            </dependency>
+            <dependency>
+               <groupId>org.hibernate</groupId>
+               <artifactId>hibernate-validator</artifactId>
+               <scope>compile</scope>
+            </dependency>
+            <dependency>
+               <groupId>org.hibernate</groupId>
+               <artifactId>hibernate-annotations</artifactId>
+               <scope>compile</scope>
+               <exclusions>
+                  <exclusion>
+                     <groupId>org.hibernate</groupId>
+                     <artifactId>ejb3-persistence</artifactId>
+                  </exclusion>
+                  <exclusion>
+                     <groupId>dom4j</groupId>
+                     <artifactId>dom4j</artifactId>
+                  </exclusion>
+               </exclusions>
+            </dependency>
+            <dependency>
+               <groupId>org.hibernate</groupId>
+               <artifactId>hibernate-entitymanager</artifactId>
+               <scope>compile</scope>
+               <exclusions>
+                  <exclusion>
+                     <groupId>org.hibernate</groupId>
+                     <artifactId>ejb3-persistence</artifactId>
+                  </exclusion>
+                  <exclusion>
+                     <groupId>dom4j</groupId>
+                     <artifactId>dom4j</artifactId>
+                  </exclusion>
+                  <exclusion>
+                     <groupId>javax.transaction</groupId>
+                     <artifactId>jta</artifactId>
+                  </exclusion>
+                  <exclusion>
+                     <groupId>javassist</groupId>
+                     <artifactId>javassist</artifactId>
+                  </exclusion>
+               </exclusions>
+            </dependency>
+         </dependencies>
+         <build>
+            <plugins>
+               <plugin>
+                  <groupId>org.codehaus.mojo</groupId>
+                  <artifactId>build-helper-maven-plugin</artifactId>
+                  <executions>
+                     <execution>
+                        <id>add-source</id>
+                        <phase>generate-sources</phase>
+                        <goals>
+                           <goal>add-source</goal>
+                        </goals>
+                        <configuration>
+                           <sources>
+                              <source>src/jboss5/java</source>
+                           </sources>
+                        </configuration>
+                     </execution>
+                  </executions>
+               </plugin>
+            </plugins>
+         </build>
+      </profile>
+      <profile>
+         <id>tomcat</id>
+         <build>
+            <plugins>
+               <plugin>
+                  <groupId>org.codehaus.mojo</groupId>
+                  <artifactId>build-helper-maven-plugin</artifactId>
+                  <executions>
+                     <execution>
+                        <id>add-source</id>
+                        <phase>generate-sources</phase>
+                        <goals>
+                           <goal>add-source</goal>
+                        </goals>
+                        <configuration>
+                           <sources>
+                              <source>src/jboss5/java</source>
+                           </sources>
+                        </configuration>
+                     </execution>
+                  </executions>
+               </plugin>
+            </plugins>
+         </build>
+      </profile>
+   </profiles>
 </project>

Modified: branches/community/Seam_2_3/examples-ee6/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/pom.xml	2012-03-16 08:42:32 UTC (rev 14418)
+++ branches/community/Seam_2_3/examples-ee6/pom.xml	2012-03-16 20:33:10 UTC (rev 14419)
@@ -15,7 +15,7 @@
     <description>Examples for Seam 2 Framework in Java EE6 enviroment</description>
 
     <modules>
-<!--        <module>blog</module>-->
+        <module>blog</module>
         <module>booking</module>
 <!--        <module>dvdstore</module> -->
         <module>excel</module>



More information about the seam-commits mailing list