ken
ken

Reputation: 193

How to initialize/run a java project in maven plugin

I am now writing a maven plugin. The purpose of this plugin is to call and initialize another java project which I have previously written. Anyone knows how I can acheive this? Thanks in advance.

Upvotes: 0

Views: 848

Answers (1)

FrVaBe
FrVaBe

Reputation: 49341

There is an existing Exec Maven Plugin which provides a goal java that can be use to run Java programs from a plugin. Maybe this is what you need - otherwise explain your use case a bit more detailed.

Upvotes: 1

Related Questions