Examples of ModuleBinaries


Examples of org.apache.maven.plugin.assembly.model.ModuleBinaries

        final DependencySet ds1 = new DependencySet();
        {
            ms1.addInclude( "*module1*" );
            ms1.setIncludeSubModules( false );

            final ModuleBinaries mb = new ModuleBinaries();

            ds1.setScope( Artifact.SCOPE_COMPILE );

            mb.addDependencySet( ds1 );
            ms1.setBinaries( mb );
            moduleSets.add( ms1 );
        }

        final ModuleSet ms2 = new ModuleSet();
        final DependencySet ds2 = new DependencySet();
        {
            ms2.addInclude( "main-group:*" );
            ms2.setIncludeSubModules( true );

            final ModuleBinaries mb = new ModuleBinaries();

            ds2.setScope( Artifact.SCOPE_TEST );

            mb.addDependencySet( ds2 );
            ms2.setBinaries( mb );
            moduleSets.add( ms2 );
        }

        mm.replayAll();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.