Skip to content

Commit

Permalink
Fixes #3873 - Revisit maven-plugin job in docs-snapshot GitHub workfl…
Browse files Browse the repository at this point in the history
…ow (#3879)
  • Loading branch information
mnriem authored Aug 31, 2024
1 parent 9ba4df6 commit 5308dc4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docs-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ jobs:
- name: Build with Maven
run: |
mvn -B -DskipTests -DskipITs -ntp install
cd maven/plugins/piranha-maven-plugin
cd maven/plugin
mvn -B -DskipTests -DskipITs -ntp site
cd ../../..
cd ../../
rm -rf piranha-website/release/maven-plugin || true
mkdir -p piranha-website/release/maven-plugin || true
cp -R maven/plugins/piranha-maven-plugin/target/site/* piranha-website/release/maven-plugin/
cp -R maven/plugin/target/site/* piranha-website/release/maven-plugin/
cd piranha-website
git config --global user.email "[email protected]"
git config --global user.name "Automated publish"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docs-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ jobs:
- name: Build with Maven
run: |
mvn -B -DskipTests -DskipITs -ntp install
cd maven/plugins/piranha-maven-plugin
cd maven/plugin
mvn -B -DskipTests -DskipITs -ntp site
cd ../../..
cd ../..
rm -rf piranha-website/snapshot/maven-plugin || true
mkdir -p piranha-website/snapshot/maven-plugin || true
cp -R maven/plugins/piranha-maven-plugin/target/site/* piranha-website/snapshot/maven-plugin/
cp -R maven/plugin/target/site/* piranha-website/snapshot/maven-plugin/
cd piranha-website
git config --global user.email "[email protected]"
git config --global user.name "Automated publish"
Expand Down
7 changes: 0 additions & 7 deletions maven/plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,29 @@

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>cloud.piranha.maven</groupId>
<artifactId>project</artifactId>
<version>24.9.0-SNAPSHOT</version>
</parent>

<artifactId>piranha-maven-plugin</artifactId>
<packaging>maven-plugin</packaging>

<name>Piranha - Maven - Plugin</name>
<description>
The Piranha Maven Plugin delivers you with a Maven plugin you can
use to deploy your web application to any of our Piranha distributions
facilitating an inner-loop development experience.
</description>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-tools-annotations</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -75,7 +69,6 @@
</plugin>
</plugins>
</build>

<reporting>
<plugins>
<plugin>
Expand Down

0 comments on commit 5308dc4

Please sign in to comment.