I just tested the -nsu thing and it doesn't seem to work in maven 3.0.3.
Vote for
http://jira.codehaus.org/browse/MNG-5064
Op 13-04-11 09:17, Geoffrey De Smet schreef:
I 'll be adding this to the README in light of the problem that
Wolfgang
detected:
* Warning: The first `mvn` build of a day will download the latest
SNAPSHOT dependencies of other droolsjbpm projects,
unless you build all those droolsjbpm projects from source.
Those SNAPSHOTS were build and deployed last night by hudson jobs.
* If you 've pulled all changes (or cloned a repository) today,
this is a good thing:
it saves you from having to download and build all those other
latest droolsjbpm projects from source.
* If you haven't pulled all changes today, this is probably a bad
thing:
you 're probably not ready to deal with those new snapshots.
In that case, add `-nsu` (= `--no-snapshot-updates`) to the
`mvn` command to avoid downloading those snapshots:
$ mvn clean install -DskipTests -nsu
Wolfgang,
You're using the latest droolsjbpm-parent SNAPSHOT (build by the
droolsjbpm-build-bootstrap hudson job)
with the non-latest drools repository code.
I am afraid it's to late now to do -nsu, so if possible, I suggest just
pulling all changes.
With kind regards,
Geoffrey De Smet
Op 13-04-11 08:08, Wolfgang Laun schreef:
> Good morning!
>
> After a successful build yesterday, I had a problem with
> droolsjbpm/drools/drools-examples/drools-fusion-examples/pom.xml
> and in these elements:
> <dependency>
> <groupId>com.jgoodies</groupId>
> <artifactId>looks</artifactId>
> </dependency>
> <dependency>
> <groupId>com.jgoodies</groupId>
> <artifactId>forms</artifactId>
> </dependency>
>
> Errors were about a versions.version.xyz missing (sorry - I should
> have kept the message).
>
> Strange thing is, I never knowingly git- pulled; I only ran the mvn
> commands you suggested yesterday.
>
> Cheers
> Wolfgang
--
With kind regards,
Geoffrey De Smet