Seam SVN: r13154 - in examples/trunk/booking-simplified/src/main: java/org/jboss/seam/examples/booking/account and 8 other directories.
by seam-commits@lists.jboss.org
Author: lincolnthree
Date: 2010-06-15 14:30:09 -0400 (Tue, 15 Jun 2010)
New Revision: 13154
Added:
examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/security/MockCredentials.java
examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/security/MockIdentity.java
examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/setup/
examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/setup/ApplicationSetupBean.java
examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/setup/SetupBean.java
examples/trunk/booking-simplified/src/main/webapp/META-INF/
examples/trunk/booking-simplified/src/main/webapp/META-INF/MANIFEST.MF
Modified:
examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/account/RegistrarBean.java
examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/model/Hotel.java
examples/trunk/booking-simplified/src/main/resources/META-INF/persistence.xml
examples/trunk/booking-simplified/src/main/webapp/WEB-INF/fragments/account.xhtml
examples/trunk/booking-simplified/src/main/webapp/WEB-INF/layout/template.xhtml
examples/trunk/booking-simplified/src/main/webapp/password.xhtml
Log:
Now functions on any app-server.
Modified: examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/account/RegistrarBean.java
===================================================================
--- examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/account/RegistrarBean.java 2010-06-15 18:26:52 UTC (rev 13153)
+++ examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/account/RegistrarBean.java 2010-06-15 18:30:09 UTC (rev 13154)
@@ -31,9 +31,7 @@
@Inject
private RegistrationFormControls formControls;
- @Inject
- @Registered
- User newUser;
+ private final User newUser = new User();
private String confirmPassword;
@@ -46,6 +44,7 @@
if (verifyPasswordsMatch() && verifyUsernameIsAvailable())
{
registered = true;
+ em.persist(newUser);
messages.info(new BundleKey("messages.properties", "registration.registered")).textDefault("You have been successfully registered as the user {0}!").textParams(newUser.getUsername());
}
else
@@ -69,9 +68,9 @@
}
}
- @Produces
- @Named
+ @Named("newUser")
@RequestScoped
+ @Produces
public User getNewUser()
{
return newUser;
Modified: examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/model/Hotel.java
===================================================================
--- examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/model/Hotel.java 2010-06-15 18:26:52 UTC (rev 13153)
+++ examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/model/Hotel.java 2010-06-15 18:30:09 UTC (rev 13154)
@@ -30,7 +30,6 @@
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
-
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.validation.constraints.Max;
@@ -39,8 +38,10 @@
import javax.validation.constraints.Size;
/**
- * <p><strong>Hotel</strong> is the model/entity class that represents a hotel.</p>
- *
+ * <p>
+ * <strong>Hotel</strong> is the model/entity class that represents a hotel.
+ * </p>
+ *
* @author Gavin King
* @author Dan Allen
*/
@@ -58,9 +59,11 @@
private Integer stars;
private BigDecimal price;
- public Hotel() {}
+ public Hotel()
+ {
+ }
- public Hotel(String name, String address, String city, String state, String zip, String country)
+ public Hotel(final String name, final String address, final String city, final String state, final String zip, final String country)
{
this.name = name;
this.address = address;
@@ -70,6 +73,18 @@
this.country = country;
}
+ public Hotel(final int price, final int stars, final String name, final String address, final String city, final String state, final String zip, final String country)
+ {
+ this.price = new BigDecimal(price);
+ this.stars = stars;
+ this.name = name;
+ this.address = address;
+ this.city = city;
+ this.state = state;
+ this.zip = zip;
+ this.country = country;
+ }
+
@Id
@GeneratedValue
public Long getId()
@@ -77,7 +92,7 @@
return id;
}
- public void setId(Long id)
+ public void setId(final Long id)
{
this.id = id;
}
@@ -89,7 +104,7 @@
return name;
}
- public void setName(String name)
+ public void setName(final String name)
{
this.name = name;
}
@@ -101,7 +116,7 @@
return address;
}
- public void setAddress(String address)
+ public void setAddress(final String address)
{
this.address = address;
}
@@ -113,7 +128,7 @@
return city;
}
- public void setCity(String city)
+ public void setCity(final String city)
{
this.city = city;
}
@@ -125,7 +140,7 @@
return zip;
}
- public void setZip(String zip)
+ public void setZip(final String zip)
{
this.zip = zip;
}
@@ -137,7 +152,7 @@
return state;
}
- public void setState(String state)
+ public void setState(final String state)
{
this.state = state;
}
@@ -149,7 +164,7 @@
return country;
}
- public void setCountry(String country)
+ public void setCountry(final String country)
{
this.country = country;
}
@@ -161,7 +176,7 @@
return stars;
}
- public void setStars(Integer stars)
+ public void setStars(final Integer stars)
{
this.stars = stars;
}
@@ -172,7 +187,7 @@
return price;
}
- public void setPrice(BigDecimal price)
+ public void setPrice(final BigDecimal price)
{
this.price = price;
}
Added: examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/security/MockCredentials.java
===================================================================
--- examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/security/MockCredentials.java (rev 0)
+++ examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/security/MockCredentials.java 2010-06-15 18:30:09 UTC (rev 13154)
@@ -0,0 +1,59 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.seam.examples.booking.security;
+
+import java.io.Serializable;
+
+import javax.enterprise.context.SessionScoped;
+import javax.inject.Named;
+
+/**
+ * @author <a href="mailto:lincolnbaxter@gmail.com">Lincoln Baxter, III</a>
+ *
+ */
+@Named("credentials")
+@SessionScoped
+public class MockCredentials implements Serializable
+{
+ private String username;
+ private String password;
+
+ public String getUsername()
+ {
+ return username;
+ }
+
+ public void setUsername(final String username)
+ {
+ this.username = username;
+ }
+
+ public String getPassword()
+ {
+ return password;
+ }
+
+ public void setPassword(final String password)
+ {
+ this.password = password;
+ }
+}
Added: examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/security/MockIdentity.java
===================================================================
--- examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/security/MockIdentity.java (rev 0)
+++ examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/security/MockIdentity.java 2010-06-15 18:30:09 UTC (rev 13154)
@@ -0,0 +1,67 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.seam.examples.booking.security;
+
+import java.io.Serializable;
+
+import javax.enterprise.context.SessionScoped;
+import javax.faces.context.FacesContext;
+import javax.inject.Inject;
+import javax.inject.Named;
+import javax.servlet.http.HttpSession;
+
+/**
+ * @author <a href="mailto:lincolnbaxter@gmail.com">Lincoln Baxter, III</a>
+ *
+ */
+@Named("identity")
+@SessionScoped
+public class MockIdentity implements Serializable
+{
+ private boolean loggedIn;
+
+ @Inject
+ FacesContext context;
+
+ public boolean isLoggedIn()
+ {
+ return loggedIn;
+ }
+
+ public void setLoggedIn(final boolean loggedIn)
+ {
+ this.loggedIn = loggedIn;
+ }
+
+ public void login()
+ {
+ loggedIn = true;
+ }
+
+ public void logout()
+ {
+ loggedIn = true;
+ HttpSession session = (HttpSession) context.getExternalContext().getSession(true);
+ session.invalidate();
+ }
+
+}
Added: examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/setup/ApplicationSetupBean.java
===================================================================
--- examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/setup/ApplicationSetupBean.java (rev 0)
+++ examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/setup/ApplicationSetupBean.java 2010-06-15 18:30:09 UTC (rev 13154)
@@ -0,0 +1,80 @@
+package org.jboss.seam.examples.booking.setup;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.ejb.Stateful;
+import javax.enterprise.context.ApplicationScoped;
+import javax.enterprise.event.Observes;
+import javax.faces.event.PostConstructApplicationEvent;
+import javax.inject.Inject;
+import javax.persistence.EntityManager;
+import javax.persistence.PersistenceContext;
+
+import org.jboss.seam.examples.booking.model.Hotel;
+import org.jboss.seam.examples.booking.model.User;
+import org.jboss.seam.international.status.Messages;
+
+/**
+ * @author <a href="mailto:lincolnbaxter@gmail.com">Lincoln Baxter, III</a>
+ */
+@Stateful
+@ApplicationScoped
+public class ApplicationSetupBean implements SetupBean
+{
+ @PersistenceContext
+ private EntityManager em;
+
+ @Inject
+ private Messages messages;
+
+ private final List<User> users = new ArrayList<User>();
+ private final List<Hotel> hotels = new ArrayList<Hotel>();
+
+ public ApplicationSetupBean()
+ {
+ users.add(new User("Dan Allen", "dan", "laurel"));
+ users.add(new User("Pete Muir", "pete", "edinburgh"));
+ users.add(new User("Lincoln Baxter III", "lincoln", "charlotte"));
+ users.add(new User("Shane", "shane", "brisbane"));
+ users.add(new User("Gavin King", "gavin", "mexico"));
+
+ hotels.add(new Hotel(129, 3, "Marriott Courtyard", "Tower Place, Buckhead", "Atlanta", "GA", "30305", "USA"));
+ hotels.add(new Hotel(84, 4, "Doubletree Atlanta-Buckhead", "3342 Peachtree Road NE", "Atlanta", "GA", "30326", "USA"));
+ hotels.add(new Hotel(289, 4, "W New York - Union Square", "201 Park Avenue South", "New York", "NY", "10003", "USA"));
+ hotels.add(new Hotel(219, 3, "W New York", "541 Lexington Avenue", "New York", "NY", "10022", "USA"));
+ hotels.add(new Hotel(250, 3, "Hotel Rouge", "1315 16th Street NW", "Washington", "DC", "20036", "USA"));
+ hotels.add(new Hotel(159, 4, "70 Park Avenue Hotel", "70 Park Avenue, 38th St", "New York", "NY", "10016", "USA"));
+ hotels.add(new Hotel(198, 4, "Parc 55", "55 Cyril Magnin Street", "San Francisco", "CA", "94102", "USA"));
+ hotels.add(new Hotel(189, 4, "Conrad Miami", "1395 Brickell Ave", "Miami", "FL", "33131", "USA"));
+ hotels.add(new Hotel(111, 4, "Grand Hyatt", "345 Stockton Street", "San Francisco", "CA", "94108", "USA"));
+ hotels.add(new Hotel(54, 1, "Super 8 Eau Claire Campus Area", "1151 W MacArthur Ave", "Eau Claire", "WI", "54701", "USA"));
+ hotels.add(new Hotel(199, 4, "San Francisco Marriott", "55 Fourth Street", "San Francisco", "CA", "94103", "USA"));
+ hotels.add(new Hotel(543, 4, "Hilton Diagonal Mar", "Passeig del Taulat 262-264", "Barcelona", "Catalunya", "08019", "ES"));
+ hotels.add(new Hotel(335, 5, "Hilton Tel Aviv", "Independence Park", "Tel Aviv", "", "63405", "IL"));
+ hotels.add(new Hotel(242, 5, "InterContinental Hotel Tokyo Bay", "1-15-2 Kaigan", "Tokyo", "Minato", "105", "JP"));
+ hotels.add(new Hotel(130, 4, "Hotel Beaulac", " Esplanade Léopold-Robert 2", "Neuchatel", "", "2000", "CH"));
+ hotels.add(new Hotel(266, 5, "Conrad Treasury Place", "130 William Street", "Brisbane", "QL", "4001", "AU"));
+ hotels.add(new Hotel(170, 4, "Ritz-Carlton Montreal", "1228 Sherbrooke St West", "Montreal", "Quebec", "H3G1H6", "CA"));
+ hotels.add(new Hotel(179, 4, "Ritz-Carlton Atlanta", "181 Peachtree St NE", "Atlanta", "GA", "30303", "USA"));
+ hotels.add(new Hotel(145, 4, "Swissotel Sydney", "68 Market Street", "Sydney", "NSW", "2000", "AU"));
+ hotels.add(new Hotel(178, 4, "Meliá White House", "Albany Street Regents Park", "London", "", "NW13UP", "GB"));
+ hotels.add(new Hotel(159, 3, "Hotel Allegro", "171 W Randolph Street", "Chicago", "IL", "60601", "USA"));
+ hotels.add(new Hotel(296, 5, "Caesars Palace", "3570 Las Vegas Blvd S", "Las Vegas", "NV", "89109", "USA"));
+ hotels.add(new Hotel(300, 4, "Mandalay Bay Resort & Casino", "3950 Las Vegas Blvd S", "Las Vegas", "NV", "89119", "USA"));
+ hotels.add(new Hotel(100, 2, "Hotel Cammerpoorte", "Nationalestraat 38-40", "Antwerp", "", "2000", "BE"));
+ }
+
+ public void init(@Observes final PostConstructApplicationEvent event)
+ {
+ for (User u : users)
+ {
+ if (em.find(User.class, u.getUsername()) == null)
+ {
+ em.persist(u);
+ }
+ }
+
+ // TODO need to persist hotels here
+ }
+}
Added: examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/setup/SetupBean.java
===================================================================
--- examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/setup/SetupBean.java (rev 0)
+++ examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/setup/SetupBean.java 2010-06-15 18:30:09 UTC (rev 13154)
@@ -0,0 +1,35 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.seam.examples.booking.setup;
+
+import javax.ejb.Local;
+import javax.faces.event.PostConstructApplicationEvent;
+
+/**
+ * @author <a href="mailto:lincolnbaxter@gmail.com">Lincoln Baxter, III</a>
+ *
+ */
+@Local
+public interface SetupBean
+{
+ public void init(final PostConstructApplicationEvent event);
+}
Modified: examples/trunk/booking-simplified/src/main/resources/META-INF/persistence.xml
===================================================================
--- examples/trunk/booking-simplified/src/main/resources/META-INF/persistence.xml 2010-06-15 18:26:52 UTC (rev 13153)
+++ examples/trunk/booking-simplified/src/main/resources/META-INF/persistence.xml 2010-06-15 18:30:09 UTC (rev 13154)
@@ -12,6 +12,7 @@
<jta-data-source>java:/DefaultDS</jta-data-source>
<jta-data-source>jdbc/__arquillian</jta-data-source>
-->
+ <exclude-unlisted-classes>false</exclude-unlisted-classes>
<properties>
<property name="hibernate.hbm2ddl.auto" value="create-drop"/>
<property name="hibernate.show_sql" value="true"/>
Added: examples/trunk/booking-simplified/src/main/webapp/META-INF/MANIFEST.MF
===================================================================
--- examples/trunk/booking-simplified/src/main/webapp/META-INF/MANIFEST.MF (rev 0)
+++ examples/trunk/booking-simplified/src/main/webapp/META-INF/MANIFEST.MF 2010-06-15 18:30:09 UTC (rev 13154)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Modified: examples/trunk/booking-simplified/src/main/webapp/WEB-INF/fragments/account.xhtml
===================================================================
--- examples/trunk/booking-simplified/src/main/webapp/WEB-INF/fragments/account.xhtml 2010-06-15 18:26:52 UTC (rev 13153)
+++ examples/trunk/booking-simplified/src/main/webapp/WEB-INF/fragments/account.xhtml 2010-06-15 18:30:09 UTC (rev 13154)
@@ -6,7 +6,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://http://java.sun.com/jsf/composite/components/property">
- <p:display label="Username" value="#{user.username}"/>
- <p:display label="Real name" value="#{user.name}"/>
+ <p:display label="Username" value="#{currentUser.username}"/>
+ <p:display label="Real name" value="#{currentUser.name}"/>
</ui:composition>
Modified: examples/trunk/booking-simplified/src/main/webapp/WEB-INF/layout/template.xhtml
===================================================================
--- examples/trunk/booking-simplified/src/main/webapp/WEB-INF/layout/template.xhtml 2010-06-15 18:26:52 UTC (rev 13153)
+++ examples/trunk/booking-simplified/src/main/webapp/WEB-INF/layout/template.xhtml 2010-06-15 18:30:09 UTC (rev 13154)
@@ -18,7 +18,7 @@
<div id="title"><h:graphicImage value="/img/hdr.title.gif" alt="JBoss Suites: seam framework demo"/></div>
<h:form id="menuForm">
<div id="status">
- <h:outputText value="(#{user.name})" rendered="#{identity.loggedIn}" styleClass="user"/>
+ <h:outputText value="(#{currentUser.name})" rendered="#{identity.loggedIn}" styleClass="user"/>
#{' '}
<h:link id="about" outcome="/home.xhtml" value="About"/>
#{' | '}
Modified: examples/trunk/booking-simplified/src/main/webapp/password.xhtml
===================================================================
--- examples/trunk/booking-simplified/src/main/webapp/password.xhtml 2010-06-15 18:26:52 UTC (rev 13153)
+++ examples/trunk/booking-simplified/src/main/webapp/password.xhtml 2010-06-15 18:30:09 UTC (rev 13154)
@@ -24,7 +24,7 @@
<fieldset>
<p:edit id="password" label="Password">
- <h:inputSecret id="input" value="#{user.password}" redisplay="true"/>
+ <h:inputSecret id="input" value="#{currentUser.password}" redisplay="true"/>
</p:edit>
<p:edit id="confirmPassword" label="Confirm password">
14 years
Seam SVN: r13153 - examples/trunk/booking-simplified.
by seam-commits@lists.jboss.org
Author: dan.j.allen
Date: 2010-06-15 14:26:52 -0400 (Tue, 15 Jun 2010)
New Revision: 13153
Added:
examples/trunk/booking-simplified/readme.txt
Log:
instructions for installing Hibernate in GlassFish 3
Added: examples/trunk/booking-simplified/readme.txt
===================================================================
--- examples/trunk/booking-simplified/readme.txt (rev 0)
+++ examples/trunk/booking-simplified/readme.txt 2010-06-15 18:26:52 UTC (rev 13153)
@@ -0,0 +1,8 @@
+Installing Hibernate 3.5 (JPA 2) on GlassFish 3
+-----------------------------------------------
+wget http://dlc.sun.com.edgesuite.net/glassfish/v3.0.1/promoted/glassfish-3.0....
+sh glassfish-3.0.1-b22-unix.sh
+cd $GLASSFISH_HOME
+./bin/updatetool (may have to run it twice if it's not already installed)
+GlassFish Server Open Source Edition > Available Add-ons > Hibernate JPA
+Install
14 years
Seam SVN: r13152 - examples/trunk/booking-simplified/src/test/resources.
by seam-commits@lists.jboss.org
Author: dan.j.allen
Date: 2010-06-15 14:26:04 -0400 (Tue, 15 Jun 2010)
New Revision: 13152
Modified:
examples/trunk/booking-simplified/src/test/resources/arquillian.xml
Log:
namespaces
Modified: examples/trunk/booking-simplified/src/test/resources/arquillian.xml
===================================================================
--- examples/trunk/booking-simplified/src/test/resources/arquillian.xml 2010-06-15 17:39:03 UTC (rev 13151)
+++ examples/trunk/booking-simplified/src/test/resources/arquillian.xml 2010-06-15 18:26:04 UTC (rev 13152)
@@ -1,22 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
<arquillian xmlns="http://jboss.com/arquillian"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:gfembed="urn:arq:org.jboss.arquillian.glassfish.embedded30"
- xmlns:gfremote="urn:arq:org.jboss.arquillian.container.glassfish.jsr88">
+ xmlns:gfembedded="urn:arq:org.jboss.arquillian.glassfish.embedded30"
+ xmlns:gfremote="urn:arq:org.jboss.arquillian.container.glassfish.remote30">
<engine>
<deploymentExportPath>/tmp/</deploymentExportPath>
</engine>
<gfremote:container>
- <gfremote:httpPort>7070</gfremote:httpPort>
+ <gfremote:remoteServerHttpPort>7070</gfremote:removeServerHttpPort>
</gfremote:container>
- <gfembed:container>
- <gfembed:resourcesXml>src/test/resources-glassfish/sun-resources.xml</gfembed:resourcesXml>
- <!--
- <gfembed:instanceRoot>src/test/gfembed</gfembed:instanceRoot>
- <gfembed:autoDelete>false</gfembed:autoDelete>
- -->
- </gfembed:container>
+ <gfembedded:container>
+ <gfembedded:sunResourcesXml>src/test/resources-glassfish/sun-resources.xml</gfembedded:sunResourcesXml>
+ </gfembedded:container>
</arquillian>
14 years
Seam SVN: r13151 - branches/community/Seam_2_2/src/main/org/jboss/seam/jms.
by seam-commits@lists.jboss.org
Author: denis.forveille
Date: 2010-06-15 13:39:03 -0400 (Tue, 15 Jun 2010)
New Revision: 13151
Modified:
branches/community/Seam_2_2/src/main/org/jboss/seam/jms/QueueConnection.java
Log:
Surround the call to queueConnection.stop() with a cath to IllegalStateException and remove the traceback
JBSEAM-4666
Modified: branches/community/Seam_2_2/src/main/org/jboss/seam/jms/QueueConnection.java
===================================================================
--- branches/community/Seam_2_2/src/main/org/jboss/seam/jms/QueueConnection.java 2010-06-15 14:19:38 UTC (rev 13150)
+++ branches/community/Seam_2_2/src/main/org/jboss/seam/jms/QueueConnection.java 2010-06-15 17:39:03 UTC (rev 13151)
@@ -11,10 +11,12 @@
import org.jboss.seam.annotations.Create;
import org.jboss.seam.annotations.Destroy;
import org.jboss.seam.annotations.Install;
+import org.jboss.seam.annotations.Logger;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
import org.jboss.seam.annotations.Unwrap;
import org.jboss.seam.annotations.intercept.BypassInterceptors;
+import org.jboss.seam.log.Log;
import org.jboss.seam.util.Naming;
/**
@@ -26,12 +28,16 @@
@Scope(ScopeType.APPLICATION)
@BypassInterceptors
@Name("org.jboss.seam.jms.queueConnection")
-@Install(precedence=BUILT_IN, genericDependencies=ManagedQueueSender.class)
+@Install(precedence = BUILT_IN, genericDependencies = ManagedQueueSender.class)
public class QueueConnection
{
+
+ @Logger
+ private Log log;
+
private String queueConnectionFactoryJndiName = "UIL2ConnectionFactory";
private javax.jms.QueueConnection queueConnection;
-
+
/**
* The JNDI name of the QueueConnectionFactory
*/
@@ -39,7 +45,7 @@
{
return queueConnectionFactoryJndiName;
}
-
+
public void setQueueConnectionFactoryJndiName(String jndiName)
{
this.queueConnectionFactoryJndiName = jndiName;
@@ -55,10 +61,20 @@
@Destroy
public void destroy() throws JMSException
{
- queueConnection.stop();
+ try
+ {
+ queueConnection.stop();
+ }
+ catch (javax.jms.IllegalStateException e)
+ {
+ // as for JEE v5 specs, section EE 6.6
+ // At least WebSphere v7 enforce this
+ log.warn("queueSession.stop() called during @Destroy in an invalid context for this container. Msg={0}", e.getMessage());
+ }
+
queueConnection.close();
}
-
+
private QueueConnectionFactory getQueueConnectionFactory() throws NamingException
{
return (QueueConnectionFactory) Naming.getInitialContext().lookup(queueConnectionFactoryJndiName);
@@ -74,11 +90,11 @@
{
return (javax.jms.QueueConnection) Component.getInstance(QueueConnection.class);
}
-
+
@Override
public String toString()
{
return "QueueConnection(" + queueConnectionFactoryJndiName + ")";
}
-
+
}
14 years
Seam SVN: r13150 - in modules/security/trunk: examples/idmconsole/src/main/webapp and 3 other directories.
by seam-commits@lists.jboss.org
Author: shane.bryzak(a)jboss.com
Date: 2010-06-15 10:19:38 -0400 (Tue, 15 Jun 2010)
New Revision: 13150
Modified:
modules/security/trunk/examples/idmconsole/src/main/webapp/home.xhtml
modules/security/trunk/impl/src/main/java/org/jboss/seam/security/CredentialsImpl.java
modules/security/trunk/impl/src/main/java/org/jboss/seam/security/IdentityImpl.java
modules/security/trunk/impl/src/main/java/org/jboss/seam/security/management/IdentityManagerImpl.java
modules/security/trunk/impl/src/main/java/org/jboss/seam/security/management/JpaIdentityStore.java
modules/security/trunk/impl/src/main/java/org/jboss/seam/security/management/picketlink/IdentityConfigurationMetaDataProducer.java
modules/security/trunk/impl/src/main/java/org/jboss/seam/security/management/picketlink/IdentitySessionProducer.java
modules/security/trunk/pom.xml
Log:
more picketlink configuration
Modified: modules/security/trunk/examples/idmconsole/src/main/webapp/home.xhtml
===================================================================
--- modules/security/trunk/examples/idmconsole/src/main/webapp/home.xhtml 2010-06-15 12:22:40 UTC (rev 13149)
+++ modules/security/trunk/examples/idmconsole/src/main/webapp/home.xhtml 2010-06-15 14:19:38 UTC (rev 13150)
@@ -10,7 +10,7 @@
<h:form id="loginForm" rendered="#{not identity.loggedIn}">
<h:messages id="messages" globalOnly="true"/>
-
+
<div class="loginRow">
<h:outputLabel for="name" value="Username" styleClass="loginLabel"/>
<h:inputText id="name" value="#{credentials.username}"/>
Modified: modules/security/trunk/impl/src/main/java/org/jboss/seam/security/CredentialsImpl.java
===================================================================
--- modules/security/trunk/impl/src/main/java/org/jboss/seam/security/CredentialsImpl.java 2010-06-15 12:22:40 UTC (rev 13149)
+++ modules/security/trunk/impl/src/main/java/org/jboss/seam/security/CredentialsImpl.java 2010-06-15 14:19:38 UTC (rev 13150)
@@ -18,9 +18,7 @@
*
* @author Shane Bryzak
*/
-@Named
-@SessionScoped
-public class CredentialsImpl implements Credentials, Serializable
+public @Named("credentials") @SessionScoped class CredentialsImpl implements Credentials, Serializable
{
private static final long serialVersionUID = -2271248957776488426L;
Modified: modules/security/trunk/impl/src/main/java/org/jboss/seam/security/IdentityImpl.java
===================================================================
--- modules/security/trunk/impl/src/main/java/org/jboss/seam/security/IdentityImpl.java 2010-06-15 12:22:40 UTC (rev 13149)
+++ modules/security/trunk/impl/src/main/java/org/jboss/seam/security/IdentityImpl.java 2010-06-15 14:19:38 UTC (rev 13150)
@@ -50,9 +50,7 @@
*
* @author Shane Bryzak
*/
-@Named
-@SessionScoped
-public class IdentityImpl implements Identity, Serializable
+public @Named("identity") @SessionScoped class IdentityImpl implements Identity, Serializable
{
private static final long serialVersionUID = 3751659008033189259L;
Modified: modules/security/trunk/impl/src/main/java/org/jboss/seam/security/management/IdentityManagerImpl.java
===================================================================
--- modules/security/trunk/impl/src/main/java/org/jboss/seam/security/management/IdentityManagerImpl.java 2010-06-15 12:22:40 UTC (rev 13149)
+++ modules/security/trunk/impl/src/main/java/org/jboss/seam/security/management/IdentityManagerImpl.java 2010-06-15 14:19:38 UTC (rev 13150)
@@ -261,8 +261,16 @@
public boolean authenticate(String username, Credential credential)
{
if (Strings.isEmpty(username)) return false;
- //return identityStore.authenticate(username, credential);
- return false;
+
+ try
+ {
+ return identitySession.getAttributesManager().validateCredentials(
+ new UserImpl(username), new Credential[] {credential});
+ }
+ catch (IdentityException ex)
+ {
+ return false;
+ }
}
Modified: modules/security/trunk/impl/src/main/java/org/jboss/seam/security/management/JpaIdentityStore.java
===================================================================
--- modules/security/trunk/impl/src/main/java/org/jboss/seam/security/management/JpaIdentityStore.java 2010-06-15 12:22:40 UTC (rev 13149)
+++ modules/security/trunk/impl/src/main/java/org/jboss/seam/security/management/JpaIdentityStore.java 2010-06-15 14:19:38 UTC (rev 13150)
@@ -51,7 +51,7 @@
*
* @author Shane Bryzak
*/
-public @ApplicationScoped class JpaIdentityStore implements org.picketlink.idm.spi.store.IdentityStore, Serializable
+public class JpaIdentityStore implements org.picketlink.idm.spi.store.IdentityStore, Serializable
{
private static final long serialVersionUID = 7729139146633529501L;
@@ -86,19 +86,16 @@
private static final String PROPERTY_ROLE_TYPE_NAME = "ROLE_TYPE_NAME";
/**
- * The bean manager
- */
- @Inject BeanManager beanManager;
-
- /**
*
*/
- @Inject Instance<EntityManager> entityManagerInstance;
+ //@Inject Instance<EntityManager> entityManagerInstance;
/**
*
*/
- //@Inject CredentialProcessor credentialEncoder;
+ //@Inject CredentialProcessor credentialEncoder;
+
+ private String id;
// Entity classes
@@ -147,6 +144,11 @@
}
}
+ public JpaIdentityStore(String id)
+ {
+ this.id = id;
+ }
+
public void bootstrap(IdentityStoreConfigurationContext configurationContext)
throws IdentityException
{
@@ -830,12 +832,12 @@
{
Property<Object> typeNameProp = modelProperties.get(PROPERTY_IDENTITY_TYPE_NAME);
- Object val = entityManagerInstance.get().createQuery(
+ Object val = null; /*entityManagerInstance.get().createQuery(
"select t from " + typeNameProp.getDeclaringClass().getName() +
" t where t." + typeNameProp.getName() +
" = :identityType")
.setParameter("identityType", identityType)
- .getSingleResult();
+ .getSingleResult();*/
return val;
}
catch (NoResultException ex)
@@ -865,11 +867,11 @@
typeProp.setValue(identityInstance, lookupIdentityType(identityObjectType.getName()));
}
- beanManager.fireEvent(new PrePersistUserEvent(identityInstance));
+ //beanManager.fireEvent(new PrePersistUserEvent(identityInstance));
- entityManagerInstance.get().persist(identityInstance);
+ //entityManagerInstance.get().persist(identityInstance);
- beanManager.fireEvent(new UserCreatedEvent(identityInstance));
+ //beanManager.fireEvent(new UserCreatedEvent(identityInstance));
// TODO persist attributes
@@ -913,7 +915,7 @@
modelProperties.get(PROPERTY_RELATIONSHIP_NAME).setValue(relationship,
relationshipName);
- entityManagerInstance.get().persist(relationship);
+ //entityManagerInstance.get().persist(relationship);
return new IdentityObjectRelationshipImpl(fromIdentity, toIdentity,
relationshipName, relationshipType);
@@ -950,12 +952,12 @@
{
try
{
- Object identity = entityManagerInstance.get().createQuery("select i from " +
+ Object identity = null; /*entityManagerInstance.get().createQuery("select i from " +
identityClass.getName() + " i where i." +
modelProperties.get(PROPERTY_IDENTITY_ID).getName() +
" = :id")
.setParameter("id", id)
- .getSingleResult();
+ .getSingleResult();*/
IdentityObjectType type = modelProperties.containsKey(PROPERTY_IDENTITY_TYPE_NAME) ?
new IdentityObjectTypeImpl(
@@ -991,14 +993,14 @@
lookupIdentityType(identityObjectType.getName()) :
identityObjectType.getName();
- Object identity = entityManagerInstance.get().createQuery("select i from " +
- identityClass.getName() + " i where i." +
+ Object identity = null; //entityManagerInstance.get().createQuery("select i from " +
+ /*identityClass.getName() + " i where i." +
modelProperties.get(PROPERTY_IDENTITY_NAME).getName() +
" = :name and i." + modelProperties.get(PROPERTY_IDENTITY_TYPE).getName() +
" = :type")
.setParameter("name", name)
.setParameter("type", identityType)
- .getSingleResult();
+ .getSingleResult();*/
return new IdentityObjectImpl(
modelProperties.get(PROPERTY_IDENTITY_ID).getValue(identity).toString(),
@@ -1032,8 +1034,7 @@
public String getId()
{
- // TODO Auto-generated method stub
- return null;
+ return id;
}
public int getIdentityObjectsCount(
Modified: modules/security/trunk/impl/src/main/java/org/jboss/seam/security/management/picketlink/IdentityConfigurationMetaDataProducer.java
===================================================================
--- modules/security/trunk/impl/src/main/java/org/jboss/seam/security/management/picketlink/IdentityConfigurationMetaDataProducer.java 2010-06-15 12:22:40 UTC (rev 13149)
+++ modules/security/trunk/impl/src/main/java/org/jboss/seam/security/management/picketlink/IdentityConfigurationMetaDataProducer.java 2010-06-15 14:19:38 UTC (rev 13150)
@@ -16,7 +16,11 @@
{
@Produces @ApplicationScoped IdentityConfigurationMetaData createConfig()
{
+ IdentityConfigurationMetaDataImpl config = new IdentityConfigurationMetaDataImpl();
+
+ //config.setIdentityStores(identityStores)
+
// TODO needs actual configuration, realms, identity stores, etc
- return new IdentityConfigurationMetaDataImpl();
+ return config;
}
}
Modified: modules/security/trunk/impl/src/main/java/org/jboss/seam/security/management/picketlink/IdentitySessionProducer.java
===================================================================
--- modules/security/trunk/impl/src/main/java/org/jboss/seam/security/management/picketlink/IdentitySessionProducer.java 2010-06-15 12:22:40 UTC (rev 13149)
+++ modules/security/trunk/impl/src/main/java/org/jboss/seam/security/management/picketlink/IdentitySessionProducer.java 2010-06-15 14:19:38 UTC (rev 13150)
@@ -1,5 +1,8 @@
package org.jboss.seam.security.management.picketlink;
+import java.util.ArrayList;
+import java.util.List;
+
import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.context.RequestScoped;
import javax.enterprise.inject.Produces;
@@ -7,9 +10,15 @@
import org.picketlink.idm.api.IdentitySession;
import org.picketlink.idm.api.IdentitySessionFactory;
+import org.picketlink.idm.common.exception.IdentityConfigurationException;
import org.picketlink.idm.common.exception.IdentityException;
-import org.picketlink.idm.impl.api.IdentitySessionFactoryImpl;
+import org.picketlink.idm.impl.configuration.IdentityConfigurationImpl;
+import org.picketlink.idm.impl.configuration.metadata.IdentityConfigurationMetaDataImpl;
+import org.picketlink.idm.impl.configuration.metadata.IdentityStoreConfigurationMetaDataImpl;
+import org.picketlink.idm.impl.configuration.metadata.RealmConfigurationMetaDataImpl;
import org.picketlink.idm.spi.configuration.metadata.IdentityConfigurationMetaData;
+import org.picketlink.idm.spi.configuration.metadata.IdentityStoreConfigurationMetaData;
+import org.picketlink.idm.spi.configuration.metadata.RealmConfigurationMetaData;
/**
* Produces IdentitySession instances for identity management-related operations
@@ -21,14 +30,35 @@
{
private IdentitySessionFactory factory;
- private String defaultRealm;
+ private String defaultRealm = "default";
@Inject IdentityConfigurationMetaData config;
@Inject
- public void init()
+ public void init() throws IdentityConfigurationException
{
- factory = new IdentitySessionFactoryImpl(config, null);
+ IdentityConfigurationMetaDataImpl metadata = new IdentityConfigurationMetaDataImpl();
+
+ // Create the identity store configuration
+ List<IdentityStoreConfigurationMetaData> stores = new ArrayList<IdentityStoreConfigurationMetaData>();
+ IdentityStoreConfigurationMetaDataImpl store = new IdentityStoreConfigurationMetaDataImpl();
+ store.setId("jpa");
+ store.setClassName("org.jboss.seam.security.management.JpaIdentityStore");
+ stores.add(store);
+ metadata.setIdentityStores(stores);
+
+ // Create the default realm
+ RealmConfigurationMetaDataImpl realm = new RealmConfigurationMetaDataImpl();
+ realm.setIdentityRepositoryIdRef("jpa");
+ realm.setId("default");
+ List<RealmConfigurationMetaData> realms = new ArrayList<RealmConfigurationMetaData>();
+ realms.add(realm);
+ metadata.setRealms(realms);
+
+ IdentityConfigurationImpl config = new IdentityConfigurationImpl();
+ config.configure(metadata);
+
+ factory = config.buildIdentitySessionFactory();
}
@Produces @RequestScoped IdentitySession createIdentitySession()
Modified: modules/security/trunk/pom.xml
===================================================================
--- modules/security/trunk/pom.xml 2010-06-15 12:22:40 UTC (rev 13149)
+++ modules/security/trunk/pom.xml 2010-06-15 14:19:38 UTC (rev 13150)
@@ -24,7 +24,7 @@
</prerequisites>
<properties>
- <seam.version>3.0.0.b01</seam.version>
+ <seam.version>3.0.0-SNAPSHOT</seam.version>
<!-- Use snapshot WeldX -->
<weld.extensions.version>1.0.0-SNAPSHOT</weld.extensions.version>
<!-- Seam-Drools is not yet released -->
14 years
Seam SVN: r13149 - dist/trunk.
by seam-commits@lists.jboss.org
Author: shane.bryzak(a)jboss.com
Date: 2010-06-15 08:22:40 -0400 (Tue, 15 Jun 2010)
New Revision: 13149
Modified:
dist/trunk/pom.xml
Log:
update picketlink idm version
Modified: dist/trunk/pom.xml
===================================================================
--- dist/trunk/pom.xml 2010-06-15 11:10:08 UTC (rev 13148)
+++ dist/trunk/pom.xml 2010-06-15 12:22:40 UTC (rev 13149)
@@ -72,7 +72,7 @@
<hibernate.version>3.5.1-Final</hibernate.version>
<drools.version>5.1.0.M2</drools.version>
<jbpm.version>4.2</jbpm.version>
- <picketlink.idm.version>1.1.2.CR01</picketlink.idm.version>
+ <picketlink.idm.version>1.1.5.CR01</picketlink.idm.version>
<joda.time.version>1.6</joda.time.version>
<pretty.time.version>1.0.6</pretty.time.version>
14 years
Seam SVN: r13148 - modules/resteasy/trunk.
by seam-commits@lists.jboss.org
Author: jharting
Date: 2010-06-15 07:10:08 -0400 (Tue, 15 Jun 2010)
New Revision: 13148
Modified:
modules/resteasy/trunk/pom.xml
Log:
Remove SNAPSHOT dependency, correct scope.
Modified: modules/resteasy/trunk/pom.xml
===================================================================
--- modules/resteasy/trunk/pom.xml 2010-06-15 10:53:44 UTC (rev 13147)
+++ modules/resteasy/trunk/pom.xml 2010-06-15 11:10:08 UTC (rev 13148)
@@ -72,7 +72,7 @@
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jaxrs</artifactId>
- <version>2.0-beta-3-SNAPSHOT</version>
+ <version>2.0-beta-3</version>
<scope>provided</scope>
</dependency>
<!-- Required until the Servlet 3.0 API can be resolved in Central -->
@@ -104,6 +104,7 @@
<artifactId>jboss-as-client</artifactId>
<version>6.0.0.20100429-M3</version>
<type>pom</type>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>commons-httpclient</groupId>
14 years
Seam SVN: r13147 - in branches/community/Seam_2_2: examples/spring/resources/META-INF and 1 other directories.
by seam-commits@lists.jboss.org
Author: kpiwko(a)redhat.com
Date: 2010-06-15 06:53:44 -0400 (Tue, 15 Jun 2010)
New Revision: 13147
Modified:
branches/community/Seam_2_2/build/root.pom.xml
branches/community/Seam_2_2/examples/spring/resources/META-INF/persistence-spring.xml
branches/community/Seam_2_2/examples/spring/resources/WEB-INF/applicationContext.xml
Log:
JBSEAM-3035, upgraded Spring and Spring example to 2.5.6.SEC01 version
Modified: branches/community/Seam_2_2/build/root.pom.xml
===================================================================
--- branches/community/Seam_2_2/build/root.pom.xml 2010-06-15 07:57:30 UTC (rev 13146)
+++ branches/community/Seam_2_2/build/root.pom.xml 2010-06-15 10:53:44 UTC (rev 13147)
@@ -43,6 +43,7 @@
<version.drools>5.0.1</version.drools>
<version.testng>5.10</version.testng>
<version.resteasy>2.0-beta-2</version.resteasy>
+ <version.spring>2.5.6.SEC01</version.spring>
</properties>
<dependencyManagement>
@@ -881,7 +882,7 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring</artifactId>
- <version>2.5.5</version>
+ <version>${version.spring}</version>
<exclusions>
<!-- Prevent the insanity which is commons-logging pom introducing dependencies on weird stuff -->
<exclusion>
Modified: branches/community/Seam_2_2/examples/spring/resources/META-INF/persistence-spring.xml
===================================================================
--- branches/community/Seam_2_2/examples/spring/resources/META-INF/persistence-spring.xml 2010-06-15 07:57:30 UTC (rev 13146)
+++ branches/community/Seam_2_2/examples/spring/resources/META-INF/persistence-spring.xml 2010-06-15 10:53:44 UTC (rev 13147)
@@ -1,12 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="
- http://java.sun.com/xml/ns/persistence
- http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
version="1.0">
<persistence-unit name="bookingDatabase" transaction-type="RESOURCE_LOCAL">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
+ <!-- classes must be enumerated due to a known bug in Seam 2.5.6, SPR-5787 -->
+ <class>org.jboss.seam.example.spring.Booking</class>
+ <class>org.jboss.seam.example.spring.Hotel</class>
+ <class>org.jboss.seam.example.spring.User</class>
<properties>
<property name="hibernate.hbm2ddl.auto" value="create-drop"/>
<property name="hibernate.show_sql" value="true"/>
Modified: branches/community/Seam_2_2/examples/spring/resources/WEB-INF/applicationContext.xml
===================================================================
--- branches/community/Seam_2_2/examples/spring/resources/WEB-INF/applicationContext.xml 2010-06-15 07:57:30 UTC (rev 13146)
+++ branches/community/Seam_2_2/examples/spring/resources/WEB-INF/applicationContext.xml 2010-06-15 10:53:44 UTC (rev 13147)
@@ -26,7 +26,7 @@
<property name="dataSource" ref="dataSource"/>
<property name="persistenceUnitName" value="bookingDatabase"/>
<!-- Use alternate location to prevent JBoss AS from automatically loading persistence units (in-container) -->
- <property name="persistenceXmlLocation" value="classpath:META-INF/persistence-spring.xml"/>
+ <property name="persistenceXmlLocation" value="classpath*:/META-INF/persistence-spring.xml"/>
</bean>
<!-- This example uses resource local JpaTransactionManager. You could just as easily use a JtaTransactionManager -->
14 years
Seam SVN: r13146 - branches/enterprise/JBPAPP_5_0/build.
by seam-commits@lists.jboss.org
Author: manaRH
Date: 2010-06-15 03:57:30 -0400 (Tue, 15 Jun 2010)
New Revision: 13146
Modified:
branches/enterprise/JBPAPP_5_0/build/settings.xml
Log:
activated deprecated profile
Modified: branches/enterprise/JBPAPP_5_0/build/settings.xml
===================================================================
--- branches/enterprise/JBPAPP_5_0/build/settings.xml 2010-06-14 17:04:10 UTC (rev 13145)
+++ branches/enterprise/JBPAPP_5_0/build/settings.xml 2010-06-15 07:57:30 UTC (rev 13146)
@@ -343,6 +343,7 @@
<activeProfiles>
<activeProfile>jboss-public-repository</activeProfile>
+ <activeProfile>jboss-deprecated-repository</activeProfile>
</activeProfiles>
14 years
Seam SVN: r13145 - examples/trunk/booking-simplified.
by seam-commits@lists.jboss.org
Author: lincolnthree
Date: 2010-06-14 13:04:10 -0400 (Mon, 14 Jun 2010)
New Revision: 13145
Modified:
examples/trunk/booking-simplified/pom.xml
Log:
Modified: examples/trunk/booking-simplified/pom.xml
===================================================================
--- examples/trunk/booking-simplified/pom.xml 2010-06-14 16:54:55 UTC (rev 13144)
+++ examples/trunk/booking-simplified/pom.xml 2010-06-14 17:04:10 UTC (rev 13145)
@@ -203,7 +203,7 @@
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
- <artifactId>slf4j-impl</artifactId>
+ <artifactId>slf4j-simple</artifactId>
<version>1.5.10</version>
</dependency>
<dependency>
14 years