ocpsoft/rewrite — pull request #17 by chkal (2012-04-03 15:26:17+00:00)
Title: Added module to create distribution archive

Hey Lincoln,

I just thought about this post on the forums:

http://ocpsoft.org/support/topic/jar-for-download-from-the-page-same-as-prettyfaces

And I think this user is right. It may be really hard for users that don't use Maven to find the correct artifacts to include in a project. Therefore it would make sense to create some kind of distribution archive that we could provide for download on the Rewrite site. I had something similar on my TODO list for Togglz so I just did this for Rewrite too. :)

This pull request adds a new module called "distribution" which builds a ZIP file called `rewrite-1.0.4-SNAPSHOT-bin.zip` with the following content:

```
/rewrite-1.0.4-SNAPSHOT/NOTICE
/rewrite-1.0.4-SNAPSHOT/LICENSE
/rewrite-1.0.4-SNAPSHOT/rewrite-servlet-1.0.4-SNAPSHOT.jar
/rewrite-1.0.4-SNAPSHOT/integration/rewrite-integration-spring-1.0.4-SNAPSHOT.jar
/rewrite-1.0.4-SNAPSHOT/integration/rewrite-integration-faces-1.0.4-SNAPSHOT.jar
/rewrite-1.0.4-SNAPSHOT/integration/rewrite-integration-cdi-1.0.4-SNAPSHOT.jar
/rewrite-1.0.4-SNAPSHOT/integration/rewrite-integration-oracle-adf-1.0.4-SNAPSHOT.jar
/rewrite-1.0.4-SNAPSHOT/integration/rewrite-integration-gwt-1.0.4-SNAPSHOT.jar
```

What do you think?

I just don't know exactly if the resulting ZIP file would also be deployed to Maven repositories. So we may have to exclude it if it does. But we could test this with the next snapshot build.

Christian