I am using Maven for building a simple webapp that uses JDBC connection
pooling along with Hibernate.
I am using the Maven Webapp Archetype to build the project.
Where do I put context.xml and persistence.xml that I normally put under
META-INF in a normal dynamic web project.
hi,
On 07 Aug 2015, at 12:33, James Green james.mk.gr...@gmail.com wrote:
Hi,
I want to know about any imports within our package base that are resolved
by a transitive dependency.
There must be a command or tool for this - I'm not sure I've ever seen one
though?
Maybe this helps:
Hi,
I want to know about any imports within our package base that are resolved
by a transitive dependency.
There must be a command or tool for this - I'm not sure I've ever seen one
though?
This probably should form a report of warnings during the build...
Thanks,
James
See in-line
On 7 August 2015 at 12:05, Björn Raupach raupach.bjo...@googlemail.com
wrote:
hi,
On 07 Aug 2015, at 12:33, James Green james.mk.gr...@gmail.com wrote:
Hi,
I want to know about any imports within our package base that are
resolved
by a transitive dependency.
There
Ben's suggestion should be enough.
dependency:analyze will output declared, unused dependencies and undeclared,
used dependencies (what you want)
Mind you, I've had quite a few false positives in the first category. I think
things like reflection will fool the analysis. But since you are
On 7 August 2015 at 04:14, James Green james.mk.gr...@gmail.com wrote:
See in-line
On 7 August 2015 at 12:05, Björn Raupach raupach.bjo...@googlemail.com
wrote:
hi,
On 07 Aug 2015, at 12:33, James Green james.mk.gr...@gmail.com wrote:
Hi,
I want to know about any imports within
+1 dependency:analyze seems to be the one.
Le 7 août 2015 2:17 PM, Ben Podgursky bpodgur...@gmail.com a écrit :
I think you want mvn dependency:analyze -DfailOnWarning=true
https://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.html#failOnWarning
On Fri, Aug 7, 2015 at 4:38
Hi,
I am facing an issue I really did not expect, where a plugins configuration
parameters in the POM take precedence over CLI –Dparam=value parameter values.
My plugin takes a string parameter:
@Mojo(name = showValue, requiresProject = true, aggregator = true,
defaultPhase =
Hi Team,
When I tried to build Jetspeed 2.3 source code with maven 3.3.1 , got below
error:
Downloading:
https://repo.maven.apache.org/maven2/org/apache/portals/portals-pom/1.4/portals-pom-1.4.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL]
I have just started using Maven for my Hibernate projects. What archetype
would be best suited for a simple Hibernate project ?
mvn -X compile
Look at the listing; it will show you all of the dependencies.
On Aug 7, 2015, at 7:14 AM, James Green james.mk.gr...@gmail.com wrote:
See in-line
On 7 August 2015 at 12:05, Björn Raupach raupach.bjo...@googlemail.com
wrote:
hi,
On 07 Aug 2015, at 12:33, James Green
I think you want mvn dependency:analyze -DfailOnWarning=true
https://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.html#failOnWarning
On Fri, Aug 7, 2015 at 4:38 AM, Russell Gold russell.g...@oracle.com
wrote:
mvn -X compile
Look at the listing; it will show you all of the
You IDE should do that if it is Maven aware.
Foe example, Eclipse/STS, which the m2e plugin built-in, gives you a
view in the POM editor that shows the origin of the need for each
dependency and shows the whole chain of transitive dependencies.
It shows what versions of dependencies will be
13 matches
Mail list logo