[
http://mifosforge.jira.com/browse/MIFOS-2442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59051#action_59051
]
Stanley Kwok commented on MIFOS-2442:
-------------------------------------
Took a look at maven-js-plugin code and found that it is impossible to do JS
compression in one pass. Tried changing phase from "package" to
"prepare-package" resulted in build failure. Found this maven plugin that will
do the same job in one pass:
http://alchim.sourceforge.net/yuicompressor-maven-plugin/index.html.
I'm not a Maven expert, so not sure if adding the plugin's repo to the parent
POM is the right thing to do or if there is way to install the plugin into
mifos' Maven repo. Here is the plugin's repo:
<pluginRepository>
<name>oss.sonatype.org - github-releases</name>
<id>oss.sonatype.org-github-releases</id>
<url>http://oss.sonatype.org/content/repositories/github-releases</url>
</pluginRepository>
Thoughts?
> mifos/pom.xml "package" phase builds war twice (the 2nd time is for
> JavaScript minimization)
> --------------------------------------------------------------------------------------------
>
> Key: MIFOS-2442
> URL: http://mifosforge.jira.com/browse/MIFOS-2442
> Project: mifos
> Issue Type: Improvement
> Components: Build and Testing
> Affects Versions: Release 1.3
> Environment: Platform: All, OS: All
> Reporter: Adam Monsen
> Assignee: Stanley Kwok
> Fix For: Unscheduled
>
>
> Our WAR file is currently quite large... is it possible to _not_ build the WAR
> twice?
> Ideas:
> * use something other than maven-js-plugin
> * modify maven-js-plugin
> * combine maven-js-plugin and maven-war-plugin somehow
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues