Package ganymede.dependency
Class POM
- java.lang.Object
-
- ganymede.dependency.POM
-
public class POM extends Object
Target class for YAML representation of POM elements.Bean Property Summary
Name Mode Type isHidden isBound isConstrained dependencies RW Set
<
Dependency
>
false false false interactiveMode RW Boolean
false false false localRepository RW String
false false false offline RW Boolean
false false false repositories RW Set
<
RemoteRepository
>
false false false - Author:
- Allen D. Ball
-
-
Constructor Summary
Constructors Constructor Description POM()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static POM
getDefault()
Static method to get defaultPOM
.void
merge(POM that)
static POM
parse(String yaml)
void
writeTo(OutputStream out)
-
-
-
Constructor Detail
-
POM
public POM()
-
-
Method Detail
-
getDefault
public static POM getDefault() throws IOException
Static method to get defaultPOM
.- Returns:
- The parsed
POM
. - Throws:
IOException
-
writeTo
public void writeTo(OutputStream out) throws IOException
- Parameters:
out
- The targetOutputStream
.- Throws:
IOException
- If thePOM
cannot be written for any reason.
-
-