How to merge two assembly descriptors?

2006-10-27 Thread Zeltner Martin
Hello everybody!
 
I'm working with maven-assembly-plugin version 2.1 and have the
following problem:
 
I'd like to create two different release zips for my project. The first
one contains only the essential parts to make my project work. The
second zip (lets call it convenience zip) should contain everything from
the essential zip plus further files. My question is now how can the
convenience zip descriptor inherit all from the essential zip
descriptor? Copy-pasting the content of the essential zip descriptor
into the convenience zip descriptor is no acceptable solution.
 
To circumvent this problem I thought about merging the resulting zip
files by using the maven-antrun-plugin. Any better ideas?
 
Thanks  Cheers,
Martin
http://el4j.sf.net
 
 
 


RE: ftp-wagon NullPointerException

2006-10-19 Thread Zeltner Martin
Hello Paul

The NullPointerException seams to occur when the ftp wagon tries to get
the authentication data. Try to set the following settings in your
settings.xml (default location ~/.m2).

settings
...
servers
server
idakathist-repository/id
usernamexyz_user/username
passwordxyz_password/password
/server
/servers
...
/settings


Cheers,
Martin
http://el4j.sf.net

 

 -Original Message-
 From: pjungwir [mailto:[EMAIL PROTECTED] 
 Sent: Mittwoch, 18. Oktober 2006 22:46
 To: users@maven.apache.org
 Subject: Re: ftp-wagon NullPointerException
 
 
 Ah, there is a beta-1. I tried that, but I still get the same problem.
 
 -- 
 View this message in context: 
 http://www.nabble.com/ftp-wagon-NullPointerException-tf2469460
 .html#a6885414
 Sent from the Maven - Users mailing list archive at Nabble.com.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Using modules in profiles

2006-10-12 Thread Zeltner Martin
Hello Nir

Modules which are not defined inside a profile are always active.
Modules defined inside a profile will be added to the ones defined
outside a profile. To achive your needs you define at best two profiles.
The first one contains modules a and b and is activated by default, the
second profile contains only the module a and is not active by default.

Cheers,
Martin
http://el4j.sf.net


 

 -Original Message-
 From: Nir Feldman [mailto:[EMAIL PROTECTED] 
 Sent: Mittwoch, 11. Oktober 2006 12:05
 To: users@maven.apache.org
 Subject: Using modules in profiles
 
 I would like to define the following:
 
  
 
 project
 
 .
 
 modules
 
 modulea/module
 
 moduleb/module
 
 /modules
 
 profiles
 
 profile
 
 idprofile1/id
 
 modules
 
 modulea/module
 
 /modules
 
 /profile
 
 /profiles
 
 
 
 /project
 
  
 
 The expected behavior is:
 
 When running the project with no profile a and b will be built.
 
 When running the project with profile1 profile only a will be built.
 
  
 
 How can this behavior be achieved?
 
  
 
 Thanks,
 
 Nir Feldman, CCM RD, [EMAIL PROTECTED]
 direct +972-3-5399896  fax +972-3-5331617
 19 Shabazi St., Yehud, Israel 56100
 
 MERCURY
 Business Technology Optimization
 www.mercury.com http://www.mercury.com 
 
  
 
 
 __
 This email has been scanned by the MessageLabs Email Security System.
 For more information please visit http://www.messagelabs.com/email 
 __
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: how do i disable the sunconvention check with checkstyle?

2006-10-11 Thread Zeltner Martin
Hello Rolf

You have to place the configuration element directly inside the
plugin element. Further pay attention that your plugin element is
defined inside build/pluginManagement/plugins, else (if it is defined
inside build/plugins) checkstyle will be executed on phase verify
(directly before phase install) one more time. Due to issue
http://jira.codehaus.org/browse/MNG-1931 config made in pluginManagement
will not be directly reused in element reporting. You have to copy
your configuration for site generation! At best you use properties
(checkstyle.config.location and so only) to config the checkstyle-plugin
without adding a configuration section. For an example have a look at
http://svn.sourceforge.net/viewvc/el4j/trunk/el4j/pom.xml?view=markup

Cheers,
Martin



 -Original Message-
 From: Rolf Strijdhorst [mailto:[EMAIL PROTECTED] 
 Sent: Dienstag, 10. Oktober 2006 16:21
 To: Maven Users List
 Subject: how do i disable the sunconvention check with checkstyle?
 
 Hi I have a custom configuration.
 But both the sun conventions are checked as well as my own.
 I don't need the sun conventions
 
 btw the build needs to fail on violations so I added the check goal.
 here is the part of the config:
 
 
 plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-checkstyle-plugin/artifactId
 executions
 execution
 idbasisregistratie styles release 1/id
 phaseprocess-sources/phase
 configuration
 configLocation
 br_styles_release1.xml
 /configLocation
 suppressionsLocation
 suppressions.xml
 /suppressionsLocation
 failOnViolationtrue/failOnViolation
 /configuration
 goals
 goalcheck/goal
 /goals
 /execution
 /plugin
 
 thanx
 Rolf
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: hexadecimals as integer parameters

2006-10-09 Thread Zeltner Martin
Hello Philippe

I think this part should be corrected somewhere in Plexus container
(http://plexus.codehaus.org/), that is referenced in maven-core of Maven
components.

Here a useful link how to build Maven 2 with your patched Plexus version
   * http://maven.apache.org/guides/development/guide-building-m2.html
  * Building Maven 2 command line interface (error on given page)
 * cd maven-cli
 * mvn assembly:assembly

At best you ask this question on the developer mailing list.
   * mailto:[EMAIL PROTECTED]
   * mailto:[EMAIL PROTECTED]

Hope this helps...

Cheers,
Martin
http://el4j.sf.net

 

 -Original Message-
 From: Philippe Faes [mailto:[EMAIL PROTECTED] 
 Sent: Montag, 9. Oktober 2006 11:35
 To: Maven Users List
 Subject: hexadecimals as integer parameters
 
 Hi all,
 
 I've noticed that I cannot pass hex values 0xa01 or octal values
 0755 as integer parameters. This fails in the pom, and in the source
 file of the Mojo I develop (@parameter expression=0xa01).
 
 I'd like to submit this as a feature request, but I have no idea which
 project is responsible for parsing the parameters. Can 
 anybody point me
 to the right feature tracker?
 
 thanks
 
 -- 
 ir. Philippe Faes
 Ghent University - Department ELIS
 Sint-Pietersnieuwstraat 41 -- B-9000 Gent
 Tel:+32 9 264 95 25 - Fax:+32 9 264 35 94
 http://www.elis.UGent.be/~pfaes
 ON5DEU   --   LPIC1  --  gpg-key:173720B6
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: mvn site does NOT create index files for any of my modules

2006-10-06 Thread Zeltner Martin
Hi Mike

Which version of the maven-project-info-reports-plugin do you use? I use
2.0.1 and it works well.
Did you defined the version in the plugin mgt section? If so take care
because you have to define the version in reporting section too (see
http://jira.codehaus.org/browse/MNG-1931). I've defined the version in a
property. Further try adding element id/ to your reportSet/ element.

Cheers,
Martin
http://el4j.sf.net

 -Original Message-
 From: Mick Knutson [mailto:[EMAIL PROTECTED] 
 Sent: Donnerstag, 5. Oktober 2006 23:54
 To: Maven Users List
 Subject: Re: mvn site does NOT create index files for any of 
 my modules!!
 
 plugin
 groupIdorg.apache.maven.plugins/groupId
 
 artifactIdmaven-project-info-reports-plugin/artifactId
 reportSets
 reportSet
 reports
reportindex/report
reportsummary/report
reportdependencies/report
reportdependency-convergence/report
reportproject-team/report
reportcim/report
reportmailing-list/report
!--reportissue-tracking/report--
!--reportlicense/report--
!--reportscm/report--
 /reports
 /reportSet
 /reportSets
 /plugin
 
 
 And still no index or summary
 
 
 
 [INFO] [site:site]
 [WARNING] The file 'C:\opt\npi\common/src/main/javadoc' 
 doesn't exists or it
 is not a directory.
 [WARNING] The file 'C:\opt\npi\common/src/main/javadoc' 
 doesn't exists or it
 is not a directory.
 [WARNING] Error loading report org.apache.maven.plugin.jxr.JxrReport -
 AbstractMethodError: canGenerateReport()
 Downloading:
 http://myfaces.zones.apache.org/dist/maven-repository/org/delt
 a/npi/${default.project.version}/npi-${default.project.version}.pom
 [WARNING] Unable to get resource from repository myfaces.staging (
 http://myfaces.zones.apache.org/dist/maven-repository)
 Downloading:
 http://www.ibiblio.org/maven2/org/delta/npi/${default.project.
 version}/npi-${default.project.version}.pom
 [WARNING] Unable to get resource from repository ibiblio (
 http://www.ibiblio.org/maven2)
 Downloading:
 http://repo1.maven.org/maven2/org/delta/npi/${default.project.
 version}/npi-${default.project.version}.pom
 [WARNING] Unable to get resource from repository central (
 http://repo1.maven.org/maven2)
 [INFO] Generate Continuous Integration report.
 [INFO] Generate Dependencies report.
 [INFO] Generate Mailing Lists report.
 [INFO] Generate Project Team report.
 [INFO] Generate JDepend report.
 [INFO] Generate Source Xref report.
 
 
 
 
 On 10/5/06, Sokolova, Galina [EMAIL PROTECTED] wrote:
 
  Case sensitive:
  reportindex/report
  reportsummary/report
 
 
 
  -Original Message-
  From: Mick Knutson [mailto:[EMAIL PROTECTED]
  Sent: Thursday, October 05, 2006 3:27 PM
  To: Maven Users List
  Subject: Re: mvn site does NOT create index files for any of my
  modules!!
 
 
  Well, here is my plugin declaration:
 
  plugin
  groupIdorg.apache.maven.plugins/groupId
  
 artifactIdmaven-project-info-reports-plugin/artifactId
  reportSets
  reportSet
  reports
  reportIndex/report
  reportSummary/report
 reportdependencies/report
 reportdependency-convergence/report
 reportproject-team/report
 reportcim/report
 reportmailing-list/report
 !--reportissue-tracking/report--
 !--reportlicense/report--
 !--reportscm/report--
  /reports
  /reportSet
  /reportSets
  /plugin
 
 
 
  And there is still no summary or index created, but there are some
  warnings:
 
  [INFO] [xdoclet:xdoclet {execution: default}]
  [INFO] Initializing DocletTasks!!!
  [INFO] Executing tasks
  Oct 5, 2006 12:23:16 PM xdoclet.XDocletMain start
  INFO: Running hibernate/
  [INFO] Executed tasks
  [INFO] [resources:resources]
  [INFO] Using default encoding to copy filtered resources.
  [INFO] [compiler:compile]
  [INFO] Nothing to compile - all classes are up to date
  [INFO] [junitdoclet:junitdoclet {execution: default}]
  Constructing Javadoc information...
  Generating TestSuites and TestCases.
  [INFO] [resources:testResources]
  [INFO] Using default encoding to copy filtered resources.
  [INFO] [compiler:testCompile]
  [INFO] Nothing to compile - all 

RE: How can I install an artifact with a classifier

2006-10-05 Thread Zeltner Martin
Deploying an artifact with a classifier works fine with 2.2 of
maven-deploy-plugin. The artifact will be directly installed correctly.
Only installing an artifact works not in release verison 2.1 of
maven-install-plugin. You have to build the maven-install-plugin and the
corresponding archiva project yourself (see
http://jira.codehaus.org/browse/MINSTALL-34).

Cheers,
Martin
 

 -Original Message-
 From: dan tran [mailto:[EMAIL PROTECTED] 
 Sent: Donnerstag, 5. Oktober 2006 02:20
 To: Maven Users List
 Subject: Re: How can I install an artifact with a classifier
 
 http://maven.apache.org/plugins/maven-deploy-plugin/examples/d
 eployfile/deploying-with-classifiers.html
 
 
 On 10/4/06, Laura Hinojosa [EMAIL PROTECTED] wrote:
 
  I want to use the classifier (from the Dependency) as an id 
 to relate the
  dependencies to other information, but I don't find any 
 information about
  how to install and deploy an artifact with that classifier .
 
  Is that possible??
 
  Thank you
 
  Laura Hinojosa
 
  
 
  This e-mail, and any attachments thereto, is confidential 
 and is intended
  only for the individual(s) named.  If you are not the 
 intended recipient,
  please let us know by e-mail reply and delete it from your 
 system; do not
  copy/save this e-mail or disclose its contents to anyone.  E-mail
  transmissions cannot be guaranteed to be secure or error-free as the
  transmission could be interrupted, corrupted, lost, 
 destroyed, altered,
  arrive late or contain viruses.  ObjectWave does not accept 
 liability for
  any errors or omissions in the contents of this e-mail 
 which arise as a
  result of e-mail transmission.  The views expressed in this 
 e-mail do not
  necessarily reflect those of ObjectWave or its affiliates.
 
  
 
 
 
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: mvn 2: create jar in war

2006-08-22 Thread Zeltner Martin
Vote for http://jira.codehaus.org/browse/MPWAR-30

Cheers,
Martin


 -Original Message-
 From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
 Sent: Montag, 21. August 2006 22:42
 To: Maven Users List
 Subject: Re: mvn 2: create jar in war
 
 On 8/21/06, Attila Mezei-Horvati [EMAIL PROTECTED] wrote:
 
  How can I create a jar from the classes compiled into
  the war? (for tomcat)
 
  Currently if I run the war package it leaves my
  sources in the web-inf/classes dir as compiled
  classes. I would like to put them in a jar and have it
  included in the web-inf/lib dir. Is that possible?
 
 I would put those classes in a separate module that builds a jar, and
 have the webapp depend on that jar.
 
 This also frees up the src/test/ directory hierarchy for tests that
 exercise the webapp itself, such as HttpUnit or HtmlUnit-based tests.
 Maven isn't currently very easy to configure for both unit and
 integration/functional tests in the same module.
 
 -- 
 Wendy
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: mvn 2: create jar in war

2006-08-22 Thread Zeltner Martin
Sorry. I've yust created a new issue for M2
http://jira.codehaus.org/browse/MWAR-70

BTW, I didn't recognize that the MPWAR is for Maven1.

Cheers,
Martin

 -Original Message-
 From: Jörg Schaible [mailto:[EMAIL PROTECTED] 
 Sent: Dienstag, 22. August 2006 09:30
 To: Maven Users List
 Subject: RE: mvn 2: create jar in war
 
 Zeltner Martin wrote on Tuesday, August 22, 2006 9:26 AM:
 
  Vote for http://jira.codehaus.org/browse/MPWAR-30
 
 This will hardly help, since MPWAR refers the Maven 1 plugin, 
 but the OP searches a solution for M2 ...
 
 - Jörg
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [m2] Maven site and powered by

2006-08-21 Thread Zeltner Martin
See http://jira.codehaus.org/browse/DOXIA-72

Cheers,
Martin 

 -Original Message-
 From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
 Sent: Samstag, 19. August 2006 01:21
 To: Maven Users List
 Subject: Re: [m2] Maven site and powered by
 
 On 8/17/06, Alex Schwartz [EMAIL PROTECTED] wrote:
 
  Ok, I figured it out myself. I took a look in the doxia 
 source ... and found
  it in doxia-decorator-model.
  There is a tag poweredBy which can be placed in the 
 site.xml nested in the
  top-level node.
  A poweredBy element can contains at least one logo element.
 
 Interesting!  It almost works.  I tried using it to add the ApacheCon
 logo to a site, but maven-base.css forces the image size to 90x30.  I
 wonder if that can be overridden in site.xml...
 
 -- 
 Wendy
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: m2-eclipse: exported libraries are unordered?

2006-08-14 Thread Zeltner Martin
See http://jira.codehaus.org/browse/MNG-1412 and vote for it.

Cheers,
Martin


 -Original Message-
 From: news [mailto:[EMAIL PROTECTED] On Behalf Of Holger Hoffstaette
 Sent: Montag, 14. August 2006 04:56
 To: users@maven.apache.org
 Subject: m2-eclipse: exported libraries are unordered?
 
 
 Dear Mavens -
 
 After switching a project from m1 to m2 it seems that, much to my
 surprise, the m2-eclipse plugin does not order the exported 
 jars in the
 generated .classpath file. Is there a magick flag that I'm 
 missing or do I
 need to talk to the the source?
 
 thanks,
 Holger
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Stuck ! (was Re: Doxia module)

2006-08-14 Thread Zeltner Martin
Hello Arnaud

I've got the same problem.
See the following:
http://jira.codehaus.org/browse/DOXIA-68
http://jira.codehaus.org/browse/DOXIA-69
http://jira.codehaus.org/browse/DOXIA-70

Until these problems are solved you have to build maven components, maven 
plugins and doxia yourself. But that's not really complicated. If you need help 
let me know.

Cheers,
Martin





 -Original Message-
 From: Arnaud Bailly [mailto:[EMAIL PROTECTED] 
 Sent: Montag, 14. August 2006 16:43
 To: Maven Developers List
 Cc: users@maven.apache.org
 Subject: Stuck ! (was Re: Doxia module)
 
 Hello,
 I still have troubles with doxia while trying to add a new module. I
 can see from posts in the users list that other people have troubles
 with using non standard modules like twiki.
 
 I tried copying my muse module to doxia-modules, it works fine and
 compiles ok, but I am left with the problem of telling maven to use my
 version of doxia. I could think of various solutions to this problem,
 including full recompilation of maven with modified dependency but I
 dont think this is the rigth way: there must be a way to add a plexus
 component to a system without recompiling everything. After all, this
 is the whole point of component based software engineering !
 
 So I am asking my question again: How can I add a new module
 (ie. input file format) to doxia in such a way that this format can be
 used to document a project in maven ? I suspect this has something to
 do with injecting a new plexus component, which may be something that
 is done when a jar or classpath entry is loadedd ( ? maybe through
 classworlds). 
 
 Any insights into this would be greatly appreciated as I desperately
 want  this plugin to work. 
 
 thx,
 
 -- 
 OQube  software engineering \ génie logiciel 
 Arnaud Bailly, Dr.
 \web http://www.oqube.com
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to use doxia-module-twiki?

2006-08-11 Thread Zeltner Martin
Hi!
 
I'd like to write my documentation by using the twiki language, but I
can't find any doc how to declare the doxia-module-twiki in my pom
that mvn site will render my twiki files in src/site/twiki to
target/site. Can anyone help me? Thanks for any help in advance!
 
Cheers,
Martin


Grouping profiles: Is there a way creating a profile that activates other profiles?

2006-07-27 Thread Zeltner Martin
Hello!

Is there a way to create a profile that activates other profiles?
I have the following profiles:

war.exploded
war.packed
tomcat5x
weblogic9x

Now I'd like to have a profile tomcat that automatically activates
profiles war.exploded and tomcat5x and a profile weblogic that
automatically activates profiles war.packed and weblogic9x.

Is there a way to do this?

Cheers,
Martin

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Curious behaviour for version element in parent element of pom

2006-07-25 Thread Zeltner Martin
Hi,

I mention here something that had been discussed many times in this
mailing list but wasn't answered usable on my opinion. I have the
following parent definiton in my pom which will not work:

parent
groupIdch.elca.el4j/groupId
artifactIdel4j/artifactId
version${el4j.version}/version
/parent

In the ~/.m2/settings.xml I've created a profile which is always active
and has property el4j.version set to 1.1-SNAPSHOT.

Can someone tell me what I have to do to make this work?

Thanks for your help in advance!

Cheers,
Martin


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: mvn install installs jar as war file in my local repository!

2006-07-25 Thread Zeltner Martin
FYI:

I've solved the issue. It is a bug in maven-jar-plugin.
See http://jira.codehaus.org/browse/MJAR-53

Cheers,
Martin 

 -Original Message-
 From: Zeltner Martin [mailto:[EMAIL PROTECTED] 
 Sent: Montag, 24. Juli 2006 11:14
 To: Maven Users List
 Subject: RE: mvn install installs jar as war file in my 
 local repository!
 
 Hi,
 
 I paste the poms from chlid to parent project:
 
 D:\Projects\EL4J\external\framework\tests\remoting\web\pom.xml:
 ---
 ?xml version=1.0 encoding=UTF-8?
 project
 xmlns=http://maven.apache.org/POM/4.0.0;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/maven-v4_0_0.xsd;
 modelVersion4.0.0/modelVersion
 
 !-- Version: $Revision: 640 $ --
 !-- URL: $URL:
 https://svn.sourceforge.net/svnroot/el4j/branches/el4j_1.1-alp
 ha-m2/el4j
 /framework/tests/remoting/web/pom.xml $ --
 !-- Date: $Date: 2006-07-21 12:31:31 +0200 (Fr, 21 Jul 
 2006) $ --
 !-- Author: $Author: swisswheel $ --
 
 parent
 groupIdch.elca.el4j.tests/groupId
 artifactIdel4j-framework-tests-remoting/artifactId
 version1.1.0-SNAPSHOT/version
 /parent
 
 artifactIdmodule-remoting-tests-web/artifactId
 version${version.module-remoting-tests}/version
 packagingwar/packaging
 nameEL4J web module for remoting tests/name
 description
 Test web module for remoting modules of the EL4J framework.
 /description
 build
 plugins
 plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-jar-plugin/artifactId
 /plugin
 /plugins
 /build
 dependencies
 !-- EL4J framework modules --
 dependency
 groupIdch.elca.el4j/groupId
 artifactIdmodule-remoting_caucho/artifactId
 typejar/type
 /dependency
 dependency
 groupIdch.elca.el4j/groupId
 artifactIdmodule-remoting_soap/artifactId
 typejar/type
 /dependency
 dependency
 groupIdch.elca.el4j/groupId
 artifactIdmodule-web/artifactId
 typejar/type
 /dependency
 dependency
 groupIdch.elca.el4j/groupId
 artifactIdmodule-env/artifactId
 typejar/type
 /dependency
 dependency
 groupIdjavax.servlet/groupId
 artifactIdservlet-api/artifactId
 /dependency
 /dependencies
 /project
 +++
 
 
 D:\Projects\EL4J\external\framework\tests\remoting\pom.xml:
 ---
 ?xml version=1.0 encoding=UTF-8?
 project
 xmlns=http://maven.apache.org/POM/4.0.0;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/maven-v4_0_0.xsd;
 modelVersion4.0.0/modelVersion
 
 !-- Version: $Revision: 640 $ --
 !-- URL: $URL:
 https://svn.sourceforge.net/svnroot/el4j/branches/el4j_1.1-alp
 ha-m2/el4j
 /framework/tests/remoting/pom.xml $ --
 !-- Date: $Date: 2006-07-21 12:31:31 +0200 (Fr, 21 Jul 
 2006) $ --
 !-- Author: $Author: swisswheel $ --
 
 parent
 groupIdch.elca.el4j.tests/groupId
 artifactIdel4j-framework-tests/artifactId
 version1.1.0-SNAPSHOT/version
 /parent
 
 artifactIdel4j-framework-tests-remoting/artifactId
 packagingpom/packaging
 nameEL4J module for remoting tests/name
 description
 Test module for remoting modules of the EL4J framework.
 /description
 modules
 moduleweb/module
 modulefunctional-tests/module
 /modules
 dependencyManagement
 dependencies
 !-- module-remoting-tests --
 dependency
 groupIdch.elca.el4j.tests/groupId
 artifactIdmodule-remoting-tests-web/artifactId
 version${version.module-remoting-tests}/version
 typejar/type
 /dependency
 dependency
 groupIdch.elca.el4j.tests/groupId
 artifactIdmodule-remoting-tests-web/artifactId
 version${version.module-remoting-tests}/version
 typewar/type
 scopeprovided/scope
 /dependency
 /dependencies
 /dependencyManagement
 /project
 +++
 
 
 D:\Projects\EL4J\external\framework\tests\pom.xml:
 ---
 ?xml version=1.0 encoding=UTF-8?
 project xmlns=http://maven.apache.org/POM/4.0.0;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/maven

RE: Curious behaviour for version element in parent element of pom

2006-07-25 Thread Zeltner Martin
Yes, (tried abc) but it won't. 

Here's my output:
**
$ mvn -N install
[INFO] Scanning for projects...
[INFO]


[INFO] Building EL4J framework
[INFO]task-segment: [install]
[INFO]


Downloading:
http://el4.elca-services.ch/el4j/maven2repository/ch/elca/el4j/el4j/${ab
c}/el4j-${abc}.pom
[WARNING] Unable to get resource from repository el4jPluginRepository
(http://el4.elca-services.ch/el4j/maven2repository
)
Downloading:
http://repo1.maven.org/maven2/ch/elca/el4j/el4j/${abc}/el4j-${abc}.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
Downloading:
http://el4.elca-services.ch/el4j/maven2repository/ch/elca/el4j/el4j/${ab
c}/el4j-${abc}.pom
[WARNING] Unable to get resource from repository el4jModuleRepository
(http://el4.elca-services.ch/el4j/maven2repository
)
Downloading:
http://repo1.maven.org/maven2/ch/elca/el4j/el4j/${abc}/el4j-${abc}.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Failed to resolve artifact.

GroupId: ch.elca.el4j
ArtifactId: el4j
Version: ${abc}

Reason: Unable to download the artifact from any repository

  ch.elca.el4j:el4j:pom:${abc}

from the specified remote repositories:
  el4jPluginRepository
(http://el4.elca-services.ch/el4j/maven2repository),
  central (http://repo1.maven.org/maven2),
  el4jModuleRepository
(http://el4.elca-services.ch/el4j/maven2repository)


[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 2 seconds
[INFO] Finished at: Tue Jul 25 11:44:32 CEST 2006
[INFO] Final Memory: 3M/5M
[INFO]

FATAL ERROR: Unable to configure the Maven application
For more information, run with the -e flag
**

Cheers,
Martin







 -Original Message-
 From: Denis Cabasson [mailto:[EMAIL PROTECTED] 
 Sent: Dienstag, 25. Juli 2006 11:34
 To: users@maven.apache.org
 Subject: Re: Curious behaviour for version element in parent 
 element of pom
 
 
 
 Zeltner Martin wrote:
  
  In the ~/.m2/settings.xml I've created a profile which is 
 always active
  and has property el4j.version set to 1.1-SNAPSHOT.
  
 
 Have you tried renaming your property, to another, less error 
 prone, name?
 (say foobar?)
 
 Denis.
 -- 
 View this message in context: 
 http://www.nabble.com/Curious-behaviour-for-version-element-in
 -parent-element-of-pom-tf1996891.html#a5482299
 Sent from the Maven - Users forum at Nabble.com.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



mvn install installs jar as war file in my local repository!

2006-07-24 Thread Zeltner Martin
Hello!

I've got a pom.xml with packaging war. When I execute mvn package
Maven creates jar, test-jar and war. Now I'd like to install all three
in my local repo. First, this doesn't work. I saw that just the pom,
test-jar and war have been installed. When I have a closer view to the
installed war I saw that it is actually the jar! I'm using the current
snapshot version of Maven (2.0.5-SNAPSHOT).

Does anybody knows this problem? Can anyone help solving this issue?
It would be very glad to here from someone, cause I fell so alone with
this #?!** problem.

Cheers,
Martin



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: mvn install installs jar as war file in my local repository!

2006-07-24 Thread Zeltner Martin
Hi,

I paste the poms from chlid to parent project:

D:\Projects\EL4J\external\framework\tests\remoting\web\pom.xml:
---
?xml version=1.0 encoding=UTF-8?
project
xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd;
modelVersion4.0.0/modelVersion

!-- Version: $Revision: 640 $ --
!-- URL: $URL:
https://svn.sourceforge.net/svnroot/el4j/branches/el4j_1.1-alpha-m2/el4j
/framework/tests/remoting/web/pom.xml $ --
!-- Date: $Date: 2006-07-21 12:31:31 +0200 (Fr, 21 Jul 2006) $ --
!-- Author: $Author: swisswheel $ --

parent
groupIdch.elca.el4j.tests/groupId
artifactIdel4j-framework-tests-remoting/artifactId
version1.1.0-SNAPSHOT/version
/parent

artifactIdmodule-remoting-tests-web/artifactId
version${version.module-remoting-tests}/version
packagingwar/packaging
nameEL4J web module for remoting tests/name
description
Test web module for remoting modules of the EL4J framework.
/description
build
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-jar-plugin/artifactId
/plugin
/plugins
/build
dependencies
!-- EL4J framework modules --
dependency
groupIdch.elca.el4j/groupId
artifactIdmodule-remoting_caucho/artifactId
typejar/type
/dependency
dependency
groupIdch.elca.el4j/groupId
artifactIdmodule-remoting_soap/artifactId
typejar/type
/dependency
dependency
groupIdch.elca.el4j/groupId
artifactIdmodule-web/artifactId
typejar/type
/dependency
dependency
groupIdch.elca.el4j/groupId
artifactIdmodule-env/artifactId
typejar/type
/dependency
dependency
groupIdjavax.servlet/groupId
artifactIdservlet-api/artifactId
/dependency
/dependencies
/project
+++


D:\Projects\EL4J\external\framework\tests\remoting\pom.xml:
---
?xml version=1.0 encoding=UTF-8?
project
xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd;
modelVersion4.0.0/modelVersion

!-- Version: $Revision: 640 $ --
!-- URL: $URL:
https://svn.sourceforge.net/svnroot/el4j/branches/el4j_1.1-alpha-m2/el4j
/framework/tests/remoting/pom.xml $ --
!-- Date: $Date: 2006-07-21 12:31:31 +0200 (Fr, 21 Jul 2006) $ --
!-- Author: $Author: swisswheel $ --

parent
groupIdch.elca.el4j.tests/groupId
artifactIdel4j-framework-tests/artifactId
version1.1.0-SNAPSHOT/version
/parent

artifactIdel4j-framework-tests-remoting/artifactId
packagingpom/packaging
nameEL4J module for remoting tests/name
description
Test module for remoting modules of the EL4J framework.
/description
modules
moduleweb/module
modulefunctional-tests/module
/modules
dependencyManagement
dependencies
!-- module-remoting-tests --
dependency
groupIdch.elca.el4j.tests/groupId
artifactIdmodule-remoting-tests-web/artifactId
version${version.module-remoting-tests}/version
typejar/type
/dependency
dependency
groupIdch.elca.el4j.tests/groupId
artifactIdmodule-remoting-tests-web/artifactId
version${version.module-remoting-tests}/version
typewar/type
scopeprovided/scope
/dependency
/dependencies
/dependencyManagement
/project
+++


D:\Projects\EL4J\external\framework\tests\pom.xml:
---
?xml version=1.0 encoding=UTF-8?
project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd;
modelVersion4.0.0/modelVersion

!-- Version: $Revision: 639 $ --
!-- URL: $URL:
https://svn.sourceforge.net/svnroot/el4j/branches/el4j_1.1-alpha-m2/el4j
/framework/tests/pom.xml $ --
!-- Date: $Date: 2006-07-21 09:51:10 +0200 (Fr, 21 Jul 2006) $ --
!-- Author: $Author: swisswheel $ --

parent
groupIdch.elca.el4j/groupId
artifactIdel4j-framework/artifactId
version1.1.0-SNAPSHOT/version
/parent


How to execute jar:jar just once?

2006-07-24 Thread Zeltner Martin
Hello!

I have the following plugin config in my pom with packaging jar:

---
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-jar-plugin/artifactId
version2.1-SNAPSHOT/version
executions
execution
iddefault/id
goals
goaljar/goal
/goals
configuration
archive
manifestSections
manifestSection
nameel4j-config/name
manifestEntries
Module${el4j-config.module}/Module
Files${el4j-config.files}/Files
 
Dependencies${el4j-config.dependencies}/Dependencies
/manifestEntries
/manifestSection
/manifestSections
/archive
/configuration
/execution
/executions
/plugin
---

If I have a look at the console output when executing mvn package I
can see that goal jar:jar is executed twice. The first invokation
comes from the default jar lifecycle of my pom and the second from my
config above. Can someone tell me how to configure the plugin above that
the default jar lifecycle directly executes my execution-definition
(id=default)?

Thanks for your help in advance!

Cheers,
Martin

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Problem with */ in parameter's default-value

2006-06-16 Thread Zeltner Martin
I've found the solution. As in java code you can escape characters in javadoc 
too. In my example it must looks like this:

 /**
  * Pattern to lookup jar files.
  * @parameter expression=${jarLookupPattern} default-value=**\/*.jar
  * @required
  */
 protected String m_jarLookupPattern;

Cheers,
Martin

 -Original Message-
 From: Zeltner Martin [mailto:[EMAIL PROTECTED]
 Sent: Donnerstag, 15. Juni 2006 16:36
 To: users@maven.apache.org
 Subject: Problem with */ in parameter's default-value
 
 
 Hello,
 
 I'd like to define **/*.jar as default-value for a mojo 
 parameter (see example).
 
 /**
  * Pattern to lookup jar files.
  * @parameter expression=${jarLookupPattern} 
 default-value=**/*.jar
  * @required
  */
 protected String m_jarLookupPattern;
 
 The problem is that */ is interpreted as the end of the 
 javadoc. Is there a nice way to circumvent this problem?
 
 Best regards,
 Martin Zeltner
 
 -
 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]



Problem with */ in parameter's default-value

2006-06-15 Thread Zeltner Martin
Hello,

I'd like to define **/*.jar as default-value for a mojo parameter (see example).

/**
 * Pattern to lookup jar files.
 * @parameter expression=${jarLookupPattern} default-value=**/*.jar
 * @required
 */
protected String m_jarLookupPattern;

The problem is that */ is interpreted as the end of the javadoc. Is there a 
nice way to circumvent this problem?

Best regards,
Martin Zeltner

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]