-
1. Re: Release dependent on environment variables??
kcbabo Jul 26, 2011 6:02 PM (in response to dward)I don't have either of those environment variables set and the release build works A-OK for me. The class does say that the variable is required, but like I said, it doesn't seem to cramp my style. I would prefer it if we don't have environment variable dependencies unless absolutely necessary.
One other thing I noticed is that there are two versions of org.switchyard.test.ArquillianUtil in the release repository. If we really need two different versions, then we should name them differently. Also, the package name should be org.switchyard.release.test as the org.swtichyard.test package is used in the core/switchyard-test module, IIRC.
-
2. Re: Release dependent on environment variables??
mageshbk Jul 27, 2011 2:44 AM (in response to dward)The environment variables are necessary for Arquillian to run properly. These are configured in the surefire-plugin
<groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <environmentVariables> <JBOSS_HOME>${switchyard.jboss.home}</JBOSS_HOME> <SWITCHYARD_VERSION>${project.version}</SWITCHYARD_VERSION> </environmentVariables> <systemProperties> <property> <name>jboss.home</name> <value>${switchyard.jboss.home}</value> </property> <property> <name>module.path</name> <value>${switchyard.jboss.home}/modules</value> </property> </systemProperties> <trimStackTrace>false</trimStackTrace> <printSummary>true</printSummary> <forkMode>once</forkMode> </configuration>
-
3. Re: Release dependent on environment variables??
mageshbk Jul 27, 2011 2:48 AM (in response to kcbabo)If we really need two different versions, then we should name them differently. Also, the package name should be org.switchyard.release.test as the org.swtichyard.test package is used in the core/switchyard-test module, IIRC.
-
4. Re: Release dependent on environment variables??
kcbabo Jul 27, 2011 6:58 AM (in response to mageshbk)Magesh Bojan wrote:
The environment variables are necessary for Arquillian to run properly. These are configured in the surefire-plugin
So if environment variables are required, I think this is the best way to handle it.