File tree 2 files changed +35
-14
lines changed
2 files changed +35
-14
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ pipeline {
45
45
script{
46
46
withCredentials([file(credentialsId : ' Config' , variable : ' ConfigFile' )]) {
47
47
sh " touch src/main/resources/UpdateDOIs.report"
48
- sh " java -jar target/update-dois-*-jar-with-dependencies .jar $ConfigFile "
48
+ sh " java -jar target/update-dois.jar $ConfigFile "
49
49
}
50
50
}
51
51
}
Original file line number Diff line number Diff line change 98
98
<groupId >org.apache.maven.plugins</groupId >
99
99
<artifactId >maven-assembly-plugin</artifactId >
100
100
<version >3.2.0</version >
101
- <configuration >
102
- <archive >
103
- <manifestEntries >
104
- <Multi-Release >true</Multi-Release >
105
- <Main-Class >org.reactome.release.updateDOIs.Main</Main-Class >
106
- </manifestEntries >
107
- </archive >
108
- <descriptorRefs >
109
- <descriptorRef >jar-with-dependencies</descriptorRef >
110
- </descriptorRefs >
111
- </configuration >
112
101
<executions >
113
102
<execution >
114
- <id >make-assembly</id > <!-- this is used for inheritance merges -->
115
- <phase >package</phase > <!-- bind to the packaging phase -->
103
+ <id >main</id >
104
+ <configuration >
105
+ <archive >
106
+ <manifestEntries >
107
+ <Multi-Release >true</Multi-Release >
108
+ <Main-Class >org.reactome.release.updateDOIs.Main</Main-Class >
109
+ </manifestEntries >
110
+ </archive >
111
+ <descriptorRefs >
112
+ <descriptorRef >jar-with-dependencies</descriptorRef >
113
+ </descriptorRefs >
114
+ <finalName >update-dois.jar</finalName >
115
+ </configuration >
116
+ <phase >package</phase >
117
+ <goals >
118
+ <goal >single</goal >
119
+ </goals >
120
+ </execution >
121
+
122
+ <execution >
123
+ <id >verifier</id >
124
+ <configuration >
125
+ <descriptorRefs >
126
+ <descriptorRef >jar-with-dependencies</descriptorRef >
127
+ </descriptorRefs >
128
+ <archive >
129
+ <manifestEntries >
130
+ <Main-Class >org.reactome.release.updateDOIs.Verifier</Main-Class >
131
+ <Multi-Release >true</Multi-Release >
132
+ </manifestEntries >
133
+ </archive >
134
+ <finalName >update-dois-verifier.jar</finalName >
135
+ </configuration >
136
+ <phase >package</phase >
116
137
<goals >
117
138
<goal >single</goal >
118
139
</goals >
You can’t perform that action at this time.
0 commit comments