Laplandia / owaspantisamy

Automatically exported from code.google.com/p/owaspantisamy
0 stars 0 forks source link

Maven packaging #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be very nice to have a Maven-packaged release of AntiSamy. I can 
help if you want.

Original issue reported on code.google.com by thiag...@gmail.com on 28 May 2009 at 1:27

GoogleCodeExporter commented 9 years ago
We need someone to do all the legwork (or helping me do it) of getting it into 
the
central repository. I think our pom.xml exposes a Maven src build, but I agree 
there
is lots of room for improvement. If you email the project list we can get the
discussion started.

Original comment by arshan.d...@gmail.com on 11 Jun 2009 at 1:23

GoogleCodeExporter commented 9 years ago
It would be nice to have AntiSamy in the central repository, but that's not 
necessary: you can have your own repository. One project of mine, http://
www.arsmachina.com.br/project, has its own repository, for example. You just 
need to 
tell where your repository is. ;)

Original comment by thiag...@gmail.com on 11 Jun 2009 at 8:56

GoogleCodeExporter commented 9 years ago
We already have a pom.xml that points to our own source repository. Does that 
not do
what you need to do? I'm not a Maven expert.

Original comment by arshan.d...@gmail.com on 11 Jun 2009 at 8:59

GoogleCodeExporter commented 9 years ago
The repository at http://antisamy.happyfern.com/maven2 is exactly what I 
wanted. :) 
But I only discovered it after I checked your pom.xml file. So I suggest you to 
put 
a reference to the repository at AntiSamy's front page, so people can find it 
more 
easily. ;)

By the way, the pt_BR translation is equal to the pt_PT one, but we Brazilians 
don't 
use the same software development vocabulary as the Portuguese. I'll fix that 
and 
contribute it to your project. ;)

Original comment by thiag...@gmail.com on 11 Jun 2009 at 9:16

GoogleCodeExporter commented 9 years ago
This seems to have been moved to a snapshot repo, 
http://antisamy.happyfern.com/maven2-
snapshot

Original comment by xhalli...@gmail.com on 12 Jun 2009 at 10:27

GoogleCodeExporter commented 9 years ago
It would be nice to have a source archive to step into.

Original comment by xhalli...@gmail.com on 12 Jun 2009 at 10:48

GoogleCodeExporter commented 9 years ago
To make Maven generate a source JAR besides the binary jar, just add the 
following 
XML snippet to the <build> tag of pom.xml:

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-source-plugin</artifactId>
    <version>LATEST</version>
    <executions>
        <execution>
            <id>attach-sources</id>
            <goals>
                <goal>jar</goal>
            </goals>
        </execution>
    </executions>
</plugin>

Original comment by thiag...@gmail.com on 15 Jun 2009 at 3:15

GoogleCodeExporter commented 9 years ago
Everyone happy with the information here? Is there any way I can make life 
easier for
you Mavenites?

Original comment by arshan.d...@gmail.com on 3 Aug 2009 at 2:49

GoogleCodeExporter commented 9 years ago
I'm happy. Thanks you very much!

Original comment by thiag...@gmail.com on 3 Aug 2009 at 3:55

GoogleCodeExporter commented 9 years ago
Btw we are going to go full Maven soon - NekoHTML fixed their bug, so we have 
no more
issues with building completely from Maven.

Original comment by arshan.d...@gmail.com on 30 Sep 2009 at 2:29

GoogleCodeExporter commented 9 years ago
Any updates on AntiSammy being in Maven rep ?

Original comment by misagh.moayyed on 17 Oct 2009 at 12:09

GoogleCodeExporter commented 9 years ago
Yes. You can include AntiSamy by putting this into your repositories section:

<repository>
  <id>googlecode-snapshots.oss.sonatype.com</id>
  <name></name>
  <url>http://oss.sonatype.org/content/repositories/googlecode-snapshots</url>
</repository>

... and putting this in your dependencies:

<dependency>
  <groupId>org.owasp</groupId>
  <artifactId>antisamy</artifactId>
  <version>1.3-SNAPSHOT</version>
</dependency>

Original comment by arshan.d...@gmail.com on 24 Nov 2009 at 3:25