Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ backend, eai add maven release #681

Merged
merged 8 commits into from
Jan 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ After getting the templates, you will need to make a few adjustments in the resp
task, as it will automatically update the imports; otherwise, you will
need to do this manually).
3. Change the name of the main application class (e.g. from `MicroServiceApplication` to `MyAppApplication`)
4. Inside the `pom.xml`, update the `groupId`, `artifactId`, `name` and `description`
4. Inside the `pom.xml`, update the `groupId`, `artifactId`, `name`, `description`, `url` and `scm`
fields.
5. Install required dependencies by executing the command `mvn install`.

Expand Down
28 changes: 23 additions & 5 deletions refarch-backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<version>0.0.1-SNAPSHOT</version>
<name>refarch_backend</name>
<description>This is the default starting project for a backend project based on the reference architecture of it@M</description>
<url>https://github.com/it-at-m/refarch-templates</url>

<properties>
<!-- Compilation -->
Expand All @@ -40,6 +41,9 @@
<jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version>
<argLine /> <!-- Must be empty, definition needed for integration of Jacoco and Surefire via @{argLine} lazy property evaluation -->

<!-- Release -->
<maven-release-plugin.version>3.1.1</maven-release-plugin.version>

<!-- Utility -->
<commons-collections4.version>4.4</commons-collections4.version>
<commons-csv.version>1.13.0</commons-csv.version>
Expand Down Expand Up @@ -299,13 +303,12 @@

</dependencies>


<scm>
<connection>scm:git:${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git</connection>
<developerConnection>scm:git:${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git</developerConnection>
<connection>scm:git:https://github.com/it-at-m/refarch-templates.git</connection>
<developerConnection>scm:git:https://github.com/it-at-m/refarch-templates.git</developerConnection>
<tag>HEAD</tag>
</scm>


<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -342,14 +345,15 @@
</compilerArgs>
</configuration>
</plugin>

<!-- Testing -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>@{argLine} -Dfile.encoding=${project.build.sourceEncoding}</argLine>
</configuration>
</plugin>

<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
Expand All @@ -364,6 +368,20 @@
</executions>
</plugin>

<!-- Release -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>${maven-release-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>

<!-- Codeformatter Spotless -->
<plugin>
<groupId>com.diffplug.spotless</groupId>
Expand Down
24 changes: 21 additions & 3 deletions refarch-eai/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<version>0.0.1-SNAPSHOT</version>
<name>refarch_eai</name>
<description>This is the default starting project for a EAI project based on the reference architecture of it@M</description>
<url>https://github.com/it-at-m/refarch-templates</url>

<properties>
<!-- Compilation -->
Expand All @@ -41,13 +42,16 @@
<jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version>
<argLine /> <!-- Must be empty, definition needed for integration of Jacoco and Surefire via @{argLine} lazy property evaluation -->

<!-- Release -->
<maven-release-plugin.version>3.1.1</maven-release-plugin.version>

<!-- Utility -->
<refarch-tools.version>1.1.0</refarch-tools.version>
</properties>

<scm>
<connection>scm:git:${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git</connection>
<developerConnection>scm:git:${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git</developerConnection>
<connection>scm:git:https://github.com/it-at-m/refarch-templates.git</connection>
<developerConnection>scm:git:https://github.com/it-at-m/refarch-templates.git</developerConnection>
<tag>HEAD</tag>
</scm>

Expand Down Expand Up @@ -163,14 +167,14 @@
</configuration>
</plugin>

<!-- Testing -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>@{argLine} -Dfile.encoding=${project.build.sourceEncoding}</argLine>
</configuration>
</plugin>

<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
Expand All @@ -185,6 +189,20 @@
</executions>
</plugin>

<!-- Release -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>${maven-release-plugin.version}</version>
</plugin>
simonhir marked this conversation as resolved.
Show resolved Hide resolved
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>

<!-- Codeformatter Spotless -->
<plugin>
<groupId>com.diffplug.spotless</groupId>
Expand Down
Loading