-
Notifications
You must be signed in to change notification settings - Fork 551
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: detect *.jar files as maven #861
Conversation
f1ee1be
to
f12c39a
Compare
48d9865
to
345909d
Compare
@@ -26,3 +80,92 @@ test('`protect` should not fail for unauthorized users', (t) => { | |||
userConfig.set('api', apiUserConfig); | |||
}); | |||
}); | |||
|
|||
test('`protect` for unsupported package managers', async (t) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
copied these over from main acceptance test
@@ -40,6 +40,7 @@ const DETECTABLE_PACKAGE_MANAGERS: { | |||
'.gemspec': 'rubygems', | |||
'package-lock.json': 'npm', | |||
'pom.xml': 'maven', | |||
'.jar': 'maven', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we also want to detect .war
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and zip
, and perhaps ear
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's add the rest as the user requests for this, added jar
and war
. Each one will need tests etc, so let's get 1/2 working end to end
@@ -0,0 +1,1584 @@ | |||
import * as tap from 'tap'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes me so happy 😄
345909d
to
40bf99a
Compare
40bf99a
to
0189a39
Compare
🎉 This PR is included in version 1.247.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
What does this PR do?
*.jar
files to be processed by the mvn pluginWhat are the relevant tickets?
BST-1044