Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 35 additions & 2 deletions gradle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

<modelVersion>4.0.0</modelVersion>

<parent>
Expand All @@ -26,6 +26,7 @@
</parent>

<artifactId>hibernate-tools-gradle</artifactId>
<packaging>pom</packaging>

<name>Hibernate Tools Gradle Plugin</name>
<description>Gradle plugin to provide hibernate-tools reverse engineering and code/schema generation abilities.</description>
Expand All @@ -37,9 +38,19 @@
</issueManagement>

<properties>
<!-- This is a publicly distributed module that should be published: -->
<deploy.skip>false</deploy.skip>

<gradle.executable>./gradlew</gradle.executable>
</properties>


<dependencies>
<dependency>
<groupId>org.hibernate.tool</groupId>
<artifactId>hibernate-tools-orm</artifactId>
</dependency>
</dependencies>

<build>
<plugins>
<!-- execute Gradle command -->
Expand All @@ -64,6 +75,28 @@
</execution>
</executions>
</plugin>
<!-- As the artifact is built by Gradle, we attach it with the helper plugin so that it gets published: -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${project.basedir}/plugin/build/libs/${project.artifactId}-${project.version}.jar</file>
<type>jar</type>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down