Skip to content

Commit

Permalink
test deploy configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelva committed Dec 25, 2024
1 parent 3678259 commit b31967b
Show file tree
Hide file tree
Showing 7 changed files with 52 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
run: mvn -B install --file pom.xml -DskipDocker=true

- name: Publish package
run: cd nuxeo-public-download-link-core && mvn -B deploy -DskipDocker=true -DskipTests=true
run: mvn -B deploy -DskipDocker=true -DskipTests=true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
13 changes: 13 additions & 0 deletions nuxeo-public-download-link-aws/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,17 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>

</project>
13 changes: 1 addition & 12 deletions nuxeo-public-download-link-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,6 @@
</dependency>
</dependencies>

<distributionManagement>
<repository>
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/nuxeo-sandbox/nuxeo-public-download-link</url>
</repository>
<snapshotRepository>
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/nuxeo-sandbox/nuxeo-public-download-link</url>
</snapshotRepository>
</distributionManagement>


</project>
8 changes: 7 additions & 1 deletion nuxeo-public-download-link-docker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
Expand Down Expand Up @@ -91,5 +98,4 @@
</profile>
</profiles>


</project>
7 changes: 7 additions & 0 deletions nuxeo-public-download-link-package/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@
</buildFiles>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>

Expand Down
11 changes: 11 additions & 0 deletions nuxeo-public-download-link-webui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,15 @@
<name>Nuxeo public download link webui</name>
<description/>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</project>
13 changes: 12 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,18 @@
<issueManagement/>
<ciManagement/>
<developers/>
<distributionManagement/>
<distributionManagement>
<repository>
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/nuxeo-sandbox/nuxeo-public-download-link</url>
</repository>
<snapshotRepository>
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/nuxeo-sandbox/nuxeo-public-download-link</url>
</snapshotRepository>
</distributionManagement>
<dependencyManagement>
<dependencies>
<dependency>
Expand Down

0 comments on commit b31967b

Please sign in to comment.