[ 
http://issues.apache.org/jira/browse/VELOCITY-402?page=comments#action_12329898 
] 

Will Glass-Husain commented on VELOCITY-402:
--------------------------------------------

On a related note, I think this issue applies:  VELOCITY-401

In a nutshell, I think we should remove all the "j2ee" targets and just include 
the DataSourceResourceLoader if javax.sql.DataSource is in the classpath.  In 
ant this would be simple - can we do this with maven?

> First cut at a working and usable maven build for Velocity
> ----------------------------------------------------------
>
>          Key: VELOCITY-402
>          URL: http://issues.apache.org/jira/browse/VELOCITY-402
>      Project: Velocity
>         Type: New Feature
>   Components: Build
>     Reporter: Henning Schmiedehausen
>  Attachments: project.properties, velocity-maven.patch
>
> This is a patch and a file to add an actually working maven build (which can 
> also build the site) to velocity. 
> This is non-intrusive and does not touch the ant build at all. As the current 
> maven build works 'somehow', this adds support
> for JDK 1.3/1.4 building and also some starting hooks to get the unit tests 
> in shape (to be able to move them out of the production jar).
> The resulting jar from maven jar:jar is exactly one class smaller than the 
> ant built jar: It omits the TestSimplePool class that is already in src/test
> The velocity-maven patch should be applied to the core directory, the 
> project.properties file must be added to the root.
> It is also useful to add "velocity.log*" and "*.ser" to the svn:ignore 
> property of the root directory.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to