Skip to content

Added - Eclipse Photon Support - #121

Closed
spunzmann wants to merge 5 commits into
m2e-code-quality:developfrom
spunzmann:develop
Closed

spunzmann wants to merge 5 commits into
m2e-code-quality:developfrom
spunzmann:develop

Conversation

@spunzmann

Copy link
Copy Markdown

m2e-code-quality plugins limited required 'org.eclipse.m2e.*' bundles to a max version 1.9.0.

  • Changed the limits to M2E version used in Photon (1.10.0)
  • Added Photon module and target definition
  • Reworked PMD plugin compilation problems due to a changed API in the latest PMD version

Sascha Punzmann added 2 commits June 29, 2018 13:20
Oxygen limited version range of required M2E plugin to 1.9.0 for Photon
the M2E version is 1.10.0 so it did not work with Photon
Oxygen limited version range of required M2E plugin to 1.9.0 for Photon
the M2E version is 1.10.0 so it did not work with Photon
@ArloL

ArloL commented Jun 29, 2018

Copy link
Copy Markdown
Contributor

Can you check what went wrong with the build? I didnt look into the logs yet.

@spunzmann

Copy link
Copy Markdown
Author

Took a brief look at the log, seems like the oxygen target definition can no longer be resolved. I guess that one off the P2 url is gone.

Just saw that I forgot to add the Photon Job will do that tomorrow.

Oxygen limited version range of required M2E plugin to 1.9.0 for Photon
the M2E version is 1.10.0 so it did not work with Photon
LOG.warn("No ruleset found for {}", loc);
return null;
}
// PMD seems to have changed the method signature

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

indentation is broken here

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

well, not here, just below, sorry

Comment thread pom.xml Outdated
<module>com.basistech.m2e.code.quality.pmd</module>
<module>com.basistech.m2e.code.quality.pmd.feature</module>
<module>com.basistech.m2e.code.quality.site</module>
<module>photon</module>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

indentation is broken

@antoine-morvan

Copy link
Copy Markdown
Contributor

Why go for 1.10.0) and not 2.0.0) ?

@spunzmann

Copy link
Copy Markdown
Author

I think this is good practice, micro versions (1.9.x) usually do not come with API changes that break compatibility. While major or minor versions are a lot more likely to do so. Have seen this approach a lot in the eclipse context.

Sascha Punzmann added 2 commits July 12, 2018 21:41
Oxygen limited version range of required M2E plugin to 1.9.0 for Photon
the M2E version is 1.10.0 so it did not work with Photon
Oxygen limited version range of required M2E plugin to 1.9.0 for Photon
the M2E version is 1.10.0 so it did not work with Photon
Fixed Oomph setup (Maven Import should use 'locateNestedProjects'
option)
@victornoel

Copy link
Copy Markdown
Contributor

@ArloL ping? :)

@victornoel

Copy link
Copy Markdown
Contributor

@ArloL ping

@vorburger

Copy link
Copy Markdown
Member

Hello, if you are watching this repo, you probably saw #123 for #124 ...

Unfortunately the related recent work caused conflicts on this one, so No Good to merge as is now.

Would any of you @spunzmann @victornoel be willing to rebase and adjust this PR? If I understand it correctly, from an only very quick review, some of what this proposed is already done now (re. the PMD and Oxygen fixes; sorry I had not even seen this PR before); but it seems to contain a few other changes which would still be useful. Ideally, perhaps best to raise separate PRs with 1 single squashed commit instead of several things together in 1 PR.

@vorburger

Copy link
Copy Markdown
Member

Oh, and also only now as I'm going over PRs, I see that my own #115 was after something similar to this... Looks like I had done slightly differently; which version range change do you think is better?

You'll also note in #123 that I ditched the multi target platform build at least from Travis. Personally I'd actually be all for just completely removing the mars and neon TPs - PRs for that welcome, to me.

@victornoel

Copy link
Copy Markdown
Contributor

@vorburger I can take care of this one and explore the relation to #115 :)
I will get back on you with a new PR soon!

@vorburger vorburger left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

NOK (now), as per discussion above

@victornoel victornoel mentioned this pull request Sep 19, 2018
@victornoel

Copy link
Copy Markdown
Contributor

@vorburger see #149

@vorburger vorburger closed this Sep 19, 2018
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.

5 participants