Weld SVN: r6433 - examples/trunk/jsf.
by weld-commits@lists.jboss.org
Author: mgencur(a)redhat.com
Date: 2010-06-15 03:05:51 -0400 (Tue, 15 Jun 2010)
New Revision: 6433
Removed:
examples/trunk/jsf/pastecode/
Log:
ear version of pastecode removed
14 years, 6 months
Weld SVN: r6432 - archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/src/main/webapp/WEB-INF.
by weld-commits@lists.jboss.org
Author: dan.j.allen
Date: 2010-06-15 01:27:14 -0400 (Tue, 15 Jun 2010)
New Revision: 6432
Modified:
archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
Log:
switch to 3.0
remove unnecessary ref
Modified: archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
===================================================================
--- archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml 2010-06-15 05:25:21 UTC (rev 6431)
+++ archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml 2010-06-15 05:27:14 UTC (rev 6432)
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
- <!--
- Uncomment if you're using Glassfish. JBoss 6.0.0.M1 doesn't yet support Servlet 3.0. This is anticipated to be
- fixed very soon.
- -->
- <!--
- <web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://java.sun.com/xml/ns/javaee
- http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
- -->
-<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://java.sun.com/xml/ns/javaee
- http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
+ http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
+
+ <!-- This is an optional parameter, but it makes troubleshooting errors much easier -->
+ <!-- You should delete it before final deployment -->
+ <context-param>
+ <param-name>javax.faces.PROJECT_STAGE</param-name>
+ <param-value>Development</param-value>
+ </context-param>
+
<!-- Activate the JSF 2.0 servlet -->
<servlet>
<servlet-name>Faces Servlet</servlet-name>
@@ -19,22 +19,10 @@
<load-on-startup>1</load-on-startup>
</servlet>
- <!-- Tell the context which URLs to process as facelets. -->
+ <!-- Tell the context which URLs to process with JSF -->
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
- <!-- This is an optional parameter, but it makes troubleshooting errors much easier. -->
- <!-- You may want to delete it before final deployment -->
- <context-param>
- <param-name>javax.faces.PROJECT_STAGE</param-name>
- <param-value>Development</param-value>
- </context-param>
-
- <persistence-unit-ref>
- <persistence-unit-ref-name>widgets/pu</persistence-unit-ref-name>
- <persistence-unit-name>widgets</persistence-unit-name>
- </persistence-unit-ref>
-
</web-app>
14 years, 6 months
Weld SVN: r6431 - archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/src/main/resources/META-INF.
by weld-commits@lists.jboss.org
Author: dan.j.allen
Date: 2010-06-15 01:25:21 -0400 (Tue, 15 Jun 2010)
New Revision: 6431
Modified:
archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/src/main/resources/META-INF/persistence.xml
Log:
add format sql
Modified: archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/src/main/resources/META-INF/persistence.xml
===================================================================
--- archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/src/main/resources/META-INF/persistence.xml 2010-06-15 05:25:10 UTC (rev 6430)
+++ archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/src/main/resources/META-INF/persistence.xml 2010-06-15 05:25:21 UTC (rev 6431)
@@ -22,6 +22,7 @@
<!-- Properties for Hibernate (default provider for JBoss AS) -->
<property name="hibernate.hbm2ddl.auto" value="create-drop"/>
<property name="hibernate.show_sql" value="true"/>
+ <property name="hibernate.format_sql" value="false"/>
<property name="hibernate.cache.provider_class" value="org.hibernate.cache.HashtableCacheProvider"/>
<!-- Properties for EclipseLink (default provider for GlassFish) -->
14 years, 6 months
Weld SVN: r6430 - archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/src/main/java.
by weld-commits@lists.jboss.org
Author: dan.j.allen
Date: 2010-06-15 01:25:10 -0400 (Tue, 15 Jun 2010)
New Revision: 6430
Modified:
archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/src/main/java/WidgetRepositoryProducer.java
Log:
remove stateless
Modified: archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/src/main/java/WidgetRepositoryProducer.java
===================================================================
--- archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/src/main/java/WidgetRepositoryProducer.java 2010-06-13 13:02:20 UTC (rev 6429)
+++ archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/src/main/java/WidgetRepositoryProducer.java 2010-06-15 05:25:10 UTC (rev 6430)
@@ -1,12 +1,10 @@
package ${package};
-import javax.ejb.Stateless;
import javax.enterprise.inject.Produces;
import javax.enterprise.inject.Disposes;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
-@Stateless
public class WidgetRepositoryProducer
{
// NOTE cannot use producer field because Weld attempts to close EntityManager
14 years, 6 months
Weld SVN: r6429 - core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/annotatedType/decoration.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2010-06-13 09:02:20 -0400 (Sun, 13 Jun 2010)
New Revision: 6429
Modified:
core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/annotatedType/decoration/AnnotatedTypeDecoratorTest.java
Log:
minor
Modified: core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/annotatedType/decoration/AnnotatedTypeDecoratorTest.java
===================================================================
--- core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/annotatedType/decoration/AnnotatedTypeDecoratorTest.java 2010-06-13 13:00:52 UTC (rev 6428)
+++ core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/annotatedType/decoration/AnnotatedTypeDecoratorTest.java 2010-06-13 13:02:20 UTC (rev 6429)
@@ -29,7 +29,6 @@
import org.jboss.shrinkwrap.api.Archive;
import org.jboss.shrinkwrap.api.BeanArchive;
import org.jboss.shrinkwrap.api.ShrinkWrap;
-import org.jboss.shrinkwrap.api.spec.JavaArchive;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -46,8 +45,7 @@
public static Archive<?> deploy()
{
return ShrinkWrap.create("test.jar", BeanArchive.class)
- .addPackage(AnnotatedTypeDecoratorTest.class.getPackage())
- .as(JavaArchive.class);
+ .addPackage(AnnotatedTypeDecoratorTest.class.getPackage());
}
@Inject
14 years, 6 months
Weld SVN: r6428 - core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/annotatedType.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2010-06-13 09:00:52 -0400 (Sun, 13 Jun 2010)
New Revision: 6428
Modified:
core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/annotatedType/ExampleTest.java
Log:
minor
Modified: core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/annotatedType/ExampleTest.java
===================================================================
--- core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/annotatedType/ExampleTest.java 2010-06-13 13:00:34 UTC (rev 6427)
+++ core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/annotatedType/ExampleTest.java 2010-06-13 13:00:52 UTC (rev 6428)
@@ -30,7 +30,6 @@
import org.jboss.shrinkwrap.api.Archive;
import org.jboss.shrinkwrap.api.BeanArchive;
import org.jboss.shrinkwrap.api.ShrinkWrap;
-import org.jboss.shrinkwrap.api.spec.JavaArchive;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -47,8 +46,7 @@
public static Archive<?> deploy()
{
return ShrinkWrap.create("test.jar", BeanArchive.class)
- .addPackage(ExampleTest.class.getPackage())
- .as(JavaArchive.class);
+ .addPackage(ExampleTest.class.getPackage());
}
@Inject
14 years, 6 months
Weld SVN: r6427 - core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/annotatedType.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2010-06-13 09:00:34 -0400 (Sun, 13 Jun 2010)
New Revision: 6427
Modified:
core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/annotatedType/DeclaringTypeTest.java
Log:
minor
Modified: core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/annotatedType/DeclaringTypeTest.java
===================================================================
--- core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/annotatedType/DeclaringTypeTest.java 2010-06-13 12:59:04 UTC (rev 6426)
+++ core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/annotatedType/DeclaringTypeTest.java 2010-06-13 13:00:34 UTC (rev 6427)
@@ -27,7 +27,6 @@
import org.jboss.shrinkwrap.api.Archive;
import org.jboss.shrinkwrap.api.BeanArchive;
import org.jboss.shrinkwrap.api.ShrinkWrap;
-import org.jboss.shrinkwrap.api.spec.JavaArchive;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -43,7 +42,8 @@
@Deployment
public static Archive<?> deploy()
{
- return ShrinkWrap.create("test.jar", BeanArchive.class).addPackage(DeclaringTypeTest.class.getPackage()).as(JavaArchive.class);
+ return ShrinkWrap.create("test.jar", BeanArchive.class)
+ .addPackage(DeclaringTypeTest.class.getPackage());
}
@Inject
14 years, 6 months
Weld SVN: r6426 - core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/annotatedType.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2010-06-13 08:59:04 -0400 (Sun, 13 Jun 2010)
New Revision: 6426
Modified:
core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/annotatedType/DeclaringTypeTest.java
Log:
ws
Modified: core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/annotatedType/DeclaringTypeTest.java
===================================================================
--- core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/annotatedType/DeclaringTypeTest.java 2010-06-13 12:55:56 UTC (rev 6425)
+++ core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/annotatedType/DeclaringTypeTest.java 2010-06-13 12:59:04 UTC (rev 6426)
@@ -41,16 +41,14 @@
{
@Deployment
- public static Archive<?> deploy()
+ public static Archive<?> deploy()
{
- return ShrinkWrap.create("test.jar", BeanArchive.class)
- .addPackage(DeclaringTypeTest.class.getPackage())
- .as(JavaArchive.class);
+ return ShrinkWrap.create("test.jar", BeanArchive.class).addPackage(DeclaringTypeTest.class.getPackage()).as(JavaArchive.class);
}
@Inject
private BeanManager beanManager;
-
+
@Test
public void testInheritance()
{
@@ -61,14 +59,8 @@
{
if (field.getJavaMember().getName().equals("parent"))
{
- Assert.assertEquals(Parent.class, field.getJavaMember().getDeclaringClass()); // OK
- // -
- // Returns
- // Parent
- Assert.assertEquals(Parent.class, field.getDeclaringType().getJavaClass()); // FAIL
- // -
- // Returns
- // Child
+ Assert.assertEquals(Parent.class, field.getJavaMember().getDeclaringClass()); // OK - Returns Parent
+ Assert.assertEquals(Parent.class, field.getDeclaringType().getJavaClass()); // FAIL - Returns Child
}
else
{
@@ -81,14 +73,8 @@
{
if (method.getJavaMember().getName().equals("parentMethod"))
{
- Assert.assertEquals(Parent.class, method.getJavaMember().getDeclaringClass()); // OK
- // -
- // /Returns
- // Parent
- Assert.assertEquals(Parent.class, method.getDeclaringType().getJavaClass()); // FAIL
- // -
- // Returns
- // Child
+ Assert.assertEquals(Parent.class, method.getJavaMember().getDeclaringClass()); // OK - Returns Parent
+ Assert.assertEquals(Parent.class, method.getDeclaringType().getJavaClass()); // FAIL - Returns Child
}
else
{
14 years, 6 months
Weld SVN: r6425 - core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/alternatives.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2010-06-13 08:55:56 -0400 (Sun, 13 Jun 2010)
New Revision: 6425
Added:
core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/alternatives/TestAlternative.java
Removed:
core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/alternatives/Test.java
Modified:
core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/alternatives/Alternatives2Test.java
core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/alternatives/AlternativesTest.java
core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/alternatives/Producer.java
Log:
remove name conflicts
Modified: core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/alternatives/Alternatives2Test.java
===================================================================
--- core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/alternatives/Alternatives2Test.java 2010-06-12 19:25:25 UTC (rev 6424)
+++ core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/alternatives/Alternatives2Test.java 2010-06-13 12:55:56 UTC (rev 6425)
@@ -24,6 +24,7 @@
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.spec.JavaArchive;
import org.junit.Assert;
+import org.junit.Test;
import org.junit.runner.RunWith;
@RunWith(Arquillian.class)
@@ -37,7 +38,7 @@
.as(JavaArchive.class);
}
- @org.junit.Test
+ @Test
public void testAlternativesOnProducers(Consumer consumer)
{
Assert.assertEquals("Normal", consumer.getFoo().getName());
Modified: core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/alternatives/AlternativesTest.java
===================================================================
--- core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/alternatives/AlternativesTest.java 2010-06-12 19:25:25 UTC (rev 6424)
+++ core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/alternatives/AlternativesTest.java 2010-06-13 12:55:56 UTC (rev 6425)
@@ -22,6 +22,7 @@
import org.jboss.shrinkwrap.api.BeanArchive;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.junit.Assert;
+import org.junit.Test;
import org.junit.runner.RunWith;
@RunWith(Arquillian.class)
@@ -31,11 +32,11 @@
public static Archive<?> deploy()
{
return ShrinkWrap.create("test.jar", BeanArchive.class)
- .stereotype(Test.class)
+ .stereotype(TestAlternative.class)
.addPackage(Alternatives2Test.class.getPackage());
}
- @org.junit.Test
+ @Test
public void testAlternativesOnProducers(Consumer consumer)
{
Assert.assertEquals("Test", consumer.getFoo().getName());
Modified: core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/alternatives/Producer.java
===================================================================
--- core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/alternatives/Producer.java 2010-06-12 19:25:25 UTC (rev 6424)
+++ core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/alternatives/Producer.java 2010-06-13 12:55:56 UTC (rev 6425)
@@ -21,7 +21,7 @@
public class Producer
{
- @Produces @Test
+ @Produces @TestAlternative
public Foo getFoo()
{
return new Foo("Test");
Deleted: core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/alternatives/Test.java
===================================================================
--- core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/alternatives/Test.java 2010-06-12 19:25:25 UTC (rev 6424)
+++ core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/alternatives/Test.java 2010-06-13 12:55:56 UTC (rev 6425)
@@ -1,31 +0,0 @@
-/*
- * 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.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.jboss.weld.tests.alternatives;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-import javax.enterprise.inject.Alternative;
-import javax.enterprise.inject.Stereotype;
-
-@Stereotype
-@Alternative
-(a)Retention(RetentionPolicy.RUNTIME)
-(a)Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
-public @interface Test {}
\ No newline at end of file
Copied: core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/alternatives/TestAlternative.java (from rev 6424, core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/alternatives/Test.java)
===================================================================
--- core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/alternatives/TestAlternative.java (rev 0)
+++ core/trunk/tests-arquillian/src/test/java/org/jboss/weld/tests/alternatives/TestAlternative.java 2010-06-13 12:55:56 UTC (rev 6425)
@@ -0,0 +1,31 @@
+/*
+ * 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.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.jboss.weld.tests.alternatives;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+import javax.enterprise.inject.Alternative;
+import javax.enterprise.inject.Stereotype;
+
+@Stereotype
+@Alternative
+(a)Retention(RetentionPolicy.RUNTIME)
+(a)Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
+public @interface TestAlternative {}
\ No newline at end of file
14 years, 6 months
Weld SVN: r6424 - core/trunk/impl.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2010-06-12 15:25:25 -0400 (Sat, 12 Jun 2010)
New Revision: 6424
Modified:
core/trunk/impl/pom.xml
Log:
hack around cal10n-verify plugin not working in maven 3
Modified: core/trunk/impl/pom.xml
===================================================================
--- core/trunk/impl/pom.xml 2010-06-11 19:08:20 UTC (rev 6423)
+++ core/trunk/impl/pom.xml 2010-06-12 19:25:25 UTC (rev 6424)
@@ -129,49 +129,8 @@
<optional>true</optional>
</dependency>
-
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>ch.qos.cal10n.plugins</groupId>
- <artifactId>maven-cal10n-plugin</artifactId>
- <executions>
- <execution>
- <id>verify-messages</id>
- <phase>verify</phase>
- <goals>
- <goal>verify</goal>
- </goals>
- <configuration>
- <enumTypes>
- <!-- list every enum type you would like to see checked -->
- <enumType>org.jboss.weld.logging.messages.BeanManagerMessage</enumType>
- <enumType>org.jboss.weld.logging.messages.BeanMessage</enumType>
- <enumType>org.jboss.weld.logging.messages.BootstrapMessage</enumType>
- <enumType>org.jboss.weld.logging.messages.ContextMessage</enumType>
- <enumType>org.jboss.weld.logging.messages.ConversationMessage</enumType>
- <enumType>org.jboss.weld.logging.messages.ElMessage</enumType>
- <enumType>org.jboss.weld.logging.messages.EventMessage</enumType>
- <enumType>org.jboss.weld.logging.messages.JsfMessage</enumType>
- <enumType>org.jboss.weld.logging.messages.MetadataMessage</enumType>
- <enumType>org.jboss.weld.logging.messages.ReflectionMessage</enumType>
- <enumType>org.jboss.weld.logging.messages.ResolutionMessage</enumType>
- <enumType>org.jboss.weld.logging.messages.ServletMessage</enumType>
- <enumType>org.jboss.weld.logging.messages.UtilMessage</enumType>
- <enumType>org.jboss.weld.logging.messages.ValidatorMessage</enumType>
- <enumType>org.jboss.weld.logging.messages.VersionMessage</enumType>
- <enumType>org.jboss.weld.logging.messages.XmlMessage</enumType>
- </enumTypes>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- </plugins>
- </build>
-
<profiles>
<profile>
<id>javax.xml.ws</id>
@@ -186,6 +145,53 @@
</dependencies>
</profile>
<profile>
+ <id>cal10n-verify</id>
+ <activation>
+ <property>
+ <name>cal10n-verify</name>
+ <value>!false</value>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>ch.qos.cal10n.plugins</groupId>
+ <artifactId>maven-cal10n-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>verify-messages</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>verify</goal>
+ </goals>
+ <configuration>
+ <enumTypes>
+ <!-- list every enum type you would like to see checked -->
+ <enumType>org.jboss.weld.logging.messages.BeanManagerMessage</enumType>
+ <enumType>org.jboss.weld.logging.messages.BeanMessage</enumType>
+ <enumType>org.jboss.weld.logging.messages.BootstrapMessage</enumType>
+ <enumType>org.jboss.weld.logging.messages.ContextMessage</enumType>
+ <enumType>org.jboss.weld.logging.messages.ConversationMessage</enumType>
+ <enumType>org.jboss.weld.logging.messages.ElMessage</enumType>
+ <enumType>org.jboss.weld.logging.messages.EventMessage</enumType>
+ <enumType>org.jboss.weld.logging.messages.JsfMessage</enumType>
+ <enumType>org.jboss.weld.logging.messages.MetadataMessage</enumType>
+ <enumType>org.jboss.weld.logging.messages.ReflectionMessage</enumType>
+ <enumType>org.jboss.weld.logging.messages.ResolutionMessage</enumType>
+ <enumType>org.jboss.weld.logging.messages.ServletMessage</enumType>
+ <enumType>org.jboss.weld.logging.messages.UtilMessage</enumType>
+ <enumType>org.jboss.weld.logging.messages.ValidatorMessage</enumType>
+ <enumType>org.jboss.weld.logging.messages.VersionMessage</enumType>
+ <enumType>org.jboss.weld.logging.messages.XmlMessage</enumType>
+ </enumTypes>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
<id>findbugs</id>
<build>
<plugins>
14 years, 6 months