Skip to content

Commit

Permalink
[chore] add it profile
Browse files Browse the repository at this point in the history
  • Loading branch information
ninggf committed Apr 18, 2024
1 parent 0491dae commit 783c48d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/it.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@ jobs:
"password": "${{ secrets.OSSRH_TOKEN }}"
}]
- name: Deploy to OSSRH
run: mvn -P+deploy -Djava.version=17 -DskipTests=true clean deploy
run: mvn -P it,deploy -Djava.version=17 -DskipTests=true clean deploy
28 changes: 8 additions & 20 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
</modules>

<properties>
<gsvc.compiler.version>1.2.19-SNAPSHOT</gsvc.compiler.version>
<maven.plugin.validation>NONE</maven.plugin.validation>
</properties>

Expand Down Expand Up @@ -150,26 +149,15 @@
</dependency>
</dependencies>
</dependencyManagement>
<profiles>
<profile>
<id>it</id>
<properties>
<gsvc.compiler.version>${parent.version}</gsvc.compiler.version>
</properties>
</profile>
</profiles>
<build>
<pluginManagement>
<plugins>
<!-- maven-release-plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>3.0.1</version>
<configuration>
<preparationGoals>clean verify</preparationGoals>
<autoVersionSubmodules>true</autoVersionSubmodules>
<tagNameFormat>v@{project.version}</tagNameFormat>
<generateReleasePoms>false</generateReleasePoms>
<releaseProfiles>release</releaseProfiles>
<arguments>-Dmaven.site.skip=true</arguments>
<goals>clean install</goals>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>io.spring.javaformat</groupId>
Expand Down

0 comments on commit 783c48d

Please sign in to comment.