DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
| Tip | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| |||||||||
When building Geronimo 2.2. Add the following to your
|
...
You can use geronimo-property-plugin in the pom.xml file of artifacts to set _bootClassPath_ property which is used by maven-compiler-plugin and maven-surefire-plugin as followed. The geronimo-property-plugin executes in the validate phase and sets _bootClassPath_ system property. The value of _bootClassPath_ property is set to _-Xbootclasspath/p:<path><pathSeparator><path>..._ string where each <path> is the jar file to place in the front of boot classpath.
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
...
<plugin>
<groupId>org.apache.geronimo.buildsupport</groupId>
<artifactId>geronimo-property-plugin</artifactId>
<configuration>
<propertyName>bootClassPath</propertyName>
<propertyValuePrefix>-Xbootclasspath/p:</propertyValuePrefix>
<classpath>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-annotation_1.1_spec</artifactId>
<version>1.0.1</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jaxws_2.2_spec</artifactId>
<version>${geronimojaxws.version}</version>
</dependency>
</classpath>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArgument>${bootClassPath}</compilerArgument>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>${bootClassPath}</argLine>
</configuration>
</plugin>
...
|
...