Class MavenScm
java.lang.Object
io.spring.initializr.generator.buildsystem.maven.MavenScm
A version control section of a
MavenBuild.- Author:
- Joachim Pasquali
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturn the source control management system URL that describes the repository and how to connect to the repository.Just likeconnection, but for developers, i.e.getTag()The tag of current code.getUrl()The URL to the project's browsable SCM repository.booleanisEmpty()
-
Method Details
-
isEmpty
public boolean isEmpty() -
getConnection
Return the source control management system URL that describes the repository and how to connect to the repository.- Returns:
- the source control management system URL
-
getDeveloperConnection
Just likeconnection, but for developers, i.e. this scm connection will not be read only.- Returns:
- the source control management system URL for developers
-
getTag
The tag of current code. By default, it's set to HEAD during development.- Returns:
- the tag of current code
-
getUrl
The URL to the project's browsable SCM repository.- Returns:
- the URL to the project's browsable SCM repository
-