google-ads-java icon indicating copy to clipboard operation
google-ads-java copied to clipboard

Quickstart guide should not require building the library

Open nwbirnie opened this issue 5 years ago • 2 comments

Build times are O(20 minutes) which is a bad experience for folks onboarding to the library. Provide a quickstart guide which doesn't require mvn clean install on the project.

nwbirnie avatar Sep 22 '20 10:09 nwbirnie

We could release the examples project and use the maven artifacts directly on the command line.

nwbirnie avatar Sep 22 '20 10:09 nwbirnie

Another option is to modify the instructions for running examples to:

  1. Clone then check out the latest release tag.
  2. Modify the command line to run an example to use a maven profile where the examples project is not in the parent pom. This should make the example go to the maven repo to pick up the library dependency.

Alternative to step 2 above

As part of the release:

  • Set enabledByDefault to true in the sonatype profile
  • Set enabledByDefault to false in the examples-project profile
  • This should be the state when the release tag is set.
  • In the next phase of the release, when setting up SNAPSHOT versions, undo the profile changes above.

jradcliff avatar Sep 22 '20 12:09 jradcliff