Executing site:site during install breaks build
Hi all, I am trying to build a multi-module project with the following layout: project | +-- assembler +-- core +-- utils +-- gui The module gui depends on both core and utils, while assembler creates a bundle for deployment, and thus depends on the rest of modules. I want to include the generated sites for core and utils as part of the documentation in the final bundle. For this purpose, I added the following section in the pom.xml of both modules: build plugins plugin artifactIdmaven-site-plugin/artifactId executions execution idgen-docs/id goalsgoalsite/goal/goals /execution /executions /plugin /plugins /build But as soon as I add this, the project build breaks. The result is that the site plugin execution makes the lifecycle to be duplicated, or something similar. After a successful install of the core module, it tries to execute each lifecycle phase in all modules before going on to the next phase. It tries to compile all modules before installing them and, therefore, it fails in compiling the gui module because it does not find the utils module at the local repository. Is there a way to make this configuration work? Thanks in advance -- --- GRID SYSTEMS, S.A. Rodrigo Ruiz Parc Bit - Edificio 17 Analyst/Programmer 07121 Palma de Mallorca Baleares - Spain http://www.gridsystems.com/ --- smime.p7s Description: S/MIME Cryptographic Signature
Re: Site documentation format choosing
I agree with you Lukas, The APT format simpler than the rest, and this has good and bad points. Modifications at template level are applied to the whole site, and are independent from the document format, so they are not really relevant if the point is just to decide which document format to use. And macros are far more complex to create than just switching to XDoc in the few cases you need to. I generally use APT for most documents, fml for the FAQs, and XDoc only when I need to create something more complicated (usually the main page, as it usually has to be more attractive than the rest, and it is the entry point for robots and other meta-data consumers). Cheers Lukas Theussl wrote: I was only listing the differences/limitations of the document format itself. Whatever tools you use around it (maven, velocity) can be applied to any other document format as well. -Lukas nsowatsk wrote: Hi The list of meta data that you give below is partly addressed in different sections of the pom. Once they are in the pom, they also get processed by the standard Maven report plugin and so appear in various web pages created by that plugin. Also, by using velocity (.apt.vm) you can include the values of the variable from the pom file in the text of the pages generated from the .apt files. Just to clear, APT is limited, but you have to look at it holistically, and think about what the other Maven tools can do also. Regards Nathan On 29/07/2009 11:55, Lukas Theussl ltheu...@apache.org wrote: Stefan Seidel wrote: On Wed, 29 Jul 2009 10:44:28 +0200 Lukas Theussl ltheu...@apache.org wrote: turn it also lacks in flexibility and misses advanced functionality, eg (from the top of my head): - no advanced formatting and layout (eg tables) Wrong, tables are easily possible. Of course, I said *advanced* formatting and layout, tables was just an example, with apt you cannot specify eg arbitrary column widths, cell padding/spacing, frames/borders, multicolumns, tables within tables,... - no meta-information What do you mean? You can include date, author and document title. what about: author coordinates (address, email,...), subject, keywords, description, generator, robots, copyright, language, confidential, draft, creationDate, modifyDate,... You can always include those as comments of course but it won't be recognized by the parser. -Lukas Stefan - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- --- GRID SYSTEMS, S.A. Rodrigo Ruiz Parc Bit - Edificio 17 Analyst/Programmer 07121 Palma de Mallorca Baleares - Spain http://www.gridsystems.com/ --- smime.p7s Description: S/MIME Cryptographic Signature
Using a property for classifiers fails in transitive dependencies
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I am facing this problem in a project migration to Maven. Some of the sub-projects to be migrated are native libraries that currently are encapsulated in jars. I want to use the classifier for distinguising the jars to be used in different platforms. The system already supports all this stuff at runtime, so I just need to choose the right classifiers for each platform I build on. I am aware of the NAR plugin, and the migration to it is scheduled for a later phase, but it is too expensive (in terms of effort) for being done right now :'( For now, I am just leaving the current build system (ant based) for these projects, and adding a final step for local-install the resulting jars. The problem arises in the following configuration (I define a property in my settings.xml called platform.name which in my case is set to windows+x86): Master Project | +-- Project A (native) | +-- Project B (depends on A) | +-- Project C (depends on B) The following are some excerpts of these projects: project artifactIdMaster/artifactId properties A.version1.0/A.version B.version1.0/B.version C.version1.0/C.version /properties /project project parent artifactIdMaster/artifactId /parent artifactIdA/artifactId version${A.version}/version classifier${platform.name}/classifier /project project parent artifactIdMaster/artifactId /parent artifactIdB/artifactId version${B.version}/version dependencies dependency artifactIdA/artifactId version${A.version}/version classifier${platform.name}/classifier /dependency /dependencies /project project parent artifactIdMaster/artifactId /parent artifactIdC/artifactId version${C.version}/version dependencies dependency artifactIdB/artifactId version${B.version}/version /dependency /dependencies /project With such poms, the result is: * Project B works OK, it depends on A-1.0-windows+x86.jar * Project C fails: it does not find A:jar:${platform.name}:1.0 It looks like property names are not resolved in classifiers of transitive dependencies , am I right? (The version number is defined in a property in the Master project, so I am quite sure property names are being correctly resolved in versions) I have tested this with Maven 2.0.9 and 2.0.10. I am not allowed to use Maven 2.1.0 in our build system until a final release is available, so I have not tested it yet. Any insight would be more than welcome, - -- - --- GRID SYSTEMS, S.A. Rodrigo Ruiz Parc Bit - Edificio 17 Analyst/Programmer 07121 Palma de Mallorca Baleares - Spain http://www.gridsystems.com/ - --- -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) iEYEARECAAYFAknDidAACgkQp9m/F5UenDperQCfc8xtjwsbEx1+zhrXn/Yiu0Q0 NbMAn0lNq9JbwLvsg5Ex5E30ogxEyPbk =h+lm -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Styling doxia generated books
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I would like to use Doxia to generate some documentation in printable format, and I was wondering if I can control the some style aspects of the output documents. For example, for the PDF output I would like to: - - Include a table of contents and/or indexes - - Create a cover page - - Specify fonts and margins - - Specify headers and footers Is it possible with Doxia as it is, or do I have to develop my own render to achieve this? Regards, Rodrigo - -- - --- GRID SYSTEMS, S.A. Rodrigo Ruiz Parc Bit - Edificio 17 Research Coordinator 07121 Palma de Mallorca - --- -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (MingW32) iD8DBQFJguuBp9m/F5UenDoRAvQ0AJ0QU6z9aOT1+IlptDa5ktJuLcUIZwCfVzPx dD8RBai1wQywmgD34shwJgY= =X6dT -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: [ANN] Maven Reactor Plugin 1.0 Released
Dan Fabulich wrote: Wim Deblauwe wrote: 1) You spawn a different maven process are thoses processing using MAVEN_OPTS by default (most important would be the memory settings I have set)? Yes. It launches mvn with the current environment variables specified. 2) How does it know how to stop walking up the inheritance tree? What I mean is, why does not try to build hibernate for example (assuming my project depends on that)? Does there need to be a parent project with a modules/ section for it to work? Yes, it requires a modules/ section; it can only build projects specified in your modules list. (That's what a Maven reactor is: a multimodule build.) The reactor plugin has no way to build third-party libraries like Hibernate; it would have to pull the code down out from some remote SCM to do that. Would it work if I have a domain module which is used by several applications (but is just a dependency, not part of a multimodule build) to make that part of the chain (in either direction), if of course the source code is available on the building pc. Nope, a multimodule build is required here. So, if you create an aggregation project and add the domain module and all those dependant applications to its modules section, it should work, shouldn't it? :-) -Dan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- --- GRID SYSTEMS, S.A. Rodrigo Ruiz Parc Bit - Edificio 17 Research Coordinator 07121 Palma de Mallorca[EMAIL PROTECTED] Baleares - Spain Tel: +34 971 435 085 http://www.gridsystems.com/Fax: +34 971 435 082 --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: c++ maven project
Hi Laura, Take a look at the FREEHEP NAR plugin: http://java.freehep.org/freehep-nar-plugin/philosophy.html It may be what you are looking for :-) Best regards, Rodrigo Laura Lozano wrote: Hello, I would like to know if is possible to use maven for create and build a C++ project. In this case, is there any available tutorial or documentation explaining how to proceed? Thank you. -- --- GRID SYSTEMS, S.A. Rodrigo Ruiz Parc Bit - Edificio 17 Research Coordinator 07121 Palma de Mallorca Baleares - Spain Tel: +34 971 435 085 http://www.gridsystems.com/Fax: +34 971 435 082 --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] Native plugin and multi-platform C++ projects How-To
Hi all, I am trying to migrate a C++ project to Maven2, but I have troubles to find out the right way to go. The current project uses a Makefile for several Unix systems (custom, no automake used), and separate Visual Studio project files for Windows. The artifact to generate is a shared library. AFAICS, I have several options for the general project layout: - Use the antrun plugin to build the project using the already existent Makefile and VS project files. Surely, this is the fastest to implement and the best for a quick prototype, but I would prefer to keep a single build system. Right now, I see it more like a patch than a final solution. - Use the native plugin and, making extensive use of profiles, manage to get a single project that can be built in any platform. I am not sure that it would be feasible to make the packaging and classifier of the produced artifact reflect the library extension and the target OS/platform in the file name. - Using again the native plugin, create a multi-module project. The parent would contain the C++ source code, while each child module would be devoted to create a single OS/platform specific artifact. Which one do you think is the best? Is there any other way to do this? By the way, can native be used for C#, VB, Delphi, etc.? There are more issues related to the same migration, but I think it is better to go step by step ;-) Please, any comment or advice would be very welcome! Cheers, -- --- GRID SYSTEMS, S.A. Rodrigo Ruiz Parc Bit - Edificio 17 Research Coordinator 07121 Palma de Mallorca Baleares - Spain http://www.gridsystems.com/ --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Deploying to multiple repositories
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mmmm, I think there was a mention in another thread to how to create several artifacts for different configurations in only one call to mvn (I think it was related to create jars with and without debug information, or something like that). Maybe the same technique could be applied here, but I haven't been able to find the thread :-( Does anybody remember the thread I am talking about? Regards, Rodrigo David Jackman wrote: Maven won't deploy to more than one repository at all, let alone having some artifacts go to one repository and a different set go to another. I've created a pom with two profiles indicating a different distributionManagement section and activated both, but the artifact was only deployed to the first repository. A quick look at Jira didn't find an enhancement request for deploys to multiple repositories; I should write that up, since I still do want to do it. But even that wouldn't do what you're looking to do. What you want would require earmarking each artifact for specific repositories. That would probably require the support of the plugins creating the artifacts (since they are the only things that know about these artifacts). ..David.. -Original Message- From: Samuel Le Berrigaud [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 12:40 AM To: Maven Users Subject: Deploying to multiple repositories Hi all, here is what I am trying to achieve: - I have two repositories; -- a public one where only binaries go, -- and a private one where binaries, sources and javadocs go. I would like to be able to deploy to those two repositories by running 'mvn deploy' (once). What I thought could be (almost) possible would be to define two executions for the maven-deploy-plugin that would use two different profiles with the proper configuration for distirbution repositories, binaries, sources and javadocs generations. Unfortunately I could not find how to activate profiles just for an execution! I have the feeling that profiles are activated for the whole lifcycle and that there is no way to change that through configuration at the moment... Does someone know if what I am trying to do is feasible? How? Thanks for your help, SaM - 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] - -- - --- GRID SYSTEMS, S.A. Rodrigo Ruiz Parc Bit - Edificio 17 Research Coordinator 07121 Palma de Mallorca[EMAIL PROTECTED] Baleares - Spain Tel: +34 971 435 085 http://www.gridsystems.com/Fax: +34 971 435 082 - --- -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (MingW32) iD8DBQFGAqmIp9m/F5UenDoRAhcYAKCIkoioB45UmZA3eDpRq/aEXyQQTQCcC3V6 tH0lg9YPhtzdntuBZcG5fOs= =k4v+ -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven2 plugin for eclipse : OK now
Hi, It is possible that dependencies with system scope are not correctly handled by the plugin. Check that tools.jar appears in the list of jars within the Maven Dependencies library container. If it is not there, just add it manually to the Eclipse project classpath. Hope this helps you, Rodrigo Marouane Amraoui wrote: The missing file jar is com.sun.tools . is a dependency of commons- attributs-compiler. In the pom file of commons-attributs-compiler : groupIdcom.sun/groupId artifactIdtools/artifactId version1.4.2/version scopesystem/scope systemPath${java.home}/../lib/tools.jar/systemPath /dependency I didn't undrestand what i need to do in this case -Message d'origine- De : Marouane Amraoui [mailto:[EMAIL PROTECTED] Envoyé : mardi 13 mars 2007 11:11 À : Maven Users List Objet : RE: Maven2 plugin for eclipse : OK now Is OK now :). So i noticed that in the pom file signal an error of a messing jar . for that the container doesn't work I think. Thx a lot for your help. -Message d'origine- De : Marouane Amraoui [mailto:[EMAIL PROTECTED] Envoyé : mardi 13 mars 2007 10:56 À : Maven Users List Objet : RE: Maven2 plugin for eclipse I enabled the maven project , but still have error compilation due of the dependency I have this classpath : .classpath ?xml version=1.0 encoding=UTF-8? classpath classpathentry kind=src path=src/java/ classpathentry output=target/test-classes kind=src path=src/test/ classpathentry kind=con path=org.eclipse.jdt.launching.JRE_CONTAINER/ classpathentry kind=con path=org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER/ classpathentry kind=output path=target/classes/ /classpath .project ?xml version=1.0 encoding=UTF-8? projectDescription nameframework/name comment/comment projects /projects buildSpec buildCommand nameorg.eclipse.jdt.core.javabuilder/name arguments /arguments /buildCommand buildCommand nameorg.maven.ide.eclipse.maven2Builder/name arguments /arguments /buildCommand /buildSpec natures natureorg.eclipse.jdt.core.javanature/nature natureorg.maven.ide.eclipse.maven2Nature/nature /natures /projectDescription -Message d'origine- De : Hayes, Peter [mailto:[EMAIL PROTECTED] Envoyé : lundi 12 mars 2007 19:39 À : Maven Users List Objet : RE: Maven2 plugin for eclipse Yes, you will not have to manage the .classpath manually. Make sure to remove any entries defined in there that are now redundant based on the m2eclipse plugin's classpath management. I generally have the following in my .classpath files : ?xml version=1.0 encoding=UTF-8? classpath classpathentry kind=src path=src/main/java/ classpathentry kind=src path=src/main/resources/ classpathentry kind=src path=src/test/java/ classpathentry kind=src path=src/test/resources/ classpathentry kind=con path=org.eclipse.jdt.launching.JRE_CONTAINER/ classpathentry kind=con path=org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER/ classpathentry kind=output path=classes/ /classpath Pete -Original Message- From: Marouane Amraoui [mailto:[EMAIL PROTECTED] Sent: Monday, March 12, 2007 3:31 PM To: Maven Users List Subject: RE: Maven2 plugin for eclipse I didn't have enabled my project maven . so If I enable it we don't need to execute eclipse:eclipse inorder to synchronize the pom dependency and .classpth -Message d'origine- De : Hayes, Peter [mailto:[EMAIL PROTECTED] Envoyé : lundi 12 mars 2007 19:22 À : Maven Users List Objet : RE: Maven2 plugin for eclipse Sorry, make sure that you enable the plugin on your project. You have to right-click the project and there should be a Maven2 menu. Select enable. Pete -Original Message- From: Hayes, Peter Sent: Monday, March 12, 2007 3:20 PM To: Maven Users List Subject: RE: Maven2 plugin for eclipse http://m2eclipse.codehaus.org/ This plugin keeps your classpath in synch with your pom file via an Eclipse classpath container. It's very good. -Original Message- From: Marouane Amraoui [mailto:[EMAIL PROTECTED] Sent: Monday, March 12, 2007 2:05 PM To: Maven Users List Subject: Maven2 plugin for eclipse I m using Maven2 plugin for eclipse . Version plugin is : 0.0.10. I created a maven project . I added dependency using the plugin. when I add the dependency it only added in pom file and note in eclipse file .classpath this obligate me to do A double work There is a solution for that ???
Re: maven-assembly-plugin converts com.xxx - packages to COM.xxx - packages
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, The assembly plugin, by default, unpacks all dependencies into a common directory hierarchy. If you put unpackfalse/unpack within the binary section of your assembly descriptor, the dependencies should be copied as jars. It will change the layout of your assembly, but it will save you from these errors. HTH, Rodrigo Schoenen, Holger wrote: Hi, from my project I want to generate an executable jar file. I use java 1.4 on windows. As described in the plugin documentation my pom containes the following: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.4/source target1.4/target /configuration /plugin plugin artifactIdmaven-assembly-plugin/artifactId configuration descriptorRefs descriptorRefjar-with-dependencies/descriptorRef /descriptorRefs /configuration /plugin It collects all libraries, the project is depending on (thats good!) and the java runtime libraries e.g.: COM.rsa.asn1.SunJSSE_b0.class ... The package starts with capital COM.! All further packages starting with standard lower letter names as com.sun.mail are converted to COM.sun.mail...! Probably this is, why windows file system doesnt distinguish. Is this a bug? Is there a work around? Can I exclude all COM.-packages? Thx for help Holger Schoenen ** Disclaimer: Diese E-Mail kann vertrauliche und/oder rechtlich geschuetzte Informationen enthalten. Wenn Sie nicht der beabsichtigte Empfänger sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender telefonisch oder per E-Mail und loeschen Sie diese E-Mail aus Ihrem System. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. Wir haften nicht für die Unversehrtheit von E-Mails, nachdem sie unseren Einflussbereich verlassen haben. Disclaimer: This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately by call or e-mail and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. We are not responsible for the integrity of e-mails after they have left our sphere of control. ** sds business services GmbH Stinnes-Platz 1 45472 Muelheim an der Ruhr Amtsgericht Duisburg, HRB 18564 Geschaeftsfuehrer: Dr. Bodo Roiko (Vorsitzender) Albrecht Held Bernhard Wildt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - -- - --- GRID SYSTEMS, S.A. Rodrigo Ruiz Parc Bit - Edificio 17 Research Coordinator 07121 Palma de Mallorca[EMAIL PROTECTED] Baleares - Spain Tel: +34 971 435 085 http://www.gridsystems.com/Fax: +34 971 435 082 - --- -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (MingW32) iD8DBQFF6DwKp9m/F5UenDoRAjWQAJ9QElb5aQBGt6Ra7WZ/D/ykpX2o8ACfZSlU F1r6jXV4dhmeXIhlMEe4y8U= =aT7N -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to generate sources from templates
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi everybody, I need to generate text files from filtered resources, but I do not want them to be copied to the target/classes folder. The files are C header templates that I want to filter using some properties defined through maven profiles. Is there a way to do this apart from using the ant plugin? Thanks, - -- - --- GRID SYSTEMS, S.A. Rodrigo Ruiz Parc Bit - Edificio 17 Research Coordinator 07121 Palma de Mallorca Baleares - Spain Tel: +34 971 435 085 http://www.gridsystems.com/Fax: +34 971 435 082 - --- -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (MingW32) iD8DBQFF5YHcp9m/F5UenDoRAhbIAJ4/UqCDWSh4iw6grvggAlQRQ4u/xQCffGp0 s+wJx9fbxI8Xub251/7Iplw= =6BGb -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] runtime scope but not transitive
Mmmm, then, why do you want to stop transitivity? If you depend on a war module which depends on implJarModule at runtime, then your final module will also depend on it. Maybe your final module includes another implementation? Anyway, I guess what you need is to declare the dependency as: dependency groupId.../groupId artifactIdimplJarModule/artifactId scoperuntime/scope optionaltrue/optional /dependency The optional flag should break transitivity. Regards Rémy Sanlaville wrote: Thanks Rodrigo for your reply. I think provided is the right value for this I prefer to say provided is the best solution (compared with the others) but not the right. Why ? Because if you need my warModule, you will see that it has a dependency to implJarModule with the provided scope. So you will think that implJarModule is needed for compilation. But it's not true, because warModule just need it for runtime. As a result, you will add a dependency for implJarModule with a compile scope rather than a runtime scope. Regards, Rémy -- --- GRID SYSTEMS, S.A. Rodrigo Ruiz Parc Bit - Edificio 17 Research Coordinator 07121 Palma de Mallorca[EMAIL PROTECTED] Baleares - Spain Tel: +34 971 435 085 http://www.gridsystems.com/Fax: +34 971 435 082 --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] runtime scope but not transitive
I think provided is the right value for this Regards Rémy Sanlaville wrote: Anybody can help me (isn't it clear enough) ? any thoughts? Rémy -- --- GRID SYSTEMS, S.A. Rodrigo Ruiz Parc Bit - Edificio 17 Research Coordinator 07121 Palma de Mallorca Baleares - Spain Tel: +34 971 435 085 http://www.gridsystems.com/Fax: +34 971 435 082 --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] No xref report when executing site:stage?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, Using Maven 2.0.4, if I do the following on my (multi-module) project: mvn clean site site:stage -DstagingDirectory=Z:\ The resulting site has no xref pages. I can see them in each [module]\target\site\xref folder, but they are not copied to Z:\. There, only a stylesheet.css and an empty index.html (0 bytes) are generated. Is this a known issue? Regards - -- - --- GRID SYSTEMS, S.A. Rodrigo Ruiz Parc Bit - Edificio 17 Research Coordinator 07121 Palma de Mallorca Baleares - Spain Tel: +34 971 435 085 http://www.gridsystems.com/Fax: +34 971 435 082 - --- -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (MingW32) iD8DBQFFyI1cp9m/F5UenDoRAmWaAJ0UIsOW90jcot31qTW4ybo7djmqLACeJtSg FMoC5czqz6WupmfO34JBmkA= =/DC/ -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Copyright on the stylus skin images
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I would like to know if we need explicit permissions for publishing a site generated with the Maven stylus skin and using some slightly modified images from it (for inserting our project and company logos). Regards - -- - --- GRID SYSTEMS, S.A. Rodrigo Ruiz Parc Bit - Edificio 17 Research Coordinator 07121 Palma de Mallorca Baleares - Spain Tel: +34 971 435 085 http://www.gridsystems.com/Fax: +34 971 435 082 - --- -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (MingW32) iD8DBQFFyJDKp9m/F5UenDoRAn6fAJ9IT5A94lv7z+hsfAdxuvpKCj0bCwCbB0Vg fg68IZo0Pel561Yq2oHabZU= =4mja -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How can i connect to a password protected repository?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 No, Andrew was right. The servers/server entry in settings.xml is for any remote server. Just give it a try ;-) Cheers, Rodrigo Ruiz Maruf Aytekin wrote: I think this is for deploying artifacts. and the settings are the settings to login the server. I have an http server running to serve my artifact repository username and passsword protected. I found this solution usses url with username and password: repository idinternal/id namemycompany Repository/name urlhttp://username:[EMAIL PROTECTED]/repository/maven2/url /repository But I am getting authentication error with this and also with this solution I don't want username and password go with pom.xml. Is there a different way to achieve this? Thanks Maruf Andrew Williams wrote: In settings.xml - something like servers server idinternal/id username.../username password.../password /server /servers Andy Maruf Aytekin wrote: I would like to set a password protected repository. In order to download from repository you need to enter usernae and password to apache authentication prompt. Where should I configure it? in the pom or settings file? repositories repository idinternal/id nameMyCompany Repository/name urlhttp://mycompany.com/repository/maven2/url /repository /repositories Thanks for the help, Maruf - -- - --- GRID SYSTEMS, S.A. Rodrigo Ruiz Parc Bit - Edificio 17 Research Coordinator 07121 Palma de Mallorca Baleares - Spain Tel: +34 971 435 085 http://www.gridsystems.com/Fax: +34 971 435 082 - --- -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (MingW32) iD8DBQFFxy+5p9m/F5UenDoRAt+wAJ9zzqZhlY92NOwFR7n6AOJ4g7tyvwCgs7E3 0DktK0H3WAHSIOkHcmfHlnU= =6N+9 -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] Siblilng dependencies not found when building a multi-module project
Thank you very much! It works like a charm :-) Best regards, Rodrigo Ruiz Jörg Schaible wrote: Hi Rodrigo, Rodrigo Ruiz wrote: Hi Wayne, thanks for your prompt response :-) I have tried to create a simple testcase for my problem, and I have discovered that the problem is not where I thought it was :-P The problem is not in the compilation step. The problem appears with 'mvn assembly:assembly', and I have found it in my project because the assemblies are created as part of the package phase: plugin artifactIdmaven-assembly-plugin/artifactId executions execution idmake-assembly/id phasepackage/phase goals goalattached/goal /goals /execution /executions configuration descriptors descriptor${basedir}/src/main/assembly/bin.xml/descriptor descriptor${basedir}/src/main/assembly/src.xml/descriptor /descriptors /configuration /plugin My intention with this configuration was to ensure that the assemblies are installed whenever I invoke mvn install or mvn deploy. Should I use a different phase for this? Use goal single, attached confuses multi-module builds. - Jörg -- --- GRID SYSTEMS, S.A. Rodrigo Ruiz Parc Bit - Edificio 17 Research Coordinator 07121 Palma de Mallorca[EMAIL PROTECTED] Baleares - Spain Tel: +34 971 435 085 http://www.gridsystems.com/Fax: +34 971 435 082 --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] Siblilng dependencies not found when building a multi-module project
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I am working in a rather large multi-module project in which several modules depend on sibling and parent artifacts (within the same project). Using Maven 2.0.4, if I try to compile / package / install / deploy the whole project with a clean local repository (e.g. the first time I do a checkout), the process fails at compile time because it does not find any installed artifact in the local repository. Is this a reported bug? I haven't found any related JIRA report. My guess is that the Maven dependency resolution system is not including the generated artifacts once they have been built. Is there any way to achieve this? Even with mvn install, it tries to compile all modules before packaging or installing them, thus failing when it finds the first module with internal dependencies. Thanks in advance, Rodrigo Ruiz - -- - --- GRID SYSTEMS, S.A. Rodrigo Ruiz Parc Bit - Edificio 17 Research Coordinator 07121 Palma de Mallorca Baleares - Spain http://www.gridsystems.com/ - --- -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (MingW32) iD8DBQFFwJoPp9m/F5UenDoRAqeiAJ4nRwI8/2QB2qipXobWAdxPWJt8iwCeMXOr mnoHAh6oZIuEu1X0pTt+ICs= =1Neo -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] Siblilng dependencies not found when building a multi-module project
Hi Wayne, thanks for your prompt response :-) I have tried to create a simple testcase for my problem, and I have discovered that the problem is not where I thought it was :-P The problem is not in the compilation step. The problem appears with 'mvn assembly:assembly', and I have found it in my project because the assemblies are created as part of the package phase: plugin artifactIdmaven-assembly-plugin/artifactId executions execution idmake-assembly/id phasepackage/phase goals goalattached/goal /goals /execution /executions configuration descriptors descriptor${basedir}/src/main/assembly/bin.xml/descriptor descriptor${basedir}/src/main/assembly/src.xml/descriptor /descriptors /configuration /plugin My intention with this configuration was to ensure that the assemblies are installed whenever I invoke mvn install or mvn deploy. Should I use a different phase for this? Regards, Rodrigo Wayne Fay wrote: Assuming all your parent, module, and dependency tags are properly defined, the reactor should be able to figure out the proper order to build your modules to avoid problems. I'd suspect something is wrong in one (or more) of your pom files, as I have never seen this myself and I know there are numerous tests etc in the Maven2 code which were created to avoid these problems. If you decide that you certainly have a bug and can demonstrate it with a few small files, please open a JIRA bug report and attach a zip with the pom.xml files etc. Wayne On 1/31/07, Rodrigo Ruiz [EMAIL PROTECTED] wrote: Hi all, I am working in a rather large multi-module project in which several modules depend on sibling and parent artifacts (within the same project). Using Maven 2.0.4, if I try to compile / package / install / deploy the whole project with a clean local repository (e.g. the first time I do a checkout), the process fails at compile time because it does not find any installed artifact in the local repository. Is this a reported bug? I haven't found any related JIRA report. My guess is that the Maven dependency resolution system is not including the generated artifacts once they have been built. Is there any way to achieve this? Even with mvn install, it tries to compile all modules before packaging or installing them, thus failing when it finds the first module with internal dependencies. Thanks in advance, Rodrigo Ruiz - 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] -- --- GRID SYSTEMS, S.A. Rodrigo Ruiz Parc Bit - Edificio 17 Research Coordinator 07121 Palma de Mallorca[EMAIL PROTECTED] Baleares - Spain Tel: +34 971 435 085 http://www.gridsystems.com/Fax: +34 971 435 082 --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using yGuard with Maven2
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, AFAIK yGuard is an ant task. You could use the maven antrun plugin: http://maven.apache.org/plugins/maven-antrun-plugin/ Regards, Rodrigo gautam roy wrote: Hi, I want to use yGuard as obfuscator in my project. Can anyone help me, please. regards, gautam - Want to start your own business? Learn how on Yahoo! Small Business. - -- - --- GRID SYSTEMS, S.A. Rodrigo Ruiz Parc Bit - Edificio 17 Research Coordinator 07121 Palma de Mallorcarruiz AT gridsystems.com Baleares - Spain Tel: +34 971 435 085 http://www.gridsystems.com/Fax: +34 971 435 082 - --- -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (MingW32) iD8DBQFFtxcsp9m/F5UenDoRAquxAKDEY+nFcciHma/SEPIHimbZTJG8KQCghK6P bovC6MIyOVwWQlQynaaYSx8= =oDmv -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Can assemblies be deployed with mvn deploy?
Hi all, I would like to know if there is any way to configure the deploy plugin to include one or more assemblies. For example, I am creating several assemblies for a Java application (in tar.gz, tar.bz2 and zip formats). To deploy all the artifacts, I have to execute a shell script like: mvn deploy mvn deploy:deploy-file -Dfile=target/my-bundle.tar.gz ... mvn deploy:deploy-file -Dfile=target/my-bundle.tar.bz2 ... mvn deploy:deploy-file -Dfile=target/my-bundle.zip ... but I would like to get the same results just by configuring the deploy plugin. I have searched through the documentation with no luck. Thanks in advance, Rodrigo Ruiz -- --- GRID SYSTEMS, S.A. Rodrigo Ruiz Parc Bit - Edificio 17 Research Coordinator 07121 Palma de Mallorcarruiz AT gridsystems DOT com Baleares - Spain Tel: +34 971 435 085 http://www.gridsystems.com/Fax: +34 971 435 082 --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can assemblies be deployed with mvn deploy?
Thank you Nicolas, it is exactly what I was looking for :-) nicolas de loof wrote: Take a look at Building an Assembly as Part of the Build Lifecycle in http://maven.apache.org/plugins/maven-assembly-plugin/usage.html. AFAIK an assembly will be deployed when build using the attached goal as part of the deploy process. 2007/1/16, Rodrigo Ruiz: Hi all, I would like to know if there is any way to configure the deploy plugin to include one or more assemblies. For example, I am creating several assemblies for a Java application (in tar.gz, tar.bz2 and zip formats). To deploy all the artifacts, I have to execute a shell script like: mvn deploy mvn deploy:deploy-file -Dfile=target/my-bundle.tar.gz ... mvn deploy:deploy-file -Dfile=target/my-bundle.tar.bz2 ... mvn deploy:deploy-file -Dfile=target/my-bundle.zip ... but I would like to get the same results just by configuring the deploy plugin. I have searched through the documentation with no luck. Thanks in advance, Rodrigo Ruiz -- --- GRID SYSTEMS, S.A. Rodrigo Ruiz Parc Bit - Edificio 17 Research Coordinator 07121 Palma de Mallorcarruiz AT gridsystems DOT com Baleares - Spain Tel: +34 971 435 085 http://www.gridsystems.com/Fax: +34 971 435 082 --- - 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]