Antwort: eclipse:eclipse - no .project for POM packaging?

2009-02-11 Thread Clovis . SERAGIOTTO
use pdetrue/pde

plugin
artifactIdmaven-eclipse-plugin/artifactId
configuration
  pdetrue/pde
/configuration
/plugin

But I don't know the site-effects of setting pde to true...

__
Diese E-Mail kann vertrauliche und geschuetzte Informationen enthalten. Wenn 
diese E-Mail nicht für Sie bestimmt ist, bitten wir Sie, uns unverzueglich zu 
informieren und sie zu loeschen. 

This e-mail message may contain information, which is confidential and 
protected. If you are not the intended recipient of this message, we ask you to 
inform us immediately and delete the message afterwards.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



SV: Release plugin question

2009-02-11 Thread Gunnar.Bostrom
Hi,
Thanks a lot! 
I've read that page but somehow I missed it.
I'll try it on our next release.
Gunnar
 

 -Ursprungligt meddelande-
 Från: Kalle Korhonen [mailto:kalle.o.korho...@gmail.com] 
 Skickat: den 10 februari 2009 16:30
 Till: Maven Users List
 Ämne: Re: Release plugin question
 
 Use releaseProfile=false (see documentation at 
 http://maven.apache.org/plugins/maven-release-plugin/perform-m
 ojo.html), you can add it in the pom as part of release 
 plugin's configuration.
 
 Kalle
 
 
 On Tue, Feb 10, 2009 at 7:17 AM, gunnar.bost...@tieto.com wrote:
 
  Hi,
  I use maven 2.0.9 and do releases with the release plug-in.
  Everything works fine but I would like to prevent 
 release:perform from 
  generating a source jar and javadoc jar file.
  The plug-in also installs the generated jars it in our 
 local repository.
  Is it away to prevent this?
  Thanks,
  Gunnar
 
 
  
 -
  To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
  For additional commands, e-mail: users-h...@maven.apache.org
 
 
 

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Antwort: Eclipse Plugin - No .classpath file.

2009-02-11 Thread Clovis . SERAGIOTTO
The trigger is
pde || ( Constants.LANGUAGE_JAVA.equals( artifactHandler.getLanguage() ) 
 !Constants.PROJECT_PACKAGING_EAR.equals( packaging ) );

Therefore, if you have a custom packaging type, you need to add the 
following to META-INF/plexus/components.xml

component
roleorg.apache.maven.artifact.handler.ArtifactHandler/role
role-hintcustom-packaging-type/role-hint
 
implementationorg.apache.maven.artifact.handler.DefaultArtifactHandler/implementation
configuration
typecustom-packaging-type/type
extensionjar/extension
languagejava/language
addedToClasspathtrue/addedToClasspath
/configuration
/component

__
Diese E-Mail kann vertrauliche und geschuetzte Informationen enthalten. Wenn 
diese E-Mail nicht für Sie bestimmt ist, bitten wir Sie, uns unverzueglich zu 
informieren und sie zu loeschen. 

This e-mail message may contain information, which is confidential and 
protected. If you are not the intended recipient of this message, we ask you to 
inform us immediately and delete the message afterwards.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Snapshots repositories, how should they work?

2009-02-11 Thread Kent Närling
This might be a newbie question, bit I have tried to find documentation
explaining how snapshot repositories should work... can anyone give me a
pointer?

We have an internal repository (nexus) and a build server (continuum) which
works fine with released artifacts etc

However I cannot get automatic download of snapshot dependencies to work
successfully...?

I have added a snapshot-enabled repository to my settings and it does try to
download it, but it seems it gets the timestamp/build number incorrect all
the time!

For instance, I can see that maven is trying to download:
Downloading:
http://nexus:8081/nexus/content/groups/public-snapshots/com.my.common/poms/my-artifact-0.11-20090211.000500-295.pom

But when I check the repo manually, the latest snapshot was  actually named:
http://nexus:8081/nexus/content/groups/public-snapshots/com.my.common/poms/my-artifact-0.11-20090211.000348-293.pom

What am I doing wrong?


Re: eclipse:eclipse - no .project for POM packaging?

2009-02-11 Thread Martin Höller
On Tuesday 10 February 2009 David C. Hicks wrote:
 Is there a way to force the maven-eclipse-plugin to produce .project
 files for modules that are packaging=pom?

There is an open JIRA issue [0] for this and a lot of duplicates. Read the 
comments to see what the status quo is.

hth,
- martin

[0] http://jira.codehaus.org/browse/MECLIPSE-94


signature.asc
Description: This is a digitally signed message part.


help using maven with cargo and m2 pluging for star/stop and deploy into one jboss

2009-02-11 Thread koxkorrita
Hello

I need help. I am working into this problem during 5 days and i dont solve
it.
I have maven, i am using eclipse with the m2 pluging and i use jboss and
jsee container.

i am read a lot of documentation but i dont solve my problem:
this is the problem:
1.- start jboss (i have solve this)
2.- stop localhost
3. deploy one war into the jboss.

Can anybody helps me?

thanks


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: [ANN] - SCM Changelog Maven Plugin 1.1 Released

2009-02-11 Thread Emmanuel Hugonnet
Ok, my mistake.
I am not that familiar with JIRA so I am not sure I understand your ideas
well.
I think that switching the grammar may provide what you want for filtering,
but as the grammar
is not coupled to the tracker the JIRA part is a bit lost to me.
Could you provide an example ?
Emmanuel

On Tue, Feb 10, 2009 at 6:56 PM, Stevo Slavić ssla...@gmail.com wrote:

 Yes, I was thinking on scmchangelog. With excludeSubtasks set and JIRA as
 issue tracker, for commits with issue id provided scmchangelog could obtain
 issue details, check if the issue is a subtask, and based on that decide
 whether to include issue in or exclude issue from the report. Commits
 without issue id can be excluded in this case, or even better another
 filter
 configuration option (e.g. new excludeNonIssues attribute of filter
 element) should be provided that would allow user to specify desired
 behavior. After applying these filters, regular already present filter
 option (if not empty) should be applied. These are all nice-to-haves.

 Regards,
 Stevo.

 On Tue, Feb 10, 2009 at 9:34 AM, Rémy Sanlaville
 remy.sanlavi...@gmail.comwrote:

  
   Congrats, keep up the good work!
 
 
  Thanks Stevo. We hope that our plugin
 
 
   One new feature suggestion - support for filtering subtasks (at least
  when
   jira is issue tracker), e.g. through optional excludeSubtasks
 attribute
   of
   filter configuration element.
 
 
  Are you sure that it is for our plugin and not for the
  maven-changes-plugin.
  In fact, with our plugin, you just have to not add the subtasks id in the
  SCM comment.
 
  Regards,
 
  Rémy
 



Re: Ant Task - Build maven pom.xml

2009-02-11 Thread vikask

Hi,
Thanks for you detailed explanation. I got the scope of maven ant tasks.
case 1 is what I am looking for.
Definitely now I will try with exec ant task.

Just for curiosity, Is there any plan to in maven 3 to give such facility to
build any maven (pom.xml) project from ant build.xml file?

Thanks once again for your great explanation.

regards
Vikas


Hervé BOUTEMY wrote:
 
 Hi,
 
 I thought Tim's reply didn't need any addition, but it seems that even the 
 documentation is still not clear enough (multiple people did a lot of work
 on 
 it, though...).
 Let's try to understand your problem, then improve the doc.
 
 Perhaps 2 examples will help us to understand each other.
 
 1. Maven Ant Tasks have a sample.build.xml [2] to unit-test the components 
 features
 As stated before, Maven Ant Tasks are not meant to really *build* a
 project, 
 but only get dependencies. So you won't see in this example anything
 really 
 building: only getting dependencies in multiple forms, installing an
 artifact 
 into local repository and deploying to a remote repo (how the artifact 
 installed/deployed is really build is not shown, since once again, it's
 not 
 the purpose of the tasks)
 
 2. Maven itself can be bootstrapped using Maven Ant Tasks: see build.xml
 in 
 Maven Core sources [3]
 This time, this is really a project (Maven Core) built by Ant, getting its 
 multiple dependencies with Maven Ant Tasks: seems to be what you want to
 do 
 with your project.
 As you can see in the build file, most content is about building a
 specific 
 project: there is only a little part that is about getting dependencies,
 ie 
 the pull target (with its depends).
 
 
 Are these examples more clear?
 
 
 Regards,
 
 Hervé
 
 
 [2] 
 http://svn.apache.org/viewvc/maven/ant-tasks/branches/maven-ant-tasks-2.0.x/sample.build.xml?view=markup
 
 [3] 
 http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/build.xml?view=markup
 
 Le mercredi 11 février 2009, vikask a écrit :
 Hi

 I am also facing same problem. Have anyone found solution?

 Thanks

 regards
 Vikas

 Tim Kettler wrote:
  Hi,
 
  halsafar schrieb:
  I am trying to write an ant script to automate some maven tasks and
  hopefully
  decide not to rebuild the entire thing if it detects no changes.  Just
  to give an idea I am working with Jasig CAS Server which has several
  modules all which are Maven projects.  The build time is brutal on
 this
  beast and it
  will always rebuild no matter what it seems.  So even if Ant won't
 help
  I am
  still stuck using Ant as I need to auto-deploy the CAS Server to both
 a
  Tomcat and Glassfish server.  Now everything has been done and Maven
 is
  being run from a simple exec call in the build.xml for the ant
 script.
  I
  did find some Official Maven Ant Tasks jar I would like to try. 
 However
  I
  have been unable to find any examples which actually show this maven
 ant
  tasks   building a maven project.  Any help?
 
  The maven ant tasks bring the dependency management features of maven
 to
  ant, they don't enable ant to build a maven project. Anyway, here [1]
 is
  the link to the official homepage containing usage instructions.
 
  -Tim
 
  [1] http://maven.apache.org/ant-tasks.html
 
  -
  To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
  For additional commands, e-mail: users-h...@maven.apache.org
 
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Ant-Task---Build-maven-pom.xml-tp17657445p21951942.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Prevent a build

2009-02-11 Thread Paul Benedict
Mansour,

If you include the maven-source-plugin in your build, you can run the
command source:jar to create a source-only jar.

Paul

On Tue, Feb 10, 2009 at 11:43 PM, Mansour mansou...@yahoo.com wrote:
 Hello all,
 I am having two problems. The first one is I don't want to compile the
 classes when creating the artifact (jar). I want the source only to be
 there. Later on, if I need to build a whole program and wrap it in
 assembly, Then I would like to include only the sources. How can I do
 this ?

 The second part is going through the whole build cycle (compile, test,
 package. ...etc) when I do deploy. There's no need for this, as the
 processes takes time to recreate a package again. can this be prevent.



 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Upload request opensymphony quartz 1.6.4

2009-02-11 Thread torsten . reinhard
Hi, 

could anyone please upload the newest version of opensymphony/quartz-all ? 

In repo1 I could only find 1.6.1

thanx a lot, 

Torsten


Re: M2Eclipse Plugin can't resolve workspace dependency during MVN compile

2009-02-11 Thread Lincoln Baxter, III
That flag is what I was looking for. Thanks! I'll give it a shot.

On Tue, 2009-02-10 at 23:11 -0500, Jason van Zyl wrote:

 On 10-Feb-09, at 5:36 PM, Lincoln Baxter, III wrote:
 
 
 
 
  The version must also match. If you refer to a project and the  
  version
  doesn't match the version in your workspace then m2eclipse will use
  normal Maven resolution which is checking your local and then remote
  versions.
 
 
  Yeah the versions match :)
 
 
  Maven is not m2eclipse. The Maven CLI is not going to be able to  
  build
  anything if you don't have it installed. The CLI and m2eclipse's
  operation inside Eclipse are two separate things.
 
  So when, in Eclipse, I do:
 
 
 Run As - Maven Build
 
 
  Is that invoking the CLI or is m2eclipse doing the work? If it's
  actually invoking the CLI, then that's the reason, but if m2eclipse is
  doing the work, I would expect it to find my workspace dependencies
  during the build. (Which it's not)
 
 When you are executing a build the default is to use the embedder and  
 _not_ use artifacts in the workspace. You have to enable that in the  
 run configurations. There is a toggle for that. But whether the  
 embedded version of external version of Maven is used it's the CLI  
 code that is called.
 
 But this only affects Maven and Maven plugins that you are working on,  
 not your dependent projects. Maven executes as it normally would from  
 the command line. Maven itself cannot resolve artifacts in your  
 Eclipse workspace.
 
 
 
 
  Does that make sense?
 
  Thanks again,
  Lincoln
 
 Thanks,
 
 Jason
 
 --
 Jason van Zyl
 Founder,  Apache Maven
 jason at sonatype dot com
 --
 
 People develop abstractions by generalizing from concrete examples.
 Every attempt to determine the correct abstraction on paper without
 actually developing a running system is doomed to failure. No one
 is that smart. A framework is a resuable design, so you develop it by
 looking at the things it is supposed to be a design of. The more  
 examples
 you look at, the more general your framework will be.
 
-- Ralph Johnson  Don Roberts, Patterns for Evolving Frameworks
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org
 


Excluding Manifest.MF when generating jar-files

2009-02-11 Thread Weichselbaumer Michael (MWE 4170)
Hello list,
 
I am currently trying to create jar-files without the MANIFEST.MF
included.
How can i tell Maven2 to not include those?
 
I have already figured out that adding:
 
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-jar-plugin/artifactId
configuration
archive
addMavenDescriptorfalse/addMavenDescriptor 
/archive
/configuration
/plugin

helps me removing that maven subfolder in META-INF, which contains
pom.properties and stuff. But now I would like to not include a
MANIFEST.MF either. Anyway, I can't figure out how to configure that.
Could anyone help me with this?!



Re: Prevent a build

2009-02-11 Thread Mansour
thank you Paul. But how do I deploy it then? If I deploy, it will
recompile and rebuild the whole thing then deploy it to remote repo.
Right ? ?


Paul Benedict wrote:
 Mansour,

 If you include the maven-source-plugin in your build, you can run the
 command source:jar to create a source-only jar.

 Paul

 On Tue, Feb 10, 2009 at 11:43 PM, Mansour mansou...@yahoo.com wrote:
   
 Hello all,
 I am having two problems. The first one is I don't want to compile the
 classes when creating the artifact (jar). I want the source only to be
 there. Later on, if I need to build a whole program and wrap it in
 assembly, Then I would like to include only the sources. How can I do
 this ?

 The second part is going through the whole build cycle (compile, test,
 package. ...etc) when I do deploy. There's no need for this, as the
 processes takes time to recreate a package again. can this be prevent.



 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org


 

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org


   


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Maven 2 Equivalent of Link Check Report

2009-02-11 Thread Micah Whitacre
Is there a Maven 2 equivalent to the Maven 1 Link Check Report[1]?

[1] -http://maven.apache.org/maven-1.x/linkcheck.html

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



RE : Upload request opensymphony quartz 1.6.4

2009-02-11 Thread Deneux, Christophe
To have an artifact uploaded, you should follow the following guide: 
http://maven.apache.org/guides/mini/guide-central-repository-upload.html, 
section Manual upload of artifacts
 
___
Christophe DENEUX / Capgemini Sud / Méditerranée
Integration Architect / OW2 PEtALS Comitter
Tel: + 33 4 93 95 55 92 / www.capgemini.com http://www.capgemini.com/ 
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice / FRANCE
Join the Collaborative Business Experience
___
Please consider the environment and do not print this email unless absolutely 
necessary. Capgemini encourages environmental awareness.



De: torsten.reinh...@gi-de.com [mailto:torsten.reinh...@gi-de.com]
Date: mer. 11/02/2009 14:48
À: Maven Users List
Objet : Upload request opensymphony quartz 1.6.4



Hi,

could anyone please upload the newest version of opensymphony/quartz-all ?

In repo1 I could only find 1.6.1

thanx a lot,

Torsten








This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is 
intended only for the person to whom it is addressed. If you are not the 
intended recipient, you are not authorized to 
read, print, retain, copy, disseminate, distribute, or use this message or any 
part thereof. If you receive this message 
in error, please notify the sender immediately and delete all copies of this 
message.


Maven Release Plugin

2009-02-11 Thread Terry Bell
Is there any way to stop the release:perform from generating any  
reports at all?


I would looking for an option that just does the subversion tagging  
commits, and the artifactory uploads.


-tb

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Maven Release Plugin

2009-02-11 Thread Wendy Smoak
On Wed, Feb 11, 2009 at 9:19 AM, Terry Bell tb...@selkirksystems.com wrote:
 Is there any way to stop the release:perform from generating any reports at
 all?

 I would looking for an option that just does the subversion tagging commits,
 and the artifactory uploads.

By default, release:perform will do 'deploy site-deploy' if you have a
distributionManagement/site/url configured.

http://maven.apache.org/plugins/maven-release-plugin/perform-mojo.html

If you're trying to avoid the 'site-deploy', configure the plugin to
only run 'deploy'.

There's an example of changing the goals here:
http://maven.apache.org/plugins/maven-release-plugin/examples/perform-release.html

-- 
Wendy

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



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 just does the subversion tagging 
commits, and the artifactory uploads.


-tb

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Running a plugin from the pom

2009-02-11 Thread Steven Crosley

I'm trying to run the yui-compressor maven plugin found here:

http://alchim.sourceforge.net/yuicompressor-maven-plugin/index.html

It runs fine when I run it by itself:
$ mvn net.sf.alchim:yuicompressor-maven-plugin:compress
But when I add it to the pom.xml and run:
mvn package
it doesn't run but should be executed at the process-resources phase.   
Maybe I am not understanding the build process enough, but I thought  
if you run package, it would automatically run the process-resources  
phase, here is the plugin that I added to my pom.


plugin
groupIdnet.sf.alchim/groupId
artifactIdyuicompressor-maven-plugin/artifactId
executions
  execution
goals
goalcompress/goal
/goals
  /execution
/executions
configuration
  nosuffixtrue/nosuffix
  aggregations
aggregation
  !-- remove files after aggregation (default: 
false)
  removeIncludedtrue/removeIncluded
  --
  !-- insert new line after each concatenation 
(default: false) --
  insertNewLinetrue/insertNewLine
  output${project.build.directory}/${project.build.finalName}/js/ 
compressed/all.js/output
  !-- files to include, path relative to output's directory or  
absolute path--

  includes
include**/*.js/include
  /includes
  !-- files to exclude, path relative to 
output's directory
  excludes
exclude**/*.pack.js/exclude
exclude**/compressed.css/exclude
  /excludes
  --
/aggregation
  /aggregations
/configuration
  /plugin




Re: Running a plugin from the pom

2009-02-11 Thread Wayne Fay
executions
  execution
 phasepackage/phase
goals
goalcompress/goal

You're missing a phase node which tells Maven when to run the goal
in that plugin. I added it to your XML -- try that.

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Maven 2 Equivalent of Link Check Report

2009-02-11 Thread Wayne Fay
 Is there a Maven 2 equivalent to the Maven 1 Link Check Report[1]?

Not that I'm aware of. If you build one, let us know.

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Proper syntax for referencing dependencies in Ant?

2009-02-11 Thread schegi

I have the same Problem nice to know if you solved that.

Stefan

-- 
View this message in context: 
http://www.nabble.com/Proper-syntax-for-referencing-dependencies-in-Ant--tp20783656p21958298.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Running a plugin from the pom

2009-02-11 Thread Steven Crosley
Doesn't look like that worked, do I also need to run this 'compress'  
goal in my mvn command? I would like to avoid that if possible.


Thanks,
Steven

On Feb 11, 2009, at 11:58 AM, Wayne Fay wrote:


  executions
execution

phasepackage/phase

  goals
  goalcompress/goal


You're missing a phase node which tells Maven when to run the goal
in that plugin. I added it to your XML -- try that.

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Running a plugin from the pom

2009-02-11 Thread Wayne Fay
 Doesn't look like that worked, do I also need to run this 'compress' goal in
 my mvn command? I would like to avoid that if possible.

I don't use this plugin myself. You're probably better off contacting
the plugin developers directly (or a corresponding user list) to get
more specific help.

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



AW: Upload request opensymphony quartz 1.6.4

2009-02-11 Thread johannes.konstantinidis
Hello

I guess Thorsten meant to ask the person who is responsible for OpenSymphony 
Quartz
to update the repository. :-)

Is there an EASY way to determine/find out a responsible person for each 
project 
as there are several outdated projects. The users mailing list does not seem to 
be 
the right place. 

Btw, the file opensymphony/quartz-all/1.6.1/quartz-all-1.6.1.pom (the old 
location)
is invalid due to a typo. So it cannot be displayed correctly. Therefore 
someone might 
not see the relocation hint.

Johannes

_

Johannes M. Konstantinidis / Capgemini sdm / München
johannes.konstantini...@capgemini-sdm.com



-Ursprüngliche Nachricht-
Von: Deneux, Christophe [mailto:christophe.den...@capgemini.com] 
Gesendet: Mittwoch, 11. Februar 2009 16:58
An: Maven Users List; Maven Users List
Betreff: RE : Upload request opensymphony quartz 1.6.4

To have an artifact uploaded, you should follow the following guide: 
http://maven.apache.org/guides/mini/guide-central-repository-upload.html, 
section Manual upload of artifacts
 
___
Christophe DENEUX / Capgemini Sud / Méditerranée Integration Architect / OW2 
PEtALS Comitter
Tel: + 33 4 93 95 55 92 / www.capgemini.com http://www.capgemini.com/ Porte 
de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice / FRANCE Join 
the Collaborative Business Experience 
___
Please consider the environment and do not print this email unless absolutely 
necessary. Capgemini encourages environmental awareness.



De: torsten.reinh...@gi-de.com [mailto:torsten.reinh...@gi-de.com]
Date: mer. 11/02/2009 14:48
À: Maven Users List
Objet : Upload request opensymphony quartz 1.6.4



Hi,

could anyone please upload the newest version of opensymphony/quartz-all ?

In repo1 I could only find 1.6.1

thanx a lot,

Torsten








This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient, you are not authorized 
to read, print, retain, copy, disseminate, distribute, or use this message or 
any part thereof. If you receive this message in error, please notify the 
sender immediately and delete all copies of this message.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Axis2 wsdl2code Plugin Help!

2009-02-11 Thread Kevin Witten
I'm trying to use the axis2 wsdl2code plugin to generate code. Unfortunately 
I'm getting an error in maven that it cannot fine the plugin.
Does anyone know how to get this working?

I'm Using maven V2.0.9

My pom contains:

   plugin
   groupIdorg.apache.axis2/groupId
   artifactIdaxis2-wsdl2code-maven-plugin/artifactId
   version1.4.1/version
   executions
  execution
 phasegenerate-sources/phase
 goals
goalwsdl2code/goal
 /goals
  /execution
   /executions
   configuration
  packageNamecom.nomadix/packageName
  wsdlFilesrc/main/resources/ACSService.wsdl/wsdlFile
  databindingNameadb/databindingName
  generateServerSidetrue/generateServerSide
  
generateServerSideInterfacetrue/generateServerSideInterface
  generateServicesXmltrue/generateServicesXml
  namespaceToPackages
 
http://nomadix.com/acs/services/ns/acs=com.nomadix.acs.services.acsservice
  /namespaceToPackages
  outputDirectorysrc/main/java/outputDirectory
  skipWSDLtrue/skipWSDL
  skipBuildXmltrue/skipBuildXml
   /configuration
   dependencies
  dependency
 groupIdorg.apache.axis2/groupId
 artifactIdaxis2/artifactId
 version1.4.1/version
  /dependency
   /dependencies
/plugin


Any the error is:

$ mvn axis2-wsdl2code:wsdl2code
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'axis2-wsdl2code'.
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] The plugin 'org.apache.maven.plugins:maven-axis2-wsdl2code-plugin' does 
not exist or no valid version could be found
[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time:  1 second
[INFO] Finished at: Wed Feb 11 11:58:37 PST 2009
[INFO] Final Memory: 1M/4M
[INFO] 


Very strange. From the error, maven seems to be looking for the plugin in 
'org.apache.maven.plugins,
but I have defined the groupId as org.apache.axis2. Is this a bug in maven?

Thanks in advance for any help,

Kevin Witten




Notice? The information and attachment(s) contained in this communication are 
intended for the addressee only, and may be confidential and/or legally 
privileged. If you have received this communication in error, please contact 
the sender immediately, and delete this communication from any computer or 
network system. Any interception, review, printing, copying, re-transmission, 
dissemination, or other use of, or taking of any action upon this information 
by persons or entities other than the intended recipient is strictly prohibited 
by law and may subject them to criminal or civil liability. None of the 
interTouch Group of Companies shall be liable for the improper and/or 
incomplete transmission of the information contained in this communication or 
for any delay in its receipt.


Can maven-antrun-plugin run before code compiled?

2009-02-11 Thread Mike Wallace

I have a java project where the code depends on several libraries being built.
What I'd like to do is have Maven run an Ant task that builds those libraries 
first, then Maven would go on to compile the code.

Currently, my pom file contains the maven-antrun-plugin plugin that should 
execute the ant task.  However, when I run it, I get compile errors because I 
think it's trying to compile the java code first, but because the ant task 
hasn't been run yet, there are no libraries available and it will obviously 
fail.

This make sense?

Thanks,
Mike


  

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Can maven-antrun-plugin run before code compiled?

2009-02-11 Thread Mick Knutson
Please include your plugin setting?

---
Thank You…

Mick Knutson, President

BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring  Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233

Website: http://baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Twitter: http://twitter.com/mickknutson
Vacation Rental: http://tahoe.baselogic.com
---



On Wed, Feb 11, 2009 at 3:51 PM, Mike Wallace the_real_bri...@yahoo.comwrote:


 I have a java project where the code depends on several libraries being
 built.
 What I'd like to do is have Maven run an Ant task that builds those
 libraries first, then Maven would go on to compile the code.

 Currently, my pom file contains the maven-antrun-plugin plugin that should
 execute the ant task.  However, when I run it, I get compile errors because
 I think it's trying to compile the java code first, but because the ant task
 hasn't been run yet, there are no libraries available and it will obviously
 fail.

 This make sense?

 Thanks,
 Mike




 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




Re: Can maven-antrun-plugin run before code compiled?

2009-02-11 Thread Mike Wallace

plugin
artifactIdmaven-antrun-plugin/artifactId
executions
execution
idbuild_xu/id
phasegenerate_libraries/phase
configuration
tasks
property 
refid=maven.compile.classpath name=mvndepClasspath /
property name=source 
value=1.4/
property name=target 
value=1.4/
property 
environment=env /

taskdef 
resource=net/sf/antcontrib/antcontrib.properties 
classpath=${mvndepClasspath} /

condition 
property=isWindows
os 
family=windows /
/condition
condition 
property=isUnix
os 
family=unix /
/condition

if
equals 
arg1=${isUnix} arg2=true /
then

property name=antPath value=${env.ANT_HOME}/bin/ant/

property name=jdkPath value=${basedir}/../../../tools/unix/jdk160_05/
/then
/if
if
equals 
arg1=${isWindows} arg2=true /
then

property name=antPath value=${env.ANT_HOME}/bin/ant.bat/

property name=jdkPath value=${basedir}\..\..\..\tools\windows\jdk160_05/
/then
/if
echoCompiling 
client.exchangeutility using JDK: ${jdkPath}/echo
exec dir=${basedir} 
executable=${antPath} failonerror=true

arg 
line=build /
env 
key=JAVA_HOME value=${jdkPath}/
/exec
/tasks
/configuration
goals
goalrun/goal
/goals
/execution
/executions
/plugin


--- On Wed, 2/11/09, Mick Knutson mickknut...@gmail.com wrote:

 From: Mick Knutson mickknut...@gmail.com
 Subject: Re: Can maven-antrun-plugin run before code compiled?
 To: Maven Users List users@maven.apache.org
 Date: Wednesday, February 11, 2009, 4:18 PM
 Please include your plugin setting?
 
 ---
 Thank You…
 
 Mick Knutson, President
 
 BASE Logic, Inc.
 Enterprise Architecture, Design, Mentoring  Agile
 Consulting
 p. (866) BLiNC-411: (254-6241-1)
 f. (415) 685-4233
 
 Website: http://baselogic.com
 Linked IN: http://linkedin.com/in/mickknutson
 Twitter: http://twitter.com/mickknutson
 Vacation Rental: http://tahoe.baselogic.com
 ---
 
 
 
 On Wed, Feb 11, 2009 at 3:51 PM, Mike Wallace
 the_real_bri...@yahoo.comwrote:
 
 
  I have a java project where the code depends on
 several libraries being
  built.
  What I'd like to do is have Maven run an Ant task
 that builds those
  libraries first, then Maven would go on to compile the
 code.
 
  Currently, my pom file contains the
 maven-antrun-plugin plugin that should
  execute the ant task.  However, when I run it, I get
 compile errors because
  I think it's trying to compile the java code
 first, but because the ant task
  hasn't been run yet, there are no libraries
 available and it will obviously
  fail.
 
  This make sense?
 
  Thanks,
  Mike
 
 
 
 
 
 

Re: Axis2 wsdl2code Plugin Help!

2009-02-11 Thread Wayne Fay
 I'm trying to use the axis2 wsdl2code plugin to generate code. Unfortunately 
 I'm getting an error in maven that it cannot fine the plugin.
 Does anyone know how to get this working?

Try using the full name of the plugin:
mvn org.apache.axis2:axis2-wsdl2code-maven-plugin:1.4.1:wsdl2code

I don't use this plugin myself. You should probably also contact the
dev team responsible for the plugin directly, or their corresponding
user list.

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Ant Task - Build maven pom.xml

2009-02-11 Thread Hervé BOUTEMY
Le mercredi 11 février 2009, vikask a écrit :
 Hi,
 Thanks for you detailed explanation. I got the scope of maven ant tasks.
 case 1 is what I am looking for.
great
what is missing in the doc? what do you feel should be improved?

 Definitely now I will try with exec ant task.
If I understand this comment, you're really wanting to build the project: yes, 
exec executable=mvn is the way to do it, not Maven Ant Tasks


 Just for curiosity, Is there any plan to in maven 3 to give such facility
 to build any maven (pom.xml) project from ant build.xml file?
no, Maven Ant Tasks are rewritten within Mercury (won't explain here the 
difference, that's not useful), but the scope doesn't change: only 
dependencies and install/deploy.
In fact, I don't understand the use case: if full Maven power is needed, just 
use Maven, not Ant, no?
Implementing such tasks would be equivalent as writing a replacement to Maven 
CLI, to avoid exec executable=mvnarg * but having a wrapper doing some 
equivalent work. I really don't understand.


 Thanks once again for your great explanation.
please help me improve the doc :)

regards,

Hervé


 regards
 Vikas

 Hervé BOUTEMY wrote:
  Hi,
 
  I thought Tim's reply didn't need any addition, but it seems that even
  the documentation is still not clear enough (multiple people did a lot of
  work on
  it, though...).
  Let's try to understand your problem, then improve the doc.
 
  Perhaps 2 examples will help us to understand each other.
 
  1. Maven Ant Tasks have a sample.build.xml [2] to unit-test the
  components features
  As stated before, Maven Ant Tasks are not meant to really *build* a
  project,
  but only get dependencies. So you won't see in this example anything
  really
  building: only getting dependencies in multiple forms, installing an
  artifact
  into local repository and deploying to a remote repo (how the artifact
  installed/deployed is really build is not shown, since once again, it's
  not
  the purpose of the tasks)
 
  2. Maven itself can be bootstrapped using Maven Ant Tasks: see build.xml
  in
  Maven Core sources [3]
  This time, this is really a project (Maven Core) built by Ant, getting
  its multiple dependencies with Maven Ant Tasks: seems to be what you want
  to do
  with your project.
  As you can see in the build file, most content is about building a
  specific
  project: there is only a little part that is about getting dependencies,
  ie
  the pull target (with its depends).
 
 
  Are these examples more clear?
 
 
  Regards,
 
  Hervé
 
 
  [2]
  http://svn.apache.org/viewvc/maven/ant-tasks/branches/maven-ant-tasks-2.0
 .x/sample.build.xml?view=markup
 
  [3]
  http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/build.
 xml?view=markup
 
  Le mercredi 11 février 2009, vikask a écrit :
  Hi
 
  I am also facing same problem. Have anyone found solution?
 
  Thanks
 
  regards
  Vikas
 
  Tim Kettler wrote:
   Hi,
  
   halsafar schrieb:
   I am trying to write an ant script to automate some maven tasks and
   hopefully
   decide not to rebuild the entire thing if it detects no changes. 
   Just to give an idea I am working with Jasig CAS Server which has
   several modules all which are Maven projects.  The build time is
   brutal on
 
  this
 
   beast and it
   will always rebuild no matter what it seems.  So even if Ant won't
 
  help
 
   I am
   still stuck using Ant as I need to auto-deploy the CAS Server to both
 
  a
 
   Tomcat and Glassfish server.  Now everything has been done and Maven
 
  is
 
   being run from a simple exec call in the build.xml for the ant
 
  script.
 
   I
   did find some Official Maven Ant Tasks jar I would like to try.
 
  However
 
   I
   have been unable to find any examples which actually show this maven
 
  ant
 
   tasks   building a maven project.  Any help?
  
   The maven ant tasks bring the dependency management features of maven
 
  to
 
   ant, they don't enable ant to build a maven project. Anyway, here [1]
 
  is
 
   the link to the official homepage containing usage instructions.
  
   -Tim
  
   [1] http://maven.apache.org/ant-tasks.html
  
   -
   To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
   For additional commands, e-mail: users-h...@maven.apache.org
 
  -
  To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
  For additional commands, e-mail: users-h...@maven.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Can maven-antrun-plugin run before code compiled?

2009-02-11 Thread Mick Knutson
This is the issue:
*phasegenerate_libraries/phase*

This needs to be  maven standard phase you want this to run at. Like *
generate-sources* would be an example. or *process-resources* which is just
before compile.

---
Thank You…

Mick Knutson, President

BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring  Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233

Website: http://baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Twitter: http://twitter.com/mickknutson
Vacation Rental: http://tahoe.baselogic.com
---



On Wed, Feb 11, 2009 at 4:22 PM, Mike Wallace the_real_bri...@yahoo.comwrote:


plugin
artifactIdmaven-antrun-plugin/artifactId
executions
execution
idbuild_xu/id
phasegenerate_libraries/phase
configuration
tasks
property
 refid=maven.compile.classpath name=mvndepClasspath /
property
 name=source value=1.4/
property
 name=target value=1.4/
property
 environment=env /

taskdef
 resource=net/sf/antcontrib/antcontrib.properties
 classpath=${mvndepClasspath} /

condition
 property=isWindows
os
 family=windows /
/condition
condition
 property=isUnix
os
 family=unix /
/condition

if
equals
 arg1=${isUnix} arg2=true /
then

  property name=antPath value=${env.ANT_HOME}/bin/ant/

  property name=jdkPath value=${basedir}/../../../tools/unix/jdk160_05/
/then
/if
if
equals
 arg1=${isWindows} arg2=true /
then

  property name=antPath value=${env.ANT_HOME}/bin/ant.bat/

  property name=jdkPath
 value=${basedir}\..\..\..\tools\windows\jdk160_05/
/then
/if
echoCompiling
 client.exchangeutility using JDK: ${jdkPath}/echo
exec
 dir=${basedir} executable=${antPath} failonerror=true

arg
 line=build /
env
 key=JAVA_HOME value=${jdkPath}/
/exec
/tasks
/configuration
goals
goalrun/goal
/goals
/execution
/executions
/plugin


 --- On Wed, 2/11/09, Mick Knutson mickknut...@gmail.com wrote:

  From: Mick Knutson mickknut...@gmail.com
  Subject: Re: Can maven-antrun-plugin run before code compiled?
  To: Maven Users List users@maven.apache.org
  Date: Wednesday, February 11, 2009, 4:18 PM
  Please include your plugin setting?
 
  ---
  Thank You…
 
  Mick Knutson, President
 
  BASE Logic, Inc.
  Enterprise Architecture, Design, Mentoring  Agile
  Consulting
  p. (866) BLiNC-411: (254-6241-1)
  f. (415) 685-4233
 
  Website: http://baselogic.com
  Linked IN: http://linkedin.com/in/mickknutson
  Twitter: http://twitter.com/mickknutson
  Vacation Rental: http://tahoe.baselogic.com
  ---
 
 
 
  On Wed, Feb 11, 2009 at 3:51 PM, Mike Wallace
  the_real_bri...@yahoo.comwrote:
 
  
   I have a java project where the code depends on
  several libraries being
   built.
   What I'd like to do is have Maven run an Ant task
  that builds those
   libraries first, then Maven would go on to compile the
  code.
  
   Currently, my pom file contains the
  maven-antrun-plugin plugin that should
   execute the ant task.  However, when I run it, I get
  

RE: Axis2 wsdl2code Plugin Help!

2009-02-11 Thread Kevin Witten
This works. Thanks!


Kevin

-Original Message-
From: Wayne Fay [mailto:wayne...@gmail.com]
Sent: Wednesday, February 11, 2009 1:35 PM
To: Maven Users List
Subject: Re: Axis2 wsdl2code Plugin Help!

 I'm trying to use the axis2 wsdl2code plugin to generate code. Unfortunately 
 I'm getting an error in maven that it cannot fine the plugin.
 Does anyone know how to get this working?

Try using the full name of the plugin:
mvn org.apache.axis2:axis2-wsdl2code-maven-plugin:1.4.1:wsdl2code

I don't use this plugin myself. You should probably also contact the
dev team responsible for the plugin directly, or their corresponding
user list.

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Notice● The information and attachment(s) contained in this communication are 
intended for the addressee only, and may be confidential and/or legally 
privileged.  If you have received this communication in error, please contact 
the sender immediately, and delete this communication from any computer or 
network system.  Any interception, review, printing, copying, re-transmission, 
dissemination, or other use of, or taking of any action upon this information 
by persons or entities other than the intended recipient is strictly prohibited 
by law and may subject them to criminal or civil liability.  None of the 
interTouch Group of Companies shall be liable for the improper and/or 
incomplete transmission of the information contained in this communication or 
for any delay in its receipt.


Re: Can maven-antrun-plugin run before code compiled?

2009-02-11 Thread Mike Wallace

That did the trick.  Thanks!
Now that I have the ant task running and creating the required libraries, how 
do I add them as a dependency in the pom file?  Those libraries are getting 
created within the same project.  Is it a simple matter of just copying them to 
the Target directory?


--- On Wed, 2/11/09, Mick Knutson mickknut...@gmail.com wrote:

 From: Mick Knutson mickknut...@gmail.com
 Subject: Re: Can maven-antrun-plugin run before code compiled?
 To: Maven Users List users@maven.apache.org, the_real_bri...@yahoo.com
 Date: Wednesday, February 11, 2009, 4:50 PM
 This is the issue:
 *phasegenerate_libraries/phase*
 
 This needs to be  maven standard phase you want this to run
 at. Like *
 generate-sources* would be an example. or
 *process-resources* which is just
 before compile.
 
 ---
 Thank You…
 
 Mick Knutson, President
 
 BASE Logic, Inc.
 Enterprise Architecture, Design, Mentoring  Agile
 Consulting
 p. (866) BLiNC-411: (254-6241-1)
 f. (415) 685-4233
 
 Website: http://baselogic.com
 Linked IN: http://linkedin.com/in/mickknutson
 Twitter: http://twitter.com/mickknutson
 Vacation Rental: http://tahoe.baselogic.com
 ---
 
 
 
 On Wed, Feb 11, 2009 at 4:22 PM, Mike Wallace
 the_real_bri...@yahoo.comwrote:
 
 
 plugin

 artifactIdmaven-antrun-plugin/artifactId
 executions
 execution

 idbuild_xu/id

 phasegenerate_libraries/phase

 configuration

 tasks

 property
  refid=maven.compile.classpath
 name=mvndepClasspath /

 property
  name=source value=1.4/

 property
  name=target value=1.4/

 property
  environment=env /
 

 taskdef
 
 resource=net/sf/antcontrib/antcontrib.properties
  classpath=${mvndepClasspath} /
 

 condition
  property=isWindows

 os
  family=windows /

 /condition

 condition
  property=isUnix

 os
  family=unix /

 /condition
 

 if

 equals
  arg1=${isUnix} arg2=true /

 then
 
   property name=antPath
 value=${env.ANT_HOME}/bin/ant/
 
   property name=jdkPath
 value=${basedir}/../../../tools/unix/jdk160_05/

 /then

 /if

 if

 equals
  arg1=${isWindows} arg2=true
 /

 then
 
   property name=antPath
 value=${env.ANT_HOME}/bin/ant.bat/
 
   property name=jdkPath
 
 value=${basedir}\..\..\..\tools\windows\jdk160_05/

 /then

 /if

 echoCompiling
  client.exchangeutility using JDK:
 ${jdkPath}/echo

 exec
  dir=${basedir}
 executable=${antPath}
 failonerror=true
 

 arg
  line=build /

 env
  key=JAVA_HOME
 value=${jdkPath}/

 /exec

 /tasks

 /configuration
 goals

 goalrun/goal
 /goals
 /execution
 /executions
 /plugin
 
 
  --- On Wed, 2/11/09, Mick Knutson
 mickknut...@gmail.com wrote:
 
   From: Mick Knutson mickknut...@gmail.com
   Subject: Re: Can maven-antrun-plugin run before
 code compiled?
   To: Maven Users List
 users@maven.apache.org
   Date: Wednesday, February 11, 2009, 4:18 PM
   Please include your plugin setting?
  
   ---
   Thank You…
  
   Mick Knutson, President
  
   BASE Logic, Inc.
   Enterprise 

Re: Dependency can't be resolved...

2009-02-11 Thread Ryan Moquin
I didn't realize it but this problem is a result of the
maven-webstart-plugin and the fact that the examples on the webpage show
using jnlp-inline which causes Maven to fork your build and therefore
attempt to run goals on projects that may not exist.  Unfortunately, Maven2
doesn't indicate that this is happening, hence my confusion.

As for artifacts being built differently, I have discovered that Maven2
seems to have trouble pulling in certain dependencies that are referenced
correctly.  One of them being the georss-rome artifact.  Maven2 silently
fails to bring in that artifact and won't fail the build.  This results in
incorrect artifacts being generated until you discover that this is
happening.  If you look at the dependency:tree, you'll see that Maven2 says
the depency *will* be brought in as a transitive dependency.. but if it
fails to retrieve the dependency.. it will ignore that fact.  Oh well,
hopefully this information is useful to others that might encounter similar
issues.

Ryan

On Tue, Feb 10, 2009 at 7:50 PM, Ryan Moquin fragility...@gmail.com wrote:

 So there are some more differences, even though my development machine are
 building the same version of our project, my developer box can build the
 whole thing successfully, but our build server quits 75% of the way though
 with a PermGenSpace out of memory error.  Also, our build server also misses
 some dependencies in the output artifacts, but my developer box bundles
 artifacts perfectly fine.  So my build box can't build our project correctly
 and if I manually execute the rest of the build after the point of failure,
 I have invalid artifacts that are missing files...  It makes me think
 something is screwy with the Assembly plugin or something?


 On Tue, Feb 10, 2009 at 6:46 PM, Ryan Moquin fragility...@gmail.comwrote:

  I keep getting this error when one of my subprojects builds with Maven
 2.1 (the XXX represents a child module of the project):

 [INFO] [site:attach-descriptor]
 [WARNING] The dependency: XXX can't be resolved
 ut has been found in the reactor.
 This dependency has been excluded from the plugin execution. You should
 rerun this mojo after executing mvn i
 stall.

 What I don't understand about this error, it gives this error for modules
 that haven't been built yet, but aren't dependencies on the current
 project.  Also, it says this for all but the first child project of the
 parent module.  The first child module does not depend on any of the
 modules, not are they referenced from it.  So if these child projects aren't
 referenced and are in the reactor to be built, why is it complaining?  It's
 telling me to run mvn install, but that's what I am doing.  I'm not sure
 exactly how to resolve this problem since it makes no sense and just came
 out of the blue.  The other odd thing is that I'm starting the build from a
 parent pom which is the parent of the submodules causing me problems.  If I
 built from the parent of the problematic child modules, they seem to build
 fine.  If I execute my build from one level higher, then they fail with that
 error.  All my other projects that are similarly structured, don't have this
 issue.  It's only this one particular parent module and it's children.
 Also, I ran the build with the exact same project revision on my developer
 machine, same version of maven2 and same jdk, It built successfully.  So I
 guess it's only our build server that's hosed.  No clue why, since the same
 project builds fine on a different machine and depending on where the build
 is started.

 Has anyone seen this error crop up with no cause?

 Thanks!





Maven2/Axis2 help

2009-02-11 Thread Kevin Witten
I'm trying to convert to maven2 from ant builds. I have a WS in Axis2 and I add 
axis2 to the pom file.
But I can't build, because maven can't find the dependencies of axis2.

Pom file:

?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/xsd/maven-4.0.0.xsd;

   modelVersion4.0.0/modelVersion
   groupIdServiceTest/groupId
   artifactIdServiceTest/artifactId
   version1.0.0/version

   build
  pluginManagement
 plugins
plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-compiler-plugin/artifactId
   configuration
  !-- Compiler version --
  source1.6/source
  target1.6/target
   /configuration
/plugin

!--
Note: Must run the following
mvn 
org.apache.axis2:axis2-wsdl2code-maven-plugin:1.4.1:wsdl2code
--
plugin
   groupIdorg.apache.axis2/groupId
   artifactIdaxis2-wsdl2code-maven-plugin/artifactId
   version1.4.1/version
   executions
  execution
 phasegenerate-sources/phase
 goals
goalwsdl2code/goal
 /goals
  /execution
   /executions
   configuration
  packageNamecom.nomadix.acs.services.acsservice/packageName
  wsdlFilesrc/main/resources/ACSService.wsdl/wsdlFile
  generateServerSidetrue/generateServerSide
  generateServicesXmltrue/generateServicesXml
  skipBuildXMLtrue/skipBuildXML
  skipWSDLtrue/skipWSDL
  
generateServerSideInterfacetrue/generateServerSideInterface
  namespaceToPackages
 
http://nomadix.com/acs/services/ns/acs=com.nomadix.acs.services.acsservice
  /namespaceToPackages
  outputDirectorysrc/main/outputDirectory
  targetSourceFolderLocationjava/targetSourceFolderLocation
  
targetResourcesFolderLocationresources/targetResourcesFolderLocation
  overWritetrue/overWrite
  unwraptrue/unwrap
  databindingNameadb/databindingName
   /configuration
/plugin
 /plugins
  /pluginManagement
   /build

   dependencies
  dependency
 groupIdorg.apache.axis2/groupId
 artifactIdaxis2/artifactId
 version1.4.1/version
  /dependency
   /dependencies

/project


Thanks in advance for the help,
Kevin

Notice● The information and attachment(s) contained in this communication are 
intended for the addressee only, and may be confidential and/or legally 
privileged.  If you have received this communication in error, please contact 
the sender immediately, and delete this communication from any computer or 
network system.  Any interception, review, printing, copying, re-transmission, 
dissemination, or other use of, or taking of any action upon this information 
by persons or entities other than the intended recipient is strictly prohibited 
by law and may subject them to criminal or civil liability.  None of the 
interTouch Group of Companies shall be liable for the improper and/or 
incomplete transmission of the information contained in this communication or 
for any delay in its receipt.


Re: Maven2/Axis2 help

2009-02-11 Thread Wayne Fay
 I'm trying to convert to maven2 from ant builds. I have a WS in Axis2 and I 
 add axis2 to the pom file.
 But I can't build, because maven can't find the dependencies of axis2.

You should probably take this up with the Axis2 plugin development
team, as it is their defect. Their pom file should include all
necessary dependencies.

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Can maven-antrun-plugin run before code compiled?

2009-02-11 Thread Mick Knutson
Depends. What are you building? WAR? But basically, you could just copy them
the wherever in your target DIR.

---
Thank You…

Mick Knutson, President

BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring  Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233

Website: http://baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Twitter: http://twitter.com/mickknutson
Vacation Rental: http://tahoe.baselogic.com
---



On Wed, Feb 11, 2009 at 2:44 PM, Mike Wallace the_real_bri...@yahoo.comwrote:


 That did the trick.  Thanks!
 Now that I have the ant task running and creating the required libraries,
 how do I add them as a dependency in the pom file?  Those libraries are
 getting created within the same project.  Is it a simple matter of just
 copying them to the Target directory?


 --- On Wed, 2/11/09, Mick Knutson mickknut...@gmail.com wrote:

  From: Mick Knutson mickknut...@gmail.com
  Subject: Re: Can maven-antrun-plugin run before code compiled?
  To: Maven Users List users@maven.apache.org,
 the_real_bri...@yahoo.com
  Date: Wednesday, February 11, 2009, 4:50 PM
  This is the issue:
  *phasegenerate_libraries/phase*
 
  This needs to be  maven standard phase you want this to run
  at. Like *
  generate-sources* would be an example. or
  *process-resources* which is just
  before compile.
 
  ---
  Thank You…
 
  Mick Knutson, President
 
  BASE Logic, Inc.
  Enterprise Architecture, Design, Mentoring  Agile
  Consulting
  p. (866) BLiNC-411: (254-6241-1)
  f. (415) 685-4233
 
  Website: http://baselogic.com
  Linked IN: http://linkedin.com/in/mickknutson
  Twitter: http://twitter.com/mickknutson
  Vacation Rental: http://tahoe.baselogic.com
  ---
 
 
 
  On Wed, Feb 11, 2009 at 4:22 PM, Mike Wallace
  the_real_bri...@yahoo.comwrote:
 
  
  plugin
  
  artifactIdmaven-antrun-plugin/artifactId
  executions
  execution
  
  idbuild_xu/id
  
  phasegenerate_libraries/phase
  
  configuration
  
  tasks
  
  property
   refid=maven.compile.classpath
  name=mvndepClasspath /
  
  property
   name=source value=1.4/
  
  property
   name=target value=1.4/
  
  property
   environment=env /
  
  
  taskdef
  
  resource=net/sf/antcontrib/antcontrib.properties
   classpath=${mvndepClasspath} /
  
  
  condition
   property=isWindows
  
  os
   family=windows /
  
  /condition
  
  condition
   property=isUnix
  
  os
   family=unix /
  
  /condition
  
  
  if
  
  equals
   arg1=${isUnix} arg2=true /
  
  then
  
property name=antPath
  value=${env.ANT_HOME}/bin/ant/
  
property name=jdkPath
  value=${basedir}/../../../tools/unix/jdk160_05/
  
  /then
  
  /if
  
  if
  
  equals
   arg1=${isWindows} arg2=true
  /
  
  then
  
property name=antPath
  value=${env.ANT_HOME}/bin/ant.bat/
  
property name=jdkPath
  
  value=${basedir}\..\..\..\tools\windows\jdk160_05/
  
  /then
  
  /if
  
  echoCompiling
   client.exchangeutility using JDK:
  ${jdkPath}/echo
  
  exec
   dir=${basedir}
  executable=${antPath}
  failonerror=true
  
  
  arg
   line=build /
  
  env
   key=JAVA_HOME
  value=${jdkPath}/
  
  /exec
  
  /tasks
  
  /configuration
  goals
  
  goalrun/goal
  /goals
  /execution
  /executions
  /plugin
  
  
   --- On Wed, 2/11/09, Mick Knutson
  mickknut...@gmail.com wrote:
  
From: Mick Knutson mickknut...@gmail.com
Subject: Re: Can maven-antrun-plugin run before
  code compiled?
To: Maven Users List
  users@maven.apache.org
Date: Wednesday, February 11, 2009, 4:18 PM
Please include your plugin setting?
   
---
Thank You…
   
Mick Knutson, President
   
BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring 
  Agile
Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233
   
Website: http://baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Twitter: http://twitter.com/mickknutson
Vacation Rental: http://tahoe.baselogic.com
---
   
   
   
On Wed, Feb 11, 2009 at 3:51 PM, Mike Wallace
the_real_bri...@yahoo.comwrote:
   

 I have a java project where the code depends
  on
several libraries being
 built.
 What I'd like to do is have Maven run an
  Ant task
that builds those
 libraries first, then Maven would go on to
  compile the
code.

 Currently, my pom file contains the
maven-antrun-plugin plugin that should
 execute the ant task.  However, when I run
  it, I get
compile errors because
 I think it's trying to compile the java
  code
first, but because the ant task
 hasn't been run yet, there are no
  libraries
available and it will obviously
 fail.

 This make sense?

 

RE: Excluding Manifest.MF when generating jar-files

2009-02-11 Thread Weichselbaumer Michael (MWE 4170)
Manifest.MF files are created dynamically, but I need to compare newly
built jar-artifacts to older ones in order to find out if they have
changed. This is done by simply checking md5 hashes. Those hashes are
modified by the manifest.mf ... therefore I need to get rid of it ... 


-Original Message-
From: Wayne Fay [mailto:wayne...@gmail.com] 
Sent: Mittwoch, 11. Februar 2009 18:55
To: Maven Users List
Subject: Re: Excluding Manifest.MF when generating jar-files

 I am currently trying to create jar-files without the MANIFEST.MF 
 included.
 How can i tell Maven2 to not include those?

What possible reason do you have for needing this functionality? I'm
curious.

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org