Comments (14)
Sorry, I am not familiar with maven. What kind of change is it?
Original comment by [email protected]
on 2 Aug 2010 at 3:41
from htmlcompressor.
Maven is an easier way of performing Ant tasks and synchronizing jar libraries
across environments. I would offer to help but I am still learning it myself.
If someone knowledgeable is able to do this, they can add this to a maven
repository at https://maven2-repository.dev.java.net/ . Follow the step 'Post
Your Artifacts'.
Original comment by [email protected]
on 5 Nov 2010 at 10:33
from htmlcompressor.
having htmlcompressor as maven goal would be really cool, unfortunatelly i do
not have enough knowledge myself to write it, but i guess
http://alchim.sourceforge.net/yuicompressor-maven-plugin/ or
http://code.google.com/p/maven-samaxes-plugin/source/checkout could serve as a
guide how to write the plugin
Original comment by [email protected]
on 7 Nov 2010 at 2:29
from htmlcompressor.
A Google Code hosted project did the same recently, you could see the
instructions (and an ant script) at
http://stackoverflow.com/questions/1280470/maven-repository-for-google-code-project
What maven users finally need is only that:
http://code.google.com/p/equalsverifier/wiki/Maven
Original comment by [email protected]
on 2 Jan 2011 at 10:07
from htmlcompressor.
Sorry for my last comment. As seen at
http://www.thewebsemantic.com/2009/04/11/your-very-own-google-code-maven-repo/comment-page-1/#comment-1313
that is not the correct approach.
You could try the free sonatype repositories
https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide
(7c is the best choice for your project).
Original comment by [email protected]
on 2 Jan 2011 at 10:33
from htmlcompressor.
Original comment by [email protected]
on 26 Mar 2011 at 8:15
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
from htmlcompressor.
From JMigue... it seems another google code project did this by adding the
following target to their build.xml:
<target name="publish-maven" depends="-publish-validate, -checkCredentialsFile, deploy">
<mkdir dir="${tag.dir}" />
<mkdir dir="${mvn.dir}" />
<echo message="Checking out ${project.svn}/tags/${tag}" />
<exec dir="${tag.dir}" executable="${svn.cmd}" failonerror="true">
<arg line="checkout ${project.svn}/tags/${tag} --username ${google.username} --password ${google.password}" />
</exec>
<echo message="Bumping version in ${equalsverifier.pom}" />
<replace file="${equalsverifier.pom}" token="???" value="${version}" />
<echo message="Committing files in ${tag.dir}" />
<exec dir="${tag.dir}/${tag}" executable="${svn.cmd}" failonerror="true">
<arg line='commit -m "Version bump" --username ${google.username} --password ${google.password}' />
</exec>
<echo message="Checking out ${project.svn}/maven" />
<exec dir="${mvn.dir}" executable="${svn.cmd}" failonerror="true">
<arg line="checkout ${project.svn}/maven --username ${google.username} --password ${google.password}" />
</exec>
<echo message="Preparing Maven repo" />
<exec dir="${tag.dir}" executable="${mvn.cmd}" failonerror="true">
<arg line="deploy:deploy-file -Durl=file://${mvn.dir}/maven -Dfile=${equalsverifier.jar} -DpomFile=${equalsverifier.pom}" />
</exec>
<echo message="Adding contents of ${mvn.dir}/maven to SVN" />
<exec dir="${mvn.dir}/maven" executable="${svn.cmd}" failonerror="true">
<arg line="add . --force --username ${google.username} --password ${google.password}" />
</exec>
<echo message="Committing Maven repo in ${mvn.dir} to SVN" />
<exec dir="${mvn.dir}/maven" executable="${svn.cmd}" failonerror="true">
<arg line='commit -m "Deploy to Maven repo: version ${version}" --username ${google.username} --password ${google.password}' />
</exec>
</target>
Original comment by [email protected]
on 13 Apr 2011 at 5:38
from htmlcompressor.
I'd like to have htmlcompressor as a Maven artifact too.
Original comment by [email protected]
on 10 Jun 2011 at 6:25
from htmlcompressor.
i'm going to develop maven plugin which will be using htmlcompressor library.
checkout this thread soon- i'l post here a reference to that plugin.
Original comment by [email protected]
on 12 Jun 2011 at 9:02
from htmlcompressor.
also original jar will be in maven repo soon
Original comment by [email protected]
on 12 Jun 2011 at 9:14
from htmlcompressor.
Finally I've completed migration of this project to maven and have already sent
the bundle to the owner for review. It took me 9 hours to complete migration.
So waiting for review now. Hope that will not take him a lot of time. Also if
you don't want to wait for review here is attached file with integrated maven
and you can install to you local repo while waiting it to be published on maven
central repo.
Original comment by [email protected]
on 12 Jun 2011 at 7:21
Attachments:
from htmlcompressor.
we're almost done with maven migration. also I've completed
htmlcompressor-maven-plugin which is using htmlcompressor lib and allows you to
compress html and xml files by placing a few lines in the project pom file.
I'll release it as soon as htmlcompressor lib will be on maven centaral repo.
Hope you'll enjoy that plugin.
Original comment by [email protected]
on 30 Jun 2011 at 7:56
from htmlcompressor.
changes merged to trunk, so waiting for review and coming release onto maven
central repository.
Original comment by [email protected]
on 3 Jul 2011 at 10:46
- Changed state: Fixed
from htmlcompressor.
here is maven plugin for htmlcompressor library
http://code.google.com/p/htmlcompressor-maven-plugin/
Original comment by [email protected]
on 23 Jul 2011 at 1:32
from htmlcompressor.
Related Issues (20)
- a
- preserve-line-breaks causes StackOverFlow when consumed 2000 empty lines. HOT 1
- Velocity Version
- compressor replaces double spaces in urls and thus brokes the links HOT 1
- http://compilehtml.com/ not working anymore HOT 2
- javaScript wan't be compressed
- How to use the htmlcompressor? HOT 1
- [deleted issue]
- Unable to use latest closure compiler HOT 3
- how can i did not reduce spaces when it is in the input tag HOT 1
- removeSpacesInsideTags incorrectly removes space after some unquoted attributes HOT 1
- Unable to use closure HOT 2
- Extend HTML compressor to compress and combine external files
- Google Closure Compiler compiler.jar not found even though present
- one-line comment HOT 1
- styleTypeAttrPattern should also search for type="text/css"
- Add a --preserve-single-line-break option
- Update for JSP 2.2 HOT 2
- greedy simple attributes remove content for all attributes ending in "disabled" such as ng-disabled
- && in attributes breaks compression HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from htmlcompressor.