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 jandex index in MP quickstart, update jandex-plugin version #714

Merged
merged 2 commits into from
May 20, 2019

Conversation

barchetta
Copy link
Member

No description provided.

@barchetta barchetta requested a review from ljnelson May 20, 2019 19:58
@barchetta barchetta self-assigned this May 20, 2019
<plugin>
<groupId>org.jboss.jandex</groupId>
<artifactId>jandex-maven-plugin</artifactId>
<version>1.0.5</version>
Copy link
Member

Choose a reason for hiding this comment

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

If you want to (or need to) use Jandex 2.1.1 (@tjquinno?) then this must be version 1.0.6.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point. We moved to 2.1.1 in the workspace. I'll update these.

Copy link
Member

Choose a reason for hiding this comment

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

Our build (top-level project pom.xml) specifies Jandex 2.1.1.Final. Laird, do you have a reference for the 1.0.6 requirement for 2.1.1.Final?

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Because we specified 2.1.1.FInal already in our top-level pom's dep. mgt. section does that influence the plug-ins' dependencies too?

Copy link
Member

Choose a reason for hiding this comment

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

No. If you wanted to effectively use 1.0.5 for some reason with Jandex 2.1.1, thus effectively creating a very clean Frankenstein jandex-maven-plugin that is exactly equivalent to 1.0.6 as far as I can tell, you would add a <dependencies> stanza to the relevant <plugin> element in <pluginManagement> that referenced Jandex 2.1.1. I think it's simpler just to change the jandex-maven-plugin version.

Copy link
Member

Choose a reason for hiding this comment

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

Oh, yes. I wasn't suggesting we rely on that (even if it did work). I was just curious.

Copy link
Member Author

Choose a reason for hiding this comment

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

I've updated the jandex plugin version in the top level pom.xml, and the jandex versions in the quickstart MP pom.xml. I've also updated the bookstore test app to use the jandex plugin.

ljnelson
ljnelson previously approved these changes May 20, 2019
tjquinno
tjquinno previously approved these changes May 20, 2019
Copy link
Member

@tjquinno tjquinno left a comment

Choose a reason for hiding this comment

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

LGTM with the one note and pending a possible change in the plug-in version to 1.0.6 per Laird's note.

<goals>
<goal>jandex</goal>
</goals>
<phase>process-classes</phase>
Copy link
Member

Choose a reason for hiding this comment

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

This is the default phase for the plug-in. If you want to keep it here for clarity, fine. If you want to remove it for minimalism, fine.

@barchetta barchetta dismissed stale reviews from tjquinno and ljnelson via 2c4a8d4 May 20, 2019 21:17
@barchetta barchetta changed the title Build jandex index for MP quickstart Use jandex index in MP quickstart, update jandex-plugin version May 20, 2019
@barchetta barchetta requested a review from tjquinno May 20, 2019 21:44
@barchetta barchetta merged commit d887d78 into helidon-io:master May 20, 2019
@barchetta barchetta deleted the quickstart-jandex branch May 20, 2019 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants