Skip to content

Commit bfa6a89

Browse files
bibengabibenga
authored andcommitted
add profile
1 parent fc779f5 commit bfa6a89

1 file changed

Lines changed: 35 additions & 2 deletions

File tree

pom.xml

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,39 @@
6161
</dependency>
6262
</dependencies>
6363

64-
<build>
65-
</build>
64+
<profiles>
65+
<profile>
66+
<id>deployment</id>
67+
<build>
68+
<plugins>
69+
<plugin>
70+
<groupId>org.apache.maven.plugins</groupId>
71+
<artifactId>maven-javadoc-plugin</artifactId>
72+
<version>3.12.0</version>
73+
<executions>
74+
<execution>
75+
<id>attach-javadocs</id>
76+
<goals>
77+
<goal>jar</goal>
78+
</goals>
79+
</execution>
80+
</executions>
81+
</plugin>
82+
<plugin>
83+
<groupId>org.apache.maven.plugins</groupId>
84+
<artifactId>maven-source-plugin</artifactId>
85+
<version>3.4.0</version>
86+
<executions>
87+
<execution>
88+
<id>attach-sources</id>
89+
<goals>
90+
<goal>jar-no-fork</goal>
91+
</goals>
92+
</execution>
93+
</executions>
94+
</plugin>
95+
</plugins>
96+
</build>
97+
</profile>
98+
</profiles>
6699
</project>

0 commit comments

Comments
 (0)