GithubHelp home page GithubHelp logo

Comments (14)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 19, 2024

Original comment by [email protected] on 26 Mar 2011 at 8:15

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

from htmlcompressor.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 19, 2024
also original jar will be in maven repo soon

Original comment by [email protected] on 12 Jun 2011 at 9:14

from htmlcompressor.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 19, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.