File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff 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 >
You can’t perform that action at this time.
0 commit comments