summaryrefslogtreecommitdiff
path: root/java/client/pom.xml
diff options
context:
space:
mode:
authorRobert Greig <rgreig@apache.org>2007-02-20 16:51:32 +0000
committerRobert Greig <rgreig@apache.org>2007-02-20 16:51:32 +0000
commit53dfa7e61494fc38de8b527a91dfdb6051260e2a (patch)
tree9c36100358f74974f5c5b544d8c09b5053aa6d6d /java/client/pom.xml
parent797b61fa56e3576e4a85780e7e8bdc20e6833d75 (diff)
downloadqpid-python-53dfa7e61494fc38de8b527a91dfdb6051260e2a.tar.gz
(Path submitted by Rupert Smith) Qpid-338. Custom SASL implementation for Java 1.4 retrotranslation of the Java client.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@509642 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/client/pom.xml')
-rw-r--r--java/client/pom.xml107
1 files changed, 59 insertions, 48 deletions
diff --git a/java/client/pom.xml b/java/client/pom.xml
index af85c5e63a..3a425cae1a 100644
--- a/java/client/pom.xml
+++ b/java/client/pom.xml
@@ -15,7 +15,7 @@
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
- -->
+-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
@@ -100,12 +100,18 @@
<scope>test</scope>
</dependency>
- <!-- This needs to be included at compile time, for the retrotranslator verification to find it. -->
- <dependency>
- <groupId>net.sf.retrotranslator</groupId>
- <artifactId>retrotranslator-runtime</artifactId>
- <scope>provided</scope>
- </dependency>
+ <!-- These need to be included at compile time only, for the retrotranslator verification to find them. -->
+ <dependency>
+ <groupId>net.sf.retrotranslator</groupId>
+ <artifactId>retrotranslator-runtime</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
@@ -122,16 +128,16 @@
<configuration>
<systemProperties>
<property>
- <name>amqj.noAutoCreateVMBroker</name>
- <value>true</value>
- </property>
- <property>
<name>amqj.logging.level</name>
<value>${amqj.logging.level}</value>
</property>
<property>
<name>log4j.configuration</name>
- <value>file:///${basedir}/src/main/java/client.log4j</value>
+ <value>${log4j.configuration}</value>
+ </property>
+ <property>
+ <name>amqj.noAutoCreateVMBroker</name>
+ <value>true</value>
</property>
</systemProperties>
</configuration>
@@ -152,35 +158,38 @@
<!-- Backports the module to Java 1.4. This is done during the packaging phase as a transformation of the Jar. -->
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>retrotranslator-maven-plugin</artifactId>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>translate</goal>
- </goals>
- <configuration>
- <destjar>${project.build.directory}/${project.build.finalName}-java1.4.jar</destjar>
- <verify>${retrotranslator.verify}</verify>
- <verifyClasspath>
- <element>${retrotranslator.1.4-rt-path}</element>
- <element>${retrotranslator.1.4-jce-path}</element>
- <element>${retrotranslator.1.4-jsse-path}</element>
- </verifyClasspath>
- <includes>
- <include>
- <directory>${project.build.directory}</directory>
- <pattern>${project.build.finalName}.jar</pattern>
- </include>
- </includes>
- </configuration>
- </execution>
-
- </executions>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>retrotranslator-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>retro-client</id>
+ <phase>package</phase>
+ <goals>
+ <goal>translate</goal>
+ </goals>
+ <configuration>
+ <!--<destdir>${project.build.directory}/retro-classes</destdir>-->
+ <destjar>${project.build.directory}/${project.build.finalName}-java14.jar</destjar>
+ <verify>${retrotranslator.verify}</verify>
+ <verifyClasspath>
+ <element>${retrotranslator.1.4-rt-path}</element>
+ <element>${retrotranslator.1.4-jce-path}</element>
+ <element>${retrotranslator.1.4-jsse-path}</element>
+ <element>${retrotranslator.1.4-sasl-path}</element>
+ </verifyClasspath>
+ <failonwarning>false</failonwarning>
+ <includes>
+ <include>
+ <directory>${project.build.directory}</directory>
+ <pattern>${project.build.finalName}.jar</pattern>
+ </include>
+ </includes>
+ </configuration>
+ </execution>
+ </executions>
</plugin>
-
- <!-- This identifies the backported java 1.4 jar and attaches it as a jar (classified as java1.4) build artifact. -->
+
+ <!-- This identifies the backported java 1.4 jars and attaches them as jar (classified as java14) build artifacts. -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
@@ -194,9 +203,9 @@
<configuration>
<artifacts>
<artifact>
- <file>${project.build.directory}/${project.build.finalName}-java1.4.jar</file>
+ <file>${project.build.directory}/${project.build.finalName}-java14.jar</file>
<type>jar</type>
- <classifier>java1.4</classifier>
+ <classifier>java14</classifier>
</artifact>
</artifacts>
</configuration>
@@ -215,15 +224,18 @@
<include>**</include>
</includes>
</testResource>
- <testResource>
+
+ <!--
+ <testResource>
<targetPath>src/</targetPath>
<filtering>false</filtering>
<directory>src/test/java</directory>
<includes>
- <include>**/*.java</include>
+ <include>**/*.java</include>
</includes>
- </testResource>
-
+ </testResource>
+ -->
+
<testResource>
<targetPath></targetPath>
<filtering>false</filtering>
@@ -233,8 +245,7 @@
</includes>
</testResource>
</testResources>
-
+
</build>
</project>
- \ No newline at end of file