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 f

Re: Patching plugins

2006-10-07 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 abo

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

Override plugin properties

2006-10-06 Thread jan_bar
Hello, plugin POM: Plugin POM: 1.1 ... ... ${xjavadoc.version} How can I override the xjavadoc.version from my artifact pom, that uses this plugin? Placing the properties into project.properties doesn't work. Placing properties in profile doesn't work. Placing propert

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 cont

(-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] xmlbeans-ma

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

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: true ssh-server root ugly D:\Progra~1\Utils\Putty\plink D:\Progra~1\Utils\Putty\pscp -P -P I have maven 2.0.4 on Windows NT. With the settings above the deploy-file works fine. When I remove t

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

Re: Patching plugins

2006-09-30 Thread jan_bar
> > Hi, > > 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 wik

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: * xmlbeans-maven-plugin

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, Ja

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 Co

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). This

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 [

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'. [I

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 anywa

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 PROTECT

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 proj

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,

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 hav

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

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

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]

Maven and remote repo via https

2006-04-27 Thread jan_bar
Hi, does maven support access to remote repository over https? I have found, that this is not supported by maven 1.1-beta2 (http://jira.codehaus.org/browse/MAVEN-456), has maven 2 better support? Thanks, Jan - To unsubscribe,

Re: Plugin for Eclipse plugins

2005-10-13 Thread jan_bar
IL PROTECTED]> wrote in message 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 develo

Re: Does maven work with characters like <

2005-10-12 Thread jan_bar
There is a lot of small troubles: seems to convert the < to the character entity, I cannot output it as single character:

Re: Does maven work with characters like <

2005-10-12 Thread jan_bar
ms. For what you want the correct format is most likely: -Stephen On 10/12/05, jan_bar <[EMAIL PROTECTED]> wrote: > Some samples: > > > > > however: > > > > test: ${test} > > > > test: ${test} > > When I set the variable in plugin.propert

Re: Does maven work with characters like <

2005-10-12 Thread jan_bar
Some samples: however: test: ${test} test: ${test} When I set the variable in plugin.properties: test=<> test: ${test} However when I feed the test variable that was read from plugin.properties and not modified to Ant filter, it works as exptected:

Does maven work with characters like <

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

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 > cactu

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 PROTECTED]

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 unsub

Re: multiproject and jelly variables

2005-09-29 Thread jan_bar
Thanks Dion Jan > > > > > > > var="cactus.test.skip" value="false" /> > > > > > basedir="." > > banner="Cactus testing project " > > includes="*/*/project.xml" > > excludes="./project.xml" > > postProcessing="false" > > goals="cactus" > > ignoreFailures="${maven.multiproject.ignoreFailur

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: Inside the subprojects the maven.test.skip is false. (There are no properties files with maven.test.skip). Why? BTW, how are property files evaluated wit

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? Couple of questions: * do I need to store/restore the values of variables or, when the goal exits, all variables will be reverted to previous st

Re: m1.1b2 localization

2005-09-27 Thread jan_bar
Thanks, but it doesn't help, the date is still in Czech locale. Jan > You could hack the maven.bat file to use: > java -Duser.language=en -Duser.region=US - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

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 in

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 applicat

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 -Dmav

Re: ejb and war plugins (maven 1.1 beta2)

2005-09-20 Thread jan_bar
Thanks Arnaud, one more question: If I want to create my patch, which version of the plugin should I use so it will not conflict with war plugin patch once published? WAR plugin is now 1.6.1, can I name it 1.6.1-patch? I think that there should be only number on the version, so 1.6.1.1 would be be

Re: ejb and war plugins (maven 1.1 beta2)

2005-09-20 Thread jan_bar
nged 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: > > No answers so far, but this seems to be basic

Re: ejb and war plugins (maven 1.1 beta2)

2005-09-20 Thread jan_bar
d EJB 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/.jar. > However the war plugin uses only type=jar dependen

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 ---

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/.jar. However the war plugin uses only type=jar dependencies: (maven-war-plugin-1.6.1/plugin.jelly, line 149) Seems like bug. How can I add my EJB client jar to WAR? Thanks, Jan -

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

clean plugin

2005-09-19 Thread jan_bar
Hi, the clean plugin should clean the ${maven.build.dir}, but it reguires that all 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 the projec

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: Now it works fine. Is there any better way? There is no support for EJB3 in maven... thanks, Jan > Hi Jan, > > Version 1.

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. /ejb-clients/.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 ---