Skip to content

Commit a9e5352

Browse files
zippolytetobywf
authored andcommitted
Allow finding jar files when properly versioning resources (#206)
1 parent 1dd595a commit a9e5352

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

python/rpdk/java/codegen.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,9 +294,7 @@ def generate(self, project):
294294
@staticmethod
295295
def _find_jar(project):
296296
jar_glob = list(
297-
(project.root / "target").glob(
298-
"{}-*-SNAPSHOT.jar".format(project.hypenated_name)
299-
)
297+
(project.root / "target").glob("{}-*.jar".format(project.hypenated_name))
300298
)
301299
if not jar_glob:
302300
LOG.debug("No Java ARchives match")

0 commit comments

Comments
 (0)