[rules-users] drools 5.0.0-SNAPSHOT Maven repository broken?

tim tim timbaermannextra at googlemail.com
Wed Oct 8 11:30:25 EDT 2008


hi

when i am getting drools snapshot via "mvn eclipse:eclipse"
the compiled drools jars are downloaded but the sources are not, although i
have
<downloadSources>true</downloadSources>
defined as parameter in my pom.xml and the sources of the other libraries
are downloaded correctly.
when i use drools 4.0.7 those sources are downloaded correctly.

i can find the sources manually in the
http://snapshots.jboss.org/maven2repository, they are just not
downloaded
automatically.

i deleted the mvn-eclipse-cache.properties file in my target directory
before calling mvn. (see
http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html)

an extract from my maven output:

// the compiled jars are located correctly:
..
[INFO] snapshot org.drools.solver:drools-solver:5.0.0.SNAPSHOT: checking for
updates from snapshots.jboss.org
[INFO] snapshot org.drools.solver:drools-solver:5.0.0.SNAPSHOT: checking for
updates from repo1.maven.org
Downloading:
http://snapshots.jboss.org/maven2/org/drools/solver/drools-solver/5.0.0.SNAPSHOT/drools-solver-5.0.0.20081008.102800-121.pom
1K downloaded
Downloading:
http://snapshots.jboss.org/maven2/org/drools/drools-compiler/5.0.0.SNAPSHOT/drools-compiler-5.0.0.20081008.102800-232.jar
943K downloaded
Downloading:
http://snapshots.jboss.org/maven2/org/drools/drools-core/5.0.0.SNAPSHOT/drools-core-5.0.0.20081008.102800-233.jar
1547K downloaded
Downloading:
http://snapshots.jboss.org/maven2/org/drools/solver/drools-solver-core/5.0.0.SNAPSHOT/drools-solver-core-5.0.0.20081008.102800-121.jar
94K downloaded
...
// but maven searches for the sources in the wrong repositories:

Downloading:
http://repository.jboss.org/maven2/org/drools/drools-compiler/5.0.0.20081008.102800-232/drools-compiler-5.0.0.20081008.102800-232-sources.jar
Downloading:
http://repo1.maven.org/maven2/org/drools/drools-compiler/5.0.0.20081008.102800-232/drools-compiler-5.0.0.20081008.102800-232-sources.jar
Downloading:
http://repo1.maven.org/maven2/org/drools/drools-compiler/5.0.0.20081008.102800-232/drools-compiler-5.0.0.20081008.102800-232-sources.jar
Downloading:
http://repository.jboss.org/maven2/org/drools/drools-core/5.0.0.20081008.102800-233/drools-core-5.0.0.20081008.102800-233-sources.jar
Downloading:
http://repo1.maven.org/maven2/org/drools/drools-core/5.0.0.20081008.102800-233/drools-core-5.0.0.20081008.102800-233-sources.jar
Downloading:
http://repo1.maven.org/maven2/org/drools/drools-core/5.0.0.20081008.102800-233/drools-core-5.0.0.20081008.102800-233-sources.jar
...

does someone else have this problem?

or maybe my pom.xml is wrong?
the relevant parts of my pom.xml file are:

<repositories>
        <repository>
            <id>repo1.maven.org</id>
            <url>http://repo1.maven.org/maven2</url>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
            <releases>
                <enabled>true</enabled>
            </releases>
        </repository>
        <repository>
            <id>repository.jboss.org</id>
            <url>http://repository.jboss.org/maven2</url>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
            <releases>
                <enabled>true</enabled>
            </releases>
        </repository>
        <repository>
            <id>snapshots.jboss.org</id>
            <url>http://snapshots.jboss.org/maven2</url>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
            <releases>
                <enabled>false</enabled>
            </releases>
            </repository>
</repositories>

<dependencies>
        <dependency>
            <groupId>janino</groupId>
            <artifactId>janino</artifactId>
            <version>2.5.10</version>
        </dependency>
        <dependency>
            <groupId>org.drools</groupId>
            <artifactId>drools-core</artifactId>
            <version>5.0.0.SNAPSHOT</version>
        </dependency>
        <dependency>
            <groupId>org.drools</groupId>
            <artifactId>drools-compiler</artifactId>
            <version>5.0.0.SNAPSHOT</version>
        </dependency>
        <dependency>
                <groupId>org.drools.solver</groupId>
                <artifactId>drools-solver-core</artifactId>
                <version>5.0.0.SNAPSHOT</version>
        </dependency>
</dependencies>

unfortunately i have no idea what the problem might be and installing the
sources manually every time i update is no very attractive option..


thanks in advance, tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20081008/62ef830a/attachment.html 


More information about the rules-users mailing list