My project uses spring , hibernate,dbunit for orm dao unit testing. I am
using maven to build my project.
The dbunit testing I use hsqldb with hibernate configration prop
key=hibernate.hbm2ddl.autocreate-drop/prop, this creates tables in
hsqldb and excutes all test, I am wondering If I can save
I have some of the jar files modified and kept them under folder ext-lib,
there jars files are needed by my application, can I tell maven to include
jars from this folder into the war file ?
my pom right now uses scope system and systempath , I donot want to install
them becasue we don't have
My project needs spring-modules-osworklow.jar , this module has dependency
to spring-mock , the spring-mock has the same classes as spring-test and
this has more classes , so I want to exclude transitive dependency for
spring-mock , please tell me how to do this ?
I have some jar files inside my project folder , and I want maven to
include them inside WEB-INF/lib , I know one way to include is to create a
custom ant task but the problem is maven creates a version number inside
target ,my project is audit and when I see the target folder I see audit-1
,
I created a maven project which has three sub projects one for ear , one for
war and one for jar.War has dependency to jar and ear has dependency to
war. When I try to install project i get this error
Reason: Failed to copy file for artifact[active project artifact:
artifact =
I have a maven project with subprojects for jar, war, ear , a dependency
like spring i need I need in both the modules jar and war , so where
should I specify the dependency? in parent project or each project war
and jar ?
I have maven project , which is jar, war and ear. Ear I deploy in weblogic ,
and to save time I run war with jetty.
because my project uses datasource , which is provided by weblogic and not
by jetty and in order to run in jetty
I add the deopendency
dependency
plugin
groupIdorg.mortbay.jetty/groupId
artifactIdjetty-maven-plugin/artifactId
version7.0.0.1beta0/version
configuration
contextPath/audit/contextPath
jettyEnvXml${basedir}/jetty-env.xml/jettyEnvXml
my project has subprojects one for ear , one for war and one for jar .
I get this error when I run mvn install
java.lang.NullPointerException
at
org.apache.maven.plugin.war.util.WebappStructure.getDependencies(WebappStructure.java:109)
at
maven plugin in my pom
plugin
groupIdorg.mortbay.jetty/groupId
artifactIdjetty-maven-plugin/artifactId
version7.0.0.pre5/version
configuration
contextPath/audit/contextPath
All of a sudden I started getting this error
Error message: Unable to get dependency information: Unable to read local
copy of metadata: Cannot read metadata from 'C:\Documents and
Settings\sairamm\.m2\repository\commons-collections\commons-collections\maven-metadata-Agile
Java.xml': end tag name
My project needs spring dependency for which I added
dependency
groupIdorg.springframework/groupId
artifactIdspring/artifactId
version2.5.5/version
/dependency
I also need spring modules osworkflow for which I added
dependency
I don't know the difference between snapshot and rc , when maven
repository has both which one should I use
13 matches
Mail list logo