Skip to content

Commit

Permalink
update versions
Browse files Browse the repository at this point in the history
  • Loading branch information
pmuir committed Nov 9, 2009
1 parent 1c591bc commit 017214e
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
6 changes: 3 additions & 3 deletions bom/pom.xml
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>org.jboss.weld</groupId>
<artifactId>weld-parent</artifactId>
<version>4</version>
<version>6</version>
</parent>

<name>Weld Core BOM</name>
Expand Down Expand Up @@ -71,10 +71,10 @@
</repositories>

<properties>
<weld.api.version>1.0-CR4</weld.api.version>
<weld.api.version>1.0</weld.api.version>
<google.collections.version>1.0-rc3</google.collections.version>
<javassist.version>3.11.0.GA</javassist.version>
<cdi.tck.version>1.0.0-CR6</cdi.tck.version>
<cdi.tck.version>1.0.0-CR7</cdi.tck.version>
<atinject.tck.version>1.0.0-PFD-3</atinject.tck.version>
<jboss.interceptor.version>1.0.0-CR5</jboss.interceptor.version>
<slf4j.version>1.5.9.RC1</slf4j.version>
Expand Down
11 changes: 10 additions & 1 deletion impl/src/main/java/org/jboss/weld/util/Names.java
Expand Up @@ -337,7 +337,16 @@ public static String version(Package pkg)
String version = pkg.getImplementationVersion();
if (version != null)
{
return new StringBuilder().append(version.substring(0, version.lastIndexOf("-"))).append(" (").append(version.substring(version.lastIndexOf("-") + 1)).append(")").toString();
String separator = null;
if (version.indexOf("-") > 0)
{
separator = "-";
}
else
{
separator = ".";
}
return new StringBuilder().append(version.substring(0, version.lastIndexOf(separator))).append(" (").append(version.substring(version.lastIndexOf(separator) + 1)).append(")").toString();
}
}
return "SNAPSHOT";
Expand Down
6 changes: 3 additions & 3 deletions jboss-tck-runner/pom.xml
Expand Up @@ -92,7 +92,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<suiteXmlFiles>
<suiteXmlFile>${project.build.directory}/dependency/jsr299-tck-impl-suite.xml</suiteXmlFile>
<suiteXmlFile>src/test/resources/tck-tests.xml</suiteXmlFile>
</suiteXmlFiles>
<argLine>-Xmx748m</argLine>
<forkMode>once</forkMode>
Expand Down Expand Up @@ -167,7 +167,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<suiteXmlFiles>
<suiteXmlFile>${project.build.directory}/dependency/jsr299-tck-impl-suite.xml</suiteXmlFile>
<suiteXmlFile>src/test/resources/tck-tests.xml</suiteXmlFile>
</suiteXmlFiles>
<systemProperties>
<property>
Expand Down Expand Up @@ -210,7 +210,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<suiteXmlFiles>
<suiteXmlFile>${project.build.directory}/dependency/jsr299-tck-impl-suite.xml</suiteXmlFile>
<suiteXmlFile>src/test/resources/tck-tests.xml</suiteXmlFile>
</suiteXmlFiles>
<systemProperties>
<property>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -9,7 +9,7 @@
<parent>
<groupId>org.jboss.weld</groupId>
<artifactId>weld-parent</artifactId>
<version>4</version>
<version>6</version>
</parent>

<name>Weld Build Aggregator</name>
Expand Down

0 comments on commit 017214e

Please sign in to comment.