1 Jan 2007 02:11
Re: Maven 2 dependency on geronimo-spec:geronimo-spec-jta replaced with javax.transaction:jta
Johannes Brodwall <johannes <at> brodwall.com>
2007-01-01 01:11:58 GMT
2007-01-01 01:11:58 GMT
On 12/30/06, Jan Bartel <janb <at> mortbay.com> wrote: > > I can't find the jta-1.0.1B.jar in the maven2 repos, just the pom > for it. I'll keep and eye on it and when the jar turns up, I'll > change jetty to use it instead of the geronimo one. Sorry - my bad. Hibernate has a dependency on JTA, so I had installed it manually. > Re the "provided" scope dependencies, can you explain what you mean > by "running jetty-plus for a maven2 project"? If, for example, you're > using the jetty maven plugin then those jars will automatically be on > the runtime path. I'm happy to consider changing the scope, but I need > to understand first why it needs to be done. If I put jetty-plus as a dependency in a project, jetty and jetty-naming are not added to the classpath. As you can see on http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html, a provided dependency "is not transitive." I have started making projects depend directly on jetty more often now because 1) the embedded support in Jetty is really good, and I like to write "my own application server" that includes jetty and 2) I can start Jetty in a JUnit test and do embedded integration testing. For more information on this "trick", see my blog at http://www.brodwall.com/johannes/blog/2006/12/10/in-process-web-integration-tests-with-jetty-and-jwebunit/ (By the way - I am planning on expanding this into a full sized article for ONJava.com, any comments would be very welcome). Here is an example of a POM where I would like to remove the dependencies on jetty and jetty-naming, so there's just the jetty-plus dependency(Continue reading)
It is neither in RFC 2616 nor in some related RFC, so it was
my mistake. But UTF-8 as recommendation for URL is in HTML 4.01 Specification -
RSS Feed