File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
dsf-maven/dsf-maven-plugin/src/main/java/dev/dsf/maven/bundle Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 9
9
import java .nio .file .FileVisitor ;
10
10
import java .nio .file .Files ;
11
11
import java .nio .file .Path ;
12
+ import java .nio .file .StandardCopyOption ;
12
13
import java .util .ArrayList ;
13
14
import java .util .Comparator ;
14
15
import java .util .List ;
@@ -120,7 +121,7 @@ public void generateAndSaveBundle() throws MojoFailureException
120
121
logger .info ("Bundle saved at {}" , relativeToProjectDir (bundleFilename ));
121
122
122
123
Path target = projectBuildDirectory .resolve ("classes/fhir/" + BUNDLE_FILENAME );
123
- Files .copy (bundleFilename , target );
124
+ Files .copy (bundleFilename , target , StandardCopyOption . REPLACE_EXISTING );
124
125
logger .info ("Bundle copied to {}" , relativeToProjectDir (target ));
125
126
}
126
127
catch (IOException | TransformerException e )
You can’t perform that action at this time.
0 commit comments