M5 was a milestone release, so we can't really guarantee that we had
all the dependencies worked out at that point. Is it possible to
upgrade to 2.0? If not, you may try adding an explicit dependency on
a particular version to your pom.xml. That should override any other
transitive dependencies. If it doesn't, it may be caused by a change
in the groupId of a dependency. You might also try running "mvn
dependency:tree" to see what depends on what.
Matt
On Mar 16, 2008, at 4:43 AM, mschipperheyn wrote:
I seem to be experiencing the same problem with ehcache-1.4.1. From
the log
file I can see maven is selecting ehcache 1.2.3. I just don't see
where it
is coming from. My SNAPSHOT lib-dir contains only ehcache 1.4.1 and
also my
root pom contains ehcache 1.2.3
[DEBUG] Adding managed depedendencies for
org.subethamail:subethasmtp-smtp
[DEBUG] commons-logging:commons-logging:jar:1.1
[DEBUG] javax.mail:mail:jar:1.4
[DEBUG] junit:junit:jar:4.0:test
[DEBUG] org.subethamail:subethasmtp-smtp:jar:1.2:test (selected
for
test)
[DEBUG] javax.mail:mail:jar:1.4:test (selected for test)
[DEBUG] javax.activation:activation:jar:1.1:test (selected
for test)
[DEBUG] javax.mail:mail:jar:1.4:test (selected for test)
[DEBUG] javax.activation:activation:jar:1.1:test (selected
for test)
[DEBUG] org.hibernate:hibernate-search:jar:3.0.0.GA:compile
(selected for
compile)
[DEBUG] org.hibernate:hibernate:jar:3.2.5.ga:compile (selected for
compile)
[DEBUG] net.sf.ehcache:ehcache:jar:1.2.3:compile (selected for
compile)
[DEBUG] commons-logging:commons-logging:jar:1.1:test
(setting scope
to: compile)
[DEBUG] commons-logging:commons-logging:jar:1.1:compile
(selected
for compile)
[DEBUG] commons-collections:commons-collections:jar:
2.1:compile
(selected for compile)
***********
[DEBUG] Retrieving parent-POM: org.apache:apache::4 for project:
org.apache.lucene:lucene-parent:pom:2.3.1 from the repository.
[DEBUG] org.apache.lucene:lucene-contrib:jar:2.3.1:compile
(selected for
compile)
[DEBUG] org.freemarker:freemarker:jar:2.3.12:compile (selected for
compile)
[DEBUG] opensymphony:sitemesh:jar:2.3:compile (selected for compile)
[DEBUG] Retrieving parent-POM: net.sf.ehcache:ehcache-parent::1.4.1
for
project: null:ehcache:jar:null from the repository.
[DEBUG] Adding managed depedendencies for unknown:ehcache
The null stuff doesn't look good.
Any ideas?
Cheers,
Marc
--
View this message in context: http://www.nabble.com/2.0-M5%3A-many-
exception-after-new-installation-%3E-%24mvn-jetty%3Arun-war-
tp10984836s2369p16077955.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]