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.S...
1K downloaded
Downloading:
http://snapshots.jboss.org/maven2/org/drools/drools-compiler/5.0.0.SNAPSH...
943K downloaded
Downloading:
http://snapshots.jboss.org/maven2/org/drools/drools-core/5.0.0.SNAPSHOT/d...
1547K downloaded
Downloading:
http://snapshots.jboss.org/maven2/org/drools/solver/drools-solver-core/5....
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.20081...
Downloading:
http://repo1.maven.org/maven2/org/drools/drools-compiler/5.0.0.20081008.1...
Downloading:
http://repo1.maven.org/maven2/org/drools/drools-compiler/5.0.0.20081008.1...
Downloading:
http://repository.jboss.org/maven2/org/drools/drools-core/5.0.0.20081008....
Downloading:
http://repo1.maven.org/maven2/org/drools/drools-core/5.0.0.20081008.10280...
Downloading:
http://repo1.maven.org/maven2/org/drools/drools-core/5.0.0.20081008.10280...
...
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