Package org.apache.maven.model

Examples of org.apache.maven.model.ActivationOS


                                {
                                    p.print( "active_by_default", "true" );
                                }
                            }
                            {
                                ActivationOS os = activation.getOs();
                                if ( os != null )
                                {
                                    Map<String, Object> options = new LinkedHashMap<String, Object>();
                                    if ( os.getArch() != null )
                                    {
                                        options.put( "arch", os.getArch() );
                                    }
                                    if ( os.getFamily() != null )
                                    {
                                        options.put( "family", os.getFamily() );
                                    }
                                    if ( os.getName() != null )
                                    {
                                        options.put( "name", os.getName() );
                                    }
                                    if ( os.getVersion() != null )
                                    {
                                        options.put( "version", os.getVersion() );
                                    }
                                    p.printWithOptions( "os", options );
                                }
                            }
                            p.printEndBlock();
View Full Code Here

TOP

Related Classes of org.apache.maven.model.ActivationOS

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.