This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes build a dynamic web project with Maven Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "build a dynamic web project with Maven" Watch "build a dynamic web project with Maven" New topic
Author

build a dynamic web project with Maven

Jhonnathan Emilio Cardona Saineda
Greenhorn

Joined: Jan 24, 2012
Posts: 21

Hi everyone,
How can i compile my project with a jar located in C:/libWeblogic/standard/wfullclient.jar since maven?
with ANT was:

<path id="classpath">
<pathelement location="${classes}"/>
<pathelement location="C:\libWeblogic\standard\wfullclient.jar"/>
</path>

but with maven??

<dependency>
.....
</dependency>

thanks
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5536

First use "mvn install:install-file ..." to load the wfullclient.jar into your local repository. When you do this, you have to give the coordinates for the JAR, and those same coordinates are used for the dependency.


JBoss In Action
Jhonnathan Emilio Cardona Saineda
Greenhorn

Joined: Jan 24, 2012
Posts: 21

thanks Peter, with this you give me a great help.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: build a dynamic web project with Maven
 
Similar Threads
Maven build dependencies from .classpath
"Recompile with -Xlint:unchecked for details message" appear when run Ant project
Deployement Error -- Very Arjunt
Ant Path problem
Problem in Maven2 pom for converting ejb2.1 project into sources.