Skip to content

Commit 7feb70e

Browse files
committed
Add JavaDoc as prerequisite for publication
1 parent 66b6389 commit 7feb70e

File tree

2 files changed

+19
-12
lines changed

2 files changed

+19
-12
lines changed

flowman-maven-plugin/src/main/java/com/dimajix/flowman/maven/plugin/mojos/FlowmanMojo.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -62,31 +62,20 @@
6262
abstract public class FlowmanMojo extends AbstractMojo {
6363
/**
6464
* The project currently being build.
65-
*
66-
* @parameter expression="${project}"
67-
* @required
68-
* @readonly
6965
*/
7066
@Getter
7167
@Parameter( defaultValue = "${project}", readonly = true, required = true )
7268
protected MavenProject mavenProject;
7369

7470
/**
7571
* The current Maven session.
76-
*
77-
* @parameter expression="${session}"
78-
* @required
79-
* @readonly
8072
*/
8173
@Getter
8274
@Parameter( defaultValue = "${session}", readonly = true, required = true )
8375
protected MavenSession mavenSession;
8476

8577
/**
8678
* The Maven BuildPluginManager component.
87-
*
88-
* @component
89-
* @required
9079
*/
9180
@Getter
9281
@Component

pom.xml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
</distributionManagement>
5656

5757
<properties>
58-
<flowman.version>1.0.0-SNAPSHOT</flowman.version>
58+
<flowman.version>0.30.0-oss-spark3.3-hadoop3.3</flowman.version>
5959
<jackson.version>2.14.2</jackson.version>
6060
<maven.version>3.8.8</maven.version>
6161

@@ -115,6 +115,19 @@
115115
<groupId>org.codehaus.mojo</groupId>
116116
<artifactId>flatten-maven-plugin</artifactId>
117117
</plugin>
118+
<plugin>
119+
<inherited>true</inherited>
120+
<groupId>org.apache.maven.plugins</groupId>
121+
<artifactId>maven-javadoc-plugin</artifactId>
122+
<executions>
123+
<execution>
124+
<id>attach-javadocs</id>
125+
<goals>
126+
<goal>jar</goal>
127+
</goals>
128+
</execution>
129+
</executions>
130+
</plugin>
118131
<plugin>
119132
<groupId>org.apache.maven.plugins</groupId>
120133
<artifactId>maven-gpg-plugin</artifactId>
@@ -257,6 +270,11 @@
257270
</execution>
258271
</executions>
259272
</plugin>
273+
<plugin>
274+
<groupId>org.apache.maven.plugins</groupId>
275+
<artifactId>maven-javadoc-plugin</artifactId>
276+
<version>3.5.0</version>
277+
</plugin>
260278
<plugin>
261279
<groupId>org.apache.maven.plugins</groupId>
262280
<artifactId>maven-deploy-plugin</artifactId>

0 commit comments

Comments
 (0)