<target name="nightly-maven-publish" depends="nightly-maven-pom.xml">
<property file="${gpg.passphrase.file}" />
- <echo>Publishing ${output-dir}/WebContent/${lib-jar-name} to Maven repository</echo>
+
+ <echo>Publishing ${result-path}/${lib-javadoc-jar-name} to Maven repository</echo>
<artifact:mvn>
<arg value="gpg:sign-and-deploy-file"/>
<!-- .. is a workaround as maven runs in the build directory -->
- <sysproperty key="file" value="../${output-dir}/WebContent/${lib-jar-name}" />
+ <sysproperty key="file" value="../${result-path}/${lib-javadoc-jar-name}" />
<sysproperty key="pomFile" value="maven/pom.xml" />
<sysproperty key="repositoryId" value="vaadin-snapshots" />
<sysproperty key="url" value="http://oss.sonatype.org/content/repositories/vaadin-snapshots" />
+ <sysproperty key="classifier" value="javadoc" />
<sysproperty key="gpg.passphrase" value="${gpg.passphrase}" />
</artifact:mvn>
- <echo>Publishing ${result-path}/${lib-javadoc-jar-name} to Maven repository</echo>
+ <echo>Publishing ${result-path}/${lib-sources-jar-name} to Maven repository</echo>
<artifact:mvn>
<arg value="gpg:sign-and-deploy-file"/>
<!-- .. is a workaround as maven runs in the build directory -->
- <sysproperty key="file" value="../${result-path}/${lib-javadoc-jar-name}" />
+ <sysproperty key="file" value="../${result-path}/${lib-sources-jar-name}" />
<sysproperty key="pomFile" value="maven/pom.xml" />
<sysproperty key="repositoryId" value="vaadin-snapshots" />
<sysproperty key="url" value="http://oss.sonatype.org/content/repositories/vaadin-snapshots" />
- <sysproperty key="classifier" value="javadoc" />
+ <sysproperty key="classifier" value="sources" />
<sysproperty key="gpg.passphrase" value="${gpg.passphrase}" />
</artifact:mvn>
- <echo>Publishing ${result-path}/${lib-sources-jar-name} to Maven repository</echo>
- <artifact:mvn>
+ <echo>Publishing ${output-dir}/WebContent/${lib-jar-name} to Maven repository</echo>
+ <artifact:mvn>
<arg value="gpg:sign-and-deploy-file"/>
<!-- .. is a workaround as maven runs in the build directory -->
- <sysproperty key="file" value="../${result-path}/${lib-sources-jar-name}" />
+ <sysproperty key="file" value="../${output-dir}/WebContent/${lib-jar-name}" />
<sysproperty key="pomFile" value="maven/pom.xml" />
<sysproperty key="repositoryId" value="vaadin-snapshots" />
<sysproperty key="url" value="http://oss.sonatype.org/content/repositories/vaadin-snapshots" />
- <sysproperty key="classifier" value="sources" />
<sysproperty key="gpg.passphrase" value="${gpg.passphrase}" />
</artifact:mvn>
</target>