I use maven 2.0.9, jdk 1.6.0_10 to build my project.
Now I encounter a dilemma. I have source code e.g. example/ioc/MyIoc.java,
example/ioc/tapestry5/MyIocWrapper.java and related Test files. They are
located in different folders at the beginning.
Now I want to reorganize/ refactor the source
I want to config the pom project to copy the final jar file to an
installation dir and bind it to the 'install' phase.
meaning, when i just build the project, the jar will be built into the
default target/project.jar.
but when i install it should be also should be copied to
I find intellij has great refactoring support... and there is now a
free (as in apache licensed) version available
in intellij you just go file | open project, point it at your pom.xml
and it will open your project with everything just configured. then
just drag and drop your java sources
your best bet is to bind an execution of the antrun plugin to the
install phase and use the ant copy task to copy the file for you
Sent from my [rhymes with tryPod] ;-)
On 22 Nov 2009, at 13:43, eyal edri eyal.e...@gmail.com wrote:
I want to config the pom project to copy the final jar file
It should work with the antrun plugin ( and ant's copy task. )
( configure an antrun plugin execution to attach to install phase )
--sony
On Sun, Nov 22, 2009 at 8:43 AM, eyal edri eyal.e...@gmail.com wrote:
I want to config the pom project to copy the final jar file to an
installation dir
Hi Brian,
Could you please clarify what's actually plain wrong about it?
Going back to the example I posted:
dependency
groupIdcom.sun/groupId
artifactIdrt/artifactId
version1.5.0.11/version
scopesystem/scope
systemPath${java.home}/lib/rt.jar/systemPath
The Mojo team is pleased to announce the release of a number of
signatures of various versions of the Java Runtime for use with the
Animal Sniffer set of utilities.
The following signatures have been released:
Generic Signatures (only includes public API classes)
* Java 1.3
Well Maven sees it just like the message:
[DEBUG] For managed dependency Dependency {groupId=weblogic,
artifactId=weblogic, version=10.0, type=jar}: system-scoped dependency
must specify an absolute path systemPath.
So since the first one works and the second one doesn't, that leads me
to
But that's exactly the problem - it *is* defined in the environment. :(
$ls -l $WL_HOME/server/lib/webservices.jar
-rwxr-xr-x. 1 dev dev 1696324 2009-10-30 16:55
/usr/java/weblogic/server/lib/webservices.jar
$echo $WL_HOME
/usr/java/weblogic
The Maven project I am trying to build has a
Did you also export WL_HOME?
I tried something similar here and it works fine in 2.2.1.
- Brett
On 23/11/2009, at 10:08 AM, Ellecer Valencia wrote:
But that's exactly the problem - it *is* defined in the environment. :(
$ls -l $WL_HOME/server/lib/webservices.jar
-rwxr-xr-x. 1 dev dev
On Mon, Nov 23, 2009 at 11:18 AM, Brett Porter br...@apache.org wrote:
Did you also export WL_HOME?
I tried something similar here and it works fine in 2.2.1.
- Brett
Hi Brett,
I'd presume the environment variable being there means that's already
happened. =)
This entry is in .bashrc so
Hi,
I am new to maven. Anyways I was able to build my war using maven
build. I wanted to move forward from where I need to call other
dependent sub project's maven.cmd first from my pom.xml.
My project structure looks like this :
projA
|
|-subProjA
| |-pom.xml
| |- maven.cmd
|
projA should not be a war project, it should merely be a aggregation pom.
Move your war project to a sub-project.
Read this:
http://www.sonatype.com/books/maven-book/reference/multimodule.html
/Anders
On Mon, Nov 23, 2009 at 07:45, pinky.muralid...@wipro.com wrote:
Hi,
I am new to maven.
Hi Ellecer,
Is there a chance you are seeing http://jira.codehaus.org/browse/MNG-4148 ,
which is duplicated by http://jira.codehaus.org/browse/MNG-2626 ? Does that
fit your parent POM hierarchy?
Other Brett
On Mon, Nov 23, 2009 at 2:17 PM, Ellecer Valencia elle...@gmail.com wrote:
On Mon, Nov
14 matches
Mail list logo