Skip to content

Commit 6c40bb1

Browse files
committed
Add deploy-oss
1 parent f94caf1 commit 6c40bb1

File tree

1 file changed

+96
-0
lines changed

1 file changed

+96
-0
lines changed

deploy-oss/pom.xml

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
<project>
2+
<modelVersion>4.0.0</modelVersion>
3+
<groupId>com.sap.cds</groupId>
4+
<artifactId>deploy-oss</artifactId>
5+
<version>${revision}</version>
6+
<packaging>pom</packaging>
7+
8+
<name>Deploy to OSS</name>
9+
<description>This artifact can be used to deploy all required artifacts of cds-feature-auditlog-ng to OSS Nexus</description>
10+
11+
<properties>
12+
<maven.deploy.skip>true</maven.deploy.skip>
13+
<maven.install.skip>true</maven.install.skip>
14+
</properties>
15+
16+
<build>
17+
<plugins>
18+
<plugin>
19+
<artifactId>maven-install-plugin</artifactId>
20+
<version>3.1.4</version>
21+
<executions>
22+
<execution>
23+
<id>install-cds-feature-auditlog-ng</id>
24+
<phase>install</phase>
25+
<goals>
26+
<goal>install-file</goal>
27+
</goals>
28+
<configuration>
29+
<groupId>${project.groupId}</groupId>
30+
<artifactId>cds-feature-auditlog-ng</artifactId>
31+
<packaging>jar</packaging>
32+
<file>../cds-feature-auditlog-ng/target/cds-feature-auditlog-ng.jar</file>
33+
<sources>../cds-feature-auditlog-ng/target/cds-feature-auditlog-ng-sources.jar</sources>
34+
<javadoc>../cds-feature-auditlog-ng/target/cds-feature-auditlog-ng-javadoc.jar</javadoc>
35+
<pomFile>../cds-feature-auditlog-ng/.flattened-pom.xml</pomFile>
36+
<version>${revision}</version>
37+
</configuration>
38+
</execution>
39+
<execution>
40+
<id>install-cds-feature-auditlog-ng-root</id>
41+
<phase>install</phase>
42+
<goals>
43+
<goal>install-file</goal>
44+
</goals>
45+
<configuration>
46+
<groupId>${project.groupId}</groupId>
47+
<artifactId>cds-feature-auditlog-ng-root</artifactId>
48+
<packaging>pom</packaging>
49+
<file>../.flattened-pom.xml</file>
50+
<pomFile>../.flattened-pom.xml</pomFile>
51+
<version>${revision}</version>
52+
</configuration>
53+
</execution>
54+
</executions>
55+
</plugin>
56+
<plugin>
57+
<artifactId>maven-gpg-plugin</artifactId>
58+
<version>3.2.7</version>
59+
<executions>
60+
<execution>
61+
<id>deploy-cds-feature-auditlog-ng</id>
62+
<phase>deploy</phase>
63+
<goals>
64+
<goal>sign-and-deploy-file</goal>
65+
</goals>
66+
<configuration>
67+
<groupId>${project.groupId}</groupId>
68+
<artifactId>cds-feature-auditlog-ng</artifactId>
69+
<packaging>jar</packaging>
70+
<file>../cds-feature-auditlog-ng/target/cds-feature-auditlog-ng.jar</file>
71+
<sources>../cds-feature-auditlog-ng/target/cds-feature-auditlog-ng-sources.jar</sources>
72+
<javadoc>../cds-feature-auditlog-ng/target/cds-feature-auditlog-ng-javadoc.jar</javadoc>
73+
<pomFile>../cds-feature-auditlog-ng/.flattened-pom.xml</pomFile>
74+
<version>${revision}</version>
75+
</configuration>
76+
</execution>
77+
<execution>
78+
<id>deploy-cds-feature-auditlog-ng-root</id>
79+
<phase>deploy</phase>
80+
<goals>
81+
<goal>sign-and-deploy-file</goal>
82+
</goals>
83+
<configuration>
84+
<groupId>${project.groupId}</groupId>
85+
<artifactId>cds-feature-auditlog-ng-root</artifactId>
86+
<packaging>pom</packaging>
87+
<file>../.flattened-pom.xml</file>
88+
<pomFile>../.flattened-pom.xml</pomFile>
89+
<version>${revision}</version>
90+
</configuration>
91+
</execution>
92+
</executions>
93+
</plugin>
94+
</plugins>
95+
</build>
96+
</project>

0 commit comments

Comments
 (0)