Skip to content

Commit b9f35f5

Browse files
committed
add source-release.zip distribution
closes #12
1 parent acf0a61 commit b9f35f5

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

pom.xml

+29
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,35 @@ limitations under the License.
664664
<id>plexus-release</id>
665665
<build>
666666
<plugins>
667+
<!-- Create a source-release artifact that contains the fully buildable
668+
project directory source structure. -->
669+
<plugin>
670+
<groupId>org.apache.maven.plugins</groupId>
671+
<artifactId>maven-assembly-plugin</artifactId>
672+
<dependencies>
673+
<dependency>
674+
<groupId>org.apache.apache.resources</groupId>
675+
<artifactId>apache-source-release-assembly-descriptor</artifactId>
676+
<version>1.0.6</version>
677+
</dependency>
678+
</dependencies>
679+
<executions>
680+
<execution>
681+
<id>source-release-assembly</id>
682+
<phase>package</phase>
683+
<goals>
684+
<goal>single</goal>
685+
</goals>
686+
<configuration>
687+
<runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
688+
<descriptorRefs>
689+
<descriptorRef>source-release</descriptorRef>
690+
</descriptorRefs>
691+
<tarLongFileMode>posix</tarLongFileMode>
692+
</configuration>
693+
</execution>
694+
</executions>
695+
</plugin>
667696
<plugin>
668697
<groupId>org.apache.maven.plugins</groupId>
669698
<artifactId>maven-gpg-plugin</artifactId>

0 commit comments

Comments
 (0)