This seems like a compiler error, but not in your project.
The latest pom is here:
http://code.google.com/p/morphia/source/browse/mavenrepo/com/google/code/morphia/morphia/0.93-SNAPSHOT/morphia-0.93-20100609.210914-27.pom
The snapshot is pointing to it:
http://code.google.com/p/morphia/source/browse/mavenrepo/com/google/code/morphia/morphia/0.93-SNAPSHOT/maven-metadata.xml
It is clear from the pom that the deps are there.
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib-nodep</artifactId>
<version>[2.1_3,)</version>
<type>jar</type>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.thoughtworks.proxytoys</groupId>
<artifactId>proxytoys</artifactId>
<version>1.0</version>
<type>jar</type>
<optional>true</optional>
</dependency>
You will note that these are optional, but that will only affect your
project if you want to use those features; in which case you need to
add them to your project (so the libraries are added to your run-time
class path). See
http://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html
I will push up another snapshot to the repo. just in case, but there
were no errors on that last one, and the commit logs looked good.
I don't use maven (for project I start, and can keep away from maven);
I would suggest not using it. It is broken by design.
No, the optional part only applied to projects that include you as a
dep. The docs talk about this rather explicitly. That section above,
with or without optional means the same thing for your project
dependencies and classpath.
> I don't use maven (for project I start, and can keep away from maven);
> I would suggest not using it. It is broken by design.
i reaaaaally dont want to enter this discussion, but i cannot stay away
from - just for the record - objecting here ;)
it might be not fit for absolutely everthing but it saves time like hell
even in smaller teams.
cu uwe
:)