Folks, I finally found some time to finish off some pending issues and just pushed out a shiny new 1.0-alpha-2-SNAPSHOT which contains a few goodies:

* Support for richer include/exclude for classes and jars (which are now 2 separate filesets, matching the Ant tasks usage) * Support for translating jar project artifacts easily including attaching them

Site docs are updated:

    http://mojo.codehaus.org/retrotranslator-maven-plugin/

Snaps are here:

http://snapshots.repository.codehaus.org/org/codehaus/mojo/ retrotranslator-maven-plugin/1.0-alpha-2-SNAPSHOT

(ignore the 1.0-beta-1-SNAPSHOT muck, its invalid).

 * * *

The syntax for including things has changed... you will *need* to update your pom's to use the new configuration syntax.

Basically for *jar file*, what used to be something like:

----8<----
<includes>
    <include>
        <directory>${pom.basedir}/target</directory>
        <pattern>${pom.artifactId}-${pom.version}.jar</pattern>
    </include>
</includes>
---->8----

Is now:

----8<----
<jarfileset>
    <basedir>${pom.basedir}/target</basedir>
    <includes>
        <include>${pom.artifactId}-${pom.version}.jar</include>
    </includes>
</jarfileset>
---->8----

And for *class files*:

----8<----
<includes>
    <include>
        <directory>${pom.basedir}/target/classes</directory>
        <pattern>**/*.class</pattern>
    </include>
</includes>
---->8----

Is now:

----8<----
<fileset>
    <basedir>${pom.basedir}/target/classes</basedir>
    <includes>
        <include>*/*.class</include>
    </includes>
</fileset>
---->8----

 * * *

Please give it a whirl and let me know if there are any issues. I've done some basic testing, but I may have missed something, or not have anticipated how others might use this puppy. If it looks good, I'll start a vote for a 1.0-alpha-2 release.

Cheers,

--jason

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to