ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | xmlc List | May 2007 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [xmlc] maven 2 and xmlc plugin ?


Ah, good news. I got the plugin building and everything seems to be good. I've attached the POM below. Basically, I changed some version numbers, the artifactIds and added an exclusion for the problem I was referencing in my previous email.

I'm still curious about new versions of XMLC and Barracuda in the Maven central repository, is there a maintainer for these artifacts?

Through Codehaus, we have an ability to push Maven artifacts to the central repo. Does ObjectWeb have that ability as well?

best,  -b

<?xml version="1.0" encoding="utf-8"?>
<!-- $Id: pom.xml 37 2006-02-10 06:43:05Z miyachi $ -->
<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>
    <modelVersion>4.0.0</modelVersion>
    <groupId>xmlc</groupId>
    <artifactId>maven-xmlc-plugin</artifactId>
    <packaging>maven-plugin</packaging>
    <version>1.0-SNAPSHOT</version>
    <name>Maven2 Enhydra XMLC Plugin</name>
    <url>http:://mach.bml.co.jp/ObjectBest/maven-xmlc-plugin/</url>
    <developers>
        <developer>
            <id>miyachi</id>
            <name>MIYACHI Yasuhiko</name>
            <email>miyachi@xxxxxxxxx</email>
        </developer>
    </developers>
    <dependencies>
        <dependency>
            <groupId>org.apache.maven</groupId>
            <artifactId>maven-plugin-api</artifactId>
            <version>2.0</version>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>3.8.1</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>commons-logging</groupId>
            <artifactId>commons-logging</artifactId>
            <version>1.0.4</version>
        </dependency>
        <dependency>
            <groupId>org.apache.maven</groupId>
            <artifactId>maven-project</artifactId>
            <version>2.0</version>
        </dependency>
        <dependency>
            <groupId>plexus</groupId>
            <artifactId>plexus-utils</artifactId>
            <version>1.0.3</version>
        </dependency>

        <!-- xmlc-2.2.8.1 -->
        <dependency>
            <groupId>gnu-regexp</groupId>
            <artifactId>gnu-regexp</artifactId>
            <version>1.1.4</version>
        </dependency>
        <dependency>
            <groupId>xml-apis</groupId>
            <artifactId>xml-apis</artifactId>
            <version>1.3.02</version>
        </dependency>
        <dependency>
            <groupId>org.enhydra.xmlc</groupId>
            <artifactId>jtidy</artifactId>
            <version>r7-20052011.104500</version>
        </dependency>
        <dependency>
            <groupId>org.enhydra.xmlc</groupId>
            <artifactId>xmlc-all-runtime</artifactId>
            <version>2.2.7.1</version>
            <exclusions>
                <exclusion>
                    <groupId>xerces</groupId>
                    <artifactId>dom3-xml-apis</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.enhydra.xmlc</groupId>
            <artifactId>xmlc-taskdef</artifactId>
            <version>2.2.7.1</version>
        </dependency>
    </dependencies>
    <repositories>
        <repository>
            <id>localhost</id>
            <url>file:///usr/local/apache2/htdocs/maven2</url>
        </repository>
    </repositories>
    <distributionManagement>
        <snapshotRepository>
            <id>localhost</id>
            <url>file:///usr/local/apache2/htdocs/maven2</url>
        </snapshotRepository>
    </distributionManagement>
</project>

On May 27, 2007, at 11:04 PM, topping@xxxxxxxxxxxx wrote:

Hi all,

Does anyone have the experience that this plugin works? I'm just getting started on converting an Ant-based project using 2.2.8.1 to Maven 2.

To get started, I've updated pom.xml to use 2.2.7.1 (since that's what's available on the Maven central repository), but am having a problem with a dependency from xmlc-xerces-2.2.7.1.jar to dom3-xml- apis-1.0.jar. The latter only seems to resolve as a source jar on the central repository.

Eventually, I'll need to update this code to use 2.2.8.1, but those jars aren't in the central repository. I'm a bit worried about this, but am hoping the XMLC and Barracuda builds use the Ant tasks for Maven (http://maven.apache.org/ant-tasks.html) so that the artifacts can at least be deployed to the local repository. :-)

Thanks kindly for any input,

Brian Topping
Oakland, CA


--
You receive this message as a subscriber of the xmlc@xxxxxxxxxxxxx mailing list.
To unsubscribe: mailto:xmlc-unsubscribe@xxxxxxxxxxxxx
For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/ wws




<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.