All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eu.maveniverse.maven.toolbox.plugin.mp.SubprojectTreeMojo Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2023-2024 Maveniverse Org.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-v20.html
 */
package eu.maveniverse.maven.toolbox.plugin.mp;

import eu.maveniverse.maven.toolbox.plugin.MPMojoSupport;
import eu.maveniverse.maven.toolbox.shared.Result;
import org.apache.maven.plugins.annotations.Mojo;
import org.eclipse.aether.collection.CollectResult;

/**
 * Displays subproject collection of Maven Projects.
 */
@Mojo(name = "subproject-tree", threadSafe = true)
public class SubprojectTreeMojo extends MPMojoSupport {
    @Override
    protected Result doExecute() throws Exception {
        return getToolboxCommando().subprojectTree(getReactorLocator());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy