Commit Graph

311 Commits

Author SHA1 Message Date
Gil Tene
f8061412c6
Add support for matching -ea version formats
This will support specifying EA versions in the following format examples. E.g.:
14-ea
14.0.0-ea
14.0.0-ea.28
Notes:
 - For the last form above, which is needed for requesting a specific ea build, we must only add '.x' if there are less than 3 dots in the version, hence the change from != 3 to < 3
- The prior parsing logic for e.g. 14.0.0-ea "spelling" will ignore precedence between build numbers in the form of e.g. 14.0.0-ea+b27 vs. 14.0.0-ea+b27 (so it will end up with the earliest rather than the latest ea build in the cdn), and does not allow specifying an ea build number (it will match 14.0.0-ea+b29 to a cdn 14.0.0-ea+b2). The new logic [copupled with the CDN populating EA builds in the form 14.0.0-ea.28) will resolve that.
2019-12-21 19:51:32 -08:00
Konrad Pabjan
d8ada524fc
Merge pull request #29 from clarkbw/maven-auth
Adding maven auth support
2019-12-20 14:48:30 -05:00
Bryan Clark
9b11fe4b5d Add defaults descriptions to actions.yml 2019-12-20 08:35:06 -08:00
Bryan Clark
2ccd1ad125 Add examples of the settings.xml file generated 2019-12-19 15:44:10 -08:00
Bryan Clark
c05b45bb91 Update README with env sections 2019-12-19 15:39:48 -08:00
Bryan Clark
7e36086f36 Pass undefined when empty 2019-12-19 14:20:17 -08:00
Bryan Clark
0e5545ead5 improve tests 2019-12-19 14:18:54 -08:00
Bryan Clark
1bba665156 Try env variables 2019-12-19 11:28:11 -08:00
Bryan Clark
6924f73ee0 Address latest review feedback 2019-12-19 08:52:26 -08:00
Bryan Clark
998be8d08f
Add default to settings-path description
Co-Authored-By: Chris Patterson <chrispat@github.com>
2019-12-18 11:05:01 -08:00
Bryan Clark
2e749e50a6 Update settings-path for github.workspace 2019-12-10 14:25:15 -08:00
Bryan Clark
ce88feea94 Move to settings-path 2019-12-10 13:02:21 -08:00
Bryan Clark
ae11e1a1b6 Allow for alternate settings.xml file location
Use the m2-home to specify a new location for the settings.xml file
2019-12-10 10:03:33 -08:00
Bryan Clark
4757680fc9 Add Shared Runner to README
Be the docs for the feature you want to see. #docsdrivendevelopment
2019-12-10 09:37:07 -08:00
Bryan Clark
551e2a2770 sanitzie XML characters 2019-12-10 09:26:51 -08:00
Bryan Clark
9d56a3bd35 prettier fixup 2019-12-10 09:26:42 -08:00
Bryan Clark
8ccac94e40
README Small spelling fix. Also some rewording
Co-Authored-By: Konrad Pabjan <konradpabjan@github.com>
2019-12-09 12:16:15 -05:00
Bryan Clark
203550b542 Add Gradle example to README 2019-12-06 16:21:27 -05:00
Bryan Clark
2f85cc5281 Merge branch 'maven-auth' of github.com:clarkbw/setup-java into maven-auth 2019-12-06 16:14:53 -05:00
Bryan Clark
70aff31eb7
Apply suggestions from code review
Co-Authored-By: Konrad Pabjan <konradpabjan@github.com>
2019-12-06 15:31:28 -05:00
Bryan Clark
ddf78adea0 Add note about $HOME directory usage 2019-12-06 14:50:30 -05:00
Bryan Clark
f33acc6b4f build release 2019-12-06 14:46:43 -05:00
Bryan Clark
6ae690c576 Add test for overwrite 2019-12-06 14:46:35 -05:00
Bryan Clark
b7e70417f9 Remove last trailing space 2019-12-06 14:36:32 -05:00
Bryan Clark
dbeab7ccf2 Remove trailing spaces and long lines 2019-12-06 14:35:32 -05:00
Bryan Clark
540a98ac02 Wrap long lines in action.yml 2019-12-06 14:33:05 -05:00
Bryan Clark
4b6ff8caf0 Format auth 2019-12-06 14:32:51 -05:00
Bryan Clark
8940139ee8 Be explicit about second flag 2019-12-06 14:28:34 -05:00
Bryan Clark
5e29577d7b Remote options from log 2019-12-06 14:28:17 -05:00
Bryan Clark
1dac4fef05 Use $HOME directory 2019-12-06 14:25:41 -05:00
Bryan Clark
797045350f code == EEXIST 2019-12-05 00:54:26 -05:00
Bryan Clark
948db7588e strringify the logs 2019-12-05 00:48:15 -05:00
Bryan Clark
2b05c00514 logging code 2019-12-05 00:45:56 -05:00
Bryan Clark
96236d7072 return but shoudl still fail 2019-12-05 00:43:41 -05:00
Bryan Clark
12896dfb0f logging options 2019-12-05 00:41:50 -05:00
Bryan Clark
bfbec53132 log when we overwrite the file 2019-12-04 23:54:21 -05:00
Bryan Clark
c1c11bbc1b
Examples use v1 instead of master
Co-Authored-By: Konrad Pabjan <konradpabjan@github.com>
2019-12-04 23:22:47 -05:00
Konrad Pabjan
cfdbba3eb5
Merge pull request #32 from dzirbel/patch-1
Fix typo in README.md
2019-12-04 09:50:34 -05:00
Dominic Zirbel
abe10fa040
Fix typo in README.md 2019-11-29 22:53:14 -08:00
Bryan Clark
d5150a6a67 Add publish to Maven Central example to README 2019-11-29 09:26:29 -08:00
Bryan Clark
210fba7587 Add note about pom.xml to README 2019-11-28 14:52:51 -08:00
Bryan Clark
ade090c5cf Update index.js 2019-11-28 14:48:39 -08:00
Bryan Clark
d2eada383a direct ncc to setup-java 2019-11-28 14:48:36 -08:00
Bryan Clark
cda418e54a Update index.js 2019-11-28 14:22:38 -08:00
Bryan Clark
d1d9006723 Add fields to action.yml 2019-11-28 14:18:30 -08:00
Bryan Clark
7d69f8015b build index.js 2019-11-28 14:13:43 -08:00
Bryan Clark
c8f8a264b4 Add publish section to README 2019-11-28 14:13:35 -08:00
Bryan Clark
1085a2b8cf Use console.log where appropriate
Update gitattributes and remove lib files
2019-11-28 13:35:47 -08:00
Bryan Clark
495409509c parent 52c60e0768c1c2fabcab3acf97aa77c5dbc32dfa
author Bryan Clark <clarkbw@github.com> 1573862473 -0800
committer Bryan Clark <clarkbw@github.com> 1574976093 -0800

Adding maven auth support

ignore vscode directory

move required parameters to auth module

username and password are required from within the auth module now.  Update the tests to ensure this is the case.

Add generated auth and setup-java

Move auth to the bottom of setup

Support ids

generated and pretty files

use server-id instead of ambigous id

Use console.log where appropriate

Adding maven auth support

ignore vscode directory

move required parameters to auth module

username and password are required from within the auth module now.  Update the tests to ensure this is the case.

Add generated auth and setup-java

Move auth to the bottom of setup

generated and pretty files

use server-id instead of ambigous id
2019-11-28 13:35:47 -08:00
Bryan Clark
18983b8d3d Update gitattributes and remove lib files 2019-11-28 13:35:47 -08:00