Skip to content

Commit 325fdf0

Browse files
authored
[java] Copy pom.xml to target/ on build (NVIDIA#981)
Fixes NVIDIA#978. This commit modifies the `java/build.sh` script to also copy the `pom.xml` to the `target/` directory. This will allow all artifacts for publication to Maven (i.e. all the jars and the pom) to be fetched from a single location. Authors: - MithunR (https://github.com/mythrocks) Approvers: - James Lamb (https://github.com/jameslamb) URL: NVIDIA#981
1 parent b3c3557 commit 325fdf0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

java/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,5 @@ fi
3838
export LD_LIBRARY_PATH=${CURDIR}/../cpp/build:${LD_LIBRARY_PATH}
3939
cd cuvs-java
4040
mvn verify "${MAVEN_VERIFY_ARGS[@]}" \
41-
&& mvn install:install-file -Dfile=./target/cuvs-java-$VERSION-jar-with-dependencies.jar -DgroupId=$GROUP_ID -DartifactId=cuvs-java -Dversion=$VERSION -Dpackaging=jar
41+
&& mvn install:install-file -Dfile=./target/cuvs-java-$VERSION-jar-with-dependencies.jar -DgroupId=$GROUP_ID -DartifactId=cuvs-java -Dversion=$VERSION -Dpackaging=jar \
42+
&& cp pom.xml ./target/

0 commit comments

Comments
 (0)