Package org.apache.maven.plugin.ear.util

Examples of org.apache.maven.plugin.ear.util.ModuleIdentifierValidator


    private boolean duplicateArtifactsBreakTheBuild;

    private void checkModuleUniqueness()
        throws MojoExecutionException
    {
        ModuleIdentifierValidator miv = new ModuleIdentifierValidator( getModules() );
        miv.checkForDuplicateArtifacts();
        if ( miv.existDuplicateArtifacts() )
        {
            Map<String, List<EarModule>> duplicateArtifacts = miv.getDuplicateArtifacts();
            for ( Entry<String, List<EarModule>> entry : duplicateArtifacts.entrySet() )
            {
                getLog().warn( "The artifactId " + entry.getKey() + " exists more than once in the modules list." );
                for ( EarModule earModule : entry.getValue() )
                {
View Full Code Here

TOP

Related Classes of org.apache.maven.plugin.ear.util.ModuleIdentifierValidator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.