public final class JkMavenPublicationInfo
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
JkMavenPublicationInfo.JkDeveloperInfo
Information about a developer.
|
static class |
JkMavenPublicationInfo.JkLicenseInfo
Information about a license.
|
static class |
JkMavenPublicationInfo.JkProjectInfo
Information about a project.
|
static class |
JkMavenPublicationInfo.JkScmInfo
Information about source control ofSystem managing the project sources.
|
Modifier and Type | Field and Description |
---|---|
java.util.List<JkMavenPublicationInfo.JkDeveloperInfo> |
devs
Developer list involved in the project
|
java.util.List<JkMavenPublicationInfo.JkLicenseInfo> |
licenses
License list for the project, generaly there is a single license
|
JkMavenPublicationInfo.JkProjectInfo |
project
Info relative to project
|
JkMavenPublicationInfo.JkScmInfo |
scm
Info relative to source control management
|
Modifier and Type | Method and Description |
---|---|
JkMavenPublicationInfo |
andApache2License()
Returns a
JkMavenPublicationInfo identical to this one but adding Apache2 license |
JkMavenPublicationInfo |
andDeveloper(JkMavenPublicationInfo.JkDeveloperInfo developerInfo)
Returns a
JkMavenPublicationInfo identical to this one but adding the specified
developer. |
JkMavenPublicationInfo |
andDeveloper(java.lang.String name,
java.lang.String email,
java.lang.String organisation,
java.lang.String organisationUrl)
Returns a
JkMavenPublicationInfo identical to this one but adding the specified
developer. |
JkMavenPublicationInfo |
andGitHubDeveloper(java.lang.String name,
java.lang.String email)
Returns a
JkMavenPublicationInfo identical to this one but adding the specified
Github developer. |
JkMavenPublicationInfo |
andGpl3License()
Returns a
JkMavenPublicationInfo identical to this one but adding GPL3 license. |
JkMavenPublicationInfo |
andLicense(java.lang.String name,
java.lang.String url)
Returns a
JkMavenPublicationInfo identical to this one but adding the specifyied license. |
JkMavenPublicationInfo |
andMitLicense()
Returns a
JkMavenPublicationInfo identical to this one but adding MIT license. |
static JkMavenPublicationInfo |
of(java.lang.String projectName,
java.lang.String description,
java.lang.String url)
Creates a publication infoString specifying the name of the project, its description and its
site url.
|
JkMavenPublicationInfo |
withScm(java.lang.String connectionUrl)
Returns a
JkMavenPublicationInfo identical to this one but with the specified SCM infoString. |
JkMavenPublicationInfo |
withScm(java.lang.String connection,
java.lang.String developerConnection,
java.lang.String url)
Returns a
JkMavenPublicationInfo identical to this one but with the specified SCM infoString. |
public final JkMavenPublicationInfo.JkProjectInfo project
public final JkMavenPublicationInfo.JkScmInfo scm
public final java.util.List<JkMavenPublicationInfo.JkDeveloperInfo> devs
public final java.util.List<JkMavenPublicationInfo.JkLicenseInfo> licenses
public static JkMavenPublicationInfo of(java.lang.String projectName, java.lang.String description, java.lang.String url)
public JkMavenPublicationInfo andDeveloper(JkMavenPublicationInfo.JkDeveloperInfo developerInfo)
JkMavenPublicationInfo
identical to this one but adding the specified
developer.public JkMavenPublicationInfo andDeveloper(java.lang.String name, java.lang.String email, java.lang.String organisation, java.lang.String organisationUrl)
JkMavenPublicationInfo
identical to this one but adding the specified
developer.public JkMavenPublicationInfo andGitHubDeveloper(java.lang.String name, java.lang.String email)
JkMavenPublicationInfo
identical to this one but adding the specified
Github developer.public JkMavenPublicationInfo withScm(java.lang.String connection, java.lang.String developerConnection, java.lang.String url)
JkMavenPublicationInfo
identical to this one but with the specified SCM infoString.public JkMavenPublicationInfo withScm(java.lang.String connectionUrl)
JkMavenPublicationInfo
identical to this one but with the specified SCM infoString.public JkMavenPublicationInfo andLicense(java.lang.String name, java.lang.String url)
JkMavenPublicationInfo
identical to this one but adding the specifyied license.public JkMavenPublicationInfo andApache2License()
JkMavenPublicationInfo
identical to this one but adding Apache2 licensepublic JkMavenPublicationInfo andGpl3License()
JkMavenPublicationInfo
identical to this one but adding GPL3 license.public JkMavenPublicationInfo andMitLicense()
JkMavenPublicationInfo
identical to this one but adding MIT license.