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

-Added a helper class to test and debug Mojos in an IDE #65

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mdproctor
Copy link

No description provided.

public void testMojoGoal() throws Exception
{
File testPom = new File(getBasedir(),
"target/test-classes/hello-world-reactor/pom.xml" );
Copy link
Member

Choose a reason for hiding this comment

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

if this is targetting just that parent pom, why the changes to the transitive-dependencies parent pom?

the next iter will have the actual building code in a plain java jar library (maven agnostic, so you could build some IDE tooling too in theory), and will be used by the mojo - this tooling will be helpful, but we'll be able to actually write plain tests too, and actually edit some temp files and see what happens.

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.

2 participants