User Tools

Site Tools


wiki:tech:java-hints:geromino-fails

problem with geronimo-jta_1.0.1B_spec:jar:1.0.1

The POM with the coordinates org.apache.geronimo.genesis.config:project-config:1.1 references the Codehaus repository. This repository has been discontinued.

~/.m2/settings.xml

<mirror>
   <id>codehaus-bypass</id>
   <name>Codehaus bypass mirror</name>
   <url>http://repo1.maven.org/maven2</url>
   <mirrorOf>codehaus</mirrorOf>
</mirror>

if mirror workaround not work

apache camel as example

        <dependency>
            <groupId>org.apache.activemq</groupId>
            <artifactId>activemq-client</artifactId>
            <version>5.14.1</version>
            <exclusions>
                <exclusion>
                    <groupId>org.apache.geronimo.specs</groupId>
                    <artifactId>geronimo-jta_1.0.1B_spec</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
 
        <dependency>
            <groupId>org.apache.geronimo.specs</groupId>
            <artifactId>geronimo-jta_1.0.1B_spec</artifactId>
            <version>1.1.1</version>
        </dependency>
wiki/tech/java-hints/geromino-fails.txt · Last modified: 2018/01/09 19:08 by kpc