Re: Accessing dependency from java
Thanx ;-) It becomes a maven question since I'm trying to access a maven project's dependency... dan tran a écrit : sorry, this is purely java question. Would this help? http://tns-www.lcs.mit.edu/manuals/java-api-1.1beta2/guide/misc/resources.html -D On 4/20/06, Michael Niemaz <[EMAIL PROTECTED]> wrote: There might be a misunderstanding here. I have a java class that would like to access a resource (jar file) that is declared as a dependency in the according maven project. I think it should be available through the classloader such as: classloader.getResourceAsStream but apparently not. Do you know why? I don't want my classes to be tightly coupled with any maven API or objects. --mike dan tran a écrit : I am well verse with maven1 plugin, but if you have access to maven pom then pom.getArtifacts() will give entry point to all dependencies -D On 4/20/06, Michael Niemaz <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: is this an m2 plugin? I'm under m1.b2 ... dan tran a écrit : You can lookup the fullpath of your dependency. Check out maven-dependency-plugin for sample source. -Dan On 4/20/06, Michael Niemaz <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: Hi all, I have a project with a zip dependency. I thought I could access it from java such as: classloader.getResourceAsStream("${dep}.zip"); but apparently not. I tried to rename the zip deps into jar ones and change the java code accordingly but in vain ;-( This getResourceAsStream returns null; Works fine though if I put the zip dep as a build resource i.e: in the src directory... Is this possible at all or am I out of the scope? Regards, --mike - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Accessing dependency from java
There might be a misunderstanding here. I have a java class that would like to access a resource (jar file) that is declared as a dependency in the according maven project. I think it should be available through the classloader such as: classloader.getResourceAsStream but apparently not. Do you know why? I don't want my classes to be tightly coupled with any maven API or objects. --mike dan tran a écrit : I am well verse with maven1 plugin, but if you have access to maven pom then pom.getArtifacts() will give entry point to all dependencies -D On 4/20/06, Michael Niemaz <[EMAIL PROTECTED]> wrote: is this an m2 plugin? I'm under m1.b2 ... dan tran a écrit : You can lookup the fullpath of your dependency. Check out maven-dependency-plugin for sample source. -Dan On 4/20/06, Michael Niemaz <[EMAIL PROTECTED]> wrote: Hi all, I have a project with a zip dependency. I thought I could access it from java such as: classloader.getResourceAsStream("${dep}.zip"); but apparently not. I tried to rename the zip deps into jar ones and change the java code accordingly but in vain ;-( This getResourceAsStream returns null; Works fine though if I put the zip dep as a build resource i.e: in the src directory... Is this possible at all or am I out of the scope? Regards, --mike - 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]
Re: Accessing dependency from java
is this an m2 plugin? I'm under m1.b2 ... dan tran a écrit : You can lookup the fullpath of your dependency. Check out maven-dependency-plugin for sample source. -Dan On 4/20/06, Michael Niemaz <[EMAIL PROTECTED]> wrote: Hi all, I have a project with a zip dependency. I thought I could access it from java such as: classloader.getResourceAsStream("${dep}.zip"); but apparently not. I tried to rename the zip deps into jar ones and change the java code accordingly but in vain ;-( This getResourceAsStream returns null; Works fine though if I put the zip dep as a build resource i.e: in the src directory... Is this possible at all or am I out of the scope? Regards, --mike - 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]
Accessing dependency from java
Hi all, I have a project with a zip dependency. I thought I could access it from java such as: classloader.getResourceAsStream("${dep}.zip"); but apparently not. I tried to rename the zip deps into jar ones and change the java code accordingly but in vain ;-( This getResourceAsStream returns null; Works fine though if I put the zip dep as a build resource i.e: in the src directory... Is this possible at all or am I out of the scope? Regards, --mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: post goal xdoc:jelly-transofrm executed so many times ...
includes="smartdocument.core/project.xml,smartdocument.services/*/project.xml,smartdocument.demo/project.xml" postProcessing="true" collectOnly="true" collectionVar="multiprjs" ignoreFailures="false" /> Copying ${project.getContext().getVariable("maven.build.dir")}/${project.getArtifactId()}.war to ${maven.dist.bin.assembly.dir} file='${project.getContext().getVariable("maven.build.dir")}/${project.getArtifactId()}.war' tofile="${maven.dist.bin.assembly.dir}/${project.getArtifactId()}.war" /> includes="smartdocument.core/project.xml,smartdocument.services/*/project.xml" postProcessing="true" collectOnly="true" collectionVar="multiprjs" ignoreFailures="false" /> Copying ${project.getContext().getVariable("maven.build.dir")}/${project.getArtifactId()}.war to ${maven.dist.bin.assembly.dir} file='${project.getContext().getVariable("maven.build.dir")}/${project.getArtifactId()}.war' tofile="${maven.dist.bin.assembly.dir}/${project.getArtifactId()}.war" /> includes="*/project.xml,*/*/project.xml" excludes="project.xml,smartdocument.services/project.xml,smartdocument.native/project.xml" postProcessing="true" collectOnly="true" collectionVar="multiprjs" ignoreFailures="false" /> Copying ${project.getContext().getVariable("maven.build.dir")}/${project.getArtifactId()}.war to ${maven.dist.bin.assembly.dir} file='${project.getContext().getVariable("maven.build.dir")}/${project.getArtifactId()}.war' tofile="${maven.dist.bin.assembly.dir}/${project.getArtifactId()}.war" /> file="${maven.dist.bin.assembly.dir}/${maven.final.name}.jar" /> Integrating application server in the distribution Unziping Tomcat dependency ${pom.getDependency('apache-tomcat:apache-tomcat')} to ${maven.dist.bin.assembly.dir} src="${pom.getDependencyPath('apache-tomcat:apache-tomcat')}" dest="${maven.dist.bin.assembly.dir}/tmp"/> name="${maven.dist.bin.assembly.dir}/tmp"/> value="${maven.dist.bin.assembly.dir}" scope="parent" /> includes="smartdocument.bpel/ActiveBpel/LoanInc/project.xml" goals="bpel-deploy-engine,bpel-deploy" banner="Installing and deploying bpel" ignoreFailures="false" /> Arnaud HERITIER a écrit : I was sure ;-) I need to review the code Did you try to upgrade the plugin to see if it helps ? You are using maven 1.0.2 or 1.1 beta 2 ? What is the release of the linkcheck plugin (maven -i) Arnaud On 2/24/06, Michael Niemaz <[EMAIL PROTECTED]> wrote: I see although when I set this property, it takes 12 minutes to complete instead of 30 and the generated site looks ok. Plus i don't see all the verbose linkcheck output in the console. Are you sure of what you are stating? --mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: post goal xdoc:jelly-transofrm executed so many times ...
btw this probably means that there's some kind of redundancy in the generation of my site ;-( Michael Niemaz a écrit : I see although when I set this property, it takes 12 minutes to complete instead of 30 and the generated site looks ok. Plus i don't see all the verbose linkcheck output in the console. Are you sure of what you are stating? --mike Arnaud HERITIER a écrit : if, each time, you build the site from scratch (using a clean before for example) the option maven.xdoc.skip.uptodate will hav no effect for you. All pages are recreated. There's no real solution to update it. Either you do not clean your generated site and you use the option maven.xdoc.skip.uptodate (with, as noticed before, some side effects if you edit the POM or the navigation for example), either you install an CI tool in another computer which will regenerate (end republish) the site when you commit your code in your SCM. Arnaud On 2/24/06, Michael Niemaz <[EMAIL PROTECTED]> wrote: How come they are not updated if I generate them from scratch (which I do)? Is there a way to use it so that you generate the site once and then update it on modifications? --mike Arnaud HERITIER a écrit : The counterpart is that your site pages aren't updated if you change something else than the xdoc page (the POM for example ...) Arnaud On 2/24/06, Michael Niemaz <[EMAIL PROTECTED]> wrote: I tried to add this property and it does go faster BUT I don't know exactly what is the counterpart ... --mike Michael Niemaz a écrit : All I do is invoke the multiproject-site goal. Actually, I invoke it twice as a workaround to have sub-sub projects treated and displayed as a tree. But it shouldn't be the pb here. So, you're telling me to use the linkcheck plugin. Well, how does it link to the multiproject-site goal? --mike Arnaud HERITIER a écrit : If in your multiproject you aggregate the sites you can use the linkcheckplugin only on the main site. You can also try the last snapshot which (in theory) is faster. Arnaud On 2/24/06, Dion Gillard <[EMAIL PROTECTED]> wrote: Turn off the linkcheck plugin. On 2/24/06, Michael Niemaz <[EMAIL PROTECTED]> wrote: When generating the documentation for my projects through multiproject goal, I noticed that the following (See below) is done several times (at least 15...). It takes a huge amount of time so I wonder if there was a workaround to that problem. Thanx, --mike Running post goal: xdoc:jelly-transform maven-linkcheck-plugin:report-real: maven-linkcheck-plugin: Proxy Host:cornillon maven-linkcheck-plugin: Proxy Port:8000 maven-linkcheck-plugin: Proxy User:null Found 0 files so far. Memory: 207M/322M Found 1000 files so far. Memory: 215M/322M Validating changelog-report.html Validating changes-report.html Validating cvs-usage.html Validating dependencies.html Validating developer-activity-report.html Validating downloads.html Validating file-activity-report.html Validating index.html Validating issue-tracking.html Validating license.html Validating linkcheck.html Validating mail-lists.html Validating maven-reports.html Validating project-info.html Validating team-list.html Validating building.html Validating accessing-the-sd-core.html Validating configuration.html Validating gettingstarted.html Validating performance.html Validating publishing-a-sd-service.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/benchmark/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/benchmark/PerformanceTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/benchmark/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/rules/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/rules/RulesTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/rules/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/service/SmartDocumentServiceTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/service/StorageProxyTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/service/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/ser
Re: post goal xdoc:jelly-transofrm executed so many times ...
I see although when I set this property, it takes 12 minutes to complete instead of 30 and the generated site looks ok. Plus i don't see all the verbose linkcheck output in the console. Are you sure of what you are stating? --mike Arnaud HERITIER a écrit : if, each time, you build the site from scratch (using a clean before for example) the option maven.xdoc.skip.uptodate will hav no effect for you. All pages are recreated. There's no real solution to update it. Either you do not clean your generated site and you use the option maven.xdoc.skip.uptodate (with, as noticed before, some side effects if you edit the POM or the navigation for example), either you install an CI tool in another computer which will regenerate (end republish) the site when you commit your code in your SCM. Arnaud On 2/24/06, Michael Niemaz <[EMAIL PROTECTED]> wrote: How come they are not updated if I generate them from scratch (which I do)? Is there a way to use it so that you generate the site once and then update it on modifications? --mike Arnaud HERITIER a écrit : The counterpart is that your site pages aren't updated if you change something else than the xdoc page (the POM for example ...) Arnaud On 2/24/06, Michael Niemaz <[EMAIL PROTECTED]> wrote: I tried to add this property and it does go faster BUT I don't know exactly what is the counterpart ... --mike Michael Niemaz a écrit : All I do is invoke the multiproject-site goal. Actually, I invoke it twice as a workaround to have sub-sub projects treated and displayed as a tree. But it shouldn't be the pb here. So, you're telling me to use the linkcheck plugin. Well, how does it link to the multiproject-site goal? --mike Arnaud HERITIER a écrit : If in your multiproject you aggregate the sites you can use the linkcheckplugin only on the main site. You can also try the last snapshot which (in theory) is faster. Arnaud On 2/24/06, Dion Gillard <[EMAIL PROTECTED]> wrote: Turn off the linkcheck plugin. On 2/24/06, Michael Niemaz <[EMAIL PROTECTED]> wrote: When generating the documentation for my projects through multiproject goal, I noticed that the following (See below) is done several times (at least 15...). It takes a huge amount of time so I wonder if there was a workaround to that problem. Thanx, --mike Running post goal: xdoc:jelly-transform maven-linkcheck-plugin:report-real: maven-linkcheck-plugin: Proxy Host:cornillon maven-linkcheck-plugin: Proxy Port:8000 maven-linkcheck-plugin: Proxy User:null Found 0 files so far. Memory: 207M/322M Found 1000 files so far. Memory: 215M/322M Validating changelog-report.html Validating changes-report.html Validating cvs-usage.html Validating dependencies.html Validating developer-activity-report.html Validating downloads.html Validating file-activity-report.html Validating index.html Validating issue-tracking.html Validating license.html Validating linkcheck.html Validating mail-lists.html Validating maven-reports.html Validating project-info.html Validating team-list.html Validating building.html Validating accessing-the-sd-core.html Validating configuration.html Validating gettingstarted.html Validating performance.html Validating publishing-a-sd-service.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/benchmark/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/benchmark/PerformanceTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/benchmark/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/rules/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/rules/RulesTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/rules/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/service/SmartDocumentServiceTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/service/StorageProxyTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/service/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/service/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/
users@maven.apache.org
Unfortunately, maven would parse it since the '&' is still there ;-( I'll try to replace it with a relative url. thanx, --mike Jacek Laskowski a écrit : 2006/2/24, Michael Niemaz <[EMAIL PROTECTED]>: Is this a known bug, is there a workaround? I don't know whether it could address the issue of yours or not, but you could try replace '&' with '&'. --mike Jacek -- Jacek Laskowski http://www.laskowski.org.pl - 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]
users@maven.apache.org
Hi, I have the url of my logo organization that contains the '&' character. So, in order to let maven generate the docs without complaining, I replaced '&' by '%26'. BUT in the end, the url is not decoded and therefore the logo not displayed ;-( Is this a known bug, is there a workaround? Any input would be appreciated, thanx, --mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: post goal xdoc:jelly-transofrm executed so many times ...
Ok I'll try to specify only the default onces without the linkcheck. Question: would it be the same than setting maven.xdoc.skip.uptodate to true? --mike Arnaud HERITIER a écrit : and your pom doesn't extend another one ? What you can do it is to define your own reports list : http://maven.apache.org/maven-1.x/using/site.html And you can remove the linkcheck report if you don't use it. Arnaud On 2/24/06, Michael Niemaz <[EMAIL PROTECTED]> wrote: Nope, all my reports section are empty. So I generate only default reports apparently ... and this linkcheck goal must be part of the 'site' goal. Arnaud HERITIER a écrit : In your traces you have the linkcheck plugin which seems to be very long to execute You certainly have this report declared in your POM. What happens if you deactivate it ? On 2/24/06, Michael Niemaz <[EMAIL PROTECTED]> wrote: All I do is invoke the multiproject-site goal. Actually, I invoke it twice as a workaround to have sub-sub projects treated and displayed as a tree. But it shouldn't be the pb here. So, you're telling me to use the linkcheck plugin. Well, how does it link to the multiproject-site goal? --mike Arnaud HERITIER a écrit : If in your multiproject you aggregate the sites you can use the linkcheckplugin only on the main site. You can also try the last snapshot which (in theory) is faster. Arnaud On 2/24/06, Dion Gillard <[EMAIL PROTECTED]> wrote: Turn off the linkcheck plugin. On 2/24/06, Michael Niemaz <[EMAIL PROTECTED]> wrote: When generating the documentation for my projects through multiproject goal, I noticed that the following (See below) is done several times (at least 15...). It takes a huge amount of time so I wonder if there was a workaround to that problem. Thanx, --mike Running post goal: xdoc:jelly-transform maven-linkcheck-plugin:report-real: maven-linkcheck-plugin: Proxy Host:cornillon maven-linkcheck-plugin: Proxy Port:8000 maven-linkcheck-plugin: Proxy User:null Found 0 files so far. Memory: 207M/322M Found 1000 files so far. Memory: 215M/322M Validating changelog-report.html Validating changes-report.html Validating cvs-usage.html Validating dependencies.html Validating developer-activity-report.html Validating downloads.html Validating file-activity-report.html Validating index.html Validating issue-tracking.html Validating license.html Validating linkcheck.html Validating mail-lists.html Validating maven-reports.html Validating project-info.html Validating team-list.html Validating building.html Validating accessing-the-sd-core.html Validating configuration.html Validating gettingstarted.html Validating performance.html Validating publishing-a-sd-service.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/benchmark/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/benchmark/PerformanceTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/benchmark/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/rules/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/rules/RulesTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/rules/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/service/SmartDocumentServiceTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/service/StorageProxyTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/service/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/service/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/security/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/security/SecurityTestCase.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/security/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/AbstractTestCase.html Validating multiproject/smartdo
Re: post goal xdoc:jelly-transofrm executed so many times ...
As I said before, I have no reports specified to avoid bugs during generation of reports ;-) I don't know if I need the linkcheck plugin to run ... Yes I would like my generated links to work No I don't want to waste 30 minutes checking them ;-) --mike Arnaud HERITIER a écrit : yes this is the linkcheck plugin which checks the links in the pages you generate. Do you have a reports entry in your pom or do you use the default one ? Do you need/use this linkcheck report ? Arnaud On 2/24/06, Michael Niemaz <[EMAIL PROTECTED]> wrote: So it says: ' This plug-in validates the HTML that is produced as part of the site. Just add the maven-linkcheck-plugin report to your project.' Don't quiet understand ... what plugin is used by default by maven to check the links? Seems to be that one since it is installed locally ... Well, I'll do as it says ans see what happens. --mike Michael Niemaz a écrit : All I do is invoke the multiproject-site goal. Actually, I invoke it twice as a workaround to have sub-sub projects treated and displayed as a tree. But it shouldn't be the pb here. So, you're telling me to use the linkcheck plugin. Well, how does it link to the multiproject-site goal? --mike Arnaud HERITIER a écrit : If in your multiproject you aggregate the sites you can use the linkcheckplugin only on the main site. You can also try the last snapshot which (in theory) is faster. Arnaud On 2/24/06, Dion Gillard <[EMAIL PROTECTED]> wrote: Turn off the linkcheck plugin. - 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]
Re: post goal xdoc:jelly-transofrm executed so many times ...
How come they are not updated if I generate them from scratch (which I do)? Is there a way to use it so that you generate the site once and then update it on modifications? --mike Arnaud HERITIER a écrit : The counterpart is that your site pages aren't updated if you change something else than the xdoc page (the POM for example ...) Arnaud On 2/24/06, Michael Niemaz <[EMAIL PROTECTED]> wrote: I tried to add this property and it does go faster BUT I don't know exactly what is the counterpart ... --mike Michael Niemaz a écrit : All I do is invoke the multiproject-site goal. Actually, I invoke it twice as a workaround to have sub-sub projects treated and displayed as a tree. But it shouldn't be the pb here. So, you're telling me to use the linkcheck plugin. Well, how does it link to the multiproject-site goal? --mike Arnaud HERITIER a écrit : If in your multiproject you aggregate the sites you can use the linkcheckplugin only on the main site. You can also try the last snapshot which (in theory) is faster. Arnaud On 2/24/06, Dion Gillard <[EMAIL PROTECTED]> wrote: Turn off the linkcheck plugin. On 2/24/06, Michael Niemaz <[EMAIL PROTECTED]> wrote: When generating the documentation for my projects through multiproject goal, I noticed that the following (See below) is done several times (at least 15...). It takes a huge amount of time so I wonder if there was a workaround to that problem. Thanx, --mike Running post goal: xdoc:jelly-transform maven-linkcheck-plugin:report-real: maven-linkcheck-plugin: Proxy Host:cornillon maven-linkcheck-plugin: Proxy Port:8000 maven-linkcheck-plugin: Proxy User:null Found 0 files so far. Memory: 207M/322M Found 1000 files so far. Memory: 215M/322M Validating changelog-report.html Validating changes-report.html Validating cvs-usage.html Validating dependencies.html Validating developer-activity-report.html Validating downloads.html Validating file-activity-report.html Validating index.html Validating issue-tracking.html Validating license.html Validating linkcheck.html Validating mail-lists.html Validating maven-reports.html Validating project-info.html Validating team-list.html Validating building.html Validating accessing-the-sd-core.html Validating configuration.html Validating gettingstarted.html Validating performance.html Validating publishing-a-sd-service.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/benchmark/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/benchmark/PerformanceTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/benchmark/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/rules/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/rules/RulesTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/rules/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/service/SmartDocumentServiceTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/service/StorageProxyTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/service/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/service/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/security/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/security/SecurityTestCase.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/security/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/AbstractTestCase.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/event/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/event/package- summary.html Validating multiproject/smartdocument.core/x
Re: post goal xdoc:jelly-transofrm executed so many times ...
Nope, all my reports section are empty. So I generate only default reports apparently ... and this linkcheck goal must be part of the 'site' goal. Arnaud HERITIER a écrit : In your traces you have the linkcheck plugin which seems to be very long to execute You certainly have this report declared in your POM. What happens if you deactivate it ? On 2/24/06, Michael Niemaz <[EMAIL PROTECTED]> wrote: All I do is invoke the multiproject-site goal. Actually, I invoke it twice as a workaround to have sub-sub projects treated and displayed as a tree. But it shouldn't be the pb here. So, you're telling me to use the linkcheck plugin. Well, how does it link to the multiproject-site goal? --mike Arnaud HERITIER a écrit : If in your multiproject you aggregate the sites you can use the linkcheckplugin only on the main site. You can also try the last snapshot which (in theory) is faster. Arnaud On 2/24/06, Dion Gillard <[EMAIL PROTECTED]> wrote: Turn off the linkcheck plugin. On 2/24/06, Michael Niemaz <[EMAIL PROTECTED]> wrote: When generating the documentation for my projects through multiproject goal, I noticed that the following (See below) is done several times (at least 15...). It takes a huge amount of time so I wonder if there was a workaround to that problem. Thanx, --mike Running post goal: xdoc:jelly-transform maven-linkcheck-plugin:report-real: maven-linkcheck-plugin: Proxy Host:cornillon maven-linkcheck-plugin: Proxy Port:8000 maven-linkcheck-plugin: Proxy User:null Found 0 files so far. Memory: 207M/322M Found 1000 files so far. Memory: 215M/322M Validating changelog-report.html Validating changes-report.html Validating cvs-usage.html Validating dependencies.html Validating developer-activity-report.html Validating downloads.html Validating file-activity-report.html Validating index.html Validating issue-tracking.html Validating license.html Validating linkcheck.html Validating mail-lists.html Validating maven-reports.html Validating project-info.html Validating team-list.html Validating building.html Validating accessing-the-sd-core.html Validating configuration.html Validating gettingstarted.html Validating performance.html Validating publishing-a-sd-service.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/benchmark/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/benchmark/PerformanceTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/benchmark/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/rules/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/rules/RulesTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/rules/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/service/SmartDocumentServiceTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/service/StorageProxyTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/service/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/service/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/security/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/security/SecurityTestCase.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/security/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/AbstractTestCase.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/event/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/event/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/event/EventTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/package- summary.html Validating multiproject/smartdocument.c
Re: post goal xdoc:jelly-transofrm executed so many times ...
So it says: ' This plug-in validates the HTML that is produced as part of the site. Just add the maven-linkcheck-plugin report to your project.' Don't quiet understand ... what plugin is used by default by maven to check the links? Seems to be that one since it is installed locally ... Well, I'll do as it says ans see what happens. --mike Michael Niemaz a écrit : All I do is invoke the multiproject-site goal. Actually, I invoke it twice as a workaround to have sub-sub projects treated and displayed as a tree. But it shouldn't be the pb here. So, you're telling me to use the linkcheck plugin. Well, how does it link to the multiproject-site goal? --mike Arnaud HERITIER a écrit : If in your multiproject you aggregate the sites you can use the linkcheckplugin only on the main site. You can also try the last snapshot which (in theory) is faster. Arnaud On 2/24/06, Dion Gillard <[EMAIL PROTECTED]> wrote: Turn off the linkcheck plugin. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: post goal xdoc:jelly-transofrm executed so many times ...
I tried to add this property and it does go faster BUT I don't know exactly what is the counterpart ... --mike Michael Niemaz a écrit : All I do is invoke the multiproject-site goal. Actually, I invoke it twice as a workaround to have sub-sub projects treated and displayed as a tree. But it shouldn't be the pb here. So, you're telling me to use the linkcheck plugin. Well, how does it link to the multiproject-site goal? --mike Arnaud HERITIER a écrit : If in your multiproject you aggregate the sites you can use the linkcheckplugin only on the main site. You can also try the last snapshot which (in theory) is faster. Arnaud On 2/24/06, Dion Gillard <[EMAIL PROTECTED]> wrote: Turn off the linkcheck plugin. On 2/24/06, Michael Niemaz <[EMAIL PROTECTED]> wrote: When generating the documentation for my projects through multiproject goal, I noticed that the following (See below) is done several times (at least 15...). It takes a huge amount of time so I wonder if there was a workaround to that problem. Thanx, --mike Running post goal: xdoc:jelly-transform maven-linkcheck-plugin:report-real: maven-linkcheck-plugin: Proxy Host:cornillon maven-linkcheck-plugin: Proxy Port:8000 maven-linkcheck-plugin: Proxy User:null Found 0 files so far. Memory: 207M/322M Found 1000 files so far. Memory: 215M/322M Validating changelog-report.html Validating changes-report.html Validating cvs-usage.html Validating dependencies.html Validating developer-activity-report.html Validating downloads.html Validating file-activity-report.html Validating index.html Validating issue-tracking.html Validating license.html Validating linkcheck.html Validating mail-lists.html Validating maven-reports.html Validating project-info.html Validating team-list.html Validating building.html Validating accessing-the-sd-core.html Validating configuration.html Validating gettingstarted.html Validating performance.html Validating publishing-a-sd-service.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/benchmark/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/benchmark/PerformanceTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/benchmark/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/rules/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/rules/RulesTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/rules/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/service/SmartDocumentServiceTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/service/StorageProxyTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/service/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/service/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/security/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/security/SecurityTestCase.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/security/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/AbstractTestCase.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/event/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/event/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/event/EventTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/storage/StorageTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/storage/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/storage/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/SmartDocumentTest.html Validating multiproject/smartdocument.core/xref-test/overview-frame.html Validating multiproj
Re: post goal xdoc:jelly-transofrm executed so many times ...
All I do is invoke the multiproject-site goal. Actually, I invoke it twice as a workaround to have sub-sub projects treated and displayed as a tree. But it shouldn't be the pb here. So, you're telling me to use the linkcheck plugin. Well, how does it link to the multiproject-site goal? --mike Arnaud HERITIER a écrit : If in your multiproject you aggregate the sites you can use the linkcheckplugin only on the main site. You can also try the last snapshot which (in theory) is faster. Arnaud On 2/24/06, Dion Gillard <[EMAIL PROTECTED]> wrote: Turn off the linkcheck plugin. On 2/24/06, Michael Niemaz <[EMAIL PROTECTED]> wrote: When generating the documentation for my projects through multiproject goal, I noticed that the following (See below) is done several times (at least 15...). It takes a huge amount of time so I wonder if there was a workaround to that problem. Thanx, --mike Running post goal: xdoc:jelly-transform maven-linkcheck-plugin:report-real: maven-linkcheck-plugin: Proxy Host:cornillon maven-linkcheck-plugin: Proxy Port:8000 maven-linkcheck-plugin: Proxy User:null Found 0 files so far. Memory: 207M/322M Found 1000 files so far. Memory: 215M/322M Validating changelog-report.html Validating changes-report.html Validating cvs-usage.html Validating dependencies.html Validating developer-activity-report.html Validating downloads.html Validating file-activity-report.html Validating index.html Validating issue-tracking.html Validating license.html Validating linkcheck.html Validating mail-lists.html Validating maven-reports.html Validating project-info.html Validating team-list.html Validating building.html Validating accessing-the-sd-core.html Validating configuration.html Validating gettingstarted.html Validating performance.html Validating publishing-a-sd-service.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/benchmark/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/benchmark/PerformanceTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/benchmark/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/rules/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/rules/RulesTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/rules/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/service/SmartDocumentServiceTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/service/StorageProxyTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/service/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/service/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/security/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/security/SecurityTestCase.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/security/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/AbstractTestCase.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/event/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/event/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/event/EventTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/storage/StorageTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/storage/package- frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/storage/package- summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/SmartDocumentTest.html Validating multiproject/smartdocument.core/xref-test/overview-frame.html Validating multiproject/smartdocument.core/xref-test/overview- summary.html Validating multiproject/smartdocument.core/xref-test/index.html Validating multiproject/smartd
post goal xdoc:jelly-transofrm executed so many times ...
When generating the documentation for my projects through multiproject goal, I noticed that the following (See below) is done several times (at least 15...). It takes a huge amount of time so I wonder if there was a workaround to that problem. Thanx, --mike Running post goal: xdoc:jelly-transform maven-linkcheck-plugin:report-real: maven-linkcheck-plugin: Proxy Host:cornillon maven-linkcheck-plugin: Proxy Port:8000 maven-linkcheck-plugin: Proxy User:null Found 0 files so far. Memory: 207M/322M Found 1000 files so far. Memory: 215M/322M Validating changelog-report.html Validating changes-report.html Validating cvs-usage.html Validating dependencies.html Validating developer-activity-report.html Validating downloads.html Validating file-activity-report.html Validating index.html Validating issue-tracking.html Validating license.html Validating linkcheck.html Validating mail-lists.html Validating maven-reports.html Validating project-info.html Validating team-list.html Validating building.html Validating accessing-the-sd-core.html Validating configuration.html Validating gettingstarted.html Validating performance.html Validating publishing-a-sd-service.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/benchmark/package-frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/benchmark/PerformanceTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/benchmark/package-summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/rules/package-frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/rules/RulesTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/rules/package-summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/service/SmartDocumentServiceTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/service/StorageProxyTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/service/package-summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/service/package-frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/security/package-frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/security/SecurityTestCase.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/security/package-summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/AbstractTestCase.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/package-frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/event/package-frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/event/package-summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/event/EventTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/package-summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/storage/StorageTest.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/storage/package-frame.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/storage/package-summary.html Validating multiproject/smartdocument.core/xref-test/com/xerox/smartdocuments/core/SmartDocumentTest.html Validating multiproject/smartdocument.core/xref-test/overview-frame.html Validating multiproject/smartdocument.core/xref-test/overview-summary.html Validating multiproject/smartdocument.core/xref-test/index.html Validating multiproject/smartdocument.core/xref-test/allclasses-frame.html Validating multiproject/smartdocument.core/xref/com/xerox/smartdocuments/core/config/SmartDocumentCoreConfig.html Validating multiproject/smartdocument.core/xref/com/xerox/smartdocuments/core/config/package-summary.html Validating multiproject/smartdocument.core/xref/com/xerox/smartdocuments/core/config/package-frame.html Validating multiproject/smartdocument.core/xref/com/xerox/smartdocuments/core/service/SmartDocumentService.html Validating multiproject/smartdocument.core/xref/com/xerox/smartdocuments/core/service/package-summary.html Validating multiproject/smartdocument.core/xref/com/xerox/smartdocuments/core/service/SmartDocumentAxisServlet.html Validating multiproject/smartdocument.core/xref/com/xerox/smartdocuments/core/service/package-frame.html Validating multiproject/smartdocument.core/xref/com/xerox/smartdocuments/core/service/SmartDocumentServiceMBean.html Validating multiproject/smartdo
Re: ChangeLog plugin problems [SOVED]
done Arnaud HERITIER a écrit : thx Can you attach the full stack trace to the issue please. arnaud On 2/23/06, Michael Niemaz <[EMAIL PROTECTED]> wrote: done! http://jira.codehaus.org/browse/MPCHANGELOG-83 --mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ???template.maven_reports.section.subsection.title???
thanx. Upgrading solved the pb. --mike Arnaud HERITIER a écrit : what is your xdoc plugin release ? There was a bug in the 1.9 or in the 1.9.1 you have to upgrade to the 1.9.2 Arnaud On 2/23/06, Gisbert Amm <[EMAIL PROTECTED]> wrote: Probably some information is missing in your POM (such as , and so on)? Just a guess. -Gisbert Michael Niemaz wrote: Does anybody know how to fix this badly generated report pages? - 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]
Re: ChangeLog plugin problems [SOVED]
done! http://jira.codehaus.org/browse/MPCHANGELOG-83 --mike Arnaud HERITIER a écrit : Michael, Can you open an issue on the changelog plugin please, because it's anormal that you receive a NullPointerException if an id is missing. Arnaud On 2/23/06, Michael Niemaz <[EMAIL PROTECTED]> wrote: Correct!!! One of my project.xml files was not defining the ids of developers ;-( Thanx a lot. --mike Gisbert Amm a écrit : Seems as if your s haven't got an tag, hence the NPE. As Arnaud said: The id of a developper must be the one he uses in your SCM. BTW: Do you have this typo in your POM: (mind the two "p") or just in your posting? Regards, Gisbert Amm Michael Niemaz wrote: Thanx Gisbert but it did not fix the problem ;-( Another attribute should be specified maybe ... date? tag? range? --mike Generating the Change Log... maven-changelog-plugin:report: [echo] Generating the changelog report [echo] maven.changelog.basedir: /home/niemaz/smartdocuments_svn/smartdocuments/trunk/smartdocument.services [echo] pom.developers: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] [echo] maven.changelog.factory: org.apache.maven.svnlib.SvnChangeLogFactory [echo] changelog.xml: /home/niemaz/smartdocuments_svn/smartdocuments/trunk/smartdocument.services/target/changelog.xml [echo] ISO-8859-1: ISO-8859-1 [echo] range: range [echo] maven.changelog.range: 30 [echo] maven.changelog.date: [echo] maven.changelog.tag: [echo] maven.changelog.quoteDate: false [echo] _connection: scm:svn: http://svn.smartdocuments.codex.xerox.com/svnroot/smartdocuments [echo] maven.changelog.dateformat: [echo] maven.changelog.commentFormat: SCM Working Directory: /home/niemaz/smartdocuments_svn/smartdocuments/trunk/smartdocument.services SCM Command Line[0]: svn SCM Command Line[1]: log SCM Command Line[2]: -v SCM Command Line[3]: -r{2006-02-24}:{2006-01-24} ChangeSet between 2006-01-24 and 2006-02-24: 18 entries BUILD FAILED File.. /home/niemaz/.maven/cache/maven-multiproject-plugin-1.4.1/plugin.jelly Element... maven:reactor Line.. 107 Column 9 Unable to obtain goal [site] -- /home/niemaz/.maven/cache/maven-changelog-plugin-1.9 /plugin.jelly:148:15: null Total time : 9 seconds Finished at : 23 February 2006 12:33:14 CET Gisbert Amm a écrit : For svn URLs you need to set maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory in your project.properties aswell to get the changelog report working. Regards, Gisbert Amm Michael Niemaz wrote: Thanx for answering. As for the repository settings, are the connection and url settings enough? (See below). Concerning the developpers, they are described such as: titi [EMAIL PROTECTED] BPS Smart Documents Platforms Group Software Engineer http://codex.xerox.com/users/niemaz/ +1 Is that what you're talking about. Or should I declare special developpers such as svn members? --mike Arnaud HERITIER a écrit : To use these plugins (changelog, developers activity, files activity) you must define in your POM the repository settings and the developpers for your project (the id of a developper must be the one he use in your SCM) Arnaud On 2/23/06, Michael Niemaz <[EMAIL PROTECTED]> wrote: Hi all, Just have a couple of questions 'cos I'm a bit confused. I'm using maven 1.1beta2 I'd like to know what the following is supposed to do: scm:svn: http://svn.smartdocuments.codex.xerox.com/svnroot/smartdocuments http://codex.xerox.com/svn/viewcvs.php/?roottype=svn%26root=smartdocuments This was commented out in my project.xml file. I suspect that this generates the Project Reports/Change Log documentation which I find very handy ... when it works ;-) So I commented out and here is the error I got (See below). I'm working through multiproject goals. If anybody can help, would be great. thanx, --mike BUILD FAILED File.. /home/niemaz/.maven/cache/maven-multiproject-plugin-1.4.1 /plugin.jelly Element... maven:reactor Line.. 218 Column 9 Unable to obtain goal [multiproject:site] -- /home/niemaz/.maven/cache/maven-multiproject-plugin-1.4.1 /plugin.jelly:104:9: Reactor subproject failure occurred org.apache.maven.werkz.UnattainableGoalException: Unable to obtain goal [site-services] -- /home/niemaz/.maven/cache/maven-multiproject-plugin-1.4.1 /plugin.jelly:218:9: Reactor subproject failure occurred at org.apache.maven.werkz.Goal.fire(Goal.java:663) at org.apache.maven.werkz.Goal.attain(Goal.java:59
???template.maven_reports.section.subsection.title???
Does anybody know how to fix this badly generated report pages? thanx, --mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ChangeLog plugin problems [SOVED]
Correct!!! One of my project.xml files was not defining the ids of developers ;-( Thanx a lot. --mike Gisbert Amm a écrit : Seems as if your s haven't got an tag, hence the NPE. As Arnaud said: The id of a developper must be the one he uses in your SCM. BTW: Do you have this typo in your POM: (mind the two "p") or just in your posting? Regards, Gisbert Amm Michael Niemaz wrote: Thanx Gisbert but it did not fix the problem ;-( Another attribute should be specified maybe ... date? tag? range? --mike Generating the Change Log... maven-changelog-plugin:report: [echo] Generating the changelog report [echo] maven.changelog.basedir: /home/niemaz/smartdocuments_svn/smartdocuments/trunk/smartdocument.services [echo] pom.developers: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] [echo] maven.changelog.factory: org.apache.maven.svnlib.SvnChangeLogFactory [echo] changelog.xml: /home/niemaz/smartdocuments_svn/smartdocuments/trunk/smartdocument.services/target/changelog.xml [echo] ISO-8859-1: ISO-8859-1 [echo] range: range [echo] maven.changelog.range: 30 [echo] maven.changelog.date: [echo] maven.changelog.tag: [echo] maven.changelog.quoteDate: false [echo] _connection: scm:svn:http://svn.smartdocuments.codex.xerox.com/svnroot/smartdocuments [echo] maven.changelog.dateformat: [echo] maven.changelog.commentFormat: SCM Working Directory: /home/niemaz/smartdocuments_svn/smartdocuments/trunk/smartdocument.services SCM Command Line[0]: svn SCM Command Line[1]: log SCM Command Line[2]: -v SCM Command Line[3]: -r{2006-02-24}:{2006-01-24} ChangeSet between 2006-01-24 and 2006-02-24: 18 entries BUILD FAILED File.. /home/niemaz/.maven/cache/maven-multiproject-plugin-1.4.1/plugin.jelly Element... maven:reactor Line.. 107 Column 9 Unable to obtain goal [site] -- /home/niemaz/.maven/cache/maven-changelog-plugin-1.9/plugin.jelly:148:15: null Total time : 9 seconds Finished at : 23 February 2006 12:33:14 CET Gisbert Amm a écrit : For svn URLs you need to set maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory in your project.properties aswell to get the changelog report working. Regards, Gisbert Amm Michael Niemaz wrote: Thanx for answering. As for the repository settings, are the connection and url settings enough? (See below). Concerning the developpers, they are described such as: titi [EMAIL PROTECTED] BPS Smart Documents Platforms Group Software Engineer http://codex.xerox.com/users/niemaz/ +1 Is that what you're talking about. Or should I declare special developpers such as svn members? --mike Arnaud HERITIER a écrit : To use these plugins (changelog, developers activity, files activity) you must define in your POM the repository settings and the developpers for your project (the id of a developper must be the one he use in your SCM) Arnaud On 2/23/06, Michael Niemaz <[EMAIL PROTECTED]> wrote: Hi all, Just have a couple of questions 'cos I'm a bit confused. I'm using maven 1.1beta2 I'd like to know what the following is supposed to do: scm:svn:http://svn.smartdocuments.codex.xerox.com/svnroot/smartdocuments http://codex.xerox.com/svn/viewcvs.php/?roottype=svn%26root=smartdocuments This was commented out in my project.xml file. I suspect that this generates the Project Reports/Change Log documentation which I find very handy ... when it works ;-) So I commented out and here is the error I got (See below). I'm working through multiproject goals. If anybody can help, would be great. thanx, --mike BUILD FAILED File.. /home/niemaz/.maven/cache/maven-multiproject-plugin-1.4.1/plugin.jelly Element... maven:reactor Line.. 218 Column 9 Unable to obtain goal [multiproject:site] -- /home/niemaz/.maven/cache/maven-multiproject-plugin-1.4.1 /plugin.jelly:104:9: Reactor subproject failure occurred org.apache.maven.werkz.UnattainableGoalException: Unable to obtain goal [site-services] -- /home/niemaz/.maven/cache/maven-multiproject-plugin-1.4.1 /plugin.jelly:218:9: Reactor subproject failure occurred at org.apache.maven.werkz.Goal.fire(Goal.java:663) at org.apache.maven.werkz.Goal.attain(Goal.java:592) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:693) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) at org.apache.maven.cli.App.doMain(App.java:511) at org.apache.maven.cli.App.main(App.java:1258) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java :39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl
Re: ChangeLog plugin problems
Thanx Gisbert but it did not fix the problem ;-( Another attribute should be specified maybe ... date? tag? range? --mike Generating the Change Log... maven-changelog-plugin:report: [echo] Generating the changelog report [echo] maven.changelog.basedir: /home/niemaz/smartdocuments_svn/smartdocuments/trunk/smartdocument.services [echo] pom.developers: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] [echo] maven.changelog.factory: org.apache.maven.svnlib.SvnChangeLogFactory [echo] changelog.xml: /home/niemaz/smartdocuments_svn/smartdocuments/trunk/smartdocument.services/target/changelog.xml [echo] ISO-8859-1: ISO-8859-1 [echo] range: range [echo] maven.changelog.range: 30 [echo] maven.changelog.date: [echo] maven.changelog.tag: [echo] maven.changelog.quoteDate: false [echo] _connection: scm:svn:http://svn.smartdocuments.codex.xerox.com/svnroot/smartdocuments [echo] maven.changelog.dateformat: [echo] maven.changelog.commentFormat: SCM Working Directory: /home/niemaz/smartdocuments_svn/smartdocuments/trunk/smartdocument.services SCM Command Line[0]: svn SCM Command Line[1]: log SCM Command Line[2]: -v SCM Command Line[3]: -r{2006-02-24}:{2006-01-24} ChangeSet between 2006-01-24 and 2006-02-24: 18 entries BUILD FAILED File.. /home/niemaz/.maven/cache/maven-multiproject-plugin-1.4.1/plugin.jelly Element... maven:reactor Line.. 107 Column 9 Unable to obtain goal [site] -- /home/niemaz/.maven/cache/maven-changelog-plugin-1.9/plugin.jelly:148:15: null Total time : 9 seconds Finished at : 23 February 2006 12:33:14 CET Gisbert Amm a écrit : For svn URLs you need to set maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory in your project.properties aswell to get the changelog report working. Regards, Gisbert Amm Michael Niemaz wrote: Thanx for answering. As for the repository settings, are the connection and url settings enough? (See below). Concerning the developpers, they are described such as: titi [EMAIL PROTECTED] BPS Smart Documents Platforms Group Software Engineer http://codex.xerox.com/users/niemaz/ +1 Is that what you're talking about. Or should I declare special developpers such as svn members? --mike Arnaud HERITIER a écrit : To use these plugins (changelog, developers activity, files activity) you must define in your POM the repository settings and the developpers for your project (the id of a developper must be the one he use in your SCM) Arnaud On 2/23/06, Michael Niemaz <[EMAIL PROTECTED]> wrote: Hi all, Just have a couple of questions 'cos I'm a bit confused. I'm using maven 1.1beta2 I'd like to know what the following is supposed to do: scm:svn:http://svn.smartdocuments.codex.xerox.com/svnroot/smartdocuments http://codex.xerox.com/svn/viewcvs.php/?roottype=svn%26root=smartdocuments This was commented out in my project.xml file. I suspect that this generates the Project Reports/Change Log documentation which I find very handy ... when it works ;-) So I commented out and here is the error I got (See below). I'm working through multiproject goals. If anybody can help, would be great. thanx, --mike BUILD FAILED File.. /home/niemaz/.maven/cache/maven-multiproject-plugin-1.4.1/plugin.jelly Element... maven:reactor Line.. 218 Column 9 Unable to obtain goal [multiproject:site] -- /home/niemaz/.maven/cache/maven-multiproject-plugin-1.4.1 /plugin.jelly:104:9: Reactor subproject failure occurred org.apache.maven.werkz.UnattainableGoalException: Unable to obtain goal [site-services] -- /home/niemaz/.maven/cache/maven-multiproject-plugin-1.4.1 /plugin.jelly:218:9: Reactor subproject failure occurred at org.apache.maven.werkz.Goal.fire(Goal.java:663) at org.apache.maven.werkz.Goal.attain(Goal.java:592) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:693) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) at org.apache.maven.cli.App.doMain(App.java:511) at org.apache.maven.cli.App.main(App.java:1258) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java :39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) org.apache.commons.jelly.JellyTagException: /home/niemaz/.maven/cache/maven-multiproject-plugin-1.4.1 /plugin.jelly:218:9: Reactor subproject failure occurred at org.apache.maven.jelly.tags.maven.ReactorTag.do
Re: ChangeLog plugin problems
I've added some echos in the plugin: Generating the Change Log... maven-changelog-plugin:report: [echo] Generating the changelog report [echo] maven.changelog.basedir: /home/niemaz/smartdocuments_svn/smartdocuments/trunk/smartdocument.services [echo] pom.developers: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] [echo] maven.changelog.factory: [echo] changelog.xml: /home/niemaz/smartdocuments_svn/smartdocuments/trunk/smartdocument.services/target/changelog.xml [echo] ISO-8859-1: ISO-8859-1 [echo] range: range [echo] maven.changelog.range: 30 [echo] maven.changelog.date: [echo] maven.changelog.tag: [echo] maven.changelog.quoteDate: false [echo] _connection: scm:svn:http://svn.smartdocuments.codex.xerox.com/svnroot/smartdocuments [echo] maven.changelog.dateformat: [echo] maven.changelog.commentFormat: So I fo have the developpers specified. One strange thing is that the changelog.xml does exist actually. Donno if it should at this point but that might be the problem. Any ideas? --mike Michael Niemaz a écrit : Thanx for answering. As for the repository settings, are the connection and url settings enough? (See below). Concerning the developpers, they are described such as: titi [EMAIL PROTECTED] BPS Smart Documents Platforms Group Software Engineer http://codex.xerox.com/users/niemaz/ +1 Is that what you're talking about. Or should I declare special developpers such as svn members? --mike Arnaud HERITIER a écrit : To use these plugins (changelog, developers activity, files activity) you must define in your POM the repository settings and the developpers for your project (the id of a developper must be the one he use in your SCM) Arnaud On 2/23/06, Michael Niemaz <[EMAIL PROTECTED]> wrote: Hi all, Just have a couple of questions 'cos I'm a bit confused. I'm using maven 1.1beta2 I'd like to know what the following is supposed to do: scm:svn:http://svn.smartdocuments.codex.xerox.com/svnroot/smartdocuments http://codex.xerox.com/svn/viewcvs.php/?roottype=svn%26root=smartdocuments This was commented out in my project.xml file. I suspect that this generates the Project Reports/Change Log documentation which I find very handy ... when it works ;-) So I commented out and here is the error I got (See below). I'm working through multiproject goals. If anybody can help, would be great. thanx, --mike BUILD FAILED File.. /home/niemaz/.maven/cache/maven-multiproject-plugin-1.4.1/plugin.jelly Element... maven:reactor Line.. 218 Column 9 Unable to obtain goal [multiproject:site] -- /home/niemaz/.maven/cache/maven-multiproject-plugin-1.4.1 /plugin.jelly:104:9: Reactor subproject failure occurred org.apache.maven.werkz.UnattainableGoalException: Unable to obtain goal [site-services] -- /home/niemaz/.maven/cache/maven-multiproject-plugin-1.4.1 /plugin.jelly:218:9: Reactor subproject failure occurred at org.apache.maven.werkz.Goal.fire(Goal.java:663) at org.apache.maven.werkz.Goal.attain(Goal.java:592) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:693) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) at org.apache.maven.cli.App.doMain(App.java:511) at org.apache.maven.cli.App.main(App.java:1258) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java :39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) org.apache.commons.jelly.JellyTagException: /home/niemaz/.maven/cache/maven-multiproject-plugin-1.4.1 /plugin.jelly:218:9: Reactor subproject failure occurred at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:378) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag( MavenGoalTag.java:78) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction (MavenGoalTag.java:109) at org.apache.maven.werkz.Goal.fire(Goal.java:656) at org.apache.maven.werkz.Goal.attain(Goal.java:592) at org.apache.maven.werkz.WerkzProject.attainGoal(WerkzProject.java:210) at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag( MavenAttainGoalTag.java:114) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.
Re: ChangeLog plugin problems
Thanx for answering. As for the repository settings, are the connection and url settings enough? (See below). Concerning the developpers, they are described such as: titi [EMAIL PROTECTED] BPS Smart Documents Platforms Group Software Engineer http://codex.xerox.com/users/niemaz/ +1 Is that what you're talking about. Or should I declare special developpers such as svn members? --mike Arnaud HERITIER a écrit : To use these plugins (changelog, developers activity, files activity) you must define in your POM the repository settings and the developpers for your project (the id of a developper must be the one he use in your SCM) Arnaud On 2/23/06, Michael Niemaz <[EMAIL PROTECTED]> wrote: Hi all, Just have a couple of questions 'cos I'm a bit confused. I'm using maven 1.1beta2 I'd like to know what the following is supposed to do: scm:svn:http://svn.smartdocuments.codex.xerox.com/svnroot/smartdocuments http://codex.xerox.com/svn/viewcvs.php/?roottype=svn%26root=smartdocuments This was commented out in my project.xml file. I suspect that this generates the Project Reports/Change Log documentation which I find very handy ... when it works ;-) So I commented out and here is the error I got (See below). I'm working through multiproject goals. If anybody can help, would be great. thanx, --mike BUILD FAILED File.. /home/niemaz/.maven/cache/maven-multiproject-plugin-1.4.1/plugin.jelly Element... maven:reactor Line.. 218 Column 9 Unable to obtain goal [multiproject:site] -- /home/niemaz/.maven/cache/maven-multiproject-plugin-1.4.1 /plugin.jelly:104:9: Reactor subproject failure occurred org.apache.maven.werkz.UnattainableGoalException: Unable to obtain goal [site-services] -- /home/niemaz/.maven/cache/maven-multiproject-plugin-1.4.1 /plugin.jelly:218:9: Reactor subproject failure occurred at org.apache.maven.werkz.Goal.fire(Goal.java:663) at org.apache.maven.werkz.Goal.attain(Goal.java:592) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:693) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) at org.apache.maven.cli.App.doMain(App.java:511) at org.apache.maven.cli.App.main(App.java:1258) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java :39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) org.apache.commons.jelly.JellyTagException: /home/niemaz/.maven/cache/maven-multiproject-plugin-1.4.1 /plugin.jelly:218:9: Reactor subproject failure occurred at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:378) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag( MavenGoalTag.java:78) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction (MavenGoalTag.java:109) at org.apache.maven.werkz.Goal.fire(Goal.java:656) at org.apache.maven.werkz.Goal.attain(Goal.java:592) at org.apache.maven.werkz.WerkzProject.attainGoal(WerkzProject.java:210) at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag( MavenAttainGoalTag.java:114) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag( MavenGoalTag.java:78) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction (MavenGoalTag.java:109) at org.apache.maven.werkz.Goal.fire(Goal.java:656) at org.apache.maven.werkz.Goal.attain(Goal.java:592) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:693) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) at org.apache.maven.cli.App.doMain(App.java:511) at org.apache.maven.cli.App.main(App.java:1258) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java :39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) Caused by: org.apache.maven.wer
ChangeLog plugin problems
Hi all, Just have a couple of questions 'cos I'm a bit confused. I'm using maven 1.1beta2 I'd like to know what the following is supposed to do: scm:svn:http://svn.smartdocuments.codex.xerox.com/svnroot/smartdocuments http://codex.xerox.com/svn/viewcvs.php/?roottype=svn%26root=smartdocuments This was commented out in my project.xml file. I suspect that this generates the Project Reports/Change Log documentation which I find very handy ... when it works ;-) So I commented out and here is the error I got (See below). I'm working through multiproject goals. If anybody can help, would be great. thanx, --mike BUILD FAILED File.. /home/niemaz/.maven/cache/maven-multiproject-plugin-1.4.1/plugin.jelly Element... maven:reactor Line.. 218 Column 9 Unable to obtain goal [multiproject:site] -- /home/niemaz/.maven/cache/maven-multiproject-plugin-1.4.1/plugin.jelly:104:9: Reactor subproject failure occurred org.apache.maven.werkz.UnattainableGoalException: Unable to obtain goal [site-services] -- /home/niemaz/.maven/cache/maven-multiproject-plugin-1.4.1/plugin.jelly:218:9: Reactor subproject failure occurred at org.apache.maven.werkz.Goal.fire(Goal.java:663) at org.apache.maven.werkz.Goal.attain(Goal.java:592) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:693) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) at org.apache.maven.cli.App.doMain(App.java:511) at org.apache.maven.cli.App.main(App.java:1258) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) org.apache.commons.jelly.JellyTagException: /home/niemaz/.maven/cache/maven-multiproject-plugin-1.4.1/plugin.jelly:218:9: Reactor subproject failure occurred at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:378) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:109) at org.apache.maven.werkz.Goal.fire(Goal.java:656) at org.apache.maven.werkz.Goal.attain(Goal.java:592) at org.apache.maven.werkz.WerkzProject.attainGoal(WerkzProject.java:210) at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:114) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:109) at org.apache.maven.werkz.Goal.fire(Goal.java:656) at org.apache.maven.werkz.Goal.attain(Goal.java:592) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:693) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) at org.apache.maven.cli.App.doMain(App.java:511) at org.apache.maven.cli.App.main(App.java:1258) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) Caused by: org.apache.maven.werkz.UnattainableGoalException: Unable to obtain goal [multiproject:site] -- /home/niemaz/.maven/cache/maven-multiproject-plugin-1.4.1/plugin.jelly:104:9: Reactor subproject failure occurred at org.apache.maven.werkz.Goal.fire(Goal.java:663) at org.apache.maven.werkz.Goal.attain(Goal.java:592) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:693) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:368) ... 24 more Root cause Caused by: org.apache.maven.werkz.UnattainableGoalException: Unable to obtain goal [site] -- /home/niemaz/.maven/cache/maven-changelog-plugin-1.8.2/plugin.jelly:108:15: null at org.apache.maven.werkz.Goal.fire(Goal.java:663) at org.
Maven 1.x dependencies question
Hi all, I'm looking for a way to check the version of a maven core dependency i.e: ~/maven-1.1-beta-2/lib/commons-httpclient-2.0.2.jar Would that be possible using jelly? Could I even test the 'real' version of this dependency using some kind of jar inspector plugin? Just in case the jar file was overwritten ... Thanx, --mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
propoer Jelly doc + samples
Hi all, I'm looking for pointers to jelly documentation and samples, a part from the tab libraries documentation on maven. I'm kinda struggling to write scripts so I thought there would a place somewhere that would help me. thanx, --mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to override properties defined in ${user.home}/build.properties
Got away by creating an intermediary property. If there is any proper way, please do not hesitate to communicate. --mike Michael Niemaz wrote: Looks like to set core tag does not override properties defined in ${user.home}/build.properties ;-( Any workaround? --mike Michael Niemaz wrote: Is that possible at all in my maven.xml? --mike - 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]
Re: How to override properties defined in ${user.home}/build.properties
Looks like to set core tag does not override properties defined in ${user.home}/build.properties ;-( Any workaround? --mike Michael Niemaz wrote: Is that possible at all in my maven.xml? --mike - 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]
How to override properties defined in ${user.home}/build.properties
Is that possible at all in my maven.xml? --mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Maven 1.1-beta-1]
yep, better than the previous one anyway, especially for memory leaks. --mike Faucher Aurélie wrote: Hello! I'd like to know if Maven 1.1-beta-1 is a good version for multiproject and webtest? Aurélie - 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]
Re: Site generation failes to replace strings from template
Have a look at the thread with Subject 'Having a problem with the Project Info Reports' --mike Olaf Lenzmann wrote: Hi, I'm evaluating Maven 1-1-b1 on a small plain vanilla project, running it on XP and Debian Sarge. Running "maven site" completes on both OS, but on the Debian box the HTMLs in /target/docs do not contain the properly substituted localized strings, but still show the template keys, e.g. "???template.project_info.section.title???". Same thing works fine on XP. Forcing the site locale in project.properties to either "en" or "de" has not changed anything. The templates are available in ~/.maven/cache/maven-xdoc-plugin-1.9.1/plugin-resources/templates and look ok. Any help would be appreciated. Olaf - 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]
Re: Multiproject and distribution plugins.
We did the same for wars, but it should be fairly easy to change it for jars. You need to implement the "dist:prepare-bin-filesystem" postgoal such as: includes="smartdocument.services/*/project.xml" postProcessing="true" collectOnly="true" collectionVar="multiprjs" ignoreFailures="false" /> Copying ${project.getContext().getVariable("maven.build.dir")}/${project.getArtifactId()}.war to ${maven.dist.bin.assembly.dir} file='${project.getContext().getVariable("maven.build.dir")}/${project.getArtifactId()}.war' tofile="${maven.dist.bin.assembly.dir}/${project.getArtifactId()}.war" /> --mike Sidart Kurias wrote: All How do I build a distribution for a multiproject setup. I want to be able to package the jars generated by each of the subprojects and the jars on which they depend on too into one relase. The release plugin (which is now deprecated) had a way of selectively specify - through properties tag - which jars could be included in the distribution. How do I do the same in a multiproject scenario, perhaps using the distribution plugin (or any other way) Thanks Sell on Yahoo! Auctions – no fees. Bid on great items. http://auctions.yahoo.com/ - 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]
log4j:ERROR Attempted to append to closed appender named [null].
Anyone got this error? I get it since I've upgraded (I guess) to Maven-1.1b2. xdoc:generate-from-pom: [echo] Generating xdocs from POM ... log4j:ERROR Attempted to append to closed appender named [null]. --mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven dist for a webapp
This is exactly what we do here. To do so, we run maven war goals (multiproject here...) and then copy the generated war file(s) through the dist:prepare-bin-filesystem postgoal such as: excludes="*/project.xml" includes="smartdocument.services/*/project.xml" postProcessing="true" collectOnly="true" collectionVar="multiprjs" ignoreFailures="false" /> Copying ${project.getContext().getVariable("maven.build.dir")}/${project.getArtifactId()}.war to ${maven.dist.bin.assembly.dir} file='${project.getContext().getVariable("maven.build.dir")}/${project.getArtifactId()}.war' tofile="${maven.dist.bin.assembly.dir}/${project.getArtifactId()}.war" /> and also don't forget to delete the generated jar file: As for the docs, same mechanism and still in this postgoal. HTH, --mike Xavier de Labouret wrote: Hello maven-users, I would like to use Maven (1.02) for a production environment involving mostly Tomcat servers. My intention was to use the distribution plugin to upload an archive with both the docs and the .war file for a webapp. However the "maven dist" target packs an archive with a jar file, and i could not find a property that would let me build the archive with a war file instead of a jar file. Using maven war:dist is not a good solution for me, because i need to provide the docs with the webapp. Is there a simple way (maven.xml, ...) to build a tar.gz file with a .war and the docs? Or should i write my own plugin? Best thanks Xavier de Labouret - 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]
Re: [ANN] Maven WebTest Plugin 1.2 available for M1
But before download, I'd like to know more about it ;-) Siegfried Goeschl wrote: Hi Michael, you are right since the synchronization with ibiblio has not taken place yet :-) Try http://sourceforge.net/projects/maven-plugins/ to download the plugin directly Cheers, Siegfried Goeschl Michael Niemaz wrote: Can't find it ;-( Siegfried Goeschl wrote: The maven-plugins team is pleased to announce the Canoo WebTest Plug-in 1.2 release! http://maven-plugins.sourceforge.net Maven Plugin for Canoo WebTest Changes in this version include: Changes: o Prepared release 1.2 o Updated to WebTest 1.7, build number = R_881 o Most dependencies are declared in project.xml (again) To automatically install the plugin, type the following on a single line: maven plugin:download -DgroupId=maven-plugins -DartifactId=maven-webtest-plugin -Dversion=1.2 For a manual installation, you can download the plugin here: http://www.ibiblio.org/maven/maven-plugins/plugins/maven-webtest-plugin-1.2.jar Have fun! -The maven-plugins team - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Maven WebTest Plugin 1.2 available for M1
Can't find it ;-( Siegfried Goeschl wrote: The maven-plugins team is pleased to announce the Canoo WebTest Plug-in 1.2 release! http://maven-plugins.sourceforge.net Maven Plugin for Canoo WebTest Changes in this version include: Changes: o Prepared release 1.2 o Updated to WebTest 1.7, build number = R_881 o Most dependencies are declared in project.xml (again) To automatically install the plugin, type the following on a single line: maven plugin:download -DgroupId=maven-plugins -DartifactId=maven-webtest-plugin -Dversion=1.2 For a manual installation, you can download the plugin here: http://www.ibiblio.org/maven/maven-plugins/plugins/maven-webtest-plugin-1.2.jar Have fun! -The maven-plugins team - 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]
Re: [REPOST] Having a problem with the Project Info Reports
Could you tell me what maven file to modify in order to bind on that snapshot? thanx, --mike stéphane bouchet wrote: for the moment i used maven 1.0.2 with latests plugins released. for the xdoc one, is used the snapshot and waiting for the release. i hope some of the issues in jira will be closed :) Stéphane Michael Niemaz a écrit : Very sorry for asking the question again but I need to know if I wait for an update or if I get back to maven-1.0.2. --mike Michael Niemaz wrote: When will it be shipped into the plugin? --mike stéphane bouchet wrote: Tested and working great. Thanks ! Stéphane Vincent Siveton a écrit : Done in svn. Cheers, Vincent 2005/6/21, Arnaud HERITIER <[EMAIL PROTECTED]>: Yes please. Vincent will fix it ;-D Arnaud -Message d'origine- De : stéphane bouchet [mailto:[EMAIL PROTECTED] Envoyé : mardi 21 juin 2005 16:14 À : Maven Users List Objet : Re: Having a problem with the Project Info Reports Well, after setting *by hand* the bundle from plugin-resources\templates\templates to plugin-resources/templates/templates the goal xdoc:jelly-transform generated the good html document. so do i need to fill an issue in JIRA ? Stéphane stéphane bouchet a écrit : Hi, I am having the same problem with differents environments. On my Win2k box, with JDK 1.4.2, i got a good report document But in my Solaris box, with JDK 1.5, i got a bad report document. when i look in the generated reports, for example maven-reports.xml, in both case i got : So in Unix environements, there is a problem with the bundle ? Cheers, Stéphane Incze Lajos a écrit : Vincent is right, bundle="plugin-resources\templates\templates" is plain wrong (it may work on windows, but nowhere else). I checked the xdoc plugin templates with bundle="plugin-resources.templates.templates" and it cures your problem. Also, it may cause problems, when files contain "&&" operators, this way they are not valid xml (they are not inside a CDATA section). Altough, as I see, all of them are in jelly directives, so they may disappear before parsing the xml, I don' know jelly. incze On Mon, Jun 20, 2005 at 10:54:35AM -0400, Mike Ratliff wrote: I am working on Mac OS X (10.4.1) I got the reports to work just fine if I downgraded to Maven version 1.0.2 from Beta 1 of 1.1. I am now working under the assumption that it is a problem with the beta and Mac OS X, but that is just a guess. On your suggestion of changing the backslash to a dot...I am not sure how to see the results of that change. Those files are generated and therefor I don't really have an opportunity to see the results of that change being processed. Am I missing something in your suggestion? On 6/20/05, Vincent Siveton <[EMAIL PROTECTED]> wrote: Hi Mike, What is your environnement? And just to be sure, lets try to replace the backslash character by a dot in the bundle definition, ie: bundle="plugin-resources\templates\templates" by bundle="plugin-resources.templates.templates" Gives me your feedback, Cheers, Vincent 2005/6/18, Mike Ratliff <[EMAIL PROTECTED]>: The problem that I am having is manifesting itself on all the reports under the Project Info group (mailing lists, project team, project inf, etc) The other reports (checkstyle, fileactivity, etc) work just fine. The problem is that all the section headers and such have odd references embedded instead of the text they should have. A sample of the project-info xml and html follows... ** *** http://maven.apache.org/";>Maven ** * this results in html output that looks something like: ** ** ???template.maven_reports.section.title??? ???template.maven_reports.section.maven_reports1??? Maven ???template.maven_reports.section.maven_reports2??? ???template.maven_reports.section.subsection.title??? ** I realize I must be missing something simple, but I don't have a clue as to what it is. -- --- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mike Ratliff - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --
[REPOST] Having a problem with the Project Info Reports
Very sorry for asking the question again but I need to know if I wait for an update or if I get back to maven-1.0.2. --mike Michael Niemaz wrote: When will it be shipped into the plugin? --mike stéphane bouchet wrote: Tested and working great. Thanks ! Stéphane Vincent Siveton a écrit : Done in svn. Cheers, Vincent 2005/6/21, Arnaud HERITIER <[EMAIL PROTECTED]>: Yes please. Vincent will fix it ;-D Arnaud -Message d'origine- De : stéphane bouchet [mailto:[EMAIL PROTECTED] Envoyé : mardi 21 juin 2005 16:14 À : Maven Users List Objet : Re: Having a problem with the Project Info Reports Well, after setting *by hand* the bundle from plugin-resources\templates\templates to plugin-resources/templates/templates the goal xdoc:jelly-transform generated the good html document. so do i need to fill an issue in JIRA ? Stéphane stéphane bouchet a écrit : Hi, I am having the same problem with differents environments. On my Win2k box, with JDK 1.4.2, i got a good report document But in my Solaris box, with JDK 1.5, i got a bad report document. when i look in the generated reports, for example maven-reports.xml, in both case i got : So in Unix environements, there is a problem with the bundle ? Cheers, Stéphane Incze Lajos a écrit : Vincent is right, bundle="plugin-resources\templates\templates" is plain wrong (it may work on windows, but nowhere else). I checked the xdoc plugin templates with bundle="plugin-resources.templates.templates" and it cures your problem. Also, it may cause problems, when files contain "&&" operators, this way they are not valid xml (they are not inside a CDATA section). Altough, as I see, all of them are in jelly directives, so they may disappear before parsing the xml, I don' know jelly. incze On Mon, Jun 20, 2005 at 10:54:35AM -0400, Mike Ratliff wrote: I am working on Mac OS X (10.4.1) I got the reports to work just fine if I downgraded to Maven version 1.0.2 from Beta 1 of 1.1. I am now working under the assumption that it is a problem with the beta and Mac OS X, but that is just a guess. On your suggestion of changing the backslash to a dot...I am not sure how to see the results of that change. Those files are generated and therefor I don't really have an opportunity to see the results of that change being processed. Am I missing something in your suggestion? On 6/20/05, Vincent Siveton <[EMAIL PROTECTED]> wrote: Hi Mike, What is your environnement? And just to be sure, lets try to replace the backslash character by a dot in the bundle definition, ie: bundle="plugin-resources\templates\templates" by bundle="plugin-resources.templates.templates" Gives me your feedback, Cheers, Vincent 2005/6/18, Mike Ratliff <[EMAIL PROTECTED]>: The problem that I am having is manifesting itself on all the reports under the Project Info group (mailing lists, project team, project inf, etc) The other reports (checkstyle, fileactivity, etc) work just fine. The problem is that all the section headers and such have odd references embedded instead of the text they should have. A sample of the project-info xml and html follows... ** *** http://maven.apache.org/";>Maven ** * this results in html output that looks something like: ** ** ???template.maven_reports.section.title??? ???template.maven_reports.section.maven_reports1??? Maven ???template.maven_reports.section.maven_reports2??? ???template.maven_reports.section.subsection.title??? ** I realize I must be missing something simple, but I don't have a clue as to what it is. -- --- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mike Ratliff - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command
Re: Having a problem with the Project Info Reports
When will it be shipped into the plugin? --mike stéphane bouchet wrote: Tested and working great. Thanks ! Stéphane Vincent Siveton a écrit : Done in svn. Cheers, Vincent 2005/6/21, Arnaud HERITIER <[EMAIL PROTECTED]>: Yes please. Vincent will fix it ;-D Arnaud -Message d'origine- De : stéphane bouchet [mailto:[EMAIL PROTECTED] Envoyé : mardi 21 juin 2005 16:14 À : Maven Users List Objet : Re: Having a problem with the Project Info Reports Well, after setting *by hand* the bundle from plugin-resources\templates\templates to plugin-resources/templates/templates the goal xdoc:jelly-transform generated the good html document. so do i need to fill an issue in JIRA ? Stéphane stéphane bouchet a écrit : Hi, I am having the same problem with differents environments. On my Win2k box, with JDK 1.4.2, i got a good report document But in my Solaris box, with JDK 1.5, i got a bad report document. when i look in the generated reports, for example maven-reports.xml, in both case i got : So in Unix environements, there is a problem with the bundle ? Cheers, Stéphane Incze Lajos a écrit : Vincent is right, bundle="plugin-resources\templates\templates" is plain wrong (it may work on windows, but nowhere else). I checked the xdoc plugin templates with bundle="plugin-resources.templates.templates" and it cures your problem. Also, it may cause problems, when files contain "&&" operators, this way they are not valid xml (they are not inside a CDATA section). Altough, as I see, all of them are in jelly directives, so they may disappear before parsing the xml, I don' know jelly. incze On Mon, Jun 20, 2005 at 10:54:35AM -0400, Mike Ratliff wrote: I am working on Mac OS X (10.4.1) I got the reports to work just fine if I downgraded to Maven version 1.0.2 from Beta 1 of 1.1. I am now working under the assumption that it is a problem with the beta and Mac OS X, but that is just a guess. On your suggestion of changing the backslash to a dot...I am not sure how to see the results of that change. Those files are generated and therefor I don't really have an opportunity to see the results of that change being processed. Am I missing something in your suggestion? On 6/20/05, Vincent Siveton <[EMAIL PROTECTED]> wrote: Hi Mike, What is your environnement? And just to be sure, lets try to replace the backslash character by a dot in the bundle definition, ie: bundle="plugin-resources\templates\templates" by bundle="plugin-resources.templates.templates" Gives me your feedback, Cheers, Vincent 2005/6/18, Mike Ratliff <[EMAIL PROTECTED]>: The problem that I am having is manifesting itself on all the reports under the Project Info group (mailing lists, project team, project inf, etc) The other reports (checkstyle, fileactivity, etc) work just fine. The problem is that all the section headers and such have odd references embedded instead of the text they should have. A sample of the project-info xml and html follows... ** *** http://maven.apache.org/";>Maven ** * this results in html output that looks something like: ** ** ???template.maven_reports.section.title??? ???template.maven_reports.section.maven_reports1??? Maven ???template.maven_reports.section.maven_reports2??? ???template.maven_reports.section.subsection.title??? ** I realize I must be missing something simple, but I don't have a clue as to what it is. -- --- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mike Ratliff - 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] - 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 un
maven multiproject:site log4j error messages
Hi all, I'm getting the following messages when running multiproject:site goal. The build is successful but I guess it would be better I could find out why I get these error messages. It probably has an impact on the generated reports but I can't say where ... Any ideas? --mike [echo] Generating xdocs from POM ... Plugin context for maven-xdoc-plugin already initialised for this base context Failed to read POM:/home/niemaz/.maven/repository/codeczar-tomcat/poms/maven-tomcat-plugin-1.1.pom Failed to read POM:/home/niemaz/.maven/repository/jmx/poms/jmxri-1.2.1.pom Failed to read POM:/home/niemaz/.maven/repository/jmx/poms/jmxtools-1.2.1.pom Failed to read POM:/home/niemaz/.maven/repository/jmxremote/poms/jmxremote-1.0.1.pom Failed to read POM:/home/niemaz/.maven/repository/jmxremote/poms/jmxremote_optional-1.0.1.pom Failed to read POM:/home/niemaz/.maven/repository/commons-logging/poms/commons-logging-1.0.4.pom Failed to read POM:/home/niemaz/.maven/repository/servletapi/poms/servletapi-2.3.pom Failed to read POM:/home/niemaz/.maven/repository/smartdocument/poms/smartdocument.core-1.2.0.pom Failed to read POM:/home/niemaz/.maven/repository/javamail/poms/mail-1.3.2.pom Failed to read POM:/home/niemaz/.maven/repository/jaf/poms/activation-1.0.2.pom Failed to read POM:/home/niemaz/.maven/repository/axis/poms/axis-1.2.pom Failed to read POM:/home/niemaz/.maven/repository/axis/poms/axis-ant-1.2.pom Failed to read POM:/home/niemaz/.maven/repository/axis/poms/axis-jaxrpc-1.2.pom Failed to read POM:/home/niemaz/.maven/repository/axis/poms/axis-saaj-1.2.pom Failed to read POM:/home/niemaz/.maven/repository/axis/poms/axis-wsdl4j-1.2.pom Failed to read POM:/home/niemaz/.maven/repository/commons-discovery/poms/commons-discovery-0.2.pom Failed to read POM:/home/niemaz/.maven/repository/xerces/poms/xerces-2.4.0.pom Failed to read POM:/home/niemaz/.maven/repository/xerces/poms/xercesImpl-2.6.2.pom Failed to read POM:/home/niemaz/.maven/repository/xalan/poms/xalan-2.5.1.pom Failed to read POM:/home/niemaz/.maven/repository/junit/poms/junit-3.8.1.pom Failed to read POM:/home/niemaz/.maven/repository/maven-plugins/poms/maven-findbugs-plugin-0.9.1.pom log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null]. log4j:ERROR Attempted to append to closed appender named [null].
maven -X successful but lots of error messages
Hi all, I'm trying to debug something so I ran maven -X ... I noticed that I had tons of the following error message. It seems to happen on every goals ;-( My build is successful though, maybe it is not that important but we never know ;-) --mike [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.PropertyFile) for type propertyfile [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.clearcase.CCMkdir) for type ccmkdir [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.dotnet.ImportTypelib) for type importtypelib [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.vss.MSVSSCHECKIN) for type vsscheckin [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.perforce.P4Reopen) for type p4reopen [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.image.Image) for type image [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.dotnet.CSharp) for type csc [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.ssh.SSHExec) for type sshexec [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.ejb.WLRun) for type wlrun [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.perforce.P4Label) for type p4label [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.perforce.P4Revert) for type p4revert [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.ReplaceRegExp) for type replaceregexp [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.javacc.JJTree) for type jjtree [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.extension.JarLibDisplayTask) for type jarlib-display [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.jsp.JspC) for type jspc [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.Test) for type test [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.vss.MSVSSHISTORY) for type vsshistory [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.IContract) for type icontract [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.extension.ExtensionSet) for type extensionSet [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.perforce.P4Submit) for type p4submit [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.ccm.CCMCheckin) for type ccmcheckin [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.ssh.Scp) for type scp [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.perforce.P4Change) for type p4change [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.perforce.P4Delete) for type p4delete [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.vss.MSVSSADD) for type vssadd [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.perforce.P4Integrate) for type p4integrate [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.i18n.Translate) for type translate [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.clearcase.CCLock) for type cclock [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.unix.Chown) for type chown [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.ide.VAJLoadProjects) for type vajload [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.extension.JarLibAvailableTask) for type jarlib-available [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.dotnet.WsdlToDotnet) for type WsdlToDotnet [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.ejb.EjbJar) for type ejbjar [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.starteam.StarTeamList) for type stlist [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.j2ee.ServerDeploy) for type serverdeploy [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.dotnet.Ildasm) for type ildasm [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.clearcase.CCCheckin) for type cccheckin [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.clearcase.CCUnlock) for type ccunlock [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.jsp.WLJspc) for type wljspc [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.sos.SOSGet) for type sosget [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.perforce.P4Sync) for type p4sync [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.clearcase.CCMklabel) for type ccmklabel [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.perforce.P4Edit) for type p4edit [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.metamata.MAudit) for type maudit [DEBUG] Could not load class (org.apache.tools.ant.taskdefs.optional.ANTLR) for type antlr [DEBUG] Could
Re: Maven 1.1 Beta 1 Released
Found the problem: forgot the 'm' after 512 for the maxmemory ... Sorry for that ;-) --mike Michael Niemaz wrote: Hi Brett, It looks like some changes are affecting the javadoc generation. When I run maven javadoc after the maven upgrade, I get the following error: Incompatible initial and maximum heap sizes specified [See the error output below]. I tried running the command with or without setting maven.javadoc.additionalparam=-J-Xmx512m maven.javadoc.maxmemory = 512 Note: I have MAVEN_OPTS set to -Xmx512m in my environment. Any ideas? --mike maven -Dmaven.javadoc.debug=true javadoc __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.1-beta-1 build:start: xdoc:init-i18n: [echo] Init the i18n support xdoc:init: [echo] Generates the directory structure required for xdocs maven-javadoc-plugin:report: [echo] javadoc init [echo] ### Debug mode is on ### == === java plugin properties === == maven.compile.encoding= [] maven.compile.src.set = [/home/niemaz/smartdocuments_svn/smartdocuments/trunk/smartdocument.services/blobdetector/src/java] == === docs properties=== == maven.docs.outputencoding = [ISO-8859-1] == === javadoc plugin properties === == Javadoc properties : maven.javadoc.additionalparam = [-J-Xmx512m] maven.javadoc.debug = [true] maven.javadoc.doclet = [] maven.javadoc.docletpath = [] maven.javadoc.excludepackagenames = [] maven.javadoc.locale = [] maven.javadoc.maxmemory = [512] maven.javadoc.overview= [] maven.javadoc.package = [] maven.javadoc.private = [] maven.javadoc.public = [] maven.javadoc.source = [] maven.javadoc.useexternalfile = [yes] Standard doclet properties : maven.javadoc.author = [true] maven.javadoc.bottom = [Copyright © BPS Smart Documents Platforms Group. All Rights Reserved.] maven.javadoc.customtags = [] maven.javadoc.destdir = [/home/niemaz/smartdocuments_svn/smartdocuments/trunk/smartdocument.services/blobdetector/target/docs/apidocs] maven.javadoc.links = [] maven.javadoc.offlineLinks= [] maven.javadoc.mode.online = [] maven.javadoc.stylesheet = [/home/niemaz/.maven/cache/maven-javadoc-plugin-1.7/plugin-resources/stylesheet.css] maven.javadoc.tagletpath = [] maven.javadoc.taglets = [] maven.javadoc.use = [true] maven.javadoc.version = [true] maven.javadoc.windowtitle = [SmartDocument Blob detector 1.1.1 API] == === Project descriptor === == pom.package = [com.xerox.smartdocument.services.blob] == === javadoc internal variables === == internal_javadoc_jar = [/home/niemaz/smartdocuments_svn/smartdocuments/trunk/smartdocument.services/blobdetector/target/smartdocument.blob-1.1.1_javadoc.jar] internal_javadoc_needed = [] internal_javadoc_working_dir = [/home/niemaz/smartdocuments_svn/smartdocuments/trunk/smartdocument.services/blobdetector/target/javadoc] [mkdir] Created dir: /home/niemaz/smartdocuments_svn/smartdocuments/trunk/smartdocument.services/blobdetector/target/javadoc/src [echo] sourceModifications not used. [echo] internal_javadoc_needed is true [javadoc] Generating Javadoc [javadoc] Javadoc execution [javadoc] Error occurred during initialization of VM [javadoc] Incompatible initial and maximum heap sizes specified Brett Porter wrote: The Apache Maven team is pleased to announce the release of Maven 1.1-beta-1 http://maven.apache.org/start/download.html Maven is a project management and project comprehension tool. Maven is based on the concept of a project object model: builds, documentation creation, site publication, and distribution publication are all controlled from the project object model. Maven also provides tools to create source metrics, change logs based directly on source repository, and source cross-references. This release focuses on the following objectives: * Integration of Maven 2 technologies such as Maven Wagon, Mav
Re: Maven 1.1 Beta 1 Released
Hi Brett, It looks like some changes are affecting the javadoc generation. When I run maven javadoc after the maven upgrade, I get the following error: Incompatible initial and maximum heap sizes specified [See the error output below]. I tried running the command with or without setting maven.javadoc.additionalparam=-J-Xmx512m maven.javadoc.maxmemory = 512 Note: I have MAVEN_OPTS set to -Xmx512m in my environment. Any ideas? --mike maven -Dmaven.javadoc.debug=true javadoc __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.1-beta-1 build:start: xdoc:init-i18n: [echo] Init the i18n support xdoc:init: [echo] Generates the directory structure required for xdocs maven-javadoc-plugin:report: [echo] javadoc init [echo] ### Debug mode is on ### == === java plugin properties === == maven.compile.encoding= [] maven.compile.src.set = [/home/niemaz/smartdocuments_svn/smartdocuments/trunk/smartdocument.services/blobdetector/src/java] == === docs properties=== == maven.docs.outputencoding = [ISO-8859-1] == === javadoc plugin properties === == Javadoc properties : maven.javadoc.additionalparam = [-J-Xmx512m] maven.javadoc.debug = [true] maven.javadoc.doclet = [] maven.javadoc.docletpath = [] maven.javadoc.excludepackagenames = [] maven.javadoc.locale = [] maven.javadoc.maxmemory = [512] maven.javadoc.overview= [] maven.javadoc.package = [] maven.javadoc.private = [] maven.javadoc.public = [] maven.javadoc.source = [] maven.javadoc.useexternalfile = [yes] Standard doclet properties : maven.javadoc.author = [true] maven.javadoc.bottom = [Copyright © BPS Smart Documents Platforms Group. All Rights Reserved.] maven.javadoc.customtags = [] maven.javadoc.destdir = [/home/niemaz/smartdocuments_svn/smartdocuments/trunk/smartdocument.services/blobdetector/target/docs/apidocs] maven.javadoc.links = [] maven.javadoc.offlineLinks= [] maven.javadoc.mode.online = [] maven.javadoc.stylesheet = [/home/niemaz/.maven/cache/maven-javadoc-plugin-1.7/plugin-resources/stylesheet.css] maven.javadoc.tagletpath = [] maven.javadoc.taglets = [] maven.javadoc.use = [true] maven.javadoc.version = [true] maven.javadoc.windowtitle = [SmartDocument Blob detector 1.1.1 API] == === Project descriptor === == pom.package = [com.xerox.smartdocument.services.blob] == === javadoc internal variables === == internal_javadoc_jar = [/home/niemaz/smartdocuments_svn/smartdocuments/trunk/smartdocument.services/blobdetector/target/smartdocument.blob-1.1.1_javadoc.jar] internal_javadoc_needed = [] internal_javadoc_working_dir = [/home/niemaz/smartdocuments_svn/smartdocuments/trunk/smartdocument.services/blobdetector/target/javadoc] [mkdir] Created dir: /home/niemaz/smartdocuments_svn/smartdocuments/trunk/smartdocument.services/blobdetector/target/javadoc/src [echo] sourceModifications not used. [echo] internal_javadoc_needed is true [javadoc] Generating Javadoc [javadoc] Javadoc execution [javadoc] Error occurred during initialization of VM [javadoc] Incompatible initial and maximum heap sizes specified Brett Porter wrote: The Apache Maven team is pleased to announce the release of Maven 1.1-beta-1 http://maven.apache.org/start/download.html Maven is a project management and project comprehension tool. Maven is based on the concept of a project object model: builds, documentation creation, site publication, and distribution publication are all controlled from the project object model. Maven also provides tools to create source metrics, change logs based directly on source repository, and source cross-references. This release focuses on the following objectives: * Integration of Maven 2 technologies such as Maven Wagon, Maven SCM and the new model code * Ant 1.6.5 support * Upgrade to later releases of dependencies, in particular Jelly * Significant improvements in m
Re: Returning midway from a goal?
would quit the whole build. --mike Surendra Singhi wrote: Hello, Is there any maven function which can return midway from a goal(something like return in programming languages)? Thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: multiproject and navigation.xml
Actually the includes line can be removed. --mike Michael Niemaz wrote: Thanx very much Arnaud indeed! I did manage some dirty hacks but I really prefer this solution ;-) Juste one more question: I have sub projects and sub-sub projects, In order to build them all I found out that I needed to run twice the multiproject:site goal. First on the sub-subs using the includes parameter and then on the default target such as: value="smartdocument.services/project.xml" /> It produces exactly what I want : TOPSUB1 SUB2 SUB21 SUB22 SUB23 SUB3 BUT I wonder if it does not run some goals several times. The reason why I'm asking this is that I had to remove the generation of some reports to prevent what I suspect are outofmemory errors... Any ideas? --mike Arnaud HERITIER wrote: You can create a dynamic navigation, using a template like it's done here : http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/pdf/src/plugin-test/xdocs/navigation.xml?rev=158842&view=markup Arnaud -Message d'origine- De : Michael Niemaz [mailto:[EMAIL PROTECTED] Envoyé : mercredi 8 juin 2005 11:51 À : Maven Users List Objet : multiproject and navigation.xml Hi all, When building a site's documentation using multiproject goal, I found out that it is not possible to play with the xdocs navigation xml file in order to add specific menus without interfering with the generation of the multiproject navbar. In other words, if you want your root project to display the list of your sub-project, do not add navigation.xml in your xdocs directory. Is there a workaround for this? Maybe using the userNav templates? any help would be appreciated. --mike - 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]
Re: multiproject and navigation.xml
Thanx very much Arnaud indeed! I did manage some dirty hacks but I really prefer this solution ;-) Juste one more question: I have sub projects and sub-sub projects, In order to build them all I found out that I needed to run twice the multiproject:site goal. First on the sub-subs using the includes parameter and then on the default target such as: value="smartdocument.services/project.xml" /> It produces exactly what I want : TOP SUB1 SUB2 SUB21 SUB22 SUB23 SUB3 BUT I wonder if it does not run some goals several times. The reason why I'm asking this is that I had to remove the generation of some reports to prevent what I suspect are outofmemory errors... Any ideas? --mike Arnaud HERITIER wrote: You can create a dynamic navigation, using a template like it's done here : http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/pdf/src/plugin-test/xdocs/navigation.xml?rev=158842&view=markup Arnaud -Message d'origine- De : Michael Niemaz [mailto:[EMAIL PROTECTED] Envoyé : mercredi 8 juin 2005 11:51 À : Maven Users List Objet : multiproject and navigation.xml Hi all, When building a site's documentation using multiproject goal, I found out that it is not possible to play with the xdocs navigation xml file in order to add specific menus without interfering with the generation of the multiproject navbar. In other words, if you want your root project to display the list of your sub-project, do not add navigation.xml in your xdocs directory. Is there a workaround for this? Maybe using the userNav templates? any help would be appreciated. --mike - 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]
multiproject and navigation.xml
Hi all, When building a site's documentation using multiproject goal, I found out that it is not possible to play with the xdocs navigation xml file in order to add specific menus without interfering with the generation of the multiproject navbar. In other words, if you want your root project to display the list of your sub-project, do not add navigation.xml in your xdocs directory. Is there a workaround for this? Maybe using the userNav templates? any help would be appreciated. --mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Maven Multi-Project Plug-in 1.4 released
Oops sorry for the misunderstanding. --mike Massimo Lusetti wrote: On 6/7/05, Michael Niemaz <[EMAIL PROTECTED]> wrote: As Brett said: If you want to hand edit project.xml in your cache to make "3.0.0-SNAPSHOT" into "3.0.0", that will suffice for now. It does the trick. Sure, I've already done that. Just wish to let you know - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Maven Multi-Project Plug-in 1.4 released
As Brett said: If you want to hand edit project.xml in your cache to make "3.0.0-SNAPSHOT" into "3.0.0", that will suffice for now. It does the trick. --mike Massimo Lusetti wrote: On 6/5/05, Vincent Massol <[EMAIL PROTECTED]> wrote: We are pleased to announce the Maven Multi-Project Plug-in 1.4 release! The same error (dep on maven-model-3.0.0-SNAPSHOT) which affect changelog plugin 1.8 seems to affect this plugin as well. Anyone else has noticed this ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven Changelog Plugin 1.8 Released
I tried to install it but it fails to compile: BUILD FAILED File.. /home/niemaz/smartdocuments/maven.xml Element... attainGoal Line.. 366 Column 42 The build cannot continue because of the following unsatisfied dependency: maven-model-3.0.0-SNAPSHOT.jar Total time: 1 minutes 0 seconds Finished at: Mon Jun 06 09:27:09 CEST 2005 Any idea? --mike Brett Porter wrote: The maven team is pleased to announce the Maven Changelog Plugin 1.8 release! http://maven.apache.org/reference/plugins/changelog/ New Features: o Add VSS support Issue: MPCHANGELOG-49. Thanks to Freddy Mallet. o Add the ability to show several sets of changes Issue: MPCHANGELOG-63. Thanks to David Jackman. Fixed bugs: o Determine default factory from connection - no longer a need to configure for SCMs different than CVS. Issue: MPCHANGELOG-23. o Corrected link for viewcvs configured with muliple cvs repository. Issue: MPCHANGELOG-25. Thanks to Neil Palmer. o Correctly parse (no author) from SVN logs Issue: MPCHANGELOG-57. Thanks to Sebastian Scholze. o Add CVS monitor support Issue: MPCHANGELOG-53. Thanks to Kenneth Leider. o Quote argument with < in it on Windows for the CVS provider - required if using CVSNT Issue: MPCHANGELOG-47. o Fix problem parsing revisions on Linux introduced by MPCHANGELOG-29 Issue: MPCHANGELOG-55. o Allow local CVSROOT to only have 5 tokens (no host name) To automatically install the plugin, type the following on a single line: maven plugin:download -DgroupId=maven -DartifactId=maven-changelog-plugin -Dversion=1.8 For a manual installation, you can download the plugin here: http://www.apache.org/dyn/closer.cgi/java-repository/maven/plugins/maven-changelog-plugin-1.8.jar Have fun! -The maven team - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Multiproject & dashboard - dashboard runs "the hard way"
For my project, I run the multiproject twice, fist on my sub-projects seconddly on the root project excluding my sub projects such as: goals="multiproject:site" banner="multiproject:site" ignoreFailures="true" /> --mike Jeff Jensen wrote: That is a thought - I will try to get it working without dashboard first. Thanks. On the out of memory, in case it helps - when running Maven on just one subproject, I would get out of memory (I believe due to our very large code base). To fix, I set the max heap - on the plugins that launched their own JVMs, I set their memory property (e.g. for Javadoc), and for the rest, I set "MAVEN_OPTS=-Xmx1024m". This prevented OOM for me. This may allow you to run all the reports you want. -Original Message- From: Michael Niemaz [mailto:[EMAIL PROTECTED] Sent: Friday, June 03, 2005 1:59 AM To: Maven Users List Subject: Re: Multiproject & dashboard - dashboard runs "the hard way" Well, it works for me although I'm not using the dashboard plugin. Still, I had to remove the generation of some reports to prevent an outofmemory exception. And it looks like it does go through the same goals several times. But I can't spend to much time on that so ... Try to play with the excludes parameters ... --mike Jeff Jensen wrote: Thanks for the reply Mike. I will gladly try anything at this point!! :-| That change causes some type of recursion! Before it crashes, there are 7 nested "multiproject" dirs under the subproject build dir. And now nothing is under the multiproject build dir. Hmm, either using multiproject:site is not correct or this continues to point to something configured incorrectly... Any further thoughts very welcome! Thanks! Quoting Michael Niemaz <[EMAIL PROTECTED]>: Try to replace maven.multiproject.site.goals=site,dashboard:report-single with maven.multiproject.site.goals=multiproject:site,dashboard:report-singl e Hope this helps, --mike Jeff Jensen wrote: I finally have dashboard report running by contradicting (per my interpretation) the documentation. All 3 of these settings must be this way to get it to run: maven.multiproject.site.goals=site,dashboard:report-single maven.dashboard.runreactor=true maven.dashboard.rungoals=true As expected and per the docs, dashboard runs all the Junit tests, etc. for its report. While this accomplishes getting dashboard run, the underlying problem is still not solved. For some reason, the "site" goal is not run on each subproject. So the subproject output (the html files in the end) needed for the multiproject results to link to do not exist. Can anyone explain this? Does this point to a config error on my part, or possibly a bug? - 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] - 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]
Re: Multiproject & dashboard - dashboard runs "the hard way"
Well, it works for me although I'm not using the dashboard plugin. Still, I had to remove the generation of some reports to prevent an outofmemory exception. And it looks like it does go through the same goals several times. But I can't spend to much time on that so ... Try to play with the excludes parameters ... --mike Jeff Jensen wrote: Thanks for the reply Mike. I will gladly try anything at this point!! :-| That change causes some type of recursion! Before it crashes, there are 7 nested "multiproject" dirs under the subproject build dir. And now nothing is under the multiproject build dir. Hmm, either using multiproject:site is not correct or this continues to point to something configured incorrectly... Any further thoughts very welcome! Thanks! Quoting Michael Niemaz <[EMAIL PROTECTED]>: Try to replace maven.multiproject.site.goals=site,dashboard:report-single with maven.multiproject.site.goals=multiproject:site,dashboard:report-single Hope this helps, --mike Jeff Jensen wrote: I finally have dashboard report running by contradicting (per my interpretation) the documentation. All 3 of these settings must be this way to get it to run: maven.multiproject.site.goals=site,dashboard:report-single maven.dashboard.runreactor=true maven.dashboard.rungoals=true As expected and per the docs, dashboard runs all the Junit tests, etc. for its report. While this accomplishes getting dashboard run, the underlying problem is still not solved. For some reason, the "site" goal is not run on each subproject. So the subproject output (the html files in the end) needed for the multiproject results to link to do not exist. Can anyone explain this? Does this point to a config error on my part, or possibly a bug? - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Multiproject & dashboard - dashboard runs "the hard way"
Try to replace maven.multiproject.site.goals=site,dashboard:report-single with maven.multiproject.site.goals=multiproject:site,dashboard:report-single Hope this helps, --mike Jeff Jensen wrote: I finally have dashboard report running by contradicting (per my interpretation) the documentation. All 3 of these settings must be this way to get it to run: maven.multiproject.site.goals=site,dashboard:report-single maven.dashboard.runreactor=true maven.dashboard.rungoals=true As expected and per the docs, dashboard runs all the Junit tests, etc. for its report. While this accomplishes getting dashboard run, the underlying problem is still not solved. For some reason, the "site" goal is not run on each subproject. So the subproject output (the html files in the end) needed for the multiproject results to link to do not exist. Can anyone explain this? Does this point to a config error on my part, or possibly a bug? - 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]
Tracing maven goals
Hi all, I've been subclassing many goals for my sub-projects project to create distributions as I wanted. Now that it works, it looks like many goals are done several times. I wonder if there was an easy way to trace the goals it was going through during or after the compilation, other than scrolling up the shell of course ;-) Thanx, --mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
'includes' param of 'reactor' tag does not handle space chars?
Hi all, I came accross this bug (or feature?) while playing with the reactor. Concretely, when 'including' several directories in the reactor tag, space chars will prevent the reactor to compute the dirs located after that space char: will only compute */project.xml. Removing the space char such as: includes="*/project.xml,*/*/project.xml" ...> would fix the problem. This might be in the doc but I'm too lasy having a look at it ;-) If it is the case, can we generalize it to all tag parameters? --mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[SOLVED]: Forcing 'dist:build' to invoke 'multiproject:site' instead of plain 'site'?
I manged to do it by subclassing 'site:generate' the such as: Wonder if it's the best way to do it though ... --mike Michael Niemaz wrote: Hi all, I am playing with the reactor tag and it works great. All I do is generate a zip file containing my sub-projects war files by postgoaling the dist:prepare-bin-filesystem goal. Now, the associated documentation when launching 'maven dist:build' is the one generated for the master project (without the sub-projects). I'd rather have the one generated when launching 'maven multiproject:site' of course ;-) So my question: How can I force 'dist:build' to invoke 'multiproject:site' instead of the normal 'site' goal? Thanx in advance, --mike - 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]
Forcing 'dist:build' to invoke 'multiproject:site' instead of plain 'site'?
Hi all, I am playing with the reactor tag and it works great. All I do is generate a zip file containing my sub-projects war files by postgoaling the dist:prepare-bin-filesystem goal. Now, the associated documentation when launching 'maven dist:build' is the one generated for the master project (without the sub-projects). I'd rather have the one generated when launching 'maven multiproject:site' of course ;-) So my question: How can I force 'dist:build' to invoke 'multiproject:site' instead of the normal 'site' goal? Thanx in advance, --mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Including multiproject:site output doc in a distribution
Hi all, I am playing with the reactor tag and it works great. All I do is generate a zip file containing my sub-projects war files by postgoaling the dist:prepare-bin-filesystem goal. Now, next step is to replace the 'single' project generated doc inserted into the distribution package with the one that is generated through multiproject:site goal. I tried different methods but in vain. Any ideas? thanx, --mike Wim Deblauwe wrote: I added all information in JIRA: http://jira.codehaus.org/browse/MPDASHBOARD-24 On 5/12/05, Wim Deblauwe <[EMAIL PROTECTED]> wrote: Hi, found how to do it, but I don't know how to create a patch and I don't have CVS. Can somebody create a patch out of this? In dashboard.jsl, in : In plugin.jelly, under the dashboard:aggregate goal: ${reactorProject.name} ${reactorProject.artifactId} ${reactorProject.url} ... rest of code Basically, this is what happens: The pom.url is added to the dashboard-data.xml file. This url is then retrieved in the jsl file via @url. If this @url is not empty, the value of it is used to create the link. regards, Wim On 5/12/05, Wim Deblauwe <[EMAIL PROTECTED]> wrote: Just tried it but it does not work. It uses the pom.url of the master project, not of the subprojects. Any idea on how I can access those? regards, Wim On 5/12/05, Vincent Massol <[EMAIL PROTECTED]> wrote: Hi Wim, Yes, this is a known limitation (I've only used aggregate multiprojects and thus have only implemented this one...). If you can submit a patch with a test (through JIRA) I could apply it. Thanks -Vincent -Original Message- From: Wim Deblauwe [mailto:[EMAIL PROTECTED] Sent: jeudi 12 mai 2005 11:08 To: Maven Users List Subject: Dashboard plugin with multiproject independent navigation Hi, the Dashboard plugin seems to assume that the maven.multiproject.navigation property is set to 'aggregate', becuase the links that are generated are like this: Notice the use of maven.multiproject.aggregateDir. But when 'independent' navigation is used the plugin should look at the 'pom.url' property. Is this a bug or am I missing something? This would probably be a better solution (untested): regards, Wim - 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]
Re: (Simple) multiproject question (and war files)
I'm almost done but I wouldn't mind having a look at your approach. Thanx, --mike David Jackman wrote: I did this sort of thing for our product, but instead of doing this at the multiproject level, I just created another subproject that gathers all the dependency jars and wars (and other dependency types) for the product (in our case it dumps them all into a directory that we can then burn to CD). If you'd like to take this approach, I can give you more detail and provide the jelly script I used to gather the dependencies. ..David.. -Original Message- From: Michael Niemaz [mailto:[EMAIL PROTECTED] Sent: Monday, May 23, 2005 1:38 AM To: users@maven.apache.org Subject: (Simple) multiproject question (and war files) Hi all, I have a main project which contains several sub-projects. I'd like to create a bianry 'distrib' that contains all the war files of the sub-projects. I thought I could use the multiproject goal but It looks like it only deals with documentation of sub-projects. Am I missing something here? How would you do my war stuff? I guess I'll have to implement a special goal using the reactor and all. I just thought there would be outthere something that would do it automatically. Any ideas? --mike - 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]
(Simple) multiproject question (and war files)
Hi all, I have a main project which contains several sub-projects. I'd like to create a bianry 'distrib' that contains all the war files of the sub-projects. I thought I could use the multiproject goal but It looks like it only deals with documentation of sub-projects. Am I missing something here? How would you do my war stuff? I guess I'll have to implement a special goal using the reactor and all. I just thought there would be outthere something that would do it automatically. Any ideas? --mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[SOLVED] Maven javadoc : ClassCastException
Thanx Brett, you were right. --mike Brett Porter wrote: I'd guess its a bug in the JDK, given that its a forked process and you are running an old beta of JDK 1.5. You should get the same results on the command line if you run: '/opt/java/j2sdk1.5.0-beta1/bin/javadoc' with arguments: '-d' '/home/niemaz/xipui/target/docs/apidocs' '-use' '-windowtitle' 'Xip UI 1.0 API' '-stylesheetfile' '/home/niemaz/.maven/cache/maven-javadoc-plugin-1.7/plugin-resources/stylesheet.css' '-docencoding' 'ISO-8859-1' '-charset' 'ISO-8859-1' '-doctitle' 'Xip UI 1.0 API' '-bottom' 'Copyright © 2004-2005 Smart Document Plateforms. All Rights Reserved.' '-classpath' '/home/niemaz/.maven/repository/commons-codec/jars/commons-codec-1.3.jar:/home/niemaz/xipui/xip/javaAPI/jxip.jar:/home/niemaz/xipui/lib/jgraph-5.1.jar:/home/niemaz/xipui/lib/jgraphaddons-1.0.3.jar:/home/niemaz/.maven/repository/xerces/jars/xercesImpl-2.5.0.jar:/home/niemaz/xipui/lib/xmlParserAPIs.jar:/home/niemaz/xipui/target/classes' '-sourcepath' '/home/niemaz/xipui/target/javadoc/src' '-version' '-author' '@/home/niemaz/xipui/javadoc2013248576' On Fri, 04 Mar 2005 12:09:25 +0100, Michael Niemaz <[EMAIL PROTECTED]> wrote: Right, here's the output: - 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]
Re: REPOST : Maven javadoc : ClassCastException
dAccessorImpl.invoke0(Native Method) [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [javadoc] [VERBOSE] Generating /home/niemaz/xipui/target/docs/apidocs/com/xerox/xip/utils//class-use/FileUtilities.html... [javadoc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [javadoc] at java.lang.reflect.Method.invoke(Method.java:494) [javadoc] at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:211) [javadoc] at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:91) [javadoc] at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:333) [javadoc] at com.sun.tools.javadoc.Start.begin(Start.java:127) [javadoc] [VERBOSE] Generating /home/niemaz/xipui/target/docs/apidocs/com/xerox/xip/servers//class-use/ServerRegistrator.html... [javadoc] at com.sun.tools.javadoc.Main.execute(Main.java:41) [javadoc] at com.sun.tools.javadoc.Main.main(Main.java:31) [javadoc] [VERBOSE] Generating html pages [...] [javadoc] Building index for all the packages and classes... [javadoc] [VERBOSE] Generating /home/niemaz/xipui/target/docs/apidocs/overview-tree.html... [javadoc] [VERBOSE] Generating /home/niemaz/xipui/target/docs/apidocs/index-all.html... [javadoc] [VERBOSE] Generating /home/niemaz/xipui/target/docs/apidocs/deprecated-list.html... [javadoc] Building index for all classes... [javadoc] [VERBOSE] Generating /home/niemaz/xipui/target/docs/apidocs/allclasses-frame.html... [javadoc] [VERBOSE] Generating /home/niemaz/xipui/target/docs/apidocs/allclasses-noframe.html... [javadoc] [VERBOSE] Generating /home/niemaz/xipui/target/docs/apidocs/index.html... [javadoc] [VERBOSE] Generating /home/niemaz/xipui/target/docs/apidocs/overview-summary.html... [javadoc] Generating /home/niemaz/xipui/target/docs/apidocs/help-doc.html... [javadoc] 8 warnings [record] [DEBUG] setting a recorder for name /home/niemaz/xipui/target/javadoc/report.txt value = '6', pattern = '0' ret='6' value = '8', pattern = '0' ret='8' value = '1', pattern = '0' ret='1' value = '2', pattern = '0' ret='2' value = '2', pattern = '0' ret='2' value = '1', pattern = '0' ret='1' value = '1', pattern = '0' ret='1' value = '1', pattern = '0' ret='1' attaining goal build:end popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in maven-xdoc-plugin:maven-xdoc-plugin popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in maven-javadoc-plugin:maven-javadoc-pluginpopping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in maven-html2xdoc-plugin:maven-html2xdoc-plugin popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in maven-pom-plugin:maven-pom-plugin popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in maven-artifact-plugin:maven-artifact-plugin popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in xipui:xipUI BUILD SUCCESSFUL Final Memory: 4M/7M Total time: 17 seconds Finished at: Fri Mar 04 11:58:21 CET 2005 Jörg Schaible wrote: Michael Niemaz wrote on Friday, March 04, 2005 9:41 AM: I guess the subject is not very attractive ;-) I wonder if this problem is maven related btw. Just from the output not much can be guessed. Try running Maven with -X - Jörg - 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]
REPOST : Maven javadoc : ClassCastException
I guess the subject is not very attractive ;-) I wonder if this problem is maven related btw. --mike Michael Niemaz wrote: When running maven javadoc, I get the following error. It does not prevent the javadoc to be created but I'd feel better if this error would not happen ;-) Any ideas? Thanx, --mike [javadoc] java.lang.ClassCastException: com.sun.tools.doclets.formats.html.SerializedFormWriterImpl [javadoc] at com.sun.tools.doclets.formats.html.TagletWriterImpl.seeTagOutput(TagletWriterImpl.java:145) [javadoc] at com.sun.tools.doclets.internal.toolkit.taglets.SeeTaglet.getTagletOutput(SeeTaglet.java:54) [javadoc] at com.sun.tools.doclets.internal.toolkit.taglets.TagletWriter.genTagOuput(TagletWriter.java:167) [javadoc] at com.sun.tools.doclets.formats.html.HtmlSerialFieldWriter.writeMemberTags(HtmlSerialFieldWriter.java:138) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.SerializedFormBuilder.buildFieldInfo(SerializedFormBuilder.java:446) [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [javadoc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [javadoc] at java.lang.reflect.Method.invoke(Method.java:494) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.SerializedFormBuilder.invokeMethod(SerializedFormBuilder.java:131) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:90) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.SerializedFormBuilder.buildSerializableFields(SerializedFormBuilder.java:482) [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [javadoc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [javadoc] at java.lang.reflect.Method.invoke(Method.java:494) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.SerializedFormBuilder.invokeMethod(SerializedFormBuilder.java:131) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:90) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.SerializedFormBuilder.buildClassSerializedForm(SerializedFormBuilder.java:185) [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [javadoc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [javadoc] at java.lang.reflect.Method.invoke(Method.java:494) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.SerializedFormBuilder.invokeMethod(SerializedFormBuilder.java:131) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:90) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.SerializedFormBuilder.buildPackageSerializedForm(SerializedFormBuilder.java:167) [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [javadoc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [javadoc] at java.lang.reflect.Method.invoke(Method.java:494) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.SerializedFormBuilder.invokeMethod(SerializedFormBuilder.java:131) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:90) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.SerializedFormBuilder.buildSerializedFormSummaries(SerializedFormBuilder.java:148) [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [javadoc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [javadoc] at java.lang.reflect.Method.invoke(Method.java:494) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.SerializedFormBuilder.invokeMethod(SerializedFormBuilder.java:131) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:90) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.SerializedFormBuilder.buildSerializedForm(SerializedFormBuilder.java:116) [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [javadoc]
Maven javadoc : ClassCastException
When running maven javadoc, I get the following error. It does not prevent the javadoc to be created but I'd feel better if this error would not happen ;-) Any ideas? Thanx, --mike [javadoc] java.lang.ClassCastException: com.sun.tools.doclets.formats.html.SerializedFormWriterImpl [javadoc] at com.sun.tools.doclets.formats.html.TagletWriterImpl.seeTagOutput(TagletWriterImpl.java:145) [javadoc] at com.sun.tools.doclets.internal.toolkit.taglets.SeeTaglet.getTagletOutput(SeeTaglet.java:54) [javadoc] at com.sun.tools.doclets.internal.toolkit.taglets.TagletWriter.genTagOuput(TagletWriter.java:167) [javadoc] at com.sun.tools.doclets.formats.html.HtmlSerialFieldWriter.writeMemberTags(HtmlSerialFieldWriter.java:138) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.SerializedFormBuilder.buildFieldInfo(SerializedFormBuilder.java:446) [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [javadoc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [javadoc] at java.lang.reflect.Method.invoke(Method.java:494) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.SerializedFormBuilder.invokeMethod(SerializedFormBuilder.java:131) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:90) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.SerializedFormBuilder.buildSerializableFields(SerializedFormBuilder.java:482) [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [javadoc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [javadoc] at java.lang.reflect.Method.invoke(Method.java:494) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.SerializedFormBuilder.invokeMethod(SerializedFormBuilder.java:131) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:90) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.SerializedFormBuilder.buildClassSerializedForm(SerializedFormBuilder.java:185) [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [javadoc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [javadoc] at java.lang.reflect.Method.invoke(Method.java:494) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.SerializedFormBuilder.invokeMethod(SerializedFormBuilder.java:131) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:90) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.SerializedFormBuilder.buildPackageSerializedForm(SerializedFormBuilder.java:167) [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [javadoc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [javadoc] at java.lang.reflect.Method.invoke(Method.java:494) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.SerializedFormBuilder.invokeMethod(SerializedFormBuilder.java:131) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:90) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.SerializedFormBuilder.buildSerializedFormSummaries(SerializedFormBuilder.java:148) [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [javadoc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [javadoc] at java.lang.reflect.Method.invoke(Method.java:494) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.SerializedFormBuilder.invokeMethod(SerializedFormBuilder.java:131) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(AbstractBuilder.java:90) [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.SerializedFormBuilder.buildSerializedForm(SerializedFormBuilder.java:116) [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [javadoc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [javadoc] at java.lang.reflect.Method.invoke(Method.java:494) [javadoc] at com.sun.tools.doclets.internal.toolkit.bu
Re: xerces
I think i had the same kind of trouble with httpClient. All I ended up with was to overwrite the httpClient jar in the lib directory of maven. Dirty but working ;-) Hope this helps, --mike Adam Hardy wrote: -Original Message- From: Jörg Schaible [mailto:[EMAIL PROTECTED] Nicolas Chalumeau wrote on Friday, February 25, 2005 1:43 PM: A corrupted jar ! java.lang.NoClassDefFoundError: com/sun/org/apache/xml/internal/serialize/OutputFormat This is a strange package path (com.sun and org.apache)! Unfortunately not. This is the next Xerces headache from J2EE 1.4 and J2SE 5 Would I be right in thinking that this is unresolved at present then? http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. - 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]
Confusion between maven/libs and project dependencies
Hi all, I'm having troubles to run my plugin and I found out that the problem comes from the fact that maven is internally using an old version of the httpClient library. I am able to build my project with the dependencies set to commons-httpclient-3.0.rc1 But maven is crashing at runtime 'cos it does not find such method that of course does not exist in commons-httpclient-2.0.jar ... Replacing commons-httpclient-2.0.jar with commons-httpclient-3.0.rc1.jar in maven/lib directory (keeping the name commons-httpclient-2.0.jar) fixes the problem but it's kind of dirty and I wonder if there was a better way of doing it. Another question: why is maven using its own library when another is specified in the dependencies? Below is my runtime errors. Any ideas? --mike org.apache.commons.httpclient.HttpClient.getParams()Lorg/apache/commons/httpclient/params/HttpClientParams; com.werken.werkz.UnattainableGoalException: Unable to obtain goal [codex:deploy-dist-bin] -- /home/niemaz/.maven/cache/maven-codex-plugin-1.2/plugin.jelly:261:39: org.apache.commons.httpclient.HttpClient.getParams()Lorg/apache/commons/httpclient/params/HttpClientParams; at com.werken.werkz.Goal.fire(Goal.java:646) at com.werken.werkz.Goal.attain(Goal.java:575) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) at org.apache.maven.cli.App.doMain(App.java:488) at org.apache.maven.cli.App.main(App.java:1239) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:494) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) org.apache.commons.jelly.JellyTagException: /home/niemaz/.maven/cache/maven-codex-plugin-1.2/plugin.jelly:261:39: org.apache.commons.httpclient.HttpClient.getParams()Lorg/apache/commons/httpclient/params/HttpClientParams; at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:702) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:296) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) at org.apache.maven.cli.App.doMain(App.java:488) at org.apache.maven.cli.App.main(App.java:1239) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:494) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) Caused by: java.lang.NoSuchMethodError: org.apache.commons.httpclient.HttpClient.getParams()Lorg/apache/commons/httpclient/params/HttpClientParams; at com.xerox.codex.mavenplugin.WebClient.(WebClient.java:99) at com.xerox.codex.mavenplugin.WebClient.(WebClient.java:51) at com.xerox.codex.mavenplugin.FileReleaseBean.(FileReleaseBean.java:68) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:415) at java.lang.Class.newInstance0(Class.java:322) at java.lang.Class.newInstance(Class.java:275) at org.apache.commons.jelly.impl.DynamicBeanTag.beforeSetAttributes(DynamicBeanTag.java:145) at org.apache.commons.jelly.DynaBeanTagSupport.setContext(DynaBeanTagSupport.java:93) at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:124) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.impl.DynamicTag.doTag(DynamicTag.java:125) at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:145) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doT
Re: Trouble creating plugin: Property 'xxx' has no write method
Actually, I changed the List attribute into an iterator so that a ${distFileList.iterator()} would be enough. Unfortunately, it does not seem to work out that well ;-( I shall try your solution. Thanx, --mike Dion Gillard wrote: On Thu, 20 Jan 2005 11:00:51 +0100, Michael Niemaz <[EMAIL PROTECTED]> wrote: Hi all, I'm trying to create my first maven plugin. I've implemented my java beans and the problem I'm facing is interacting with them in the jelly plugin. I get the following error when running 'maven Myupload': BUILD FAILED File.. /home/niemaz/.maven/cache/maven-xxx-plugin-1.45/plugin.jelly Element... sf:ftpBean Line.. 26 Column 11 Property 'files' has no write method Total time: 3 seconds Finished at: Thu Jan 20 10:45:43 CET 2005 The trouble seems to reside in the fact that I do not handle files properly. What should I give to my Bean files property (List object)? Below is my plugin.jelly code and the Bean source code as well. Thanx, --mike nb: when I get rid of the 'files' field in the 'ftp' tag, it does crash but later ;-) Looks like I'm missing something here ... site="${site}" destDir="${destDir}" userEmail="${userEmail}" files="${distFileList}" /> So distFileList is a FileScanner (see http://jakarta.apache.org/commons/jelly/tag-reference/ant_fileScanner.html ). You have a List as the bean property, and you'll need to convert, e.g from a FileScanner you can get an iterator of the files, loop through and add them to the list, e.g. ${myList.add(distFile)} site="${maven.xxx.ftp.site}" destDir="${maven.xxx.ftp.incomingDir}" files="${distFileList}" userEmail="${maven.xxx.userEmail}" /> And pass ${myList} into the co:ftp tag above as files="${myList}". - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Trouble creating plugin: Property 'xxx' has no write method
Hi all, I'm trying to create my first maven plugin. I've implemented my java beans and the problem I'm facing is interacting with them in the jelly plugin. I get the following error when running 'maven Myupload': BUILD FAILED File.. /home/niemaz/.maven/cache/maven-xxx-plugin-1.45/plugin.jelly Element... sf:ftpBean Line.. 26 Column 11 Property 'files' has no write method Total time: 3 seconds Finished at: Thu Jan 20 10:45:43 CET 2005 The trouble seems to reside in the fact that I do not handle files properly. What should I give to my Bean files property (List object)? Below is my plugin.jelly code and the Bean source code as well. Thanx, --mike nb: when I get rid of the 'files' field in the 'ftp' tag, it does crash but later ;-) Looks like I'm missing something here ... --- xmlns:j="jelly:core" xmlns:x="jelly:xml" xmlns:ant="jelly:ant" xmlns:maven="jelly:maven" xmlns:util="jelly:util" xmlns:velocity="jelly:velocity" xmlns:co="co" > package net.codex.mavenplugins.codex; public class FTPBean { private String _site; private String _destDir; private List _files; private String _userEmail; /** * Constructor for FTPBean */ public FTPBean() { super(); System.out.println("new FTPBean"); } /** * Gets the site. * @return the site. */ public String getSite() { System.out.println("getSite " + _site); return _site; } /** * Sets the site. * @param site The site to set. */ public void setSite(String site) { System.out.println("setSite " + site); _site = site; } /** * Gets the destDir. * @return the destDir. */ public String getDestDir() { System.out.println("getDestDir " + _destDir); return _destDir; } /** * Sets the destDir. * @param destDir The destDir to set. */ public void setDestDir(String destDir) { System.out.println("setDestDir " + destDir); _destDir = destDir; } /** * Gets the files. * @return the files. */ public List getFiles() { System.out.println("getFiles " + _files.size()); return _files; } /** * Sets the files. * @param files The files to set. */ public void setFiles(List files) { System.out.println("setFiles " + files.size()); _files = files; } /** * Gets the userEmail. * @return the userEmail. */ public String getUserEmail() { System.out.println("getUserEmail " + _userEmail); return _userEmail; } /** * Sets the userEmail. * @param userEmail The userEmail to set. */ public void setUserEmail(String userEmail) { System.out.println("setUserEmail " + userEmail); _userEmail = userEmail; } }
Re: new stupid question (was: [SOLVED]: Stupid question about generated site)
I'm afraid I can't help you here. The documentation is light, that's a fact. I'm not sure downloading the source will help you. Try google, it might help ;-) Sorry, --mike Durham David R Jr Contr 805 CSPTS/SCE wrote: Finally found out that creating an xdocs repertory was enough to have your xml docs automatically integrated in the generated site. Heh, I have a related question: how can I customize the 'Project Documentation' menu? Also, what's a good reference for the site plugin? The actual site plugin site (if that makes sense) appears light on docs. Perhaps I just need to download the source and go through it. Thanks, Dave - 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]
[SOLVED]: Stupid question about generated site
Finally found out that creating an xdocs repertory was enough to have your xml docs automatically integrated in the generated site. Sorry, --mike Michael Niemaz wrote: humm, sounds not very automatic ;-( I thought there would be some kind of plugins to handle that. So I guess I have to implement it using jelly or ant through some maven goals... Still, should I wait for maven to generate the (for example) index.xml file and then insert my stuff? Sounds a bit odd to me ... Thanx, --mike Erik Husby wrote: Michael Niemaz wrote: Hi, I wondered how to automatically add other menus and sub-menus to the generated site in order to add some documentation (or whatever) about my project. Also, how should I handle this documentation? What's the plugin/mechanism to use? Is there a particular format? Simple, Create the directory xdocs Create the file xdocs/index.xml to get additional documentation Create the file xdocs/navigation.xml to get additional menus See the Maven sources for more details on the file format. - 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]
Re: Stupid question about generated site
humm, sounds not very automatic ;-( I thought there would be some kind of plugins to handle that. So I guess I have to implement it using jelly or ant through some maven goals... Still, should I wait for maven to generate the (for example) index.xml file and then insert my stuff? Sounds a bit odd to me ... Thanx, --mike Erik Husby wrote: Michael Niemaz wrote: Hi, I wondered how to automatically add other menus and sub-menus to the generated site in order to add some documentation (or whatever) about my project. Also, how should I handle this documentation? What's the plugin/mechanism to use? Is there a particular format? Simple, Create the directory xdocs Create the file xdocs/index.xml to get additional documentation Create the file xdocs/navigation.xml to get additional menus See the Maven sources for more details on the file format. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Stupid question about generated site
Hi, I wondered how to automatically add other menus and sub-menus to the generated site in order to add some documentation (or whatever) about my project. Also, how should I handle this documentation? What's the plugin/mechanism to use? Is there a particular format? Thanx, --mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Modifying download.xml [SOLVED]
oops, I meant 'maven.xdoc.distributionType=zip' of course ;-) Michael Niemaz wrote: I solved my initial problem which was to insert the distribution files .zip and .tar.gz in the download page. Adding the following in the project properties made the trick: maven.xdoc.distributionType=zip,tar.gz However, I can not say why it suddenly turned to work because I've been trying this for ages and it's only lately that I could see the download page fulfilled as excepted. Must have done something somehow ;-) Still, I don't know how to specify that there might be several formats to download such zip and tar.gz Thanx anyway, --mike Michael Niemaz wrote: Hi all, Is it possible to ask maven to modify/create/update download.xml so that I could add gzip links. Thanx, --mike - 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]
Re: How to create Downloads page into site? [SOLVED]
I solved my problem which was to insert the distribution files .zip and .tar.gz in the download page. Adding the following in the project properties made the trick: maven.xdoc.distributionType=zip However, I can not say why it suddenly turned to work because I've been trying this for ages and it's only lately that I could see the download page fulfilled as excepted. Must have done something somehow ;-) Still, I don't know how to specify that there might be several formats to download such zip and tar.gz Thanx anyway, --mike Gezerk wrote: Set this property: maven.xdoc.distributionUrl From the site: Location where the artifacts are distributed. This property is optional. If it is not defined, then the Download report will not be added to the navigation menu. NOTE: In the future this information will be described in the POM. Usage example: maven.xdoc.distributionUrl=http://www.ibiblio.org/maven/maven/plugins. Info here: http://maven.apache.org/reference/plugins/xdoc/properties.html On Fri, 19 Nov 2004 13:23:26 +0200 (EET), Teemu Hiltunen <[EMAIL PROTECTED]> wrote: Greetings! Is there any automagical thing to create this Downloads page into the site? Like http://maven.apache.org/reference/plugins/dist/downloads.html for example. Thanks in advance, Teemu Hiltunen - 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]
Re: Updating Download link with deployed distribution files [SOLVED]
I solved my problem which was to insert the distribution files .zip and .tar.gz in the download page. Adding the following in the project properties made the trick: maven.xdoc.distributionType=zip However, I can not say why it suddenly turned to work because I've been trying this for ages and it's only lately that I could see the download page fulfilled as excepted. Must have done something somehow ;-) Still, I don't know how to specify that there might be several formats to download such zip and tar.gz Thanx anyway, --mike Michael Niemaz wrote: Hi, I would like the download section of the generated site to link to the deployed distributions files (only bin gz and zip) instead of pointing at the jar file. Is that possible? thanx, --mike - 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]
Re: Modifying download.xml [SOLVED]
I solved my initial problem which was to insert the distribution files .zip and .tar.gz in the download page. Adding the following in the project properties made the trick: maven.xdoc.distributionType=zip,tar.gz However, I can not say why it suddenly turned to work because I've been trying this for ages and it's only lately that I could see the download page fulfilled as excepted. Must have done something somehow ;-) Still, I don't know how to specify that there might be several formats to download such zip and tar.gz Thanx anyway, --mike Michael Niemaz wrote: Hi all, Is it possible to ask maven to modify/create/update download.xml so that I could add gzip links. Thanx, --mike - 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]
Re: Distribution process [please ...]
Right thanx. I know I could do it myself but, as It is on the maven site, I thought it would be automatically done somehow, like for the jars distribution ... Thanx again, --mike Eric Giguere wrote: Hello Sure, take a look at the XML taglib of jelly, could help you do it in jelly, so in a maven goal. Otherwise, there is always the possibility of calling a custom written Java class using again jelly tags like new, invoke, and so on. Hope it helps. Eric Michael Niemaz wrote: Could someone please give me a hint? Michael Niemaz wrote: Hi all, Is it possible to ask maven to modify/create/update download.xml so that I could add gzip links. Thanx, --mike - 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] . - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Distribution process [please ...]
Could someone please give me a hint? Michael Niemaz wrote: Hi all, Is it possible to ask maven to modify/create/update download.xml so that I could add gzip links. Thanx, --mike - 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]
Distribution process
Hi all, Is it possible to ask maven to modify/create/update download.xml so that I could add gzip links. Thanx, --mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Modifying download.xml
Hi all, Is it possible to ask maven to modify/create/update download.xml so that I could add gzip links. Thanx, --mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: is maven.xdoc.distributionUrl working?
Do you mean I have to do it by hand after the 'site' goal? It's quiet weird. What's the point of having 'maven.xdoc.distributionUrl' then? What the relation between , maven.xdoc.distributionUrl and the manually created download.xml? I'm still a nit confused ... sorry ;-( --mike Charles Daniels wrote: -Original Message- From: Michael Niemaz [mailto:[EMAIL PROTECTED] Sent: Thursday, November 25, 2004 4:47 AM To: Maven Users List Subject: is maven.xdoc.distributionUrl working? Hi, No matter what I affect to maven.xdoc.distributionUrl, the download page is always empty. It only gets something when I play with but then it only links to jar files ;-( Do you know how to generate this download page which would list the files contained in maven.xdoc.distributionUrl for download? In fact, I would like to produce exactly what's on the maven download page. Automatically of course ;-) That is precisely how things are supposed to work with maven.xdoc.distributionUrl. If you want to produce a download page similar to the Maven download page, then you must create your own download.xml file. This is exactly what is done in the Maven project itself. See the Maven CVS repository (xdocs/start/download.xml): http://cvs.apache.org/viewcvs.cgi/maven/xdocs/start/. Thanx, --mike Gezerk wrote: Set this property: maven.xdoc.distributionUrl From the site: Location where the artifacts are distributed. This property is optional. If it is not defined, then the Download report will not be added to the navigation menu. NOTE: In the future this information will be described in the POM. Usage example: maven.xdoc.distributionUrl=http://www.ibiblio.org/maven/maven /plugins. Info here: http://maven.apache.org/reference/plugins/xdoc/properties.html On Fri, 19 Nov 2004 13:23:26 +0200 (EET), Teemu Hiltunen <[EMAIL PROTECTED]> wrote: Greetings! Is there any automagical thing to create this Downloads page into the site? Like http://maven.apache.org/reference/plugins/dist/downloads.html for example. Thanks in advance, Teemu Hiltunen - 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] - 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]
is maven.xdoc.distributionUrl working?
Hi, No matter what I affect to maven.xdoc.distributionUrl, the download page is always empty. It only gets something when I play with but then it only links to jar files ;-( Do you know how to generate this download page which would list the files contained in maven.xdoc.distributionUrl for download? In fact, I would like to produce exactly what's on the maven download page. Automatically of course ;-) Thanx, --mike Gezerk wrote: Set this property: maven.xdoc.distributionUrl From the site: Location where the artifacts are distributed. This property is optional. If it is not defined, then the Download report will not be added to the navigation menu. NOTE: In the future this information will be described in the POM. Usage example: maven.xdoc.distributionUrl=http://www.ibiblio.org/maven/maven/plugins. Info here: http://maven.apache.org/reference/plugins/xdoc/properties.html On Fri, 19 Nov 2004 13:23:26 +0200 (EET), Teemu Hiltunen <[EMAIL PROTECTED]> wrote: Greetings! Is there any automagical thing to create this Downloads page into the site? Like http://maven.apache.org/reference/plugins/dist/downloads.html for example. Thanks in advance, Teemu Hiltunen - 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]
Updating Download link with deployed distribution files
Hi, I would like the download section of the generated site to link to the deployed distributions files (only bin gz and zip) instead of pointing at the jar file. Is that possible? thanx, --mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven site:deploy --> download link empty ... [more]
Ok it works but now: How can I modify the generated download webpage so that it does not link to jar files but rather to the zip and gz files I created through the maven dist goal? --mike Michael Niemaz wrote: Hi, When deploying the generated site, the download section stays desperately empty or more exactly keep displaying the boring "This project has not released any version yet." message ... Is this related to the tag 'versions' in project.xml? What if it's the first version ... Should I put in 'versions' what's in the 'currentVersion' tag??? Any ideas? --mike Charles-Alexandre Sabourdin wrote: i is not working, it seem that the variable is not event modifiy :( Le mercredi 24 Novembre 2004 17:20, Steve Molloy a écrit : Try adding scope="parent" to your j:set. Steve Molloy -Original Message- From: Charles-Alexandre Sabourdin [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 10:56 AM To: Maven Users List Subject: Re: Dynamically modifing the ressources it it not woking correctly. What I am tried was to set in project.xml src/conf${configDir} in project.properties configDir=/default and in my maven.xml I creat the following goal : set configuration directory : ${configDir} unfortunatly it does not works. Le mardi 23 Novembre 2004 20:30, Brett Porter a écrit : in the resources, set it to something like: src/conf/project${foo}, then set foo to A or B. - Brett On Tue, 23 Nov 2004 12:47:55 +0100, Charles-Alexandre Sabourdin <[EMAIL PROTECTED]> wrote: Hi, I feel that this must have been discuss somewhere but I could not figure it out. The basic idea is to have 2 directory /src/conf/projetA /src/conf/projetB. I would like to set maven goals to use a specific directory. I llok aroud and found : [echo] $ {pom.build.resources}: [[dir = /home/sabourdin/Documents/projet/exemplebean/src/conf/projetA]] but I did not find how to modify this propertie :( -- Charles-Alexandre SABOURDIN - - 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] . - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
maven site:deploy --> download link empty ...
Hi, When deploying the generated site, the download section stays desperately empty or more exactly keep displaying the boring "This project has not released any version yet." message ... Is this related to the tag 'versions' in project.xml? What if it's the first version ... Should I put in 'versions' what's in the 'currentVersion' tag??? Any ideas? --mike Charles-Alexandre Sabourdin wrote: i is not working, it seem that the variable is not event modifiy :( Le mercredi 24 Novembre 2004 17:20, Steve Molloy a écrit : Try adding scope="parent" to your j:set. Steve Molloy -Original Message- From: Charles-Alexandre Sabourdin [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 10:56 AM To: Maven Users List Subject: Re: Dynamically modifing the ressources it it not woking correctly. What I am tried was to set in project.xml src/conf${configDir} in project.properties configDir=/default and in my maven.xml I creat the following goal : set configuration directory : ${configDir} unfortunatly it does not works. Le mardi 23 Novembre 2004 20:30, Brett Porter a écrit : in the resources, set it to something like: src/conf/project${foo}, then set foo to A or B. - Brett On Tue, 23 Nov 2004 12:47:55 +0100, Charles-Alexandre Sabourdin <[EMAIL PROTECTED]> wrote: Hi, I feel that this must have been discuss somewhere but I could not figure it out. The basic idea is to have 2 directory /src/conf/projetA /src/conf/projetB. I would like to set maven goals to use a specific directory. I llok aroud and found : [echo] $ {pom.build.resources}: [[dir = /home/sabourdin/Documents/projet/exemplebean/src/conf/projetA]] but I did not find how to modify this propertie :( -- Charles-Alexandre SABOURDIN - - 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]
Re: Updating scripts according to artifacts [SOLVED}
Sorry guys for having bothered for such stupid mistakes. was due to my namespaces declaration ;-( xmlns:j="jelly" WRONG xmlns:j="jelly:core" CORRECT --mike Michael Niemaz wrote: Hi all, I'd like to update my launchers when creating distribs but It does not want to work ;-( The problem here is that ${xxx.name} are always null. ${pom.artifacts} are valid though, I mean not empty: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] I have this weird message when launching maven: Tag library requested that is not present: 'jelly' in plugin: 'null' Do you think it might be the cause? If so, why do I get it? Any ideas? Thanx, --mike - 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]
Updating scripts according to artifacts
Hi all, I'd like to update my launchers when creating distribs but It does not want to work ;-( The problem here is that ${xxx.name} are always null. ${pom.artifacts} are valid though, I mean not empty: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] I have this weird message when launching maven: Tag library requested that is not present: 'jelly' in plugin: 'null' Do you think it might be the cause? If so, why do I get it? Any ideas? Thanx, --mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Changing distribution content possible?
Humm I see, that's what dist:prepare-bin-filesystem is useful for then. Thanx, --mike Stéphane Nicoll wrote: Use a postgoal for that. For instance This will put additional stuff for the binary release. You can do the same for the src release if you want. Cheers, Stéphane -Original Message- From: Michael Niemaz [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 4:48 PM To: Maven Users List Subject: Changing distribution content possible? Hi, I'd like to change the distribution content created by the dist:build goal. I tried overriding dist:build goal but I'm stuck on the tar goal which I can't seem to be able to find or even reach ... and I'm not sure it's the proper way to do it anyway. So instead of having the 'docs' directory and the jar file generated in the distribution directory, I'd like to add other files such as launchers, config files, misc, ... Any ideas? thanx, --mike - 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]
Changing distribution content possible?
Hi, I'd like to change the distribution content created by the dist:build goal. I tried overriding dist:build goal but I'm stuck on the tar goal which I can't seem to be able to find or even reach ... and I'm not sure it's the proper way to do it anyway. So instead of having the 'docs' directory and the jar file generated in the distribution directory, I'd like to add other files such as launchers, config files, misc, ... Any ideas? thanx, --mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Plugin 'maven-deploy-plugin' in project 'XXX' is not available
Thank you brett. --mike Brett Porter wrote: It's just a warning. If you upgrade to Maven 1.0.1, it is gone. - Brett On Mon, 15 Nov 2004 16:05:18 +0100, Michael Niemaz <[EMAIL PROTECTED]> wrote: Hi all, I can't seem to be able to get rid of the above message ;-( Is that just a message or should I pay attention to it ;-) Thanx, --mike - 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]
Plugin 'maven-deploy-plugin' in project 'XXX' is not available
Hi all, I can't seem to be able to get rid of the above message ;-( Is that just a message or should I pay attention to it ;-) Thanx, --mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
distribution content
Hi, I'd like to change the distribution content. I tried overriding dist:build goal but I'm stuck on the tar goal which I can't find ... and I'm not sure it's the proper way to do it anyway. So instead of having the docs directory and the jar file in the distribution files, I'd like to add other files such as launchers, config files, misc, ... Any ideas? thanx, --mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[SOLVED]: ant rmic task with maven
And indeed the problem was the value of the 'base' attribute which was accidently set to the JVM target ... so instead of 'maven.compile.target', put 'maven.build.dest' and it works fine ;-) --mike Michael Niemaz wrote: Hi all, Sorry to bother with that question but i could not make it work looking at other posts ;-( I having to rmic some classes and I seem not to be able to do it with maven. Here's my code in maven.xml: I thought we could access ant like that but I get the following error: Element... ant:rmic Line.. 58 Column 109 base does not exist! My question is : What should I use instead of 'base'? Are the 'Maven ant' tasks attributes different from the Ant ones? Or is it just that '${maven.compile.target}' is not defined at all? I should check that btw. Any ideas? Thx, --mike - 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]
ant rmic task with maven
Hi all, Sorry to bother with that question but i could not make it work looking at other posts ;-( I having to rmic some classes and I seem not to be able to do it with maven. Here's my code in maven.xml: I thought we could access ant like that but I get the following error: Element... ant:rmic Line.. 58 Column 109 base does not exist! My question is : What should I use instead of 'base'? Are the 'Maven ant' tasks attributes different from the Ant ones? Or is it just that '${maven.compile.target}' is not defined at all? I should check that btw. Any ideas? Thx, --mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Local dependencies
e:../falezrepo, http://www.ibiblio.org/maven maven.repo.local=c:/dev/projects/falezrepo compile.debug = on compile.optimize = off compile.deprecation = off On Tue, 09 Nov 2004 16:19:02 +0100, Michael Niemaz <[EMAIL PROTECTED]> wrote: Tried it but it does not work either ;-( Seems that it is not possible then ... --mike Bulent Erdemir wrote: You also might try working with a hybrid repository setting. Try something like: maven.repo.remote=file:path_to_local_repo, http://www.ibiblio.org/maven in your properties file. This way, maven will first look to your local disk, use the jar if found, and download from ibiblio (maven's default) if not found. And if you put your jar in this local directory like path_to_local_repo/your_artifact_id/jars/your_jar , maven will pick it up. This way you'll be populating a local repository which you may well use in the future for other purposes. I'm not quite sure but you might need to set maven.repo.local=path_to_local_repo also. Bulent Erdemir On Tue, 09 Nov 2004 15:33:40 +0100, Milos Kleint <[EMAIL PROTECTED]> wrote: Milos Kleint wrote: ignore the url tag, it's used just in the printout you just received. specify the path to the artifact in the jar tag.. jxip jxip ${basedir}/xip/lib/jxip.jar if it doens't work (I can't test it right now), put the properties maven.java.override=true ^^^ a typo.. should be maven.jar.override=true Milos maven.jar.jxip=${basedir}/xip/lib/jxip.jar in your project.properties file. It might be that the tag just lets you specify what jar to look for in the local repository and not at a custom place like you specified. Please check the docs for details I'm almost sure I read it somewhere. hope that helps.. Milos Kleint Michael Niemaz wrote: Recall the local dependency, I tried what you suggested and It did not work: Attempting to download jxip.jar. WARNING: Failed to download jxip.jar. The build cannot continue because of the following unsatisfied dependency: jxip.jar (try downloading from /home/popol/gkls/xip/lib/) Total time: 1 seconds Finished at: Tue Nov 09 15:11:14 CET 2004 Although the jar file jxip.jar is indeed located under /home/popol/gkls/xip/lib/ ;-( Here's my project's dependencies declaration: jxip jxip ${basedir}/xip/lib/ jxip.jar I even tried to put the jar fullpath in the jar element ... Any ideas? thx, --mike Brett Porter wrote: The download report is based on the element in the project.xml file, I believe. On Tue, 09 Nov 2004 12:19:19 +0100, Michael Niemaz <[EMAIL PROTECTED]> wrote: Thanx a lot! Also, I kind of have difficulties to deploy my stuff with the download html link being updated. All it says is that there is nothing to download. Any idea? bug? --mike Bulent Erdemir wrote: check out the tag in the element. There you can specify a jar file name. Also check out the maven.jar.override directive. On Tue, 09 Nov 2004 11:54:36 +0100, Michael Niemaz <[EMAIL PROTECTED]> wrote: Hi, Is it possible to specify a local dependency instead of a remote one? The reason is that some resources that my project is using are, for the moment, not to be acceesible by anyone from outside ... but i'd still want to use maven to ease the ditribution process of my project. I looked at the element but couldn't figure out how to specify a local path. Any idea? Thanx, --mike - 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] - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -
Re: Local dependencies
Tried it but it does not work either ;-( Seems that it is not possible then ... --mike Bulent Erdemir wrote: You also might try working with a hybrid repository setting. Try something like: maven.repo.remote=file:path_to_local_repo, http://www.ibiblio.org/maven in your properties file. This way, maven will first look to your local disk, use the jar if found, and download from ibiblio (maven's default) if not found. And if you put your jar in this local directory like path_to_local_repo/your_artifact_id/jars/your_jar , maven will pick it up. This way you'll be populating a local repository which you may well use in the future for other purposes. I'm not quite sure but you might need to set maven.repo.local=path_to_local_repo also. Bulent Erdemir On Tue, 09 Nov 2004 15:33:40 +0100, Milos Kleint <[EMAIL PROTECTED]> wrote: Milos Kleint wrote: ignore the url tag, it's used just in the printout you just received. specify the path to the artifact in the jar tag.. jxip jxip ${basedir}/xip/lib/jxip.jar if it doens't work (I can't test it right now), put the properties maven.java.override=true ^^^ a typo.. should be maven.jar.override=true Milos maven.jar.jxip=${basedir}/xip/lib/jxip.jar in your project.properties file. It might be that the tag just lets you specify what jar to look for in the local repository and not at a custom place like you specified. Please check the docs for details I'm almost sure I read it somewhere. hope that helps.. Milos Kleint Michael Niemaz wrote: Recall the local dependency, I tried what you suggested and It did not work: Attempting to download jxip.jar. WARNING: Failed to download jxip.jar. The build cannot continue because of the following unsatisfied dependency: jxip.jar (try downloading from /home/popol/gkls/xip/lib/) Total time: 1 seconds Finished at: Tue Nov 09 15:11:14 CET 2004 Although the jar file jxip.jar is indeed located under /home/popol/gkls/xip/lib/ ;-( Here's my project's dependencies declaration: jxip jxip ${basedir}/xip/lib/ jxip.jar I even tried to put the jar fullpath in the jar element ... Any ideas? thx, --mike Brett Porter wrote: The download report is based on the element in the project.xml file, I believe. On Tue, 09 Nov 2004 12:19:19 +0100, Michael Niemaz <[EMAIL PROTECTED]> wrote: Thanx a lot! Also, I kind of have difficulties to deploy my stuff with the download html link being updated. All it says is that there is nothing to download. Any idea? bug? --mike Bulent Erdemir wrote: check out the tag in the element. There you can specify a jar file name. Also check out the maven.jar.override directive. On Tue, 09 Nov 2004 11:54:36 +0100, Michael Niemaz <[EMAIL PROTECTED]> wrote: Hi, Is it possible to specify a local dependency instead of a remote one? The reason is that some resources that my project is using are, for the moment, not to be acceesible by anyone from outside ... but i'd still want to use maven to ease the ditribution process of my project. I looked at the element but couldn't figure out how to specify a local path. Any idea? Thanx, --mike - 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] - 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] - 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]
Re: Local dependencies
It almost works ;-) What it does is create a /home/popol/gkls/xip/lib/ directory in the local maven reposotory. But it's empty though ;-( --mike Charles Daniels wrote: The element of a dependency does not tell Maven where to obtain the dependency. It is merely used in the error message when Maven cannot locate the dependency in the local repository nor in any remote repository. It is supposed to indicate where you should be able manually download the dependency, as indicated in your output: jxip.jar (try downloading from /home/popol/gkls/xip/lib/) What you need to do is add the following to your project.properties: maven.jar.override=on maven.jar.jxip=${basedir}/xip/lib/jxip.jar Your dependency can be reduced to the following: jxip jxip -Original Message- From: Michael Niemaz [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 09, 2004 7:15 AM To: Maven Users List Subject: Re: Local dependencies Recall the local dependency, I tried what you suggested and It did not work: Attempting to download jxip.jar. WARNING: Failed to download jxip.jar. The build cannot continue because of the following unsatisfied dependency: jxip.jar (try downloading from /home/popol/gkls/xip/lib/) Total time: 1 seconds Finished at: Tue Nov 09 15:11:14 CET 2004 Although the jar file jxip.jar is indeed located under /home/popol/gkls/xip/lib/ ;-( Here's my project's dependencies declaration: jxip jxip ${basedir}/xip/lib/ jxip.jar I even tried to put the jar fullpath in the jar element ... Any ideas? thx, --mike Brett Porter wrote: The download report is based on the element in the project.xml file, I believe. On Tue, 09 Nov 2004 12:19:19 +0100, Michael Niemaz <[EMAIL PROTECTED]> wrote: Thanx a lot! Also, I kind of have difficulties to deploy my stuff with the download html link being updated. All it says is that there is nothing to download. Any idea? bug? --mike Bulent Erdemir wrote: check out the tag in the element. There you can specify a jar file name. Also check out the maven.jar.override directive. On Tue, 09 Nov 2004 11:54:36 +0100, Michael Niemaz <[EMAIL PROTECTED]> wrote: Hi, Is it possible to specify a local dependency instead of a remote one? The reason is that some resources that my project is using are, for the moment, not to be acceesible by anyone from outside ... but i'd still want to use maven to ease the ditribution process of my project. I looked at the element but couldn't figure out how to specify a local path. Any idea? Thanx, --mike -- --- 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] - 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] . - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Local dependencies
Recall the local dependency, I tried what you suggested and It did not work: Attempting to download jxip.jar. WARNING: Failed to download jxip.jar. The build cannot continue because of the following unsatisfied dependency: jxip.jar (try downloading from /home/popol/gkls/xip/lib/) Total time: 1 seconds Finished at: Tue Nov 09 15:11:14 CET 2004 Although the jar file jxip.jar is indeed located under /home/popol/gkls/xip/lib/ ;-( Here's my project's dependencies declaration: jxip jxip ${basedir}/xip/lib/ jxip.jar I even tried to put the jar fullpath in the jar element ... Any ideas? thx, --mike Brett Porter wrote: The download report is based on the element in the project.xml file, I believe. On Tue, 09 Nov 2004 12:19:19 +0100, Michael Niemaz <[EMAIL PROTECTED]> wrote: Thanx a lot! Also, I kind of have difficulties to deploy my stuff with the download html link being updated. All it says is that there is nothing to download. Any idea? bug? --mike Bulent Erdemir wrote: check out the tag in the element. There you can specify a jar file name. Also check out the maven.jar.override directive. On Tue, 09 Nov 2004 11:54:36 +0100, Michael Niemaz <[EMAIL PROTECTED]> wrote: Hi, Is it possible to specify a local dependency instead of a remote one? The reason is that some resources that my project is using are, for the moment, not to be acceesible by anyone from outside ... but i'd still want to use maven to ease the ditribution process of my project. I looked at the element but couldn't figure out how to specify a local path. Any idea? Thanx, --mike - 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] - 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]