org.apache.maven.model.IssueManagement Java Examples
The following examples show how to use
org.apache.maven.model.IssueManagement.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: LocationAwareMavenXpp3Writer.java From netbeans with Apache License 2.0 | 5 votes |
private void writeIssueManagement(IssueManagement issueManagement, String tagName, XmlSerializer serializer) throws java.io.IOException { serializer.startTag(NAMESPACE, tagName); flush(serializer); StringBuffer b = b(serializer); int start = b.length(); if (issueManagement.getSystem() != null) { writeValue(serializer, "system", issueManagement.getSystem(), issueManagement); } if (issueManagement.getUrl() != null) { writeValue(serializer, "url", issueManagement.getUrl(), issueManagement); } serializer.endTag(NAMESPACE, tagName).flush(); logLocation(issueManagement, "", start, b.length()); }
Example #2
Source File: Maven2RepositoryStorage.java From archiva with Apache License 2.0 | 5 votes |
private org.apache.archiva.metadata.model.IssueManagement convertIssueManagement(IssueManagement issueManagement) { org.apache.archiva.metadata.model.IssueManagement im = null; if (issueManagement != null) { im = new org.apache.archiva.metadata.model.IssueManagement(); im.setSystem(issueManagement.getSystem()); im.setUrl(issueManagement.getUrl()); } return im; }
Example #3
Source File: PomProperty.java From flatten-maven-plugin with Apache License 2.0 | 4 votes |
@Override public IssueManagement get( Model model ) { return model.getIssueManagement(); }
Example #4
Source File: PomProperty.java From flatten-maven-plugin with Apache License 2.0 | 4 votes |
@Override public void set( Model model, IssueManagement value ) { model.setIssueManagement( value ); }