[m1] including of scripts
Need some help on something. I need to include several external jelly scripts that have the same internal tags (ie internal tags defined by define:tag name=build. The problem is as I loop through my includes of these files only the first include ever gets called, which makes sense I guess b/c it is only finding the first build tag. So is there anyway to include or import a jelly file, execute it, and then throw it away and reload another jelly file and call the same tag? Example code of what I mean: util:tokenize var=indJellyFiles delim=,${jellyFiles}/util:tokenize j:forEach var=jellyFile items=${ indJellyFiles } j:import file=${jellyFile} inherit=true / !-- Make the a call into the jelly file namespace -- customJellyFiles:run / /j:forEach So only the first jelly file will ever be executed even if I import more then one. Is there a way around this? Thanks, Tim. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m1] Test plugin 1.8-SNAPSHOT
Where can I go to download the SNAPSHOT jar for the test plugin? I could not find it and I think it will fix the issues that we are currently having. Thanks, Tim. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m1] pdf plugin version 2.4
Does the following property work: maven.pdf.cover.projectCompany I also thought that by default this property is supposed to refer to: ${pom.organization.name} Does not seem to matter what I put but the cover page always as the company name as Apache Software Foundation. Is there anyway to change this besides modifying the project2fo.xslt file (I do not want to have to modify this on all of our build machines if possible)? Thanks, Tim. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m1] pdf plugin version 2.4
The problem seems to be in the plugin.jelly file - the code reads: arg value=-PARAM/ arg value=-PARAM coverProjectCompany ${maven.pdf.cover.projectCompany}/ arg value=${maven.pdf.cover.projectCompany}/ It should be: arg value=-PARAM/ arg value=coverProjectCompany/ arg value=${maven.pdf.cover.projectCompany}/ Thanks, Tim. -Original Message- From: Tim Dyck [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 19, 2005 10:45 AM To: Maven Users List Subject: [m1] pdf plugin version 2.4 Does the following property work: maven.pdf.cover.projectCompany I also thought that by default this property is supposed to refer to: ${pom.organization.name} Does not seem to matter what I put but the cover page always as the company name as Apache Software Foundation. Is there anyway to change this besides modifying the project2fo.xslt file (I do not want to have to modify this on all of our build machines if possible)? Thanks, Tim. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m1] license report
I have question on the license report: We have many projects that all use the same license and we would like to reference the same license from a URL so that we do not have to check in our license every time we start a new project - ie becomes a nightmare if our license changes, then we would have to go through all of our projects and change it. I also tried adding the following to the project.xml file: licenses license nameOur License/name urlhttp://maven-projects/docs/licenses/MCS-LICENSE.txt/url distributionrepo/distribution commentsLicense specifc for the MCS team/comments /license /licenses But the license report did not pick anything up. Any ideas? Thanks, Tim. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m1] license report
Right. I have tried point the maven.license.licenseFile to a URL as well and it does not pick it up - it only seems to pick it up on disk. Any ideas on how I can reference a license file from a URL? Tim. -Original Message- From: Lukas Theussl [mailto:[EMAIL PROTECTED] Sent: Thursday, October 13, 2005 9:45 AM To: Maven Users List Subject: Re: [m1] license report The license plugin uses the maven.license.licenseFile property for generating the license. Actually, I don't know what the license in the pom is used for. -Lukas Tim Dyck wrote: I have question on the license report: We have many projects that all use the same license and we would like to reference the same license from a URL so that we do not have to check in our license every time we start a new project - ie becomes a nightmare if our license changes, then we would have to go through all of our projects and change it. I also tried adding the following to the project.xml file: licenses license nameOur License/name urlhttp://maven-projects/docs/licenses/MCS-LICENSE.txt/url distributionrepo/distribution commentsLicense specifc for the MCS team/comments /license /licenses But the license report did not pick anything up. Any ideas? Thanks, Tim. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- __ Lukas Theussl TRIUMF email: [EMAIL PROTECTED] 4004 Wesbrook Mall tel.: + 1 604 222 1047 ext. 6446 Vancouver, British Columbia http://www.triumf.ca/people/theussl/ Canada V6T 2A3 __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
m1 - maven.xml including another script.
I feel stupid for even asking this question, but after digging through google for a while I have not found my answer. I have a maven.xml file that needs to include another xml file and make calls to defined tags that I have created. Here is a basic example of what I am trying to do: Maven.xml contains: project xmlns:define=jelly:define xmlns:j=jelly:core xmlns:cooliotest=cooliotest j:include file=${basedir}/test.xml / goal name=testing j:set var=jar.customjars.src.dir value=${basedir}/src/customjars / cooliotest:echo / /goal /project Test.xml contains: project xmlns:define=jelly:define xmlns:j=jelly:core xmlns:ant=jelly:ant xmlns:cooliotest=cooliotest define:taglib uri=cooliotest define:tag name=echo ant:echobla bla bla echo bla bla bla/ant:echo /define:tag /define:taglib /project So now at the command line I type: maven -o testing The output that is generated (subset of output): Tag library requested that is not present: 'cooliotest' in plugin: 'null' build:start: testing: [echo] bla bla bla echo bla bla bla BUILD SUCCESSFUL Total time: 2 seconds Finished at: Wed Sep 21 10:29:59 PDT 2005 So to my question: Why am I get that the Tag library requested that is not present: 'cooliotest' in plugin: 'null'??? But yet my the correct output is still genereated..? So is there a different way that to include another jelly file that contains custom defined tags that I want to call? Thanks, Tim. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
maven repositories
Is there a way to easier download jars from the repository without having to list it as a dependency in a project? In my case, I want to modify the maven.xml file and override the javadoc goal to also build a PDF of the javadocs using pdfdoclet. Though, somehow I need to be able to download that file from the repository so that when others build locally on their build that they do not need to know how to manually copy it to their local repository. Ideas? Thanks, Tim Dyck - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m1] PDF Plugin help / question
I am getting the following error when trying to run the PDF plugin in maven: BUILD FAILED File.. C:\Documents and Settings\TimDy.AMERICA\.maven\cache\maven-pdf-plugin -2.3\plugin.jelly Element... xslt Line.. 128 Column 20 Provider for javax.xml.transform.TransformerFactory cannot be found Total time: 4 seconds Finished at: Thu Jul 21 14:51:05 PDT 2005 Any ideas? Tried running with both JDK 1.5.0_03 and JDK 1.4.2_03 Thanks, Tim. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 2:49 PM To: Maven Users List Subject: Re: [M2] Manifest.mf While we may change it, currently Maven uses private field injection of configuration, so it is still set. - Brett On 7/22/05, Bennett, Timothy (JIS - Applications) [EMAIL PROTECTED] wrote: -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Friday, July 15, 2005 11:55 PM To: Maven Users List Subject: Re: [M2] Manifest.mf I'd be interested to see what you are doing here, and whether an osgi-bundle plugin could be created to assist in this. Unfortunately the JAR plugin documentation does not yet go deep enough into the manifest element, but it's fields are seen here: http://maven.apache.org/maven2/plugins/maven-jar-plugin/jar-mojo.html archive is: http://svn.apache.org/repos/asf/maven/components/trunk/maven-a rchiver/src/main/java/org/apache/maven/archiver/MavenArchiveConfiguratio n.java MavenArchiveConfiguration has getManifest() method, but no setManifest() method??? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Clover plugin question - how to use clover1.3.8.jar
Where can I download the maven clover snapshot 1.10 - I need to be able to use version 1.3.8 of clover and there is now way for me to use this version - ie since one cannot specify what JAR they want to use in the properties file. Any help would be greatly appreciated. Thanks, Tim. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]