maven filter and UTF-8

2006-11-27 Thread jan_bar
Hi, It seems to me that maven 2.0.4 filter corrupts UTF-8 files. I have a XML file with UTF-8 encoding that doesn't contain any replacement strings, but it is filtered. The resulting file is not the same as source file, UTF-8 characters are wrong. Why maven modifies the file? I suspect, that the

Re: Patching plugins

2006-10-08 Thread jan_bar
Thanks Wendy, see inline The http://docs.codehaus.org/display/MAVENUSER/Patching+Maven+Plugins says, that I should replace the -SNAPSHOT with -INTERNAL. Comparing those string, which one is newer? -SNAPSHOT or -INTERNAL? The Better Builds with Maven says nothing about this case.

Re: Patching plugins

2006-10-07 Thread jan_bar
So I reply to myself (if somebody cares about the same problems as I do): 1. Comparing artifact versions: The Better Builds with Maven, p. 61 first para says, that A version that contains a qualifier is always considered newer than a version without a qualifier; for example, 1.2 is newer than

Patching plugins

2006-10-06 Thread jan_bar
Hello, I have some troubles with patched plugins. 1. Comparing artifact versions: The Better Builds with Maven, p. 61 first para says, that A version that contains a qualifier is always considered newer than a version without a qualifier; for example, 1.2 is newer than 1.2-beta. This is in

Override plugin properties

2006-10-06 Thread jan_bar
Hello, plugin POM: Plugin POM: project properties xjavadoc.version1.1/xjavadoc.version /properties ... dependencies dependency ... version${xjavadoc.version}/version /dependency /dependencies /project How can I override the xjavadoc.version from my artifact pom, that uses

xbean 2.2 doesn't have POM in central repo

2006-10-05 Thread jan_bar
Hi, the http://www.ibiblio.org/maven2/xmlbeans/xbean/2.2.0/ doesn't have it's POM in central repository. Where should I fill bug report? Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

(-INTERNAL) POM from internal repo is not downloaded

2006-10-05 Thread jan_bar
Hi, I have a patched plugin in our internal repo. The repo contains the plugin jar and the pom, both with -INTERNAL version. When I run maven that uses this plugin, the POM is not downloaded from the internal repository, only the plugin jar is downloaded. Here is maven output: [DEBUG]

Does Maven prompt for password?

2006-10-04 Thread jan_bar
Hi, I am testing deploy:deploy-file to out internal repository. This is my settings: interactiveModetrue/interactiveMode server idssh-server/id usernameroot/username passwordugly/password configuration sshExecutableD:\Progra~1\Utils\Putty\plink/sshExecutable

Patching plugins

2006-09-30 Thread jan_bar
Hi, I need to patch several plugins, but it seems too complicated to do. I already read http://docs.codehaus.org/display/MAVENUSER/Patching+Maven+Plugins, but I do not fully understand it. Are there any other resources about this topic? Thanks, Jan List of needed patches: *

Re: Patching plugins

2006-09-30 Thread jan_bar
, Not that I'm aware of, but it's basically the same as providing patches for any open source project: check out the source, modify it, svn diff patch and attach the patch to the issue tracker so others can benefit. What part of the wiki is unclear? -- Kenney jan_bar wrote: Hi, I need to patch

Re: Patching plugins

2006-09-30 Thread jan_bar
Thanks Wendy, the ejb plugin works for me too, now I will have to share it with my team. I will try and see... Jan Wendy Smoak [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On 9/30/06, jan_bar [EMAIL PROTECTED] wrote: I need to patch several plugins, but it seems too complicated

Override plugin dependency version

2006-09-29 Thread jan_bar
Hi, I use a plugin (xmlbeans-maven-plugin). It depends on some jar (xmlbeans/xbean-2.0.0.jar) but I want to use new version of that jar (xbean-2.2.0.jar). How can I do that? If I specify new version in my POM dependencies, the plugin still downloads (and apprently uses) old version. Thank you,

Re: Re: Flat directory structure and Eclipse

2006-08-10 Thread jan_bar
HI, there is still one trouble. When you use version control system (CVS, SVN, ..) plugin in Eclipse, you cannot checkout/commit the files in root folder, because the root folder is not part of Eclipse workspace. Jan Stefan Magnus Landrø [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]

Re: Re: Re: Flat directory structure and Eclipse

2006-08-10 Thread jan_bar
Try setting up the parent project as an eclipse project manually. Yes, that is possible, but it will create confusing layout, because the same files (in subfolders) will be part of two different Eclipse projects (+ twice as much metadata in Eclipse). I hardly ever edit my paretn project

Guide to using Eclipse with Maven 2.x

2006-08-10 Thread jan_bar
Hi, I tried to follow the guide at http://maven.apache.org/guides/mini/guide-ide-eclipse.html for multiple module project, but running: mvn archetype:create -DgroupId=guide.ide.eclipse -DartifactId=guide-ide-eclipse results in: [INFO] Searching repository for plugin with prefix: 'archetype'.

Re: Guide to using Eclipse with Maven 2.x

2006-08-10 Thread jan_bar
Thanks Stefan, in fact, I got checksum errors when maven downloaded archetype plugin: [INFO] Searching repository for plugin with prefix: 'archetype'. Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-arch etype/1.0-alpha-4/maven-archetype-1.0-alpha-4.pom 2K downloaded

Maven, Eclipse, SVN, J2EE and directory layout

2006-08-10 Thread jan_bar
Hi, I have spent quite a time looking for good J2EE directory layout that will work with maven, Eclipse and SVN (CVS). It's not clear to me how you solve this problem. So far here are two options and their troubles: 1. Flat layout (parent POM folder is located next to EJB, WAR, ... folders).

Re: Maven, Eclipse, SVN, J2EE and directory layout

2006-08-10 Thread jan_bar
1. Flat layout (parent POM folder is located next to EJB, WAR, ... folders). This plays nice with Eclipse/SVN, but has troubles: maven1 cannot handle this structure, maven2 plugins has issues with this structure (release plugin), this is not standard layout This is also not supported by

Flat directory structure and Eclipse

2006-08-09 Thread jan_bar
Hi, The flat directory is recommended for J2EE projects: myProject / pom.xml | |-- EAR / pom.xml | |-- EJB / pom.xml | |-- WEB / pom.xml This structure is not entirely flat because of the root myProject / pom.xml. It is not clear to me how this structure fits into Eclipse workspace. Do you have

Re: Flat directory structure and Eclipse

2006-08-09 Thread jan_bar
Thanks Stefan, I don't use the eclipse plugin, but it makes no difference. So, if I understand you well, you have the structure recomended by Maven doc outside of Eclipse workspace and use Eclipse links to each fo the EAR/EJB/WAR subfolders? Are there any troubles with this setup? Jan Hi Jan,

Re: Re: Flat directory structure and Eclipse

2006-08-09 Thread jan_bar
Thanks Stefan for your time. Stefan Magnus Landrø [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] The eclipse plugin is included by default try running mvn eclipse:eclipse. It will generate the project/classpath files for you automatically. You can of course set up the projects

Maven2 command line reference

2006-07-31 Thread jan_bar
Hi, I searched maven site and even used Google, but I cannot find any documentation about maven command line switches. For instance mvn -N install, what is the meaning of the -N? Thanks, Jan - To unsubscribe, e-mail: [EMAIL

XMLBeans plugin for maven1?

2006-06-21 Thread jan_bar
Hi, where can I found XMLBeans plugin for maven 1 (-1.1-beta-2)? Thanks, Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: XMLBeans plugin for maven1?

2006-06-21 Thread jan_bar
Is this the latest version (for maven 1)? http://issues.apache.org/jira/browse/XMLBEANS-124 Thanks, Jan jan_bar [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, where can I found XMLBeans plugin for maven 1 (-1.1-beta-2)? Thanks, Jan

Re: Does maven work with characters like and ?

2005-10-13 Thread jan_bar
There is a lot of small troubles: ant:echo seems to convert the to the character entity, I cannot output it as single character: ant:echo![CDATA[]/ant:echo jelly handles the variable text differently: !-- jelly error ... -- j:set var=test value= escapeText=no/ ... in plugin.properties: test=

Re: Plugin for Eclipse plugins

2005-10-13 Thread jan_bar
news:[EMAIL PROTECTED] There is some working going on at http://svn.apache.org/repos/asf/incubator/felix/trunk/tools/maven2/maven-osgi-plugin/ -Dan On 10/4/05, jan_bar [EMAIL PROTECTED] wrote: Hi, is there maven plugin that helps developing Eclipse plugins and RCP? For instance META-INF

Does maven work with characters like and ?

2005-10-12 Thread jan_bar
Hi, my variable needs to contain the characters like '', '' and ''. But maven always converts them to entities (lt;, gt;, amp;). How can I disable this conversion? (maven 1.1 beta2) Jan - To unsubscribe, e-mail: [EMAIL

Re: Does maven work with characters like and ?

2005-10-12 Thread jan_bar
Some samples: !-- error, value cannot contain '' -- j:set var=test value=/ however: j:set var=test![CDATA[]]/j:set !-- outputs funny test: amp;lt;amp;gt;gt; -- ant:echotest: ${test}/ant:echo j:set var=test value=gt;/ !-- outputs test: gt; -- ant:echotest: ${test}/ant:echo When I set the

Re: Does maven work with characters like and ?

2005-10-12 Thread jan_bar
format is most likely: j:set var=test value=lt;gt;/ -Stephen On 10/12/05, jan_bar [EMAIL PROTECTED] wrote: Some samples: !-- error, value cannot contain '' -- j:set var=test value=/ however: j:set var=test![CDATA[]]/j:set !-- outputs funny test: lt;gt; -- ant:echotest: ${test}/ant:echo

Maven era plugin

2005-10-05 Thread jan_bar
Hi, (don't know if this is Maven 1.1 specific). The ear plugin doesn't handle type=aop in cactus:generate-ear-descriptor goal. Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Maven era plugin

2005-10-05 Thread jan_bar
It's too late and I made two typos. I am speaking about Maven EAR plugin and EAR:generate-ear-descriptor goal. (the very same problem is in cactus:generate-ear-descriptor goal too) Time to sleep, Jan (don't know if this is Maven 1.1 specific). The ear plugin doesn't handle type=aop in

Plugin for Eclipse plugins

2005-10-04 Thread jan_bar
Hi, is there maven plugin that helps developing Eclipse plugins and RCP? For instance META-INF/MANIFEST.MF contains list of dependant libraries. But I cannot specify library that is in maven repository. Thanks, Jan - To

jelly variables scope

2005-09-29 Thread jan_bar
Hi, what is the scope of variable in Jelly script? For instance, I want to skip JUnit tests in cacuts:test, is the following Jelly correct? !-- skip JUnit tests during cactus test -- preGoal name=cactus:test j:set var=maven.test.skip.old-value value=${maven.test.skip} / j:set

multiproject and jelly variables

2005-09-29 Thread jan_bar
Hi, how are variables handled in multiproject? When I set a variable and call goals in subprojects, the variable seems to be ignored: goal name=gc:test-cactus !-- skip JUnit tests -- j:set var=maven.test.skip value=true / j:set var=cactus.test.skip value=false / maven:reactor basedir=.

Re: multiproject and jelly variables

2005-09-29 Thread jan_bar
Thanks Dion Jan goal name=gc:test-cactus !-- skip JUnit tests -- j:set var=maven.test.skip value=true / j:set var=cactus.test.skip value=false / maven:reactor basedir=. banner=Cactus testing project includes=*/*/project.xml excludes=./project.xml postProcessing=false

m1.1b2 localization

2005-09-27 Thread jan_bar
Hi, maven tries to display localized strings, for instance the last output line: Finished at : ter, 27. z 2005 11:15:33 CEST Unfortunately the text for Czech locale is bad, all the UNICODE characters for month and day name are lost (tried with Eclipse console and Win2k console). Seems like bug

maven cactus plugin and multiproject

2005-09-26 Thread jan_bar
Hi, it's not clear to me how cactus plugin supports multiproject. I have EJB in separate subproject, when I want to test EAR, cactus plugin uses cactus.build.goal.ejb (default ejb:ejb) to build the EJB artifact. But the EJB artifact is in separate subproject. I also created complex genapp

mails from gmane gateway marked as (possible) spam

2005-09-20 Thread jan_bar
Hi, I want to contact administrator of this list. I post through gmane gateway and my mail are marked as spam: X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=FORGED_YAHOO_RCVD,PRIORITY_NO_NAME,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Can someone look into this issue? Jan

Re: ejb and war plugins (maven 1.1 beta2)

2005-09-20 Thread jan_bar
client code is type=ejb. Is this bug or I got something wrong? Jan jan_bar [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, ejb plugin places the EJB client code in repository in ejbs/my client.jar. However the war plugin uses only type=jar dependencies: (maven-war-plugin-1.6.1

Re: ejb and war plugins (maven 1.1 beta2)

2005-09-20 Thread jan_bar
it ASAP. The behavior of the ejb plugin was certainly changed recently and the war plugin wasn't updated. We should add the support for types : ejb and ejb-client (generated if maven.ejb.client.generate=true) in the war plugin. WDYT ? Arnaud On 9/20/05, jan_bar [EMAIL PROTECTED] wrote

Re: ejb and war plugins (maven 1.1 beta2)

2005-09-20 Thread jan_bar
Thanks for your time Arnaud, it works for me. Vincent should fix code for http://www.onjava.com/pub/a/onjava/2005/09/07/maven.html?page=4 Jan Arnaud HERITIER [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I published a snapshot you can install it locally maven plugin:download

ejb plugin 1.7.1

2005-09-19 Thread jan_bar
Hi, the ejb plugin installs the client EJB code in ejb-clients folder with ejb-clients extension e.g. my artifact/ejb-clients/my client.ejb-client. Is this correct? How should I work with jar file with ejb-client extension when I need it for my EJB clients? Jan

Re: ejb plugin 1.7.1

2005-09-19 Thread jan_bar
Thanks Vincent, I have maven 1.1-beta-2 and I am trying to use EJB plugin so it can handle the EJB3. I forgot to add ejbTypeHandler variable. Here is my maven.xml: attainGoal name=ejb:ejb / move file=${maven.build.dir}/${maven.final.name}.jar tofile=${maven.build.dir}/${maven.final.name}.ejb3

clean plugin

2005-09-19 Thread jan_bar
Hi, the clean plugin should clean the ${maven.build.dir}, but it reguires that all depends are satisfied. If I remove my artifact from repository and try to build my project, the clean will fail, because my artifact is not in repository. I use maven .1. beta 2 and multiproject. How can i clean

Re: clean plugin

2005-09-19 Thread jan_bar
Thanks Jörg, it was published in http://article.gmane.org/gmane.comp.jakarta.turbine.maven.user/19338. What is the purpose of the postGoal? By current release you mean maven 1.1 beta2 or maven 2 beta 1? Thanks, Jan Jörg Schaible [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Jörg

ejb and war plugins (maven 1.1 beta2)

2005-09-19 Thread jan_bar
Hi, ejb plugin places the EJB client code in repository in ejbs/my client.jar. However the war plugin uses only type=jar dependencies: (maven-war-plugin-1.6.1/plugin.jelly, line 149) j:if test=${dep.type =='jar'} ant:copy todir=${webapp.build.lib} file=${lib.path}/ /j:if Seems like bug. How