Skip to content

Commit

Permalink
Fix release-extra POM
Browse files Browse the repository at this point in the history
  • Loading branch information
mbastian committed Jan 3, 2013
1 parent f946cb3 commit 24a797b
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 2 deletions.
36 changes: 34 additions & 2 deletions modules/application/pom.xml
Expand Up @@ -557,7 +557,7 @@

<!-- Profile used along with deployment to create the dmg archive -->
<profile>
<id>deploy-dmg</id>
<id>create-dmg</id>
<build>
<plugins>

Expand Down Expand Up @@ -632,7 +632,15 @@
</execution>
</executions>
</plugin>

</plugins>
</build>
</profile>

<!-- Profile used along with deployment to attach the dmg archive -->
<profile>
<id>deploy-dmg</id>
<build>
<plugins>
<!-- Attach the final DMG for deployment -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
Expand All @@ -654,6 +662,30 @@
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

<!-- Profile activated for windows/macos release only. Should be called alone so it only creates the windows installer/compressed dmg -->
<profile>
<id>release-extra</id>
<build>
<plugins>
<!-- Avoid updatesite.xml.gz attach -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>nbm-maven-plugin</artifactId>
<executions>
<execution>
<id>default-standalone-zip</id>
<phase>none</phase>
</execution>
<execution>
<id>autoupdate</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down
24 changes: 24 additions & 0 deletions pom.xml
Expand Up @@ -1032,6 +1032,30 @@
</execution>
</executions>
</plugin>

<!-- Skip Javadoc creation -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<phase>none</phase>
</execution>
</executions>
</plugin>

<!-- Skip sources attach -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
Expand Down

0 comments on commit 24a797b

Please sign in to comment.