Skip to content
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

[JENKINS-41631] Deleting the Maven Embedder dependency from the test harness #62

Merged
merged 1 commit into from
Jun 26, 2017

Conversation

jglick
Copy link
Member

@jglick jglick commented Jun 12, 2017

Critical for JENKINS-41631 since some of the harder problems relate to random libraries pulled in via the lib-jenkins-maven-embedder dependency.

Taking a closer look at the harness code using this library, I could not find any realistic cases where it would actually be used. We already look up test dependencies from the classpath. Furthermore, the group IDs covered are old Hudson names no longer used by Jenkins.

@reviewbybees

@jglick jglick requested a review from stephenc June 12, 2017 23:24
@ghost
Copy link

ghost commented Jun 12, 2017

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

@@ -2512,5 +2460,4 @@ private NameValuePair getCrumbHeaderNVP() {
return new NameValuePair(jenkins.getCrumbIssuer().getDescriptor().getCrumbRequestField(),
jenkins.getCrumbIssuer().getCrumb( null ));
}
public static final List<String> PLUGIN_GROUPIDS = new ArrayList<String>(Arrays.asList("org.jvnet.hudson.plugins", "org.jvnet.hudson.main"));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On the basis of this line alone, I argue this is 100% safe to remove

Copy link
Member

@stephenc stephenc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PARTY!

@jglick
Copy link
Member Author

jglick commented Jun 14, 2017

@reviewbybees done

@jglick jglick merged commit f9c67d5 into jenkinsci:master Jun 26, 2017
@jglick jglick deleted the no-maven-embedder-JENKINS-41631 branch June 26, 2017 20:45
@oleg-nenashev
Copy link
Member

Missed this PR. I am not sure it causes no regressions in plugins like Maven Project, but +1 for removing it taking the mess in the code into account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants