The milestone jars are in the binary distribution, you can either copy
these into your local maven repository manually, or you can go to the samples
directory and type 'maven' and that will install all new jars and dependencies
into your local repository. You'll need to build from
the samples directory first before attempting to build animal quiz
alone (since this will install the artifacts)
----- Original Message -----
Sent: Monday, August 09, 2004 8:10
PM
Subject: [Andromda-user] Problems with
the 3.0M2-bin download animal quiz sample
I downloaded the new andromda-bin-3.0M2.zip download and ran into the
following two problems.
First, typing maven yields these dependency errors:
+----------------------------------------
| Executing
multiproject:install-callback Animal Quiz Hibernate
| Memory:
3M/5M
+----------------------------------------
Attempting to download
andromda-profile-3.0M2.xml.zip.
WARNING: Failed to download
andromda-profile-3.0M2.xml.zip.
Attempting to download
maven-andromda-plugin-3.0M2.jar.
WARNING: Failed to download
maven-andromda-plugin-3.0M2.jar.
Attempting to download
andromda-hibernate-cartridge-3.0M2.jar.
WARNING: Failed to download
andromda-hibernate-cartridge-3.0M2.jar.
Attempting to download
andromda-webservice-cartridge-3.0M2.jar.
WARNING: Failed to download
andromda-webservice-cartridge-3.0M2.jar.
Attempting to download
andromda-java-cartridge-3.0M2.jar.
WARNING: Failed to download
andromda-java-cartridge-3.0M2.jar.
Attempting to download
andromda-bpm4struts-cartridge-3.0M2.jar.
WARNING: Failed to download
andromda-bpm4struts-cartridge-3.0M2.jar.
Attempting to download
andromda-query-library-3.0M2.jar.
WARNING: Failed to download
andromda-query-library-3.0M2.jar.
Attempting to download
andromda-validation-library-3.0M2.jar.
WARNING: Failed to download
andromda-validation-library-3.0M2.jar.
BUILD FAILED
File...... C:\Documents and
Settings\rmuller\.maven\plugins\maven-multiproject-plugin-1.3\plugin.jelly
Element...
maven:reactor
Line...... 216
Column.... 9
The build cannot continue
because of the following unsatisfied dependencies:
andromda-profile-3.0M2.xml.zip
maven-andromda-plugin-3.0M2.jar
andromda-hibernate-cartridge-3.0M2.jar
andromda-webservice-cartridge-3.0M2.jar
andromda-java-cartridge-3.0M2.jar
andromda-bpm4struts-cartridge-3.0M2.jar
andromda-query-library-3.0M2.jar
andromda-validation-library-3.0M2.jar
Total time: 17 seconds
Finished at: Mon Aug 09 16:20:27 PDT 2004
Changing the version to M2-SNAPSHOT lets this work--does
team.andromda.org\maven not yet have the milestone jars?
Second, once I've made the SNAPSHOT change, I get this error:
andromda:run:
[echo]
+--------------------------------------------+
[echo]
| R u n n i n g A n d r o M D
A |
[echo]
+--------------------------------------------+
BUILD FAILED
File...... C:\Documents and
Settings\rmuller\.maven\plugins\maven-multiproject-plugin-1.3\plugin.jelly
Element...
maven:reactor
Line...... 216
Column.... 9
Unable to obtain goal
[multiproject:install-callback] -- C:\Documents and
Settings\rmuller\.maven\plugins\maven-andromda-plugin-3.0M2-SNAPSHOT\plugin.jelly:42:91:
<ant:andromda> Could not find any model input!
INFO [App] Total
time: 49 seconds
INFO [App] Finished at: Mon Aug 09 16:39:33 PDT
2004
INFO [App]
The model is there under UML and seems to be in the right place from what I
see in the maven files.
--Bob Muller