File tree Expand file tree Collapse file tree 1 file changed +36
-25
lines changed Expand file tree Collapse file tree 1 file changed +36
-25
lines changed Original file line number Diff line number Diff line change 64
64
<id >release</id >
65
65
66
66
<build >
67
+
68
+ <pluginManagement >
69
+ <plugins >
70
+ <plugin >
71
+ <groupId >org.jfrog.buildinfo</groupId >
72
+ <artifactId >artifactory-maven-plugin</artifactId >
73
+ <version >2.4.0</version >
74
+ <executions >
75
+ <execution >
76
+ <id >build-info</id >
77
+ <goals >
78
+ <goal >publish</goal >
79
+ </goals >
80
+ <configuration >
81
+ <artifactory >
82
+ <includeEnvVars >false</includeEnvVars >
83
+ </artifactory >
84
+ <publisher >
85
+ <contextUrl >{{artifactory.server}}</contextUrl >
86
+ <username >{{artifactory.username}}</username >
87
+ <password >{{artifactory.password}}</password >
88
+ <repoKey >{{artifactory.staging-repository}}</repoKey >
89
+ <snapshotRepoKey >{{artifactory.staging-repository}}</snapshotRepoKey >
90
+ </publisher >
91
+ <buildInfo >
92
+ <buildName >{{artifactory.build-name}}</buildName >
93
+ <buildNumber >{{artifactory.build-number}}</buildNumber >
94
+ </buildInfo >
95
+ </configuration >
96
+ </execution >
97
+ </executions >
98
+ </plugin >
99
+ </plugins >
100
+ </pluginManagement >
101
+
67
102
<plugins >
68
103
<plugin >
69
104
<groupId >org.jfrog.buildinfo</groupId >
70
105
<artifactId >artifactory-maven-plugin</artifactId >
71
- <version >2.4.0</version >
72
106
<inherited >false</inherited >
73
- <executions >
74
- <execution >
75
- <id >build-info</id >
76
- <goals >
77
- <goal >publish</goal >
78
- </goals >
79
- <configuration >
80
- <artifactory >
81
- <includeEnvVars >false</includeEnvVars >
82
- </artifactory >
83
- <publisher >
84
- <contextUrl >{{artifactory.server}}</contextUrl >
85
- <username >{{artifactory.username}}</username >
86
- <password >{{artifactory.password}}</password >
87
- <repoKey >{{artifactory.staging-repository}}</repoKey >
88
- <snapshotRepoKey >{{artifactory.staging-repository}}</snapshotRepoKey >
89
- </publisher >
90
- <buildInfo >
91
- <buildName >{{artifactory.build-name}}</buildName >
92
- <buildNumber >{{artifactory.build-number}}</buildNumber >
93
- </buildInfo >
94
- </configuration >
95
- </execution >
96
- </executions >
97
107
</plugin >
98
108
</plugins >
109
+
99
110
</build >
100
111
</profile >
101
112
</profiles >
You can’t perform that action at this time.
0 commit comments