Package org.apache.maven.profiles.activation

Examples of org.apache.maven.profiles.activation.ProfileActivationException


                    }
                }
            }
            catch ( IOException e )
            {
                throw new ProfileActivationException( "Cannot read profiles.xml resource from directory: " + projectDir,
                                                      e );
            }
            catch ( XmlPullParserException e )
            {
                throw new ProfileActivationException(
                    "Cannot parse profiles.xml resource from directory: " + projectDir, e );
            }
        }
    }
View Full Code Here


                public void add( ModelProblemCollectorRequest req )
                {
                    if ( !ModelProblem.Severity.WARNING.equals( req.getSeverity() ) )
                    {
                        errors.add( new ProfileActivationException( req.getMessage(), req.getException() ) );
                    }
                }
            } );

        if ( !errors.isEmpty() )
View Full Code Here

                getLog().debug( "ProfilesRoot was found to be NULL" );
            }
        }
        catch ( IOException e )
        {
            throw new ProfileActivationException( "Cannot read profiles.xml resource from directory: "
                + projectDir, e );
        }
        catch ( XmlPullParserException e )
        {
            throw new ProfileActivationException( "Cannot parse profiles.xml resource from directory: "
                + projectDir, e );
        }
    }
View Full Code Here

                    }
                }
            }
            catch ( IOException e )
            {
                throw new ProfileActivationException( "Cannot read profiles.xml resource from directory: " + projectDir,
                                                      e );
            }
            catch ( XmlPullParserException e )
            {
                throw new ProfileActivationException(
                    "Cannot parse profiles.xml resource from directory: " + projectDir, e );
            }
        }
    }
View Full Code Here

                getLog().debug( "ProfilesRoot was found to be NULL" );
            }
        }
        catch ( IOException e )
        {
            throw new ProfileActivationException( "Cannot read profiles.xml resource from directory: "
                + projectDir, e );
        }
        catch ( XmlPullParserException e )
        {
            throw new ProfileActivationException( "Cannot parse profiles.xml resource from directory: "
                + projectDir, e );
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.maven.profiles.activation.ProfileActivationException

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.