[jboss-jira] [JBoss JIRA] Resolved: (JBCACHE-1290) Add a 'JBossAS' profile to pom.xml
Galder Zamarreno (JIRA)
jira-events at lists.jboss.org
Tue Feb 19 14:59:26 EST 2008
[ http://jira.jboss.com/jira/browse/JBCACHE-1290?page=all ]
Galder Zamarreno resolved JBCACHE-1290.
---------------------------------------
Resolution: Done
Added JBossAS profile that includes current dependencies used by AS
trunk. I ran the full testsuite to double check whether any regressions
were introduced when using these dependencies.
> Add a 'JBossAS' profile to pom.xml
> ----------------------------------
>
> Key: JBCACHE-1290
> URL: http://jira.jboss.com/jira/browse/JBCACHE-1290
> Project: JBoss Cache
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Reporter: Brian Stansberry
> Assigned To: Galder Zamarreno
> Priority: Minor
> Fix For: 2.1.0.GA
>
>
> Add a maven profile where we can override the standard dependencies and instead specify those of an AS version into which JBC will be integrated. Makes it simple to compile with the altered dependencies and run the testsuite to check for any incompatibilities.
> Example:
> <profile>
> <id>JBossAS</id>
> <activation>
> <activeByDefault>false</activeByDefault>
> </activation>
> <properties>
> <jbosscache-core-version>2.1.0.CR3-JBossAS</jbosscache-core-version>
> </properties>
> <dependencies>
> <dependency>
> <groupId>jgroups</groupId>
> <artifactId>jgroups</artifactId>
> <version>2.6.1</version>
> </dependency>
> <dependency>
> <groupId>commons-logging</groupId>
> <artifactId>commons-logging</artifactId>
> <version>1.1.0.jboss</version>
> </dependency>
> <dependency>
> <groupId>org.jboss.javaee</groupId>
> <artifactId>jboss-javaee</artifactId>
> <version>5.0.0.Beta3Update1</version>
> </dependency>
> <dependency>
> <groupId>org.jboss</groupId>
> <artifactId>jboss-common-core</artifactId>
> <version>2.2.3.GA</version>
> </dependency>
> </dependencies>
> </profile>
> Note I change the jbosscache-core-version property. By running mvn -PJBossAS install I can create and test a special '2.1.0.CR3-JBossAS' binary built against the AS dependencies and copy it to my local maven repository. I can then add an analogous profile to the PojoCache pom.xml, specifying '2.1.0.CR3-JBossAS' as the core cache dependency. In that manner I can test PojoCache as well.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list