|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.cruisecontrol.sourcecontrols.MavenSnapshotDependency
Checks binary dependencies listed in a Maven project rather than in a repository.
Modifications 20060626 (jarkko.viinamaki at removethis.tietoenator.com):
- made POM scanning namespace aware. Dependencies were not detected if project.xml
had schema definition in the project element
- added support for "ejb-client" dependency type
- added echo for detected snapshot dependencies
- added support for build.properties or other similiar properties file which contains
key=value tags to replace ${key} type strings in project.xml
Modifications 20060627
- fixed a bug in replaceVariables method
| Constructor Summary | |
MavenSnapshotDependency()
|
|
| Method Summary | |
java.util.List |
getModifications(java.util.Date lastBuild,
java.util.Date now)
The quiet period is ignored. |
java.util.Map |
getProperties()
Any properties that have been set in this sourcecontrol. |
void |
setLocalRepository(java.lang.String s)
Set the path for the local Maven repository |
void |
setProjectFile(java.lang.String s)
Set the root folder of the directories that we are going to scan |
void |
setPropertiesFile(java.lang.String s)
Sets the .properties file which contains overriding tags for POM. |
void |
setProperty(java.lang.String property)
|
void |
setUser(java.lang.String s)
Set the username listed with changes found in binary dependencies |
void |
validate()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MavenSnapshotDependency()
| Method Detail |
public void setProjectFile(java.lang.String s)
public void setPropertiesFile(java.lang.String s)
public void setLocalRepository(java.lang.String s)
public void setUser(java.lang.String s)
public void setProperty(java.lang.String property)
public java.util.Map getProperties()
SourceControl
getProperties in interface SourceControl
public void validate()
throws CruiseControlException
validate in interface SourceControlCruiseControlException
public java.util.List getModifications(java.util.Date lastBuild,
java.util.Date now)
getModifications in interface SourceControllastBuild - date of last buildnow - IGNORED
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||