RE: How to add SYSTEM scope dependency to manifest?

2009-08-12 Thread REMIJAN, MICHAEL J [AG/1000]
jects that would be present on the target os, something like MFC.dll etc. Using it to work around having the jar in a repository is a definite anti-pattern. Instead have it uploaded to your Corporate Nexus repository. On Wed, Aug 12, 2009 at 1:10 PM, REMIJAN, MICHAEL J [AG/1000] wrote: > The jar

RE: How to add SYSTEM scope dependency to manifest?

2009-08-12 Thread REMIJAN, MICHAEL J [AG/1000]
The jar is not in any repository so I read it off of the file system by setting the dependency to system This is the only scope which can read jars off the file system. If the scope is changed to compile, Maven will want to pull it from a repository. The m2 plugin for eclipse gives an error if

How to add SYSTEM scope dependency to manifest?

2009-08-12 Thread REMIJAN, MICHAEL J [AG/1000]
Greetings all, I'm looking for how to configure the maven-jar-plugin so that dependencies with system are included in the class-path of the manifest. I already am using the tag of and that works but if a dependency is defined as system then does not include it in the manifest. I need to inclu

adding to an assembly

2009-08-11 Thread REMIJAN, MICHAEL J [AG/1000]
I followed the pattern in the maven book and I have one project which defines reusable assemblies, a parent-pom project which refers to those assemblies in , and finally ProjectA which uses the parent-pom. Now my question is, how can ProjectA add to the assemblies..specifically ProjectA needs to a

Run ANT script first

2009-07-14 Thread REMIJAN, MICHAEL J [AG/1000]
I have an ANT script which I want to make sure runs first before any maven goal is run. How would I go about configuring this? - This e-mail message may contain privileged and/or confidential i

Child POM inherit reporting configurtaion from parent POM?

2009-05-08 Thread REMIJAN, MICHAEL J [AG/1000]
I have javadoc reporting configuration in a PARENT POM an it looks like this: org.apache.maven.plugins maven-javadoc-plugin true http://java.sun

perform 'site' with 'package'

2009-05-06 Thread REMIJAN, MICHAEL J [AG/1000]
When 'mvn package' is run, is there a way to also automatically run 'site' too? Is this something which can be configured?? - This e-mail message may contain privileged and/or confidential inf

prevent absolute file path in "project" assembly

2009-05-05 Thread REMIJAN, MICHAEL J [AG/1000]
I'm trying to use the assembly plugin with the "project" descriptorId and when I run this the zip file it creates contains the absolute directory on my file system to the project - in the zip file is c:\an\absolute\path\to\my\project How do I configure the plugin to only have the project direct

how to define license?

2009-04-28 Thread REMIJAN, MICHAEL J [AG/1000]
When building the project's site with 'mvn site' I can't figure out how to configure the license. "Project Information > Project License" on the website maven builds the page says " No project license is defined for this project" So how do I define a license? Thanks, Mike -

Including Javadocs (API) with project website

2009-04-27 Thread REMIJAN, MICHAEL J [AG/1000]
Two part question, 1) is it possible for 'mvn site' to automatically generate javadocs or do I always have to do javadoc:javadoc before running 'mvn site' 2) Is there standard in site.xml to generate the hyperlink to the javadocs? Thanks! Mike --

Can 'mvn site' include resources?

2009-04-27 Thread REMIJAN, MICHAEL J [AG/1000]
What is the best way for a site to inherit not only the site.xml from its parent but also the /src/site/resources from the parent too? I'd like to be able to share images across projects but when I run mvn site on my child projects I do not get the /src/site/resources from the parent. Is this eve

where is User?

2009-04-24 Thread REMIJAN, MICHAEL J [AG/1000]
Anyone know where com.monsanto.user.User is in Maven? Michael Joseph Remijan Monsanto Company Senior Application Developer US Commercial IT 800 N. Lindbergh Blvd. - G3W - Saint Louis, MO - 63167 314-694-5491 (w) 314-288-4662 (m) --

Newbie question about site

2009-04-24 Thread REMIJAN, MICHAEL J [AG/1000]
What is the best way for a site to inherit not only the site.xml from its parent but also the /src/site/resources from the parent too? I'd like to be able to share images across projects but when I run mvn site on my child projects I do not get the /src/site/resources from the parent. Is this eve