Skip to content
This repository has been archived by the owner on Oct 29, 2023. It is now read-only.

Automatically create bundled jar during the release process #49

Closed
deflaux opened this issue Apr 6, 2015 · 2 comments
Closed

Automatically create bundled jar during the release process #49

deflaux opened this issue Apr 6, 2015 · 2 comments

Comments

@deflaux
Copy link
Contributor

deflaux commented Apr 6, 2015

Right now we are manually creating the bundled version of the jar. Let's instead have this built as part of the release process and available from Maven Central.

@deflaux
Copy link
Contributor Author

deflaux commented Apr 6, 2015

To clarify, the goal is that the bundled jar created via

mvn clean compile bundle:bundle

wind up on https://search.maven.org/#search%7Cga%7C1%7Ca%3A%22google-genomics-dataflow%22 automagically as part of the output of

mvn release:prepare
mvn release:perform

It would be a new downloadable item, such as "bundle.jar". I assume that this should be doable but I have not yet investigated the details.

Specfically - when this task is done:

  • We can get rid of the bundled jar checked into github.
  • mvn clean compile package --> still works and makes the normal jar
  • mvn clean compile bundle:bundle --> still works and makes the bundled jar
  • mvn release:prepare --> now runs both of the above maven commands to make two artifacts
  • mvn release:perform --> now uploads both artifacts to maven central

@deflaux
Copy link
Contributor Author

deflaux commented Jun 3, 2015

I think we need to do this sooner rather than later. Checking the jar in is causing git history bloat. Once we make this change, we can scrub out the obsolete jars via https://help.github.com/articles/remove-sensitive-data/

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

1 participant