vscode-maven icon indicating copy to clipboard operation
vscode-maven copied to clipboard

maven execution by id

Open ebadta81 opened this issue 1 year ago • 0 comments

Hi,

I have multiple executions in my pom.xml, but in the vscode maven panel i see only the goals. Is there a way, to see there the goals, with different execution id-s?

The executions work fine from command line, like mvn exec:java@server -f pom.xml

my relevant pom.xml detail:

			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>exec-maven-plugin</artifactId>
				<version>${exec-maven-plugin.version}</version>
				<executions>
					<execution>
						<id>server</id>
						<goals>
							<goal>java</goal>
						</goals>
						<configuration>
							<mainClass>io.vertx.core.Launcher</mainClass>
							<arguments>
								<argument>run</argument>
								<argument>${main.verticle}</argument>
							</arguments>
						</configuration>
					</execution>
					<execution>
						<id>create-user</id>
						<goals>
							<goal>java</goal>
						</goals>
						<configuration>
							<mainClass>io.vertx.core.Launcher</mainClass>
							<arguments>
								<argument>run</argument>
								<argument>dc.server.CreateUserVerticle</argument>
							</arguments>
						</configuration>
					</execution>
				</executions>
			</plugin>

ebadta81 avatar May 12 '23 06:05 ebadta81