Author: alex.guizar(a)jboss.com
Date: 2010-02-25 19:56:56 -0500 (Thu, 25 Feb 2010)
New Revision: 6194
Added:
jbpm3/branches/jbpm-3.2-soa/docs/tattletale/jbpm-enterprise.jar-package.png
Removed:
jbpm3/branches/jbpm-3.2-soa/docs/tattletale/jbpm-enterpries.jar-package.png
projects/parent/trunk/.classpath
Modified:
jbpm3/branches/jbpm-3.2-soa/modules/core/pom.xml
jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/java/org/jbpm/context/exe/variableinstance/JcrNodeInstance.java
jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/java/org/jbpm/db/compatibility/JbpmSchemaUpdate.java
jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/java/org/jbpm/graph/node/advanced/ParallelSplit.java
jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/java/org/jbpm/svc/Services.java
jbpm3/branches/jbpm-3.2-soa/pom.xml
projects/parent/trunk/.project
projects/parent/trunk/pom.xml
Log:
JBPM-2802: measure test coverage with cobertura
Deleted: jbpm3/branches/jbpm-3.2-soa/docs/tattletale/jbpm-enterpries.jar-package.png
===================================================================
(Binary files differ)
Copied: jbpm3/branches/jbpm-3.2-soa/docs/tattletale/jbpm-enterprise.jar-package.png (from
rev 6189, jbpm3/branches/jbpm-3.2-soa/docs/tattletale/jbpm-enterpries.jar-package.png)
===================================================================
(Binary files differ)
Modified: jbpm3/branches/jbpm-3.2-soa/modules/core/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/pom.xml 2010-02-25 03:45:59 UTC (rev 6193)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/pom.xml 2010-02-26 00:56:56 UTC (rev 6194)
@@ -188,7 +188,7 @@
<profiles>
<!--
- Name: soa
+ Name: soa
Desc: Customizations for the SOA build
-->
<profile>
@@ -241,7 +241,7 @@
</profile>
<!--
- Name: db2
+ Name: db2
Desc: DB2 Test Exclusions
-->
<profile>
@@ -267,7 +267,7 @@
</profile>
<!--
- Name: mssql
+ Name: mssql
Desc: SQL Server Test Exclusions
-->
<profile>
@@ -293,7 +293,7 @@
</profile>
<!--
- Name: oracle
+ Name: oracle
Desc: Oracle Test Exclusions
-->
<profile>
Modified:
jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/java/org/jbpm/context/exe/variableinstance/JcrNodeInstance.java
===================================================================
---
jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/java/org/jbpm/context/exe/variableinstance/JcrNodeInstance.java 2010-02-25
03:45:59 UTC (rev 6193)
+++
jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/java/org/jbpm/context/exe/variableinstance/JcrNodeInstance.java 2010-02-26
00:56:56 UTC (rev 6194)
@@ -23,12 +23,11 @@
import java.util.Iterator;
-import javax.jcr.Item;
import javax.jcr.Node;
+import javax.jcr.PathNotFoundException;
import javax.jcr.Repository;
import javax.jcr.RepositoryException;
import javax.jcr.Session;
-import javax.jcr.Workspace;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
@@ -36,105 +35,115 @@
import org.jbpm.JbpmException;
import org.jbpm.context.exe.VariableInstance;
import org.jbpm.jcr.JcrService;
+import org.jbpm.svc.Service;
import org.jbpm.svc.Services;
public class JcrNodeInstance extends VariableInstance {
private static final long serialVersionUID = 1L;
-
- String repository = null;
- String workspace = null;
- String path = null;
+ String repository;
+ String workspace;
+ String path;
+
public boolean isStorable(Object value) {
- if (value==null) return true;
+ if (value == null) return true;
return Node.class.isAssignableFrom(value.getClass());
}
protected Object getObject() {
- if (path==null) return null;
-
- // THE NODE REPOSITORY AND WORKSPACE NAME GOT TO CORRESPOND WITH A JBPM SERVICE NAME
+ if (path == null) return null;
+
+ // THE NODE REPOSITORY AND WORKSPACE NAME GOT TO CORRESPOND WITH A JBPM
+ // SERVICE NAME
JcrService jcrService = findService();
- if (jcrService==null) {
- throw new JbpmException("couldn't find jBPM service for JCR repository
'"+repository+"', workspace '"+workspace+"'");
+ if (jcrService == null) {
+ throw new JbpmException("couldn't find jBPM service for JCR repository
'" + repository
+ + "', workspace '" + workspace + "'");
}
- Session session = jcrService.getSession();
- Item item;
try {
- item = session.getItem(path);
- } catch (Exception e) {
- // NOTE that Error's are not caught because that might halt the JVM and mask
the original Error.
- throw new JbpmException("can't fetch JCR node '"+path+"'
from repository '"+repository+"', workspace
'"+workspace+"'", e);
+ return jcrService.getSession().getItem(path);
}
- return item;
+ catch (PathNotFoundException e) {
+ throw new JbpmException("failed to get item from path: " + path, e);
+ }
+ catch (RepositoryException e) {
+ throw new JbpmException("failed to get item from path: " + path, e);
+ }
}
/**
- * find the service that matches the stored repository and workspace.
- * The matching is done as follows:
- * - a service name that is equal to the repository name matches
- * - a service that starts with the repository name and ends with the workspace name
matches
- * and takes preference over a service with the repository name
- * @throws JbpmException if no matching jBPM context service is found.
+ * find the service that matches the stored repository and workspace. The
+ * search is done as follows:
+ * <ol>
+ * <li>a service whose name is <code>jcr</code></li>
+ * <li>a service whose name equals the repository name</li>
+ * <li>a service whose name starts with the repository name and ends with the
+ * workspace name matches and takes preference over a service with the
+ * repository name</li>
+ * </ol>
+ *
+ * @throws JbpmException if no matching service is found
*/
private JcrService findService() {
- String serviceName = null;
JbpmContext jbpmContext = JbpmContext.getCurrentJbpmContext();
Services services = jbpmContext.getServices();
// if there is a service called jcr
- if (services.hasService("jcr")) {
+ Service service = services.getService("jcr");
+ if (service != null) {
// use that one
- serviceName = "jcr";
+ return (JcrService) service;
+ }
- } else { // otherwise
- // start matching the JCR workspace name with the jbpm service names
- Iterator serviceNames = services.getServiceFactories().keySet().iterator();
- while (serviceNames.hasNext()) {
- String candidate = (String) serviceNames.next();
- if (candidate.startsWith(workspace)) {
- if (candidate.length()==workspace.length()) {
- if (serviceName==null) {
- serviceName = candidate;
- }
- } else if (candidate.endsWith(workspace)) {
- serviceName = candidate;
- }
+ // start matching the JCR workspace name with the jbpm service names
+ String serviceName = null;
+ for (Iterator iter = services.getServiceFactories().keySet().iterator();
iter.hasNext();) {
+ String candidate = (String) iter.next();
+ if (candidate.startsWith(repository)) {
+ if (candidate.length() == repository.length()) {
+ if (serviceName == null) serviceName = candidate;
}
+ else if (candidate.endsWith(workspace)) {
+ serviceName = candidate;
+ break;
+ }
}
}
-
- if (serviceName==null) {
- throw new JbpmException("couldn't find service for JCR repository
'"+repository+"', workspace '"+workspace+"'");
+ if (serviceName == null) {
+ throw new JbpmException("could not find JCR service for repository '"
+ repository
+ + "' and workspace '" + workspace + '\'');
}
-
return (JcrService) services.getService(serviceName);
}
protected void setObject(Object value) {
Node node = (Node) value;
- if (value==null) {
+ if (value == null) {
repository = null;
workspace = null;
path = null;
- } else {
+ }
+ else {
try {
+ // node repo and workspace got to correspond with a jbpm service name,
+ // as described in findService, unless a global "jcr" service
+ // THE NODE REPOSITORY AND WORKSPACE NAME GOT TO CORRESPOND WITH A JBPM
+ // SERVICE NAME
Session session = node.getSession();
- Repository repo = session.getRepository();
- Workspace wspace = session.getWorkspace();
-
- // THE NODE REPOSITORY AND WORKSPACE NAME GOT TO CORRESPOND WITH A JBPM SERVICE
NAME
- repository = repo.getDescriptor(Repository.REP_NAME_DESC);
- workspace = wspace.getName();
+ repository = session.getRepository().getDescriptor(Repository.REP_NAME_DESC);
+ workspace = session.getWorkspace().getName();
path = node.getPath();
-
- log.debug("stored jcr node repository("+repository+"),
workspace("+workspace+") and path("+path+")");
- } catch (RepositoryException e) {
- throw new JbpmException("problem storing JCR node
'"+node+"' in the process variable '"+name+"'",
e);
+
+ log.debug("stored jcr node, repository '" + repository +
"', workspace '" + workspace
+ + "' and path'" + path + '\'');
}
+ catch (RepositoryException e) {
+ throw new JbpmException("problem storing JCR node '" + node
+ + "' in the process variable '" + name + "'",
e);
+ }
}
}
-
+
private static Log log = LogFactory.getLog(JcrNodeInstance.class);
}
Modified:
jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/java/org/jbpm/db/compatibility/JbpmSchemaUpdate.java
===================================================================
---
jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/java/org/jbpm/db/compatibility/JbpmSchemaUpdate.java 2010-02-25
03:45:59 UTC (rev 6193)
+++
jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/java/org/jbpm/db/compatibility/JbpmSchemaUpdate.java 2010-02-26
00:56:56 UTC (rev 6194)
@@ -23,12 +23,15 @@
import org.hibernate.tool.hbm2ddl.DatabaseMetadata;
import org.hibernate.util.ReflectHelper;
+import org.jbpm.db.JbpmSchema;
+
/**
* This is a modified version of the hibernate tools schema update.
* The modification is to support saving of the update script to a file.
*
* @author Christoph Sturm
* @author Koen Aers
+ * @deprecated superseded by {@link JbpmSchema}
*/
public class JbpmSchemaUpdate {
Modified:
jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/java/org/jbpm/graph/node/advanced/ParallelSplit.java
===================================================================
---
jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/java/org/jbpm/graph/node/advanced/ParallelSplit.java 2010-02-25
03:45:59 UTC (rev 6193)
+++
jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/java/org/jbpm/graph/node/advanced/ParallelSplit.java 2010-02-26
00:56:56 UTC (rev 6194)
@@ -22,11 +22,14 @@
package org.jbpm.graph.node.advanced;
import org.jbpm.graph.def.Node;
+import org.jbpm.graph.node.Fork;
+/**
+ * @deprecated parallel split is realized with a {@link Fork} with
+ * {@linkplain Node#isAsync() async} branches
+ */
public class ParallelSplit extends Node {
private static final long serialVersionUID = 1L;
-
-
}
Modified:
jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/java/org/jbpm/svc/Services.java
===================================================================
---
jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/java/org/jbpm/svc/Services.java 2010-02-25
03:45:59 UTC (rev 6193)
+++
jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/java/org/jbpm/svc/Services.java 2010-02-26
00:56:56 UTC (rev 6194)
@@ -77,7 +77,7 @@
return Arrays.asList(operations);
}
- Map serviceFactories;
+ final Map serviceFactories;
Map services;
List serviceNames;
List saveOperations;
@@ -87,15 +87,15 @@
}
public static Service getCurrentService(String name, boolean isRequired) {
- Service service = null;
JbpmContext jbpmContext = JbpmContext.getCurrentJbpmContext();
if (jbpmContext != null) {
- service = jbpmContext.getServices().getService(name);
+ Service service = jbpmContext.getServices().getService(name);
+ if (service != null) return service;
}
- if (isRequired && (service == null)) {
- throw new JbpmServiceException("service '" + name + "'
unavailable");
+ if (isRequired) {
+ throw new JbpmServiceException("service unavailable: " + name);
}
- return service;
+ return null;
}
public Services(Map serviceFactories) {
@@ -103,6 +103,9 @@
}
public Services(Map serviceFactories, List serviceNames, List saveOperations) {
+ if (serviceFactories == null) {
+ throw new IllegalArgumentException("service factories map is null");
+ }
this.serviceFactories = serviceFactories;
this.serviceNames = serviceNames;
this.saveOperations = saveOperations != null ? saveOperations :
defaultSaveOperations;
@@ -110,14 +113,14 @@
public void setSaveOperations(List saveOperations) {
if (saveOperations == null) {
- throw new IllegalArgumentException("saveOperations cannot be null");
+ throw new IllegalArgumentException("save operations list is null");
}
this.saveOperations = saveOperations;
}
public void addSaveOperation(SaveOperation saveOperation) {
if (saveOperation == null) {
- throw new IllegalArgumentException("saveOperation cannot be null");
+ throw new IllegalArgumentException("save operation is null");
}
if (saveOperations == defaultSaveOperations) {
saveOperations = new ArrayList(defaultSaveOperations);
@@ -126,9 +129,6 @@
}
public Map getServiceFactories() {
- if (serviceFactories == null) {
- serviceFactories = new HashMap();
- }
return serviceFactories;
}
@@ -137,11 +137,7 @@
}
public boolean hasService(String name) {
- boolean hasService = false;
- if (services != null) {
- hasService = services.containsKey(name);
- }
- return hasService;
+ return getService(name) != null;
}
public Service getService(String name) {
Modified: jbpm3/branches/jbpm-3.2-soa/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/pom.xml 2010-02-25 03:45:59 UTC (rev 6193)
+++ jbpm3/branches/jbpm-3.2-soa/pom.xml 2010-02-26 00:56:56 UTC (rev 6194)
@@ -22,7 +22,7 @@
<parent>
<groupId>org.jbpm</groupId>
<artifactId>jbpm-parent</artifactId>
- <version>1.0.1.GA</version>
+ <version>1.0.2-SNAPSHOT</version>
</parent>
<!-- Modules -->
@@ -65,6 +65,7 @@
<jbpm.jsf-console.version>3.2.9-SNAPSHOT</jbpm.jsf-console.version>
<jdocbook.version>2.1.2</jdocbook.version>
<junit.version>3.8.1</junit.version>
+ <log4j.version>1.2.14</log4j.version>
<mvel.version>1.3.1-java1.4</mvel.version>
<richfaces.ui.version>3.2.1.GA</richfaces.ui.version>
<sun.facelets.version>1.1.15</sun.facelets.version>
@@ -178,6 +179,21 @@
<version>${dumbster.version}</version>
</dependency>
<dependency>
+ <groupId>javax.el</groupId>
+ <artifactId>el-api</artifactId>
+ <version>${javax.el.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.gravel</groupId>
+ <artifactId>gravel</artifactId>
+ <version>${jboss.gravel.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate</artifactId>
+ <version>${hibernate.version}</version>
+ </dependency>
+ <dependency>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>jackrabbit-core</artifactId>
<version>${jackrabbit.version}</version>
@@ -193,11 +209,6 @@
<version>${jaxen.version}</version>
</dependency>
<dependency>
- <groupId>javax.el</groupId>
- <artifactId>el-api</artifactId>
- <version>${javax.el.version}</version>
- </dependency>
- <dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
<version>${javax.faces.version}</version>
@@ -213,11 +224,6 @@
<version>${jboss.client.version}</version>
</dependency>
<dependency>
- <groupId>org.jboss.gravel</groupId>
- <artifactId>gravel</artifactId>
- <version>${jboss.gravel.version}</version>
- </dependency>
- <dependency>
<groupId>jboss</groupId>
<artifactId>jboss-j2ee</artifactId>
<version>${jboss.j2ee.version}</version>
@@ -228,29 +234,34 @@
<version>${javax.jcr.version}</version>
</dependency>
<dependency>
- <groupId>javax.mail</groupId>
- <artifactId>mail</artifactId>
- <version>${javax.mail.version}</version>
+ <groupId>com.sun.facelets</groupId>
+ <artifactId>jsf-facelets</artifactId>
+ <version>${sun.facelets.version}</version>
</dependency>
<dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>${javax.servlet.version}</version>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>${junit.version}</version>
</dependency>
<dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate</artifactId>
- <version>${hibernate.version}</version>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>${log4j.version}</version>
</dependency>
<dependency>
+ <groupId>javax.mail</groupId>
+ <artifactId>mail</artifactId>
+ <version>${javax.mail.version}</version>
+ </dependency>
+ <dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>richfaces-ui</artifactId>
<version>${richfaces.ui.version}</version>
</dependency>
<dependency>
- <groupId>com.sun.facelets</groupId>
- <artifactId>jsf-facelets</artifactId>
- <version>${sun.facelets.version}</version>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>${javax.servlet.version}</version>
</dependency>
<!-- Database Drivers -->
Deleted: projects/parent/trunk/.classpath
===================================================================
--- projects/parent/trunk/.classpath 2010-02-25 03:45:59 UTC (rev 6193)
+++ projects/parent/trunk/.classpath 2010-02-26 00:56:56 UTC (rev 6194)
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con"
path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
- <classpathentry kind="output" path="target/classes"/>
-</classpath>
Modified: projects/parent/trunk/.project
===================================================================
--- projects/parent/trunk/.project 2010-02-25 03:45:59 UTC (rev 6193)
+++ projects/parent/trunk/.project 2010-02-26 00:56:56 UTC (rev 6194)
@@ -6,18 +6,12 @@
</projects>
<buildSpec>
<buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
<name>org.maven.ide.eclipse.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.maven.ide.eclipse.maven2Nature</nature>
</natures>
</projectDescription>
Modified: projects/parent/trunk/pom.xml
===================================================================
--- projects/parent/trunk/pom.xml 2010-02-25 03:45:59 UTC (rev 6193)
+++ projects/parent/trunk/pom.xml 2010-02-26 00:56:56 UTC (rev 6194)
@@ -2,45 +2,38 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
- <name>JBossBPM - Parent</name>
+ <name>JBoss jBPM - Parent</name>
<groupId>org.jbpm</groupId>
<artifactId>jbpm-parent</artifactId>
<packaging>pom</packaging>
<version>1.0.2-SNAPSHOT</version>
<organization>
- <name>JBoss, a division of Red Hat</name>
- <url>http://www.jboss.org</url>
+ <name>JBoss Community</name>
+ <url>http://jboss.org</url>
</organization>
-
- <!-- Properties -->
- <properties>
- <junit.version>3.8.1</junit.version>
- <log4j.version>1.2.14</log4j.version>
- </properties>
-
- <!-- DependencyManagement -->
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>${junit.version}</version>
- </dependency>
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <version>${log4j.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
- <!-- IssueManagement -->
+
+ <!-- Source Control Management -->
+ <scm>
+ <
connection>scm:svn:http://anonsvn.jboss.org/repos/jbpm</connection>
+
<
developerConnection>scm:svn:https://svn.jboss.org/repos/jbpm</devel...
+ <tag>HEAD</tag>
+ <
url>http://fisheye.jboss.org/browse/JbpmSvn</url>
+ </scm>
+
+ <!-- Issue Management -->
+ <
url>http://jboss.org/jbpm</url>
<issueManagement>
<system>jira</system>
<
url>http://jira.jboss.org/jira/browse/JBPM</url>
</issueManagement>
-
+
+ <!-- Continuous Integration Management -->
+ <ciManagement>
+ <system>hudson</system>
+ <
url>http://hudson.qa.jboss.com/hudson</url>
+ </ciManagement>
+
<!-- licenses -->
<licenses>
<license>
@@ -48,21 +41,11 @@
<
url>http://repository.jboss.com/licenses/lgpl.txt</url>
</license>
</licenses>
-
+
<!-- Plugins -->
<build>
<plugins>
<plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- <showDeprecation>true</showDeprecation>
- <showWarnings>true</showWarnings>
- <optimize>true</optimize>
- </configuration>
- </plugin>
- <plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
@@ -72,6 +55,7 @@
</archive>
</configuration>
</plugin>
+
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
@@ -83,22 +67,8 @@
</execution>
</executions>
</plugin>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <failIfNoTests>false</failIfNoTests>
- <trimStackTrace>false</trimStackTrace>
- <testFailureIgnore>${testFailureIgnore}</testFailureIgnore>
- <systemProperties>
- <property>
- <name>log4j.output.dir</name>
- <value>${project.build.directory}</value>
- </property>
- </systemProperties>
- </configuration>
- </plugin>
</plugins>
-
+
<!-- PluginManagement -->
<pluginManagement>
<plugins>
@@ -119,16 +89,19 @@
</dependency>
</dependencies>
</plugin>
+
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.1</version>
</plugin>
+
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.0-beta-1</version>
</plugin>
+
<plugin>
<groupId>net.sourceforge.maven-taglib</groupId>
<artifactId>maven-taglib-plugin</artifactId>
@@ -137,35 +110,38 @@
</plugins>
</pluginManagement>
</build>
-
+
<!-- Reporting -->
<reporting>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
+ <version>2.5</version>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>cobertura-maven-plugin</artifactId>
+ <version>2.3</version>
+ </plugin>
</plugins>
</reporting>
-
+
<!-- Repositories -->
<repositories>
<repository>
<id>maven2.java.net</id>
- <
name>Java.net Repository for Maven 2</name>
<
url>http://download.java.net/maven/2/</url>
</repository>
+
<repository>
- <id>maven1.java.net</id>
- <
url>http://download.java.net/maven/1/</url>
- <layout>legacy</layout>
- </repository>
- <repository>
<id>repository.jboss.org</id>
<
url>http://repository.jboss.org/maven2</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
+
<repository>
<id>snapshots.jboss.org</id>
<
url>http://snapshots.jboss.org/maven2</url>
@@ -173,6 +149,7 @@
<enabled>true</enabled>
</snapshots>
</repository>
+
<repository>
<id>repository.codehaus.org</id>
<url>http://repository.codehaus.org</url>
@@ -180,19 +157,20 @@
<enabled>false</enabled>
</snapshots>
</repository>
+
<repository>
<id>gwt-maven</id>
<
url>http://gwt-maven.googlecode.com/svn/trunk/mavenrepo/</url>
</repository>
</repositories>
-
+
<!-- PluginRepositories -->
<pluginRepositories>
<pluginRepository>
<id>maven2.java.net</id>
- <
name>Java.net Repository for Maven 2</name>
<
url>http://download.java.net/maven/2/</url>
</pluginRepository>
+
<pluginRepository>
<id>repository.jboss.org</id>
<
url>http://repository.jboss.org/maven2</url>
@@ -200,6 +178,7 @@
<enabled>false</enabled>
</snapshots>
</pluginRepository>
+
<pluginRepository>
<id>snapshots.jboss.org</id>
<
url>http://snapshots.jboss.org/maven2</url>
@@ -207,12 +186,13 @@
<enabled>true</enabled>
</snapshots>
</pluginRepository>
+
<pluginRepository>
<id>gwt-maven</id>
<
url>http://gwt-maven.googlecode.com/svn/trunk/mavenrepo/</url>
</pluginRepository>
</pluginRepositories>
-
+
<!-- DistributionManagement -->
<distributionManagement>
<repository>
@@ -220,6 +200,7 @@
<name>JBoss Maven Repository</name>
<url>file://${jboss.maven.repository}</url>
</repository>
+
<snapshotRepository>
<id>snapshots.jboss.org</id>
<name>JBoss Snapshot Repository</name>