[ 
https://issues.apache.org/jira/browse/ODFTOOLKIT-343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13480017#comment-13480017
 ] 

Marc Schreiber commented on ODFTOOLKIT-343:
-------------------------------------------

This is my POM file of my test project

<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/xsd/maven-4.0.0.xsd";>
    <modelVersion>4.0.0</modelVersion>

    <groupId>your.group.id</groupId>
    <artifactId>TestProject</artifactId>
    <version>0.1</version>
    <packaging>jar</packaging>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <dependencies>
        <dependency>
            <groupId>org.apache.odftoolkit</groupId>
            <artifactId>simple-odf</artifactId>
            <version>0.7-incubating</version>
            <classifier>jar-with-dependencies</classifier>
        </dependency>
    </dependencies>
</project>

I hope, that one is useful for others too.
                
> Can Not Use ODF Toolkit with Maven
> ----------------------------------
>
>                 Key: ODFTOOLKIT-343
>                 URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-343
>             Project: ODF Toolkit
>          Issue Type: Bug
>    Affects Versions: 0.5
>         Environment: Netbeans 7.2 on Windows 7
>            Reporter: Marc Schreiber
>
> I'm trying to use ODF Toolkit with maven. I configured the dependency in the 
> POM file with following XML tag:
>         <dependency>
>             <groupId>org.apache.odftoolkit</groupId>
>             <artifactId>odftoolkit</artifactId>
>             <version>0.5-incubating</version>
>         </dependency>
> When I try to download the dependency maven fails with following error 
> message:
> Could not resolve dependencies for project ....: Failure to find 
> org.apache.odftoolkit:odftoolkit:jar:0.5-incubating in 
> http://repo.maven.apache.org/maven2

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to