This content has been marked as final.
Show 3 replies
-
1. Re: Deploying WebApp to JBoss AS on RHDS with Maven Dependen
cbeels Aug 22, 2007 6:06 PM (in response to cbeels)I ended up using the following ant task as a 'hack' to get the libs populated locally.
<artifact:pom id="pom.xml.id" file="pom.xml" />
<artifact:dependencies pathId="dependency.classpath" filesetId="dependency.fileset" pomRefId="pom.xml.id">
</artifact:dependencies>
I hope there is a better way to get JBoss to pick up the Maven dependencies when starting the App Server... -
2. Re: Deploying WebApp to JBoss AS on RHDS with Maven Dependen
cbeels Aug 22, 2007 6:08 PM (in response to cbeels)hrm part of my xml didn't show in the last post. Should be
<artifact:pom id="pom.xml.id" file="pom.xml" /> <artifact:dependencies pathId="dependency.classpath" filesetId="dependency.fileset" pomRefId="pom.xml.id"> <remoteRepository refid="dbz.remote.repository" /> </artifact:dependencies> <target name="copyDependenciesLocally"> <copy todir="web/WEB-INF/lib"> <fileset refid="dependency.fileset" /> <mapper type="flatten" /> </copy> </target>
-
3. Re: Deploying WebApp to JBoss AS on RHDS with Maven Dependen
maxandersen Aug 23, 2007 2:23 AM (in response to cbeels)I'm not a maven pom file literate but is this needed because of a bug in RHDS or is this not just normal WTP behavior that you need to work around ?