throws NPandayRepositoryException
{
this.properties = properties;
NetDependencyXpp3Reader xpp3Reader = new NetDependencyXpp3Reader();
Reader reader = new InputStreamReader( inputStream );
NetDependencyModel model;
try
{
model = xpp3Reader.read( reader );
}
catch( IOException e )
{
throw new NPandayRepositoryException( "NPANDAY-003-000: An error occurred while reading net-dependencies.xml", e );
}
catch ( XmlPullParserException e )
{
throw new NPandayRepositoryException( "NPANDAY-003-001: Could not read net-dependencies.xml", e );
}
netDependencies = model.getNetDependencies();
String npandayVersion = (String) properties.get( "npanday.version" );
for ( NetDependency dependency : netDependencies )
{
if ( dependency.getVersion() == null && dependency.getGroupId().toLowerCase().startsWith( "org.apache.npanday" ) )
{