| 
160 | 160 | 
 
  | 
161 | 161 |  </dependencies>  | 
162 | 162 |  <build>  | 
163 |  | - <finalName>google-spanner-cloud-executor</finalName>  | 
164 | 163 |  <plugins>  | 
165 | 164 |  <plugin>  | 
166 |  | - <artifactId>maven-assembly-plugin</artifactId>  | 
167 |  | - <version>3.7.1</version>  | 
 | 165 | + <artifactId>maven-resources-plugin</artifactId>  | 
 | 166 | + <executions>  | 
 | 167 | + <execution>  | 
 | 168 | + <id>copy-resources</id>  | 
 | 169 | + <phase>validate</phase>  | 
 | 170 | + <goals>  | 
 | 171 | + <goal>copy-resources</goal>  | 
 | 172 | + </goals>  | 
 | 173 | + <configuration>  | 
 | 174 | + <outputDirectory>${project.build.directory}/spanner-executor</outputDirectory>  | 
 | 175 | + <resources>  | 
 | 176 | + <resource>  | 
 | 177 | + <directory>resources</directory>  | 
 | 178 | + <filtering>true</filtering>  | 
 | 179 | + </resource>  | 
 | 180 | + </resources>  | 
 | 181 | + </configuration>  | 
 | 182 | + </execution>  | 
 | 183 | + </executions>  | 
 | 184 | + </plugin>  | 
 | 185 | + <plugin>  | 
 | 186 | + <groupId>org.apache.maven.plugins</groupId>  | 
 | 187 | + <artifactId>maven-dependency-plugin</artifactId>  | 
 | 188 | + <executions>  | 
 | 189 | + <execution>  | 
 | 190 | + <id>copy-dependencies</id>  | 
 | 191 | + <phase>prepare-package</phase>  | 
 | 192 | + <goals>  | 
 | 193 | + <goal>copy-dependencies</goal>  | 
 | 194 | + </goals>  | 
 | 195 | + <configuration>  | 
 | 196 | + <outputDirectory>${project.build.directory}/spanner-executor/lib</outputDirectory>  | 
 | 197 | + <overWriteReleases>false</overWriteReleases>  | 
 | 198 | + <overWriteSnapshots>false</overWriteSnapshots>  | 
 | 199 | + <overWriteIfNewer>true</overWriteIfNewer>  | 
 | 200 | + </configuration>  | 
 | 201 | + </execution>  | 
 | 202 | + </executions>  | 
 | 203 | + </plugin>  | 
 | 204 | + <plugin>  | 
 | 205 | + <groupId>org.apache.maven.plugins</groupId>  | 
 | 206 | + <artifactId>maven-jar-plugin</artifactId>  | 
168 | 207 |  <configuration>  | 
169 |  | - <descriptors>  | 
170 |  | - <descriptor>assembly-descriptor.xml</descriptor>  | 
171 |  | - </descriptors>  | 
 | 208 | + <finalName>spanner-executor/google-spanner-cloud-executor</finalName>  | 
172 | 209 |  <archive>  | 
 | 210 | + <index>false</index>  | 
173 | 211 |  <manifest>  | 
174 | 212 |  <mainClass>com.google.cloud.executor.spanner.WorkerProxy</mainClass>  | 
 | 213 | + <addClasspath>true</addClasspath>  | 
 | 214 | + <classpathPrefix>lib/</classpathPrefix>  | 
175 | 215 |  </manifest>  | 
176 | 216 |  </archive>  | 
177 | 217 |  </configuration>  | 
178 |  | - <executions>  | 
179 |  | - <execution>  | 
180 |  | - <id>make-assembly</id>  | 
181 |  | - <phase>package</phase>  | 
182 |  | - <goals>  | 
183 |  | - <goal>single</goal>  | 
184 |  | - </goals>  | 
185 |  | - </execution>  | 
186 |  | - </executions>  | 
187 | 218 |  </plugin>  | 
188 | 219 |  <plugin>  | 
189 | 220 |  <groupId>org.apache.maven.plugins</groupId>  | 
 | 
0 commit comments