Skip to content

Commit

Permalink
Updated gremlin-client pom to pick up the version information from th…
Browse files Browse the repository at this point in the history
…e parent project pom.

Updated release.sh to mvn install vs. mvn package to pick up local dependencies
  • Loading branch information
beebs-systap committed Mar 9, 2022
1 parent 0e8373a commit b93899f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions neptune-gremlin-client/gremlin-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>neptune-gremlin-client</artifactId>
<groupId>software.amazon.neptune</groupId>
<version>1.8</version>
</parent>

<groupId>software.amazon.neptune</groupId>
<artifactId>gremlin-client</artifactId>
<packaging>jar</packaging>
<version>1.0.3-SNAPSHOT</version>

<modelVersion>4.0.0</modelVersion>

Expand Down Expand Up @@ -207,4 +209,4 @@
</profiles>


</project>
</project>
2 changes: 1 addition & 1 deletion neptune-gremlin-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,4 @@
<module>neptune-endpoints-info-lambda</module>
</modules>

</project>
</project>
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ for artifact in $MAVEN_ARTIFACTS; do
pushd $artifact >& /dev/null
mvn versions:set -DnewVersion=${VERSION_STRING} versions:update-child-modules
mvn clean
mvn package
mvn install
#All of the jars are shaded. Only take the shaded, bundled jars.
for jar in `find . -name "*.jar" -print | grep -vE "SNAPSHOT|original|\-$VERSION_STRING"`; do
cp $jar $ARTIFACT_DIR
Expand Down

0 comments on commit b93899f

Please sign in to comment.