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

Use same JVM that maven is using. #43

Merged
merged 4 commits into from
Aug 8, 2019

Conversation

cstroe
Copy link
Contributor

@cstroe cstroe commented May 25, 2017

Use the java executable that Maven ran with. Inspired from the Surefire plugin's getEffectiveJvm minus the toolchain lookup.

Fixes #6, #14 and #26

@cstroe
Copy link
Contributor Author

cstroe commented May 25, 2017

@gcberger I'd love to have this be included in the upcoming version 2.0.0!

@cstroe
Copy link
Contributor Author

cstroe commented Jun 1, 2017

@gcberger Any chance in merging this?

@robsonpeixoto
Copy link

@gcberger ping

@andrewdibiasio6
Copy link

I echo this @gcberger "Any chance in merging this?"

@gcberger
Copy link
Contributor

gcberger commented Oct 4, 2017 via email

@Mats-SX
Copy link

Mats-SX commented Nov 5, 2018

Ping. We'd love to have this.

@martin-g
Copy link

I think a better solution would be to make scalatest-maven-plugin toolchains aware (#58). I don't think this PR would solve the issue described at #58 .

@cstroe
Copy link
Contributor Author

cstroe commented Nov 16, 2018

I think the delay is that I have to sign the CLA, which has to be approved by my current employer: #37 (comment)

Also, yes, we should definitely make this plugin Toolchain aware, but that could be subsequent work.

@martin-g
Copy link

I can do the work to use ToolchainManager in the coming days if there is a chance that it will be ever used. This PR is one year and a half old and it seems there is no much interest from the maintainers.

@cstroe
Copy link
Contributor Author

cstroe commented Nov 16, 2018

Some options to solve maintainership absence:

  1. The current maintainers can add an active member of the OSS community as a committer/maintainer to this repository and have them be the approver of commits.
  2. The community can fork this repo into another org that can be better maintained.
  3. Something else I couldn't think of...?

I think the first option is better as it avoids fragmentation of the community.

@cstroe
Copy link
Contributor Author

cstroe commented Nov 16, 2018

@gcberger @bvenners , I have signed and emailed the CLA.

@bvenners
Copy link
Contributor

@cstroe Thanks very much! I got the CLA. We'll get this merged and released as soon as we can.

@stefano-xy
Copy link

@bvenners , are the administrative problems solved? I would also like to have this merged. Thanks.

@manuzhang
Copy link

Any progress here ?

@bvenners
Copy link
Contributor

Sorry for the delay. I'll get it going.

@rondefreitas
Copy link

Thanks @bvenners . Looking forward to seeing this out there. There's a couple of other PRs I've been waiting on seeing merged (and I'm sure others). No pressure though and thanks for circling back to look at this project :)

@katrinsharp katrinsharp merged commit fe598ec into scalatest:master Aug 8, 2019
@manuzhang
Copy link

@bvenners @katrinsharp Thanks, is there a plan to make a new release with this fix ?

@cstroe cstroe deleted the use-correct-java branch August 9, 2019 14:22
@katrinsharp
Copy link
Collaborator

@manuzhang I'll discuss with @bvenners and let you know. Please stay tuned.

@manuzhang
Copy link

@katrinsharp @bvenners Thanks. Any plan to make a new release for this fix ?

@katrinsharp
Copy link
Collaborator

@manuzhang my bad I'm slow on some other open PRs to review. I'll try to fit all open ones in next couple of weeks.

@chetanmeh
Copy link

@katrinsharp Any plan to make a new release for this fix ?

@katrinsharp
Copy link
Collaborator

@chetanmeh My apologies! I'm going to handle this as we speak.

@chetanmeh
Copy link

Thanks @katrinsharp for responding and looking into this

@katrinsharp
Copy link
Collaborator

Update: I'm handling couple of different PRs and then release - several days.

@amirhadadi
Copy link

@katrinsharp can you please release a version with this fix?

@qsarahd
Copy link

qsarahd commented Nov 3, 2020

Joining the requests. @katrinsharp, can you please release a version with the fix?

@katrinsharp
Copy link
Collaborator

katrinsharp commented Nov 4, 2020

It was released. There is an issue to sync up with Maven central - I've put a request to get it sorted, meanwhile you can try the new version by adding this to your PM:

<pluginRepositories>
  <pluginRepository>
    <id>releases</id>
    <url>https://repo1.maven.org/maven2</url>
  </pluginRepository>
</pluginRepositories>

I'll add a new comment here letting everyone know that it was synced up with Maven central.

Update: you don't need to add thew above code, the jar did make its way into maven central, it is just https://mvnrepository.com/artifact/org.scalatest/scalatest-maven-plugin doesn't reflect that. I'm on it.

And it is on Maven central now.

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.

'java' is not recognized as an internal or external command