<?xml version="1.0"?><project>
  <parent>
    <artifactId>pom</artifactId>
    <groupId>org.jvnet.hudson.main</groupId>
    <version>1.96</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>remoting</artifactId>
  <name>Hudson remoting layer</name>
  <version>1.96</version>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <skip>true</skip>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
        <executions>
          <execution>
            <id>uberjar</id>
            <phase>package</phase>
            <goals>
              <goal>single</goal>
            </goals>
            <configuration>
              <finalName>remoting-1.96</finalName>
              <descriptors>
                <descriptor>assembly-uberjar-14.xml</descriptor>
              </descriptors>
              <archive>
                <manifest>
                  <mainClass>hudson.remoting.Launcher</mainClass>
                </manifest>
              </archive>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
            <id>create14jar</id>
            <phase>process-classes</phase>
            <goals>
              <goal>run</goal>
            </goals>
            <configuration>
              <tasks>
                <taskdef classname="net.sf.retrotranslator.transformer.RetrotranslatorTask" name="retrotranslator" classpathref="maven.test.classpath"></taskdef>
                <mkdir dir="target/classes14"></mkdir>
                <retrotranslator destdir="target/classes14" srcdir="target/classes"></retrotranslator>
                <jar basedir="target/classes14" destfile="target/${artifactId}-1.96-jdk14.jar">
                  <manifest>
                    <attribute name="Main-Class" value="hudson.remoting.Launcher"></attribute>
                  </manifest>
                </jar>
                <signjar storepass="${hudson.sign.storepass}" keystore="${hudson.sign.keystore}" alias="${hudson.sign.alias}" jar="target/${artifactId}-1.96-jdk14.jar"></signjar>
              </tasks>
            </configuration>
          </execution>
          <execution>
            <id>signUberjar</id>
            <phase>verify</phase>
            <goals>
              <goal>run</goal>
            </goals>
            <configuration>
              <tasks>
                <signjar storepass="${hudson.sign.storepass}" keystore="${hudson.sign.keystore}" alias="${hudson.sign.alias}" jar="target/${artifactId}-1.96-jdk14-jar-with-dependencies.jar"></signjar>
              </tasks>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>attach-artifacts</id>
            <phase>package</phase>
            <goals>
              <goal>attach-artifact</goal>
            </goals>
            <configuration>
              <artifacts>
                <artifact>
                  <file>target/${artifactId}-1.96-jdk14.jar</file>
                  <type>jar</type>
                  <classifier>jdk14</classifier>
                </artifact>
              </artifacts>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <version>2.1</version>
        <executions>
          <execution>
            <goals>
              <goal>sign</goal>
            </goals>
            <configuration>
              <alias>${hudson.sign.alias}</alias>
              <storepass>${hudson.sign.storepass}</storepass>
              <keystore>${hudson.sign.keystore}</keystore>
            </configuration>
          </execution>
        </executions>
        <configuration>
          <archive>
            <manifest>
              <mainClass>hudson.remoting.Launcher</mainClass>
            </manifest>
          </archive>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>net.sf.retrotranslator</groupId>
      <artifactId>retrotranslator-runtime</artifactId>
      <version>1.2.1</version>
    </dependency>
    <dependency>
      <groupId>net.sf.retrotranslator</groupId>
      <artifactId>retrotranslator-transformer</artifactId>
      <version>1.2.1</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>asm</groupId>
      <artifactId>asm-all</artifactId>
      <version>2.2.3</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <distributionManagement>
    <status>deployed</status>
  </distributionManagement>
</project>