Changeset 14891


Ignore:
Timestamp:
10/08/16 14:52:23 (12 months ago)
Author:
mevenson
Message:

build: ensure that a version has been created when packaging sources and javadoc

Location:
trunk/abcl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/build.xml

    r14884 r14891  
    783783    </target>
    784784
    785     <target name="abcl.source.zip" depends="abcl.source.windows">
     785    <target name="abcl.source.zip" depends="abcl.stamp,abcl.source.windows">
    786786      <mkdir dir="${dist.dir}"/>
    787787      <zip destfile="${dist.dir}/abcl-src-${abcl.version}.zip"
     
    791791    </target>
    792792
    793     <target name="abcl.source.jar" depends="abcl.source.unix">
     793    <target name="abcl.source.jar" depends="abcl.stamp,abcl.source.unix">
    794794      <mkdir dir="${dist.dir}"/>
    795795      <jar destfile="${dist.dir}/abcl-${abcl.version}-sources.jar">
     
    806806    <property name="abcl.javadoc.dir" value="${build.dir}/javadoc"/>
    807807
    808     <target name="abcl.javadoc">
     808    <target name="abcl.javadoc" depends="abcl.stamp">
    809809      <mkdir dir="${abcl.javadoc.dir}"/>
    810810      <javadoc destdir="${abcl.javadoc.dir}"
  • trunk/abcl/maven-release.txt

    r14847 r14891  
    2222# For snapshots - development versions - the version in the POM should be like x.y.z-SNAPSHOT
    2323mvn gpg:sign-and-deploy-file -Dfile=dist/abcl.jar -DpomFile=pom.xml -Durl=https://oss.sonatype.org/content/repositories/snapshots/ -DrepositoryId=sonatype-nexus-snapshots
    24 mvn gpg:sign-and-deploy-file -Dfile=dist/abcl-${abcl.version}-sources.jar -DpomFile=pom.xml -Durl=https://oss.sonatype.org/content/repositories/snapshots/ -DrepositoryId=sonatype-nexus-snapshots -Dclassifier=sources
    25 mvn gpg:sign-and-deploy-file -Dfile=dist/abcl-${abcl.version}-javadoc.jar -DpomFile=pom.xml -Durl=https://oss.sonatype.org/content/repositories/snapshots/ -DrepositoryId=sonatype-nexus-snapshots -Dclassifier=javadoc
    26 mvn gpg:sign-and-deploy-file -Dfile=dist/abcl-contrib-${abcl.version}-jar -DpomFile=contrib/pom.xml -Durl=https://oss.sonatype.org/content/repositories/snapshots/ -DrepositoryId=sonatype-nexus-snapshots
     24mvn gpg:sign-and-deploy-file -Dfile=dist/abcl-sources.jar -DpomFile=pom.xml -Durl=https://oss.sonatype.org/content/repositories/snapshots/ -DrepositoryId=sonatype-nexus-snapshots -Dclassifier=sources
     25mvn gpg:sign-and-deploy-file -Dfile=dist/abcl-javadoc.jar -DpomFile=pom.xml -Durl=https://oss.sonatype.org/content/repositories/snapshots/ -DrepositoryId=sonatype-nexus-snapshots -Dclassifier=javadoc
     26mvn gpg:sign-and-deploy-file -Dfile=dist/abcl-contrib-.jar -DpomFile=contrib/pom.xml -Durl=https://oss.sonatype.org/content/repositories/snapshots/ -DrepositoryId=sonatype-nexus-snapshots
    2727
    2828# For releases - the version in the POM should be x.y.z
Note: See TracChangeset for help on using the changeset viewer.