Skip to content

#329 compilable Boot Integration output #333

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

Merged
merged 17 commits into from
Aug 17, 2022
Merged

#329 compilable Boot Integration output #333

merged 17 commits into from
Aug 17, 2022

Conversation

sanagaraj-pivotal
Copy link
Contributor

Now the output of integration test: BootUpgrade_27_30_IntegrationTest is compilable. To achieve this we have made following changes:

  • Added a new action called: AddMavenPluginRepository which adds plugin milestone repository to existing pom
  • AddMavenPluginRepository is paired with a condition (NoPluginRepositoryExistsCondition ) which adds plugin repository on when a plugin repo is not detected
  • We have removed Micrometer binding references from the code. and created a branch where the micrometer test is still preserved, we will look into fixing micrometer issue while addressing issue Micrometer binder module recipe fails #330
  • Integration test now compiles the generated 3.0 spring boot project

import org.openrewrite.TreeVisitor;
import org.openrewrite.xml.AddToTagVisitor;
import org.openrewrite.xml.tree.Xml;
import org.springframework.sbm.build.api.RepositoryDefinition;
Copy link
Contributor

Choose a reason for hiding this comment

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

Make AddMavenPluginRepository and AddMavenRepository ready for contribution

@@ -22,7 +22,6 @@
import org.openrewrite.Result;
import org.openrewrite.SourceFile;
import org.openrewrite.internal.lang.Nullable;
import org.openrewrite.java.JavaParser;
Copy link
Contributor

Choose a reason for hiding this comment

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

Please undo formatting

@fabapp2 fabapp2 merged commit eb558f5 into spring-projects-experimental:main Aug 17, 2022
@sanagaraj-pivotal sanagaraj-pivotal deleted the 329-compilable-it branch August 18, 2022 11:01
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