Skip to content

Commit e8863df

Browse files
committed
Updated Pom to generate sources. Next will be Java Doc.
1 parent 802f50d commit e8863df

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

pom.xml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
<!-- BUILD -->
7777

7878
<build>
79-
<defaultGoal>clean package install</defaultGoal>
79+
<defaultGoal>clean package install deploy</defaultGoal>
8080
<finalName>ServerTutorial</finalName>
8181

8282
<!-- BUILD PLUGINS -->
@@ -90,6 +90,7 @@
9090
<configuration>
9191
<source>1.7</source>
9292
<target>1.7</target>
93+
<optimize>true</optimize>
9394
</configuration>
9495
</plugin>
9596

@@ -131,6 +132,19 @@
131132
</execution>
132133
</executions>
133134
</plugin>-->
135+
<plugin>
136+
<groupId>org.apache.maven.plugins</groupId>
137+
<artifactId>maven-source-plugin</artifactId>
138+
<version>3.0.1</version>
139+
<executions>
140+
<execution>
141+
<phase>install</phase>
142+
<goals>
143+
<goal>jar</goal>
144+
</goals>
145+
</execution>
146+
</executions>
147+
</plugin>
134148
<plugin>
135149
<groupId>org.apache.maven.plugins</groupId>
136150
<artifactId>maven-deploy-plugin</artifactId>

0 commit comments

Comments
 (0)