Skip to content

Commit 6b95b87

Browse files
author
Thomas Smith
committed
Get db.username and db.password properties from file when building
1 parent 87d2449 commit 6b95b87

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

pom.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,25 @@
313313
</testResources>
314314

315315
<plugins>
316+
<plugin>
317+
<groupId>org.codehaus.mojo</groupId>
318+
<artifactId>properties-maven-plugin</artifactId>
319+
<version>1.0.0</version>
320+
<executions>
321+
<execution>
322+
<phase>initialize</phase>
323+
<goals>
324+
<goal>read-project-properties</goal>
325+
</goals>
326+
<configuration>
327+
<files>
328+
<file>previewcode.properties</file>
329+
</files>
330+
</configuration>
331+
</execution>
332+
</executions>
333+
</plugin>
334+
316335
<plugin>
317336
<groupId>org.apache.maven.plugins</groupId>
318337
<artifactId>maven-compiler-plugin</artifactId>

0 commit comments

Comments
 (0)