How to publish hadoop-dist-*.tar.gz with maven -


we use maven publish hadoop artifacts artifactory installation. default, jars published, we'd hadoop-dist tarball published.

to publish jars, run this:

mvn -e 'clean package deploy' -pdist -dskiptests -dtar -dmaven.javadoc.skip

this build hadoop-dist tarball, doesn't publish it.

what args need dist tarball published too?

updated: dist profile included below, per request in comments.

<profile>   <id>dist</id>   <!-- profile generating maven artifacts , documentation. -->                                                                       <build>     <plugins>       <plugin>         <groupid>org.apache.maven.plugins</groupid>         <artifactid>maven-javadoc-plugin</artifactid>         <inherited>false</inherited>         <executions>           <execution>             <!-- build aggregate javadoc in parent -->             <id>default-cli</id>             <goals>               <goal>aggregate</goal>             </goals>             <configuration>               <overview>hadoop-common-project/hadoop-common/src/main/java/overview.html</overview>             </configuration>           </execution>         </executions>       </plugin>     </plugins>   </build> </profile> 


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -