Changeset e390e67 for build.xml


Ignore:
Timestamp:
May 2, 2017 1:05:31 PM (3 years ago)
Author:
str4d <str4d@…>
Branches:
master
Children:
1e9c688
Parents:
d27d0603
Message:

Package I2P servlet classes for Maven Central

RequestWrapper? and its dependencies are excluded to avoid classpath issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • build.xml

    rd27d0603 re390e67  
    964964        <delete file="mavencentral-mstreaming.jar" />
    965965        <delete file="mavencentral-streaming.jar" />
     966        <delete file="mavencentral-servlet-i2p.jar" />
    966967    </target>
    967968
     
    20172018        <ant dir="apps/streaming/java/" target="javadocJar" />
    20182019        <ant dir="apps/streaming/java/" target="sourcesJar" />
     2020        <ant dir="apps/jetty/" target="servletJar" />
     2021        <ant dir="apps/jetty/" target="servletJavadocJar" />
     2022        <ant dir="apps/jetty/" target="servletSourcesJar" />
    20192023    </target>
    20202024
     
    20262030        <copy file="build/mstreaming.jar" tofile="pkg-mavencentral/mstreaming-${release.number}.jar" />
    20272031        <copy file="build/streaming.jar" tofile="pkg-mavencentral/streaming-${release.number}.jar" />
     2032        <copy file="apps/jetty/build/servlet-i2p-${release.number}.jar" todir="pkg-mavencentral/" />
    20282033        <!-- JavaDocs -->
    20292034        <copy file="core/java/build/i2p-${release.number}-javadoc.jar" todir="pkg-mavencentral/" />
     
    20312036        <copy file="apps/ministreaming/java/build/mstreaming-${release.number}-javadoc.jar" todir="pkg-mavencentral/" />
    20322037        <copy file="apps/streaming/java/build/streaming-${release.number}-javadoc.jar" todir="pkg-mavencentral/" />
     2038        <copy file="apps/jetty/build/servlet-i2p-${release.number}-javadoc.jar" todir="pkg-mavencentral/" />
    20332039        <!-- Sources -->
    20342040        <copy file="core/java/build/i2p-${release.number}-sources.jar" todir="pkg-mavencentral/" />
     
    20362042        <copy file="apps/ministreaming/java/build/mstreaming-${release.number}-sources.jar" todir="pkg-mavencentral/" />
    20372043        <copy file="apps/streaming/java/build/streaming-${release.number}-sources.jar" todir="pkg-mavencentral/" />
     2044        <copy file="apps/jetty/build/servlet-i2p-${release.number}-sources.jar" todir="pkg-mavencentral/" />
    20382045        <!-- POMs -->
    20392046        <artifact:pom id="i2ppom" groupId="net.i2p" artifactId="i2p" version="${release.number}"
     
    20852092            <dependency groupId="net.i2p.client" artifactId="mstreaming" version="${release.number}" />
    20862093        </artifact:pom>
     2094        <artifact:pom id="servletpom" groupId="net.i2p" artifactId="servlet-i2p" version="${release.number}"
     2095                name="I2P Servlet classes"
     2096                description="Various servlet classes provided to plugins by Java I2P."
     2097                url="https://geti2p.net/">
     2098            <license name="Public Domain" url="http://en.wikipedia.org/wiki/Public_domain" />
     2099            <developer name="zzz" organization="I2P" organizationUrl="https://geti2p.net/" />
     2100            <developer name="str4d" email="str4d@i2pmail.org" organization="I2P" organizationUrl="https://geti2p.net/" />
     2101            <scm connection="scm:git:git@github.com:i2p/i2p.i2p.git"
     2102                 developerConnection="scm:git:git@github.com:i2p/i2p.i2p.git"
     2103                 url="git@github.com:i2p/i2p.i2p.git" />
     2104            <dependency groupId="net.i2p" artifactId="i2p" version="${release.number}" />
     2105            <dependency groupId="org.apache.tomcat" artifactId="tomcat-servlet-api" version="8.0.33" />
     2106        </artifact:pom>
    20872107        <artifact:writepom pomRefId="i2ppom" file="pkg-mavencentral/i2p-${release.number}.pom"/>
    20882108        <artifact:writepom pomRefId="routerpom" file="pkg-mavencentral/router-${release.number}.pom"/>
    20892109        <artifact:writepom pomRefId="mstreamingpom" file="pkg-mavencentral/mstreaming-${release.number}.pom" />
    20902110        <artifact:writepom pomRefId="streamingpom" file="pkg-mavencentral/streaming-${release.number}.pom" />
     2111        <artifact:writepom pomRefId="servletpom" file="pkg-mavencentral/servlet-i2p-${release.number}.pom" />
    20912112        <!-- Signatures -->
    20922113        <echo message="Sign the files:" />
     
    21142135        <gpgsignasc file="pkg-mavencentral/streaming-${release.number}-javadoc.jar" />
    21152136        <gpgsignasc file="pkg-mavencentral/streaming-${release.number}-sources.jar" />
     2137        <gpgsignasc file="pkg-mavencentral/servlet-i2p-${release.number}.jar" />
     2138        <gpgsignasc file="pkg-mavencentral/servlet-i2p-${release.number}.pom" />
     2139        <gpgsignasc file="pkg-mavencentral/servlet-i2p-${release.number}-javadoc.jar" />
     2140        <gpgsignasc file="pkg-mavencentral/servlet-i2p-${release.number}-sources.jar" />
    21162141        <!-- Bundle -->
    21172142        <jar destfile="mavencentral-i2p.jar">
     
    21332158            <fileset dir="./pkg-mavencentral">
    21342159                <include name="streaming-*" />
     2160            </fileset>
     2161        </jar>
     2162        <jar destfile="mavencentral-servlet-i2p.jar">
     2163            <fileset dir="./pkg-mavencentral">
     2164                <include name="servlet-i2p-*" />
    21352165            </fileset>
    21362166        </jar>
Note: See TracChangeset for help on using the changeset viewer.