Skip to content

Commit

Permalink
- Moved the assembly plugin configuration into a "flex-ci-build" profile
Browse files Browse the repository at this point in the history
- Moved the assemply descriptors to "src/assemby" to prevent them from being included in the resulting jars.
  • Loading branch information
Christofer Dutz committed Nov 14, 2014
1 parent f5e9792 commit 547e6d7
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 10 deletions.
41 changes: 31 additions & 10 deletions flex-tool-api/pom.xml
Expand Up @@ -63,18 +63,39 @@
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<descriptors>
<descriptor>src/main/resources/assemblies/assemble-zip.xml</descriptor>
<descriptor>src/main/resources/assemblies/assemble-gz.xml</descriptor>
</descriptors>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

<!-- When building on the apache ci server, we want to get some source-release archives -->
<profiles>
<profile>
<id>flex-ci-build</id>

<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.5.1</version>
<executions>
<execution>
<id>assemble-sources-releases</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
<configuration>
<descriptors>
<descriptor>src/assembly/assemble-zip.xml</descriptor>
<descriptor>src/assembly/assemble-gz.xml</descriptor>
</descriptors>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>
File renamed without changes.
File renamed without changes.

0 comments on commit 547e6d7

Please sign in to comment.