Re: Maven PDF support

2013-12-21 Thread Markku Saarela
Hi, At least I can produce PDF from Markdown: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-pdf-plugin/artifactId version1.2/version executions execution idpdf/id phasesite/phase

Re: Maven PDF support

2013-12-21 Thread Markku Saarela
For me PDF plugin is working with Markdown: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-pdf-plugin/artifactId version1.2/version executions execution idpdf/id phasesite/phase

Re: issues when disabling settings.xml

2013-09-24 Thread Markku Saarela
Install local Nexus in you machine and add work Nexus as proxy repository in it and then only one setting.xml works. It also gives you freedom to work totally offline. Cheers, Markku On 09/24/2013 03:31 AM, Jamie Archibald wrote: I typically work behind a Nexus server at work which I use a

Re: Why is properties-maven-plugin still in alpha?

2013-02-25 Thread Markku Saarela
Plugins are development time tools and not deliverables to the customer. So customer should not care how(by which plugin versions) artifacts are build. Therefore never reveal versions of the build tools to the customer :-) Markku On 02/26/2013 12:34 AM, Matthew Adams wrote: Ok. At least

Re: Why does mvn compiile using java 1.3?

2012-11-29 Thread Markku Saarela
People is stuck for old Java versions due to the fact that for example organizations are using IBM WebSphere and do not upgrade those immediately when new version of WAS is released. WAS 6.1 which was released in 2006 and just add support for JDK 1.5 not 1.6. It is WAS 7 which has JDK 6

Re: Why does mvn compiile using java 1.3?

2012-11-29 Thread Markku Saarela
-reports-plugin which generates classes with that Java version which you are running Maven and then fails to use them because the Java class files are version 51.0 and 50,0 is required and build fails. MArkku On 11/29/2012 06:46 PM, Ron Wheeler wrote: On 29/11/2012 10:17 AM, Markku Saarela

Re: DAO injection in integration tests with a few database server specific methods

2012-11-24 Thread Markku Saarela
Use Spring and Hibernate list for questions related on those. Markku On 11/24/2012 05:36 PM, Martin Gainty wrote: that *should* work as Hibernate Session would generate an List of Persisted NavbarLanguage Classes (which your method returns) ..but...the generated Query would not be hinted..so

Re: DAO injection in integration tests with a few database server specific methods

2012-11-24 Thread Markku Saarela
Not on this list, this is for Maven. Markku On 11/24/2012 08:28 PM, Martin Gainty wrote: so.. i guess the short answer is no there is no way to introduce hints into Hibernate generated queries.. Takk, Martin__ Verzicht und

Re: can I run mvn install with no verify phase?

2012-10-06 Thread Markku Saarela
Read also Maven books from this site: http://www.sonatype.com/Support/Books rgds, Markku On 10/06/2012 06:42 PM, Rob Withers wrote: Thanks for your help. I did some O'Reilly reading. I could not find that I could skip the verify, but as Robert mentioned I can control the threshold of the

Re: [PATCH provided] How to generate an announcement from GitHub with Changes plugin?

2012-09-30 Thread Markku Saarela
Hi Created issue MCHANGES-290 http://jira.codehaus.org/browse/MCHANGES-290 and patch is applied. Markku On 09/30/2012 08:43 AM, Markku Saarela wrote: Hi, Thanks, i'll look those. Markku On 09/30/2012 12:06 AM, Dennis Lundberg wrote: Hi Support for a report based on issues at GitHub

How to generate an announcement from GitHub with Changes plugin?

2012-09-29 Thread Markku Saarela
Hi, Is it possible somehow to generate an announcement from GitHub with Changes plugin. Or is there an other way? Rgds, Markku - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail:

Re: How to generate an announcement from GitHub with Changes plugin?

2012-09-29 Thread Markku Saarela
the GitHub issue tracker is in place. Patches are welcome. Have a look in AnnouncementMojo how it has been implemented for JIRA and Trac. On 2012-09-29 10:22, Markku Saarela wrote: Hi, Is it possible somehow to generate an announcement from GitHub with Changes plugin. Or is there an other way

Re: Ear Plugin skinnyWars EJB problem

2012-09-25 Thread Markku Saarela
In that case WAR Overlays[1] come into picture. Markku [1] http://maven.apache.org/plugins/maven-war-plugin/overlays.html On 09/25/2012 05:57 PM, nskmda wrote: Well, okay, I read that instruction. But I may also need to have a WAR artifact including all dependent EJBs in case I want to

Maven plugin configuration properties in execution element not working.

2012-09-17 Thread Markku Saarela
Hi, I made Maven plugin and it's parameter configuration is working plugin element but notin execution elements. Maven reports parameters are missing or invalid. So how to get execution configuration working? rgds, Markku

Re: Maven plugin configuration properties in execution element not working.

2012-09-17 Thread Markku Saarela
that we can have a look. Even better would be having a test project posted somewhere. Cheers 2012/9/17 Markku Saarela markku.saar...@iki.fi Hi, I made Maven plugin and it's parameter configuration is working plugin element but notin execution elements. Maven reports parameters are missing

[SOLVED]: Maven plugin configuration properties in execution element not working.

2012-09-17 Thread Markku Saarela
Hi, It seems to be impossible to have multiple execution configuration for direct cli plugin invocation. So i refactored plugin that now it can invoke directly from cli with multiple configurations. Markku On 09/17/2012 11:30 AM, Markku Saarela wrote: Hi, I have problem with plugin

Re: (java.net.SocketException) caught when connecting to the target host: Invalid argument: connect

2012-08-05 Thread Markku Saarela
didn't resolve the problem. Thanks anyway. Gary -Original Message- From: Markku Saarela [mailto:markku.saar...@pp6.inet.fi] Sent: Saturday, August 04, 2012 5:01 AM To: users@maven.apache.org Subject: Re: (java.net.SocketException) caught when connecting to the target host: Invalid

Re: (java.net.SocketException) caught when connecting to the target host: Invalid argument: connect

2012-08-04 Thread Markku Saarela
Hi, You probably hit IPv4 vs IPv6 incompatibility. JDK 7 uses IPv6 by default to connect (if OS and network adapter supports it). Try run Java with this VM argument -Djava.net.preferIPv4Stack=true or try to set your network adapted only use IPv4 . Markku On 3.8.2012 16:22, Gary White

Re: Maven with JDK 7

2012-06-27 Thread Markku Saarela
Hi, Java 7 use IPv6 (not IPv4) if OS supports it. So if you firewall restricts IPv6 then you got behavior you describe. Also Nexus running on Java 7 failed to connect and app servers etc if firewall does not allow IPv6 communication. Markku On 27.6.2012 15:18, Delaney, Andy wrote: Hi All

Re: Maven with JDK 7

2012-06-27 Thread Markku Saarela
Hi, If you have already turn of firewall, go to network adapter properties and disable IPv6 support. Markku On 27.6.2012 15:26, Markku Saarela wrote: Hi, Java 7 use IPv6 (not IPv4) if OS supports it. So if you firewall restricts IPv6 then you got behavior you describe. Also Nexus running

Re: The Maven Way

2012-04-17 Thread Markku Saarela
Hi, I recommend two books from Sonatype, Maven by Example 1) and Maven Cookbook 2) 1) http://www.sonatype.com/index.php/Support/Books/Maven-By-Example 2) http://www.sonatype.com/index.php/Support/Books/The-Maven-Cookbook Markku On 17.4.2012 16:55, Wolf Geldmacher wrote: Hi list, a simple

Re: Getting Error in Maven

2012-03-30 Thread Markku Saarela
You are using native2ascii-maven-plugin:1.0-alpha-1 with Java version: 1.7.0 and 1.0-alpha-1 version of plugin is not compatible with JDK 7. So you either upgrade plugin to version 1.0-beta-1 or run Maven with JDK 6 Markku On 30.3.2012 16:39, debashish mukherjee wrote: Hi, I am using maven

Re: using build profiles for WAR plugin [maven-eclipse-plugin]

2012-03-02 Thread Markku Saarela
but they are not an option. Markku On 2.3.2012 15:15, Ron Wheeler wrote: On 02/03/2012 1:32 AM, Markku Saarela wrote: Hi, Developing with Eclipse IDE and JavaEE server using maven-eclipse-plugin you have to use profiles, because Eclipse does not isolate test code and test resources

Re: using build profiles for WAR plugin [maven-eclipse-plugin]

2012-03-02 Thread Markku Saarela
can provide any additional information that you think might help, let me know. Ron On 02/03/2012 10:19 AM, Markku Saarela wrote: Hi, You don't understand how Eclipse IDE works. Eclipse does not have different classpaths for testing and actual runtime. So Eclipse basic design is faulty

Re: using build profiles for WAR plugin [maven-eclipse-plugin]

2012-03-02 Thread Markku Saarela
jar-with-dependencies /descriptorRef /descriptorRefs /configuration /execution /executions /plugin /plugins /pluginManagement /build Ron On 02/03/2012 2:00 PM, Markku Saarela wrote: In multi-module project i hit the same problem with m2e and maven-eclipse-plugin. Are you saying

Re: using build profiles for WAR plugin [maven-eclipse-plugin]

2012-03-01 Thread Markku Saarela
Hi, Developing with Eclipse IDE and JavaEE server using maven-eclipse-plugin you have to use profiles, because Eclipse does not isolate test code and test resources. Only way to do it what i have figured out is to have two profiles one for running application in app server and another for

Re: Can DITA be used to create site documentation?

2011-09-21 Thread Markku Saarela
Hi, You can convert DITA document to the DocBook dokument in to simplified dockbook directory descripid here [2] and then configure Doxia to use Doxia Simplified DocBook Module [1] [1] http://maven.apache.org/plugins/maven-site-plugin/faq.html#How_to_include_a_custom_Doxia_module_like_Twiki

Re: Adding files to target before creating war

2011-03-22 Thread Markku Saarela
You can use WAR overlays [http://maven.apache.org/plugins/maven-war-plugin/overlays.html] for making different war project for different distributions and also different EAR projects to match needed WAR project. rgds, Markku On 21.3.2011 17:56, Sam Adams wrote: We have slightly different

Re: Adding files to target before creating war

2011-03-22 Thread Markku Saarela
You can use WAR overlays [http://maven.apache.org/plugins/maven-war-plugin/overlays.html] for making different war project for different distributions and also different EAR projects to match needed WAR project. rgds, Markku On 21.3.2011 17:56, Sam Adams wrote: We have slightly different

Re: maven-metadata-central.xml is missing versions in local repo

2010-04-22 Thread Markku Saarela
This can be caused by Artifactory if checksums does not match and you Artifactory is configured to fail if checksums doesn't match. Markku On 22.4.2010 12:53, Florian R. wrote: Wayne Fay wrote: What MRM are you running -- Nexus, Artifactory, Archiva, etc? Are you sure this is a problem

Re: mvn release:perform does not honor //servers/server in alternate settings location

2010-04-21 Thread Markku Saarela
Hi, Have you tried -gs /my/alternate/maven2/home/settings.xml (-gs --global-settings) ? mvn -B -gs /my/alternate/maven2/home/settings.xml release:prepare release:perform rgds, Markku On 21.4.2010 22:36, David Siefert wrote: On Wed, Apr 21, 2010 at 1:42 PM, David

Re: Accessing resources

2010-04-06 Thread Markku Saarela
In Eclipse simply add this src/main/resources to Java Build Path as source folder then class running in eclipse can see it. rgds, Markku On 6.4.2010 16:39, Benoît Thiébault wrote: :-) Sorry that I have not been clear. Let me detail a bit further. I have a project that I will call

Re: Fully automated building from Source Control

2010-04-03 Thread Markku Saarela
Hi, You could use Maven SCM plugin for bootstrapping the project with minimal pom. http://maven.apache.org/scm/maven-scm-plugin/examples/bootstrapping-with-pom.html rgds, Markku On 3.4.2010 0:09, Steve Cohen wrote: Ok, your needs are probably more extreme than mine. I HAPPEN at present

Re: Maven ear plugin -- add files into META-INF folder

2010-03-16 Thread Markku Saarela
You could use earSourceDirectory${project.build.outputDirectory}/earSourceDirectory and use normal build resources resources resource directorysrc/main/resources/directory filteringtrue/filtering /resource /resources and put this weblogic file in subdirectory META-INF also you can define

Re: Maven ear plugin -- add files into META-INF folder

2010-03-15 Thread Markku Saarela
Hi, As in http://maven.apache.org/plugins/maven-ear-plugin/examples/filtering-sources.html noted use earSourcesDirectory. Rgds, Markku On 16.3.2010 5:06, Thunder Farmer wrote: Dear all, During ear packaging, is there any way to add my personal files into the ear/META-INF folder if I

Re: Release schedule for ear plugin version 2.4.1

2010-02-17 Thread Markku Saarela
Thanks for good news. Markku On 17.2.2010 0:29, Stephane Nicoll wrote: The release vote for 2.4.1 has just been sent on the dev list. S. On Tue, Jan 19, 2010 at 8:47 AM, Markku Saarelamarkku.saar...@iki.fiwrote: Hi, What is plan for releasing version 2.4.1 of ear plugin? All issues

Maven central has corrupted artifact org.apache.xbean:xbean-finder-shaded:jar:3.6

2010-01-27 Thread Markku Saarela
Hi, org.apache.xbean:xbean-finder-shaded:jar:3.6 artifact MD5 checksum does not match, so our Artifactory reject it's download. So where can i get original jar file? rgds, Markku - To unsubscribe, e-mail:

Re: Maven central has corrupted artifact org.apache.xbean:xbean-finder-shaded:jar:3.6

2010-01-27 Thread Markku Saarela
Thanks for your effort. I turn to Geronimo community. markku On 27.1.2010 16:53, Wendy Smoak wrote: On Wed, Jan 27, 2010 at 7:16 AM, Markku Saarelamarkku.saar...@iki.fi wrote: org.apache.xbean:xbean-finder-shaded:jar:3.6 artifact MD5 checksum does not match, so our Artifactory reject

Release schedule for ear plugin version 2.4.1

2010-01-18 Thread Markku Saarela
Hi, What is plan for releasing version 2.4.1 of ear plugin? All issues for this release are resolved. rgds, Markku - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail:

Re: Assembly will not deploy.

2009-08-24 Thread Markku Saarela
Hi, You can use build-helper:attach-artifact http://mojo.codehaus.org/build-helper-maven-plugin/attach-artifact-mojo.html to gain that behavior. http://mojo.codehaus.org/build-helper-maven-plugin/ rgds, Markku David C. Hicks wrote: Hi, I have a module in my project that creates an

Re: Can I skip these warnings and compile legacy classes in Maven?

2009-08-24 Thread Markku Saarela
Hi, You can configure compiler plugin to use certain compiler version http://maven.apache.org/plugins/maven-compiler-plugin/examples/compile-using-different-jdk.html also you can put additional target and source definitions in the same compiler plugin configuration

Re: Maven Source Plugin config to include generated-sources?

2009-08-06 Thread Markku Saarela
Hi, Try build-helper plugin for adding this target/geratated-sources directory. http://mojo.codehaus.org/build-helper-maven-plugin/add-source-mojo.html rgds, Markku David Hoffer wrote: As far as I can tell this won't work, I think this just includes excludes files that are already in the

Re: copy\move plugin

2009-07-23 Thread Markku Saarela
Also you could use jar plugin to make extra artifact for project with classifier like server and configure that jar plugin execution to include server specific resource files. - Markku Saarela Alexander Vaysberg wrote: I think, it was better the common project, server and client project

Re: [PLEASE TEST] Maven 2.2.0-RC3

2009-06-17 Thread Markku Saarela
Same thing. With RC2 release failed but now with RC3 releases of multi-module projects success :-). - markku Jörg Schaible wrote: Dominic Mitchell wrote at Mittwoch, 17. Juni 2009 10:02: On 16 Jun 2009, at 20:08, Nayan Hajratwala wrote: sorry you're having so much trouble, robert

Re: [PLEASE TEST] Maven 2.2.0-RC2

2009-05-15 Thread Markku Saarela
Hi, Our release failed. There are two problems. Command line: mvn -Psome -Denv=some-dev release:perform -X 1. Command line -Psome profile activation is not working, at least prepare perform and rollback goals. [WARNING] Profile with id: 'some' has not been activated. 2.

resources plugin failed to use properties in release:prepare for multi module projects

2009-03-27 Thread Markku Saarela
Hi, Using Maven 2.1.0, release-plugin 2.0-beta-8 and resources-plugin 2.3. When performing normal mvn install for multi-module project all builds succes, but when trying release projekts, those projects that have filter files whitch are specified in profiles via properties failed. Resources

Re: Maven extra sources and eclipse

2009-03-26 Thread Markku Saarela
Hi, You can use build-helper plugin and its goal add-source. http://mojo.codehaus.org/build-helper-maven-plugin/ rgds, Markku Jean-Marc Vanel wrote: Hi all We have a projet ( http://eulergui.svn.sourceforge.net/viewvc/eulergui/trunk/eulergui/pom.xml ) using a parser generator , for which

Re: Maven Release Plugin

2009-02-11 Thread Markku Saarela
Hi, configure release plugin goals element as described in http://maven.apache.org/plugins/maven-release-plugin/examples/perform-release.html - markku Terry Bell wrote: Is there any way to stop the release:perform from generating any reports at all? I would looking for an option that

Re: [POLL] Default Value for Reports Output Encoding

2008-08-06 Thread Markku Saarela
[b] Use source files encoding, because then only one encoding value is need to set for project if desired(if neither of source or reporting encoding is set then platform specific is used). - markku - To unsubscribe, e-mail:

Re: 2nd compile phase?

2008-07-07 Thread Markku Saarela
Hi, You could split project to three different ones. One for this actual ejb project that then depends on you third-party project and which depends you original source code project. regards, markku' De Smet Ringo wrote: Hello, I am in the need of triggering a second compile phase.

Re: 2nd compile phase?

2008-07-07 Thread Markku Saarela
In that case you could try configure compile plugin for two executions one bind for normal compile phase and another bind to prepare-package phase that also compiles these third-party generated classes. - markku De Smet Ringo wrote: Markku, -Original Message- From: Markku

Re: Add Generated Src to IDE build path?

2008-07-07 Thread Markku Saarela
Hi, Use plugins Build Helper Maven plugins add-source goal in your pom.xml that resolves all of those proplems. http://mojo.codehaus.org/build-helper-maven-plugin/ - markku Clifton wrote: Hello, I'm having lots of trouble with a Maven project that generates source. In my project a crude

Re: [SURVEY] How does your team retrieve artifacts?

2008-05-21 Thread Markku Saarela
[X] Our team uses HTTP to retrieve our artifacts regards, - markku - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: jars appear timestamped in wars and zips since 2.0.9

2008-04-26 Thread Markku Saarela
and if it's newer on the remote. -Original Message- From: Markku Saarela [mailto:[EMAIL PROTECTED] Sent: Friday, April 25, 2008 6:04 AM To: Maven Users List Subject: Re: jars appear timestamped in wars and zips since 2.0.9 Hi, While debugging 2.1-alpha-1 war plugin in method

Re: jars appear timestamped in wars and zips since 2.0.9

2008-04-25 Thread Markku Saarela
Hi, This start to happen at least we use Maven 2.0.8 version and still exists in 2.0.9. Tested with war plugin versions 2.0.2 and 2.1-alpha-1 Here is snipped from [DEBUG] Adding managed dependencies for artifactId [DEBUG]net.sourceforge.jivalo.fw:jivalo-fw-common:jar:1.5-beta-3-SNAPSHOT

Re: jars appear timestamped in wars and zips since 2.0.9

2008-04-25 Thread Markku Saarela
Hi, This start to happen at least we use Maven 2.0.8 version and still exists in 2.0.9. Tested with war plugin versions 2.0.2 and 2.1-alpha-1 Here is snipped from [DEBUG] Adding managed dependencies for artifactId [DEBUG]net.sourceforge.jivalo.fw:jivalo-fw-common:jar:1.5-beta-3-SNAPSHOT

Re: jars appear timestamped in wars and zips since 2.0.9

2008-04-25 Thread Markku Saarela
removing all breakpoints and resuming execution all the rest snapshot artifacts has wrong filename in lib directory - markku Markku Saarela wrote: Hi, This start to happen at least we use Maven 2.0.8 version and still exists in 2.0.9. Tested with war plugin versions 2.0.2 and 2.1-alpha-1 Here

Re: manifest problem Please help

2008-02-24 Thread Markku Saarela
If this is EJB jar to build, then you should configure ejb-plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ejb-plugin/artifactId configuration archive manifestFile${basedir}/ejbModule/META-INF/MANIFEST.MF/manifestFile /archive - markku

Re: deploying without deploying - how do I turn off deployment of pom (or anyother default maven goal in a phase)?

2007-12-03 Thread Markku Saarela
Use mvn site-deploy for more details look at http://maven.apache.org/guides/mini/guide-site.html - markku [EMAIL PROTECTED] wrote: Hi, We have some documentation which is sufficiently code-like (html built with xslt), that it needs to be built and deployed to a web server via a maven

Re: [m2] multiple sourceDirectory possible ?

2007-08-09 Thread Markku Saarela
Use maven-build-helper plugin http://mojo.codehaus.org/build-helper-maven-plugin/ - markku Gex Dev wrote: Hi, A little problem : Constraints : - have some java projects build with ant, those projects have multiple source directories. - would like to build those projects with Maven2 -

Re: Generate Version class

2007-07-24 Thread Markku Saarela
Java JDK has simple way to do this. If You know some class located in your jar file simple way to get implementation version from this jar's manifest file is to call this known class.getPackage().*getImplementationVersion*(). rgds, Markku Francois Fernandes wrote: Yes, you're right. But the

Re: Preflight check for 2.0.7

2007-06-06 Thread Markku Saarela
mvn.bat has bug for classworld classpath: @REM -- Regular WinNT shell for %%i in (%M2_HOME%\core\boot\classworlds-*) do set CLASSWORLDS_JAR=%%i there are no core subdirectory only boot as it is in 2.0.6 - markku Jason van Zyl wrote: I have uploaded another version here:

Re: Ant's Java task in Maven?

2007-06-05 Thread Markku Saarela
On 6/4/07, Markku Saarela [EMAIL PROTECTED] wrote: Use Maven Exec Plugin http://mojo.codehaus.org/exec-maven-plugin/ - markku hezjing wrote: Hi Jo I hope I can do this the Maven's way without using the Antrun plugin. Any better idea? On 6/4/07, Jo Vandermeeren [EMAIL PROTECTED] wrote

Re: Ant's Java task in Maven?

2007-06-04 Thread Markku Saarela
Use Maven Exec Plugin http://mojo.codehaus.org/exec-maven-plugin/ - markku hezjing wrote: Hi Jo I hope I can do this the Maven's way without using the Antrun plugin. Any better idea? On 6/4/07, Jo Vandermeeren [EMAIL PROTECTED] wrote: You can call your Ant task with the

Executing same plugin more than once with different configuration at once.

2007-05-11 Thread Markku Saarela
Hi, Due to bug http://jira.codehaus.org/browse/MNG-2708 it is impossible to configure exec-maven-plugin in execution element and it seams to me that if you specify plugin twice in build it is not executed twice. So any suggestions for workaround or should I make my own version of that plugin

How to prevent eclipse plugin rad goal for web project to create src/main/webapp directory and copying dependent jars into its lib directory.

2007-04-02 Thread Markku Saarela
Hi, Is it possible to prevent eclipse:rad goal to create src/main/webapp directory with all subdirectories and not to copy dependent libraries? This is because we are deploying Maven build ear's to Rad's WAS by WAS console. rgds, Markku

Re: Can Maven 2.X run offline?

2007-03-14 Thread Markku Saarela
Yes. Use -o command line argument. - markku JesseLiu wrote: With Regards, Jesse Liu ~~ Tel: 86-755-2699 5598 Email: [EMAIL PROTECTED] Skype: liujiasong MSN: [EMAIL PROTECTED] ~~

Re: File system reference to parent POM

2007-03-14 Thread Markku Saarela
Use relativePath../pom/pom.xml/relativePath in your parent element of POM if this parent POM is somewhere in you checked out source tree. - markku Kristian Nordal wrote: On 3/14/07, olivier jacob [EMAIL PROTECTED] wrote: On 3/14/07, Kristian Nordal [EMAIL PROTECTED] wrote: Hi I've

Re: Can Maven 2.X run offline?

2007-03-14 Thread Markku Saarela
] [INFO] Total time: 1 second [INFO] Finished at: Wed Mar 14 18:35:39 CST 2007 [INFO] Final Memory: 1M/2M [INFO] Thanks for any suggestion? - Original Message - From: Markku

Renaming file with Maven 2 without Ant

2007-03-07 Thread Markku Saarela
Hi, Is it possible to rename file with Maven2 without Ant? I spent some time for digging this information for web but no luck. rgds, Markku - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Renaming file with Maven 2 without Ant

2007-03-07 Thread Markku Saarela
And even without writing own mojo, witch i do if it the only solution. - markku Markku Saarela wrote: Hi, Is it possible to rename file with Maven2 without Ant? I spent some time for digging this information for web but no luck. rgds, Markku

Re: Renaming file with Maven 2 without Ant

2007-03-07 Thread Markku Saarela
Yes I know, I have allready done this plugin, but I just wanted to know if some plugin has allready this functionality ;-). Markku Wayne Fay wrote: Mojo plugins (for something like this) are exceptionally trivial -- you should give it a try. Wayne On 3/7/07, Markku Saarela [EMAIL PROTECTED

Re: javax.jms in not repo

2007-03-05 Thread Markku Saarela
Hi, Look at documentation http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html - markku Wim Deblauwe wrote: Hi, seems that the javax.jms is not correctly in the repository. Using mvnrepository I found that it should be in the javax.jms group, but looking into the repo

Renaming archetype files at custom archetype create goal?

2007-03-01 Thread Markku Saarela
Hi, Is it possible somehow to rename files witch locates under archetype-resources in you custom archetype? What i want to do is rename baseMagicDraw11.5model.xml file to ${artifactId}.xml file when performing create goal. Thanks, Markku

Re: maven-compiler-plugin missing in central (ibiblio)?

2007-02-27 Thread Markku Saarela
Hi, look at: http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/maven/plugins/maven-compiler-plugin/ instead. - markku hochraldo wrote: Hi! I am getting an error that the maven-compiler plugin can not be found in central. If i take a look at

maven-ear-plugin 2.3 version unwanted behavior with ejb-client dependencies

2007-02-15 Thread Markku Saarela
Hi, With new maven-ear-plugin 2.3 version i get unwanted java modules is application.xml. We have module structure where ejb module has another ejb module as ejb-client dependent. Now with this 2.3 version this dependents ejb-client dependent shows up is application.xml. If i exclude this

Re: maven-ear-plugin 2.3 version unwanted behavior with ejb-client dependencies

2007-02-15 Thread Markku Saarela
-Original Message- From: Markku Saarela [mailto:[EMAIL PROTECTED] Sent: Thursday, February 15, 2007 1:51 PM To: Maven Users List Subject: maven-ear-plugin 2.3 version unwanted behavior with ejb-client dependencies Hi, With new maven-ear-plugin 2.3 version i get unwanted java modules

Re: executable jar

2007-02-08 Thread Markku Saarela
said. The project I aims to package has a dependeny for jmf.jar. But it hasn't included in the jar. How can I include it? Jane 2007/2/8, Markku Saarela [EMAIL PROTECTED]: Hi, There are at least two way to get this exception. 1. at other machines you dont have JMF api available

Re: Can't deploy site,Help please.

2007-02-07 Thread Markku Saarela
? a cup of Java, cheers! Sha Jiang Markku Saarela wrote: One slash character was dropped out :-) file:///192.1.1.0/temp/directory - markku Markku Saarela wrote: Hi, No, File protocol can deploy any directory in network where user has access. The first slash character is defining

Re: executable jar

2007-02-07 Thread Markku Saarela
Hi, There are at least two way to get this exception. 1. at other machines you dont have JMF api available for executable jar. 2. Somehow at other machine you MediaLocator constructor get wrong parameter. - markku Lan wrote: Hi,Franz, Thanks for your quick reply. The error shows:

Re: Can't deploy site,Help please.

2007-02-06 Thread Markku Saarela
Hi, No, File protocol can deploy any directory in network where user has access. The first slash character is defining that path is absolute two others are some server delimiters. file:/c:/temp vs. file:///someserver/depl or even file://192.1.1.0/temp/directory rgds, markku jiangshachina

Re: Can't deploy site,Help please.

2007-02-06 Thread Markku Saarela
One slash character was dropped out :-) file:///192.1.1.0/temp/directory - markku Markku Saarela wrote: Hi, No, File protocol can deploy any directory in network where user has access. The first slash character is defining that path is absolute two others are some server delimiters. file

Re: Maven release plugin and J2EE projects

2007-01-27 Thread Markku Saarela
Configure you release plugin to make install to you local repository first, then release:prepare success. plugin artifactIdmaven-release-plugin/artifactId inheritedtrue/inherited configuration preparationGoalsclean install/preparationGoals

Re: Release plugin

2006-12-12 Thread Markku Saarela
Hi, try using the *preparationGoals* maven-release-plugin in order to do an install instead of integration-test: configuration *preparationGoals*clean install/*preparationGoals* /configuration - markku Portuendo Vestado wrote: Hi all, When using mvn release:prepare on an aggregate

Re: [m2]maven-source-plugin 2.0.1 infinitive source jar build

2006-12-10 Thread Markku Saarela
Yes that was the reason. I had LICENCE and NOTICE files in basedir. So waiting 2.0.2 version of the plugin :-) . Markku Jochen Wiedmann wrote: On 12/10/06, Markku Saarela [EMAIL PROTECTED] wrote: Yes, but i can't see anything weird. I terminate this job after jar file size had grown to 4 GB

[m2]maven-source-plugin 2.0.1 infinitive source jar build

2006-12-09 Thread Markku Saarela
Hi, I have maven-source-plugin configured in pom to goal jar and when i run mvn package command twice without clean the second time caused infinitive source jar file build. File size grows to GB's and execution must abort. This caused release plugin to hangs the same point. Any ideas? rgds,

Re: Tagging a maven project in sourceforge with release:prepare fails with this message

2006-12-08 Thread Markku Saarela
Thanks, That resolved also mine release tagging problem at Sourceforge. Rgds, Markku David wrote: Just in case it's useful for someone, I've found the curious solution to this weird problem within the SF tracker after being knocking my head against the screen for some time...

Re: [m2 2.0.4] maven-release-plugin 2.0-beta-4 fails with ejb-client depency type to perform prepare

2006-12-08 Thread Markku Saarela
/preparationGoals /configuration cheers, -tony Markku Saarela-2 wrote: For all ejb-client type depencies in multiproject system fails to resolve artifacts: dependency groupIdvarma.yrpro.income/groupId artifactIddbserviceejb/artifactId version1.0-SNAPSHOT/version

Re: AW: maven-changes-plugin help please

2006-10-25 Thread Markku Saarela
You should use changes plugin it is newer version of that codehaus plugin: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-changes-plugin/artifactId configuration xmlPath${basedir}/src/site/changes.xml/xmlPath /configuration

Re: [m204] want to deploy site to local hard drive withouth scm

2006-09-19 Thread Markku Saarela
-npi-site/id nameDelta NPI Web/name url file:///c:/opt/fullsite/url /site /distributionManagement On 9/18/06, franz see [EMAIL PROTECTED] wrote: Markku Saarela wrote: Put your parent pom.xml site configuration using file protocol

Re: [m204] want to deploy site to local hard drive withouth scm

2006-09-18 Thread Markku Saarela
Put your parent pom.xml site configuration using file protocol distributionManagement site idwebsite/id urlfile:///c:/stage/url /site /distributionManagement - markku Mick Knutson wrote: How can I deploy, and/or stage my entire site (including sub-modules) locally to

Re: J2EE Client Application JAR is not detected as J2EE module

2006-09-17 Thread Markku Saarela
Actually application-client is part of J2EE specification. See section of Application clients J2EE 1.4 spec section 9.7 J2EE Application Client XML Schema. Ant has targets that can create these Application client artifacts. I also favor for building application client jar for Swing

Re: EJB Client JAR

2006-09-14 Thread Markku Saarela
Configure you ejb plugin like this: build plugins plugin artifactIdmaven-ejb-plugin/artifactId inheritedtrue/inherited configuration archive manifest addClasspathtrue/addClasspath /manifest /archive

Re: EJB Client JAR

2006-09-14 Thread Markku Saarela
Markus Markku Saarela wrote: Configure you ejb plugin like this: build plugins plugin artifactIdmaven-ejb-plugin/artifactId inheritedtrue/inherited configuration archive manifest addClasspathtrue/addClasspath /manifest

M2 release:prepare fails with Subversion to tag SCM reason: Source url is from different repository

2006-09-04 Thread Markku Saarela
PROTECTED]/income/trunk' is from different repository at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor .java:555) Anyone have any idea what do to? Regards, Markku Saarela

[m2 2.0.4] maven-release-plugin 2.0-beta-4 fails with ejb-client depency type to perform prepare

2006-08-25 Thread Markku Saarela
\ -Dversion=1.0 -Dpackaging=ejb-client -Dfile=/path/to/file Path to dependency: 1) varma.yrpro.income:ctrlcommon:ejb:1.0 2) varma.yrpro.income:dbserviceejb:ejb-client:client:1.0 Any ideas solving this problem. Last wednesday it worked and now it's broken. - Markku Saarela

M2 release plugin snapshot version does not handle new development depency version correctly in multimodule project

2006-08-23 Thread Markku Saarela
annoying because there are over 40 modules in project. Regards, Markku Saarela - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: m2 release:prepare fails to build subproject that depends previously builded ejb projects

2006-08-11 Thread Markku Saarela
: Hi, All missed artifacts are ejb projects which dependency type is jar. Normal jar projects it success to resolve. Earlier in this summer we were able to succesfully complete making releases. Pom's are unchanged. We are little bit hurry on this release. Regards, Markku Saarela Here some