[seam-commits] Seam SVN: r14430 - in branches/community/Seam_2_3/examples-ee6/blog: blog-ear and 6 other directories.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon Mar 19 05:38:59 EDT 2012


Author: manaRH
Date: 2012-03-19 05:38:59 -0400 (Mon, 19 Mar 2012)
New Revision: 14430

Added:
   branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/src/main/java/actions/IndexerService.java
   branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/src/main/java/actions/SearchService.java
Removed:
   branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/src/jboss5/java/actions/IndexerService.java
   branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/src/jboss5/java/actions/SearchService.java
   branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/src/jboss6/java/actions/IndexerService.java
   branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/src/jboss6/java/actions/SearchService.java
Modified:
   branches/community/Seam_2_3/examples-ee6/blog/blog-ear/pom.xml
   branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/pom.xml
   branches/community/Seam_2_3/examples-ee6/blog/blog-tests/pom.xml
   branches/community/Seam_2_3/examples-ee6/blog/blog-web/pom.xml
   branches/community/Seam_2_3/examples-ee6/blog/pom.xml
Log:
cleaned Blog example and did changes for fixing its compilation

Modified: branches/community/Seam_2_3/examples-ee6/blog/blog-ear/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/blog/blog-ear/pom.xml	2012-03-19 09:38:29 UTC (rev 14429)
+++ branches/community/Seam_2_3/examples-ee6/blog/blog-ear/pom.xml	2012-03-19 09:38:59 UTC (rev 14430)
@@ -9,7 +9,7 @@
       <relativePath>../pom.xml</relativePath>
    </parent>
 
-   <groupId>org.jboss.seam.examples-ee6</groupId>
+   <groupId>org.jboss.seam.examples-ee6.blog</groupId>
    <artifactId>blog-ear</artifactId>
    <packaging>ear</packaging>
    <name>Blog EAR Module (EE6)</name>
@@ -58,19 +58,13 @@
          <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-ear-plugin</artifactId>
-            <version>2.3.2</version>
             <configuration>
-               <version>5</version>
                <defaultLibBundleDir>lib</defaultLibBundleDir>
                <!-- Exclude eclipse generated application.xml and manually modified jboss-app.xml during mvn build  -->
                <earSourceExcludes>**/application.xml, **/jboss-app.xml</earSourceExcludes>
                <!-- use maven generated application.xml instead -->
                <generateApplicationXml>true</generateApplicationXml>
                <filtering>true</filtering>
-               <jboss>
-                  <version>4.2</version>
-                  <loader-repository>seam.jboss.org:loader=seam-blog</loader-repository>
-               </jboss>
                <modules>
                   <webModule>
                      <groupId>org.jboss.seam.examples-ee6</groupId>
@@ -89,7 +83,6 @@
          <plugin>
             <groupId>org.jboss.as.plugins</groupId>
             <artifactId>jboss-as-maven-plugin</artifactId>
-            <version>7.1.1.Final</version>
             <executions>
                <!-- This requires to be enabled manually as <enabled>true</enabled> doesn't
               work -->
@@ -113,7 +106,7 @@
                <!-- </execution> -->
                <!-- Datasource has to be created before running deploy -->
                <execution>
-                  <phase>install</phase>
+                  <phase></phase>
                   <goals>
                      <goal>deploy</goal>
                   </goals>

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-19 09:38:29 UTC (rev 14429)
+++ branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/pom.xml	2012-03-19 09:38:59 UTC (rev 14430)
@@ -9,7 +9,7 @@
       <relativePath>../pom.xml</relativePath>
    </parent>
 
-   <groupId>org.jboss.seam.examples-ee6</groupId>
+   <groupId>org.jboss.seam.examples-ee6.blog</groupId>
    <artifactId>blog-ejb</artifactId>
    <packaging>ejb</packaging>
    <name>Blog EJB Module (EE6)</name>
@@ -42,40 +42,10 @@
          <artifactId>ejb-api</artifactId>
       </dependency>
       <dependency>
-         <groupId>javax.faces</groupId>
+         <groupId>com.sun.faces</groupId>
          <artifactId>jsf-api</artifactId>
-         <version>2.1</version>
       </dependency>
-      <!--<dependency>-->
-         <!--<groupId>org.jboss.seam</groupId>-->
-         <!--<artifactId>jboss-seam-jsf2</artifactId>-->
-         <!--<version>${project.version}</version>-->
-         <!--<type>ejb</type>-->
-      <!--</dependency>-->
-      <!--<dependency>-->
-         <!--<groupId>com.sun.faces</groupId>-->
-         <!--<artifactId>jsf-api</artifactId>-->
-      <!--</dependency>-->
-      <!--<dependency>-->
-         <!--<groupId>com.sun.faces</groupId>-->
-         <!--<artifactId>jsf-impl</artifactId>-->
-      <!--</dependency>-->
-
-      <!--<dependency>-->
-         <!--<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>
@@ -97,94 +67,6 @@
             </exclusion>
          </exclusions>
       </dependency>
-      <dependency>
-         <groupId>org.hibernate</groupId>
-         <artifactId>hibernate-annotations</artifactId>
-         <version>3.5.6-Final</version>
-      </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>javax.servlet</groupId>-->
-      <!--<artifactId>servlet-api</artifactId>-->
-      <!--<scope>provided</scope>-->
-      <!--</dependency>-->
-      <!--<dependency>-->
-      <!--<groupId>javax.ejb</groupId>-->
-      <!--<artifactId>ejb-api</artifactId>-->
-      <!--</dependency>-->
-      <!--<dependency>-->
-      <!--<groupId>javax.faces</groupId>-->
-      <!--<artifactId>jsf-api</artifactId>-->
-      <!--</dependency>-->
    </dependencies>
    <profiles>
       <profile>

Deleted: branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/src/jboss5/java/actions/IndexerService.java
===================================================================
--- branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/src/jboss5/java/actions/IndexerService.java	2012-03-19 09:38:29 UTC (rev 14429)
+++ branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/src/jboss5/java/actions/IndexerService.java	2012-03-19 09:38:59 UTC (rev 14430)
@@ -1,45 +0,0 @@
-//$Id: IndexerService.java 11245 2009-07-06 20:16:17Z norman.richards at jboss.com $
-package actions;
-
-import java.util.List;
-
-import javax.ejb.Remove;
-
-import org.hibernate.search.jpa.FullTextEntityManager;
-import org.jboss.seam.ScopeType;
-import org.jboss.seam.annotations.Create;
-import org.jboss.seam.annotations.Destroy;
-import org.jboss.seam.annotations.In;
-import org.jboss.seam.annotations.Name;
-import org.jboss.seam.annotations.Scope;
-import org.jboss.seam.annotations.Startup;
-import org.jboss.seam.annotations.Transactional;
-import domain.BlogEntry;
-
-/**
- * Index Blog entry at startup
- *
- * @author Emmanuel Bernard
- */
- at Name("indexerService")
- at Scope(ScopeType.APPLICATION)
- at Startup
-public class IndexerService
-{
-   @In
-   private FullTextEntityManager entityManager;
-
-   @Create
-   @Transactional
-   public void index() {
-      entityManager.purgeAll( BlogEntry.class );
-      List blogEntries = entityManager.createQuery("select be from BlogEntry be").getResultList();
-      for (Object be : blogEntries) {
-         entityManager.index(be);
-      }
-   }
-
-   @Remove
-   @Destroy
-   public void stop() {}
-}

Deleted: branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/src/jboss5/java/actions/SearchService.java
===================================================================
--- branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/src/jboss5/java/actions/SearchService.java	2012-03-19 09:38:29 UTC (rev 14429)
+++ branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/src/jboss5/java/actions/SearchService.java	2012-03-19 09:38:59 UTC (rev 14430)
@@ -1,77 +0,0 @@
-package actions;
-
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-import org.apache.lucene.analysis.standard.StandardAnalyzer;
-import org.apache.lucene.queryParser.MultiFieldQueryParser;
-import org.apache.lucene.queryParser.ParseException;
-import org.apache.lucene.queryParser.QueryParser;
-import org.hibernate.search.jpa.FullTextEntityManager;
-import org.jboss.seam.annotations.Factory;
-import org.jboss.seam.annotations.In;
-import org.jboss.seam.annotations.Name;
-
-import domain.BlogEntry;
-
-/**
- * Pulls the search results
- *
- * @author Gavin King
- */
- at Name("searchService")
-public class SearchService
-{
-
-   @In
-   private FullTextEntityManager entityManager;
-
-   private String searchPattern;
-
-   @Factory("searchResults")
-   public List<BlogEntry> getSearchResults()
-   {
-      if (searchPattern==null || "".equals(searchPattern) ) {
-         searchPattern = null;
-         return entityManager
-            .createQuery("select be from BlogEntry be order by date desc")
-            .setHint("org.hibernate.cacheable", true)
-            .setMaxResults(100)
-            .getResultList();
-      }
-      else
-      {
-         Map<String,Float> boostPerField = new HashMap<String,Float>();
-         boostPerField.put( "title:en", 4f );
-         boostPerField.put( "body:en", 1f );
-         String[] productFields = {"title:en", "body:en"};
-         QueryParser parser = new MultiFieldQueryParser(productFields, new StandardAnalyzer(), boostPerField);
-         parser.setAllowLeadingWildcard(true);
-         org.apache.lucene.search.Query luceneQuery;
-         try
-         {
-            luceneQuery = parser.parse(searchPattern);
-         }
-         catch (ParseException e)
-         {
-            return null;
-         }
-
-         return entityManager.createFullTextQuery(luceneQuery, BlogEntry.class)
-               .setMaxResults(100)
-               .getResultList();
-      }
-   }
-
-   public String getSearchPattern()
-   {
-      return searchPattern;
-   }
-
-   public void setSearchPattern(String searchPattern)
-   {
-      this.searchPattern = searchPattern;
-   }
-
-}

Deleted: branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/src/jboss6/java/actions/IndexerService.java
===================================================================
--- branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/src/jboss6/java/actions/IndexerService.java	2012-03-19 09:38:29 UTC (rev 14429)
+++ branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/src/jboss6/java/actions/IndexerService.java	2012-03-19 09:38:59 UTC (rev 14430)
@@ -1,37 +0,0 @@
-//$Id: IndexerService.java 13984 2011-01-11 12:45:45Z sannegrinovero $
-package actions;
-
-import javax.ejb.Remove;
-
-import org.hibernate.search.jpa.FullTextEntityManager;
-import org.jboss.seam.ScopeType;
-import org.jboss.seam.annotations.Create;
-import org.jboss.seam.annotations.Destroy;
-import org.jboss.seam.annotations.In;
-import org.jboss.seam.annotations.Name;
-import org.jboss.seam.annotations.Scope;
-import org.jboss.seam.annotations.Startup;
-
-/**
- * Index Blog entry at startup
- *
- * @author Emmanuel Bernard
- * @author Sanne Grinovero
- */
- at Name("indexerService")
- at Scope(ScopeType.APPLICATION)
- at Startup
-public class IndexerService
-{
-   @In
-   private FullTextEntityManager entityManager;
-
-   @Create
-   public void index() {
-      entityManager.createIndexer().start();
-   }
-
-   @Remove
-   @Destroy
-   public void stop() {}
-}

Deleted: branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/src/jboss6/java/actions/SearchService.java
===================================================================
--- branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/src/jboss6/java/actions/SearchService.java	2012-03-19 09:38:29 UTC (rev 14429)
+++ branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/src/jboss6/java/actions/SearchService.java	2012-03-19 09:38:59 UTC (rev 14430)
@@ -1,97 +0,0 @@
-//$Id: SearchService.java 13984 2011-01-11 12:45:45Z sannegrinovero $
-package actions;
-
-import java.util.List;
-
-import org.apache.lucene.search.Query;
-import org.hibernate.search.jpa.FullTextEntityManager;
-import org.hibernate.search.query.dsl.QueryBuilder;
-import org.jboss.seam.annotations.Factory;
-import org.jboss.seam.annotations.In;
-import org.jboss.seam.annotations.Name;
-
-import domain.BlogEntry;
-
-/**
- * Pulls the search results
- *
- * @author Gavin King
- * @author Sanne Grinovero
- */
- at Name("searchService")
-public class SearchService 
-{
-   
-   @In
-   private FullTextEntityManager entityManager;
-   
-   private String searchPattern;
-   
-   @Factory("searchResults")
-   public List<BlogEntry> getSearchResults()
-   {
-      if (searchPattern==null || "".equals(searchPattern) ) {
-         searchPattern = null;
-         return getLatestBlogEntries(100);
-      }
-      else
-      {
-         Query luceneQuery = getFullTextQuery();
-         return entityManager.createFullTextQuery(luceneQuery, BlogEntry.class)
-               .setMaxResults(100)
-               .getResultList();
-      }
-   }
-
-   private Query getFullTextQuery()
-   {
-      //Create a QueryBuilder targeting BlogEntry
-      QueryBuilder queryBuilder = entityManager
-         .getSearchFactory()
-         .buildQueryBuilder()
-         .forEntity(BlogEntry.class)
-         .get();
-      
-      //A fulltext query using English Analyzer
-      Query queryUsingEnglishStemmer = queryBuilder.keyword()
-         .onFields("title:en").boostedTo(4f)
-         .andField("body:en")
-         .matching(searchPattern)
-         .createQuery();
-      
-      //A fulltext query using ngrams
-      Query queryUsingNGrams = queryBuilder.keyword()
-         .onFields("title:ngrams").boostedTo(2f)
-         .andField("body:ngrams").boostedTo(0.4f)
-         .matching(searchPattern)
-         .createQuery();
-      
-      //Combine them for best results:
-      Query fullTextQuery = queryBuilder.bool()
-         .should(queryUsingEnglishStemmer)
-         .should(queryUsingNGrams)
-         .createQuery();
-      
-      return fullTextQuery;
-   }
-
-   private List<BlogEntry> getLatestBlogEntries(int limit)
-   {
-      return entityManager
-         .createQuery("select be from BlogEntry be order by date desc")
-         .setHint("org.hibernate.cacheable", true)
-         .setMaxResults(limit)
-         .getResultList();
-   }
-
-   public String getSearchPattern()
-   {
-      return searchPattern;
-   }
-
-   public void setSearchPattern(String searchPattern)
-   {
-      this.searchPattern = searchPattern;
-   }
-
-}

Copied: branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/src/main/java/actions/IndexerService.java (from rev 14429, branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/src/jboss6/java/actions/IndexerService.java)
===================================================================
--- branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/src/main/java/actions/IndexerService.java	                        (rev 0)
+++ branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/src/main/java/actions/IndexerService.java	2012-03-19 09:38:59 UTC (rev 14430)
@@ -0,0 +1,37 @@
+//$Id: IndexerService.java 13984 2011-01-11 12:45:45Z sannegrinovero $
+package actions;
+
+import javax.ejb.Remove;
+
+import org.hibernate.search.jpa.FullTextEntityManager;
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Create;
+import org.jboss.seam.annotations.Destroy;
+import org.jboss.seam.annotations.In;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.jboss.seam.annotations.Startup;
+
+/**
+ * Index Blog entry at startup
+ *
+ * @author Emmanuel Bernard
+ * @author Sanne Grinovero
+ */
+ at Name("indexerService")
+ at Scope(ScopeType.APPLICATION)
+ at Startup
+public class IndexerService
+{
+   @In
+   private FullTextEntityManager entityManager;
+
+   @Create
+   public void index() {
+      entityManager.createIndexer().start();
+   }
+
+   @Remove
+   @Destroy
+   public void stop() {}
+}

Copied: branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/src/main/java/actions/SearchService.java (from rev 14429, branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/src/jboss6/java/actions/SearchService.java)
===================================================================
--- branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/src/main/java/actions/SearchService.java	                        (rev 0)
+++ branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/src/main/java/actions/SearchService.java	2012-03-19 09:38:59 UTC (rev 14430)
@@ -0,0 +1,97 @@
+//$Id: SearchService.java 13984 2011-01-11 12:45:45Z sannegrinovero $
+package actions;
+
+import java.util.List;
+
+import org.apache.lucene.search.Query;
+import org.hibernate.search.jpa.FullTextEntityManager;
+import org.hibernate.search.query.dsl.QueryBuilder;
+import org.jboss.seam.annotations.Factory;
+import org.jboss.seam.annotations.In;
+import org.jboss.seam.annotations.Name;
+
+import domain.BlogEntry;
+
+/**
+ * Pulls the search results
+ *
+ * @author Gavin King
+ * @author Sanne Grinovero
+ */
+ at Name("searchService")
+public class SearchService 
+{
+   
+   @In
+   private FullTextEntityManager entityManager;
+   
+   private String searchPattern;
+   
+   @Factory("searchResults")
+   public List<BlogEntry> getSearchResults()
+   {
+      if (searchPattern==null || "".equals(searchPattern) ) {
+         searchPattern = null;
+         return getLatestBlogEntries(100);
+      }
+      else
+      {
+         Query luceneQuery = getFullTextQuery();
+         return entityManager.createFullTextQuery(luceneQuery, BlogEntry.class)
+               .setMaxResults(100)
+               .getResultList();
+      }
+   }
+
+   private Query getFullTextQuery()
+   {
+      //Create a QueryBuilder targeting BlogEntry
+      QueryBuilder queryBuilder = entityManager
+         .getSearchFactory()
+         .buildQueryBuilder()
+         .forEntity(BlogEntry.class)
+         .get();
+      
+      //A fulltext query using English Analyzer
+      Query queryUsingEnglishStemmer = queryBuilder.keyword()
+         .onFields("title:en").boostedTo(4f)
+         .andField("body:en")
+         .matching(searchPattern)
+         .createQuery();
+      
+      //A fulltext query using ngrams
+      Query queryUsingNGrams = queryBuilder.keyword()
+         .onFields("title:ngrams").boostedTo(2f)
+         .andField("body:ngrams").boostedTo(0.4f)
+         .matching(searchPattern)
+         .createQuery();
+      
+      //Combine them for best results:
+      Query fullTextQuery = queryBuilder.bool()
+         .should(queryUsingEnglishStemmer)
+         .should(queryUsingNGrams)
+         .createQuery();
+      
+      return fullTextQuery;
+   }
+
+   private List<BlogEntry> getLatestBlogEntries(int limit)
+   {
+      return entityManager
+         .createQuery("select be from BlogEntry be order by date desc")
+         .setHint("org.hibernate.cacheable", true)
+         .setMaxResults(limit)
+         .getResultList();
+   }
+
+   public String getSearchPattern()
+   {
+      return searchPattern;
+   }
+
+   public void setSearchPattern(String searchPattern)
+   {
+      this.searchPattern = searchPattern;
+   }
+
+}

Modified: branches/community/Seam_2_3/examples-ee6/blog/blog-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/blog/blog-tests/pom.xml	2012-03-19 09:38:29 UTC (rev 14429)
+++ branches/community/Seam_2_3/examples-ee6/blog/blog-tests/pom.xml	2012-03-19 09:38:59 UTC (rev 14430)
@@ -9,7 +9,7 @@
       <relativePath>../pom.xml</relativePath>
    </parent>
 
-   <groupId>org.jboss.seam.examples-ee6</groupId>
+   <groupId>org.jboss.seam.examples-ee6.blog</groupId>
    <artifactId>blog-tests</artifactId>
    <name>Blog Integration Tests Module (EE6)</name>
    <dependencies>
@@ -19,7 +19,7 @@
          <classifier>jdk15</classifier>
       </dependency>
       <dependency>
-         <groupId>org.jboss.seam.examples-ee6</groupId>
+         <groupId>org.jboss.seam.examples-ee6.blog</groupId>
          <artifactId>blog-ejb</artifactId>
          <type>ejb</type>
          <scope>test</scope>

Modified: branches/community/Seam_2_3/examples-ee6/blog/blog-web/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/blog/blog-web/pom.xml	2012-03-19 09:38:29 UTC (rev 14429)
+++ branches/community/Seam_2_3/examples-ee6/blog/blog-web/pom.xml	2012-03-19 09:38:59 UTC (rev 14430)
@@ -10,7 +10,7 @@
       <relativePath>../pom.xml</relativePath>
    </parent>
 
-   <groupId>org.jboss.seam.examples-ee6</groupId>
+   <groupId>org.jboss.seam.examples-ee6.blog</groupId>
    <artifactId>blog-web</artifactId>
    <packaging>war</packaging>
    <name>Blog Web Module (EE6)</name>
@@ -23,9 +23,8 @@
 
    <dependencies>
       <dependency>
-         <groupId>org.jboss.seam.examples-ee6</groupId>
+         <groupId>org.jboss.seam.examples-ee6.blog</groupId>
          <artifactId>blog-ejb</artifactId>
-         <version>${project.version}</version>
          <type>ejb</type>
          <scope>provided</scope>
       </dependency>
@@ -61,12 +60,10 @@
       <dependency>
          <groupId>org.richfaces.ui</groupId>
          <artifactId>richfaces-components-ui</artifactId>
-         <version>4.1.0.Final</version>
       </dependency>
       <dependency>
          <groupId>org.richfaces.core</groupId>
          <artifactId>richfaces-core-impl</artifactId>
-         <version>4.1.0.Final</version>
       </dependency>
    </dependencies>
 

Modified: branches/community/Seam_2_3/examples-ee6/blog/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/blog/pom.xml	2012-03-19 09:38:29 UTC (rev 14429)
+++ branches/community/Seam_2_3/examples-ee6/blog/pom.xml	2012-03-19 09:38:59 UTC (rev 14430)
@@ -27,32 +27,23 @@
    <dependencyManagement>
       <dependencies>
          <dependency>
-            <groupId>org.jboss.seam.examples-ee6</groupId>
+            <groupId>org.jboss.seam.examples-ee6.blog</groupId>
             <artifactId>blog-ejb</artifactId>
             <version>${project.version}</version>
             <type>ejb</type>
          </dependency>
          <dependency>
-            <groupId>org.jboss.seam.examples-ee6</groupId>
+            <groupId>org.jboss.seam.examples-ee6.blog</groupId>
             <artifactId>blog-web</artifactId>
             <version>${project.version}</version>
             <type>war</type>
          </dependency>
          <dependency>
-            <groupId>org.jboss.seam.examples-ee6</groupId>
+            <groupId>org.jboss.seam.examples-ee6.blog</groupId>
             <artifactId>blog-ear</artifactId>
             <version>${project.version}</version>
          </dependency>
       </dependencies>
    </dependencyManagement>
 
-   <profiles>
-      <profile>
-         <id>jbossas6</id>
-         <properties>
-            <hibernate.search.version>3.3.0.Final</hibernate.search.version>
-            <org.apache.lucene.version>3.0.3</org.apache.lucene.version>
-         </properties>
-      </profile>
-   </profiles>
 </project>



More information about the seam-commits mailing list