symlink in my webapp
Hello All, I tried to add a symlink to a folder today in my webapp folder and after running maven2 I saw that in the target I have now a duplicated folder instead of a symlink to the other folder. Is there a way to tell maven to copy symlinks as files? thanks, Janos
maven site generation
I have a site I am generating with Maven 2. No matter what I do, maven keeps adding/replacing an table definition in my pages. It adds a class 'bodyTable" and a class "a" to the row for some reason. I tried to find some information but couldn't find any. Is there anybody who can explain it to me, why this change and what can I do to avoid it? thanks, Attila - Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
maven2 warning when using company super pom ?
We have a company super pom with no modules. Just common dependencies, java compile version, etc. It is included in all of our projects as parent. However when I run mvn clean package on my project pom I get a warning in phase site:attach-descriptor saying that the parent pom does not exist in the parent folder. [INFO] [site:attach-descriptor] [WARNING] Unable to load parent project from a relative path: Could not find the model file 'C:\${path_to_myproject}\..\pom.xml'. Is there a way to get rid of this message? I thought a parent pom should not necessary be in a parent folder unless includes the "child" pom as module. In my case it does not so I would expect to have no warnings. thanks, Attila - It's here! Your new message! Get new email alerts with the free Yahoo! Toolbar.
Re: dependency of jar included in war?
Hi Siegfried, What do you mean by "add the JAR as additional dependency" ? I am new to maven, I am not sure what that means. I looked in the documentation and tried to google after it, but couldn't find any info. thanks, Atti From: Siegfried Goeschl <[EMAIL PROTECTED]> To: Maven Users List Subject: Re: dependency of jar included in war? Hi Atti, currently a WAR does not participate in the dependency inheritance mechanism. What you could do since your WAR depends on a single JAR is to add the JAR as additional dependency. This is of course a hack but not too ugly. Cheers, Siegfried Goeschl Attila Ravai wrote: > Hi, > > I have a war file which has a dependency on my project, which is a jar. The > jar file itself has a lot of dependencies (like oracle classes.jar). When > building the war file, all I get in the web-inf/lib is what I specified in > the war dependency, which is myproject.jar. However the classes.jar it never > is added to the war, so when trying to load the app, I get an classnotfound > exception. > > Is there a way to have the war include the jar files dependencies? I would > hate to duplicate the dependencies in the war pom. I cannot create a parent > module, as they are two different projects. > > thanks > Atti > > - Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
dependency of jar included in war?
Hi, I have a war file which has a dependency on my project, which is a jar. The jar file itself has a lot of dependencies (like oracle classes.jar). When building the war file, all I get in the web-inf/lib is what I specified in the war dependency, which is myproject.jar. However the classes.jar it never is added to the war, so when trying to load the app, I get an classnotfound exception. Is there a way to have the war include the jar files dependencies? I would hate to duplicate the dependencies in the war pom. I cannot create a parent module, as they are two different projects. thanks Atti - It's here! Your new message! Get new email alerts with the free Yahoo! Toolbar.