Skip to content

Commit a767b1d

Browse files
committed
When scanning all Silverpeas libraries to generate the persistence XML
descriptor, take into account all of them whatever their version as some of them can come from external or tiers Silverpeas components that have their own versioning life-cycle.
1 parent bd054d3 commit a767b1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/groovy/org/silverpeas/setup/construction/SilverpeasBuilder.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ class SilverpeasBuilder {
266266
Paths.get(sourceDir.path, 'WEB-INF', 'lib').toFile().list(new FilenameFilter() {
267267
@Override
268268
boolean accept(final File dir, final String name) {
269-
return name.startsWith('silverpeas') && name.endsWith("${project.version}.jar")
269+
return name.startsWith('silverpeas') && name.endsWith(".jar")
270270
}
271271
}).each { jpaComponent ->
272272
persistence.'persistence-unit'.'jta-data-source' + {

0 commit comments

Comments
 (0)