Skip to content

Commit

Permalink
fix dist
Browse files Browse the repository at this point in the history
  • Loading branch information
jharting committed Dec 23, 2010
1 parent 2706b4e commit a1f1744
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 3 deletions.
8 changes: 8 additions & 0 deletions dist/pom.xml
Expand Up @@ -78,6 +78,14 @@
<type>zip</type>
<optional>true</optional>
</dependency>

<dependency>
<groupId>org.jboss.seam.rest</groupId>
<artifactId>seam-tasks-statistics-example</artifactId>
<version>${project.version}</version>
<type>zip</type>
<optional>true</optional>
</dependency>

</dependencies>

Expand Down
20 changes: 19 additions & 1 deletion examples/tasks-statistics/pom.xml
Expand Up @@ -27,7 +27,7 @@
<groupId>org.jboss.seam.rest</groupId>
<artifactId>seam-rest-api</artifactId>
</dependency>

<dependency>
<groupId>org.jboss.seam.rest</groupId>
<artifactId>seam-rest-impl</artifactId>
Expand All @@ -47,5 +47,23 @@
<build>
<finalName>seam-tasks-statistics</finalName>
</build>
<profiles>
<profile>
<id>distribution</id>
<activation>
<property>
<name>release</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

22 changes: 22 additions & 0 deletions examples/tasks-statistics/src/main/assembly/assembly.xml
@@ -0,0 +1,22 @@
<assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
<formats>
<format>zip</format>
</formats>
<baseDirectory>${project.build.finalName}</baseDirectory>
<fileSets>
<fileSet>
<directory>${project.basedir}</directory>
<useDefaultExcludes>true</useDefaultExcludes>
<excludes>
<exclude>${project.build.directory}/**</exclude>
<exclude>.classpath</exclude>
<exclude>.project</exclude>
<exclude>.settings/**</exclude>
<exclude>test-output/**</exclude>
</excludes>
</fileSet>
</fileSets>
</assembly>
2 changes: 0 additions & 2 deletions examples/tasks/pom.xml
Expand Up @@ -18,7 +18,6 @@

<properties>
<resteasy.version>2.0.1.GA</resteasy.version>
<seam.config.version>3.0.0.Beta2</seam.config.version>
<!-- test properties -->
<selenium.java.client.version>1.0.1</selenium.java.client.version>
<richfaces.selenium.version>1.5.1.Final</richfaces.selenium.version>
Expand Down Expand Up @@ -83,7 +82,6 @@
<dependency>
<groupId>org.jboss.seam.config</groupId>
<artifactId>seam-config-xml</artifactId>
<version>${seam.config.version}</version>
</dependency>

<dependency>
Expand Down
1 change: 1 addition & 0 deletions examples/tasks/src/main/assembly/assembly.xml
Expand Up @@ -15,6 +15,7 @@
<exclude>.classpath</exclude>
<exclude>.project</exclude>
<exclude>.settings/**</exclude>
<exclude>test-output/**</exclude>
</excludes>
</fileSet>
</fileSets>
Expand Down
7 changes: 7 additions & 0 deletions pom.xml
Expand Up @@ -31,6 +31,7 @@
<glassfish.embedded.version>3.0.1</glassfish.embedded.version>
<glassfish.deployment.version>3.0.1-b19</glassfish.deployment.version>
<seam.servlet.version>3.0.0.Alpha3</seam.servlet.version>
<seam.config.version>3.0.0.Beta2</seam.config.version>
</properties>

<url>http://www.seamframework.org</url>
Expand Down Expand Up @@ -143,6 +144,11 @@
<scope>test</scope>
</dependency>
<!-- Seam Tasks dependencies -->
<dependency>
<groupId>org.jboss.seam.config</groupId>
<artifactId>seam-config-xml</artifactId>
<version>${seam.config.version}</version>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-jaxrs</artifactId>
Expand Down Expand Up @@ -271,6 +277,7 @@
<module>dist</module>
<module>docs/reference</module>
<module>examples/tasks</module>
<module>examples/tasks-statistics</module>
</modules>
</profile>
</profiles>
Expand Down

0 comments on commit a1f1744

Please sign in to comment.