Skip to content

Commit 22ba3f9

Browse files
committed
Update maven-antrun-plugin to 3.0.0
1 parent 801f63f commit 22ba3f9

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

gsec/pom.xml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -255,20 +255,16 @@
255255
<plugin>
256256
<groupId>org.apache.maven.plugins</groupId>
257257
<artifactId>maven-antrun-plugin</artifactId>
258-
<version>1.7</version>
258+
<version>3.0.0</version>
259259
<configuration>
260260
<target>
261261
<echo message="******* Building ACL DDL file *******"/>
262-
<taskdef name="schemaexport" classname="org.hibernate.tool.hbm2ddl.SchemaExportTask">
263-
<classpath>
264-
<path refid="maven.dependency.classpath"/>
265-
</classpath>
266-
</taskdef>
267-
<mkdir dir="target/schema"/>
262+
<taskdef name="schemaexport" classname="org.hibernate.tool.hbm2ddl.SchemaExportTask"/>
263+
<mkdir dir="${project.build.directory}/schema"/>
268264
<schemaexport quiet="true" text="true" create="true" drop="false" delimiter=";"
269265
output="${project.build.directory}/schema/gsec-acl-ddl.sql"
270-
properties="${basedir}/src/main/resources/hibernate.properties">
271-
<fileset dir="src/main/resources" includes="**/*.hbm.xml"/>
266+
properties="${project.basedir}/src/main/resources/hibernate.properties">
267+
<fileset dir="${project.basedir}/src/main/resources" includes="**/*.hbm.xml"/>
272268
</schemaexport>
273269
</target>
274270
</configuration>

0 commit comments

Comments
 (0)