[ANN] SCM Changelog Maven Plugin 1.3 Released

2009-09-23 Thread Rémy Sanlaville
The SCM Changelog Maven Plugin team is pleased to announce the
scmchangelog-maven-plugin-1.3
release

This release contains fixes, documentation improvements and enhancements :
 * Changelog report is wrong due to revision string comparison
 * Now you can comment some part of the commit message
 * Support for XPlanner (Thanks to Tomás Pollak)

The change log is available at
http://mojo.codehaus.org/scmchangelog-maven-plugin/changelog.html

Have fun!
-SCM Changelog Maven Plugin team


Re: RE: AW: Re: AW: Re: Maven for Non-Java Projects

2009-08-14 Thread Rémy Sanlaville
Hi Jan,

Rémy,

 Do you also use it for Perl? Perl also uses a lot of libraries (.pm
 files e.g.)  and even perl make scripts sometimes. I couldn't find any
 maven plugin supporting perl projects. Do you have any idea if this is
 possible?


No we haven't try it and I am not aware about perl plugin.
As I don't really know perl I can't say if it possible/difficult or not to
create a perl plugin.
Sorry.

Rémy


Re: RE : AW: RE: AW: Re: AW: Re: Maven for Non-Java Projects

2009-08-14 Thread Rémy Sanlaville
Hi Vincent,

Thanks for your interesting feedback.

I have some more questions :
   - Are your patches applied in the trunk of the nar plugin ?

   - Is the nar plugin works well also for other phase than compile (for
instance, test phase) ? If yes, which unit test framework are you using
(CppUnit, CxxTest, googletest...) ?

  - In C++ with the same code, you need to build one binary for each
platform. Worst, you need to build on each platform to generate the good
binary.
Agree and it's quite pain with platform dependent languages such C/C++
How do you cope with this problem ?

Rémy


Re: AW: RE: AW: Re: AW: Re: Maven for Non-Java Projects

2009-08-12 Thread Rémy Sanlaville
We also try to use maven with C/C++ language (cf. [1]).

It seems that it exists three plugins :
 1. native-*maven*-plugin (the first one ?)
 2. jade native maven plugin, it is an spin off of native plugin and covers
cppunit
 3. nar plugin

At the time, it seemed (I don't remember why) that jade native maven plugin
was the better.

To be honest, we weren't convinced of the ability to use such plugins in an
industrial context :
   - I agree with David, there were a couple of road-blocking
bugs/missing-features that prevented us from using maven for these types of
projects. It works quite nice for compilation (even if it can be better),
but we had a lot difficulties for unit tests ;
- I agree with Jörg : plugins are nearly not supported - you  cannot ask
questions, you have to find out anything yourself. There's no mailing list
and the forum is full of questions without a lot answers, There's few
documentations and often not up-to-date...

We are still waiting for a real/better solution to use maven with C/C++
language. Otherwise, we have others projects using maven with flex, php or
.NET.

Rémy

[1].
http://www.nabble.com/Maven-2-and-C-C%2B%2B-Testing-Framework-td22311500.html#a22311500


Re: Maven: The Definitive Guide in French

2009-05-19 Thread Rémy Sanlaville
Same as Arnaud.
I will try to do my best but I am very busy at the moment.

Rémy

On Mon, May 18, 2009 at 9:45 PM, Arnaud HERITIER aherit...@gmail.comwrote:

 I think you can create a google group to discuss in french.I'll join it,
 even if I don't think I'll have the time  to help you before september.

 Arnaud




Re: Maven Overview Plugin version 1.4 has been released

2009-04-09 Thread Rémy Sanlaville

 as long as the plugin has its own groupId, the artifactId can be any thing.


IMHO, even if the plugin has its own groupId, I agree with Stephen that it's
better to keep the convention :
maven-_-plugin for o.a.m.p plugins
_-maven-plugin for other plugins

Rémy


[ANN] SCM Changelog Maven Plugin 1.2 Released

2009-04-03 Thread Rémy Sanlaville
The SCM Changelog Maven Plugin team is pleased to announce the
scmchangelog-maven-plugin-1.2
release

This release contains fixes, documentation improvements and enhancements :
 * We have introduced support for Buzilla style grammar and tracker.
 * The refactoring asked by Mark Struberg has been done: there is a clear
separation between svn specific and scm code.
 * The filtering on tags name is on so you can have several projects in the
under the tags url.

See http://mojo.codehaus.org/scmchangelog-maven-plugin/changelog.html for
details.

Have fun!
-SCM Changelog Maven Plugin team


Re: Maven 2 and C/C++ Testing Framework

2009-03-04 Thread Rémy Sanlaville
Hi Dan,

The mentioned test phase is for java test.

True and it why i was surprise that native-maven-plugin is linked to it.


  Take a look at jade native
 maven plugin, it is an spin off of native plugin and  covers cppunit
 test

Thanks, I wasn't aware of this plugin. We will have a look.

I wonder also how to manage C interfaces (.h) with this plugin.
As I can see in configuration example (cf. [1] and [2]), we have to include
them in the source path:
   source
   directory${native.source.dir}/include/directory
   /source

I don't like it to much because we have to specify a path directory.
I rather prefer to use a dependency (it's really better if you have
different modules/projects).
Isn't it possible ?


Rémy

[1]
http://mojo.codehaus.org/maven-native/native-maven-plugin/examples/share-lib.html
[2]
http://www.jfrog.org/sites/jade-plugins/1.3/jade-plugin-parent/jade-build-plugin-parent/jade-native-plugin/examples/static-lib-ranlib.html


Re: Maven 2 and C/C++ Testing Framework

2009-03-04 Thread Rémy Sanlaville
 having  .h files as dependencies is not possible as this moment. The
 main problem here is how you would know which one is really include
 files, user may want .c, .hpp as include file as well.
 Also the pom will be polluted with lots of .h dep


Isn't it possible to use dependencies directly in the plugin ?
For instance
build
  plugins
plugin
  groupIdorg.jfrog.jade.plugins/groupId
  artifactIdjade-native-plugin/artifactId
  extensionstrue/extensions
  configuration
...
  /configuration
  dependencies
dependency
  groupIdmy_groupid/groupId
  artifactIdmy_h_dep/artifactId
  versionmy_version/version
  type?/type
  scopecompile/scope
/dependency
  /dependencies
/plugin
  /plugins
/build



 One work around is to package .h files in a compressed form to be your
 pom dependency file and use maven-dependency-plugin to unpack them
 into a location under target directory, then reference the native
 source path to pick them up.


It's the workaround we thought to use.

Thanks,

Rémy


Maven 2 and C/C++ Testing Framework

2009-03-03 Thread Rémy Sanlaville
Hi,

I am looking for using C/C++ Testing Framework (like CppUnit, CxxTest or
googletest) with maven 2.
Does anybody already done it ?

We are using native-maven-plugin for the compilation.
But I am quite surprise that the native build lifecycle for this plugin
consists of the following phases with corresponding goals (cf. [1]):
  test-compileorg.apache.maven.plugins:maven-compiler-plugin:testCompile
  testorg.apache.maven.plugins:maven-surefire-plugin:test

I don't think that surefire support such of Testing Framework.
It seems that we will have to bind :
   - an execution of the native-maven-plugin to the test-compile phase
   - an execution of the maven-antrun-plugin to the test phase

Rémy

[1] http://mojo.codehaus.org/maven-native/native-maven-plugin/lifecycle.html


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

2009-02-10 Thread Rémy Sanlaville

 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


[ANN] - SCM Changelog Maven Plugin 1.1 Released

2009-02-09 Thread Rémy Sanlaville
The SCM Changelog Maven Plugin team is pleased to announce the
scmchangelog-maven-plugin-1.1
release

This release contains fixes and documentation improvements.
See 
*http://mojo.codehaus.org/scmchangelog-maven-plugin/changelog.htmlhttp://mojo.codehaus.org/rpm-maven-plugin
* for details.

Have fun!
-SCM Changelog Maven Plugin team


Re: Good weblogic plugin?

2008-12-05 Thread Rémy Sanlaville
Hi ,

David : We are testing the Cargo weblogic (9.x and 10.x) implantation right
now. I will try to let you know if it works fine or not.

Scott : What are the difference between your weblogic plugin and Cargo
weblogic implantation ?
We rather want to use cargo because we have several J2EE container (not just
weblogic) to test for our application.

Rémy


Re: cargo-maven2-plugin

2008-11-03 Thread Rémy Sanlaville
Hi Rémy,

You'd better ask your question directly to the cargo mailing list (cf.
http://www.nabble.com/Cargo---User-f2406.html).

Rémy


Re: Time to release maven-release-plugin v2.0-beta-8

2008-10-27 Thread Rémy Sanlaville
Hi,

Have a look to this thread
http://www.nabble.com/Re%3A-Maven-release-plugin-td19653492.html

Rémy


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

2008-10-13 Thread Rémy Sanlaville
Hi,

It's a new plugin (neither maven-changelog-plugin nor maven-changes-plugin).
If you want to understand why a new plugin, just have a look to
http://mojo.codehaus.org/scmchangelog-maven-plugin/faq.html

Thanks,

Rémy


Re: evaluation report-history tools (e.g. xradar, sonar)

2008-10-08 Thread Rémy Sanlaville
Hi,

We tried Qalab one year ago but we had some strange/incorrect results and it
does not evolve anymore.
We are thinking about using Sonar now.

Rémy


Re: Can maven generate this kind report?

2008-10-08 Thread Rémy Sanlaville
Hi,

You can have a look also to the scmchangelog-maven-plugin (
http://mojo.codehaus.org/scmchangelog-maven-plugin/).

We are working for it's first release in few days.

Rémy


Re: Maven release plugin

2008-09-24 Thread Rémy Sanlaville
Hi,

ping: Someone know when the  2.0-beta-8 of maven release plugin will be
released ?
We are really waiting for it.

Thanks,

Rémy


Re: How to stop Maven to look for updates on snapshots?

2008-09-08 Thread Rémy Sanlaville
Hi,

It seems that the offline mode does not work with SNAPSHOT.
You also have this issue : http://jira.codehaus.org/browse/MNG-3314

Rémy


Re: Resource filtering in WAR overlays

2008-09-05 Thread Rémy Sanlaville
Hi,

Have a look to this discussion
http://www.nabble.com/damage-image-files-td15431864.html#a15432280.
I think it could help.

Rémy


maven-rar-plugin and filtering

2008-09-03 Thread Rémy Sanlaville
Hi,

I just wonder if it possible to use filtering with maven-rar-plugin (it
seems not).
For instance, we need it for login/password and jdbc urls parameters.

If not, I think the best way to add this feature is to use the shared
component maven-filtering.
Are you agree ?

Rémy


Re: maven-rar-plugin and filtering

2008-09-03 Thread Rémy Sanlaville
Hi Olivier,

If I can do it, I will.
Thanks,

Rémy


Re: How to deploy a Flex library (swc)

2008-07-15 Thread Rémy Sanlaville
mvn validate
[INFO] Scanning for projects...
[INFO]

[INFO] Building Unnamed - com.yahoo.maps.flash:yahoo-map:swc:3.5
[INFO]task-segment: [validate]
[INFO]

[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Cannot find lifecycle mapping for packaging: 'swc'.
Component descriptor cannot be found in the component repository:
org.apache.maven.lifecycle.mapping.LifecycleMappingswc
.
[INFO]

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

[INFO] Total time:  1 second
[INFO] Finished at: Tue Jul 15 12:08:39 CEST 2008
[INFO] Final Memory: 1M/254M
[INFO]



In fact, swc is not defined in the corresponding XML Schema (cf.
http://maven.apache.org/maven-v4_0_0.xsd).

Rémy


Re: How to deploy a Flex library (swc)

2008-07-15 Thread Rémy Sanlaville
Thanks Emmanuel, it works !
I didnt notice that it's possible to add packaging type by adding a mojo as
an extension.

Rémy


How to deploy a Flex library (swc)

2008-07-10 Thread Rémy Sanlaville
Hi,

I wonder how to deploy a Flex library (swc) in a repository.

It does not exist the swc value for pom's packaging node (cf.
http://maven.apache.org/maven-v4_0_0.xsd).
So, if you indicate swc, mvn validate complains.

One solution seems to indicate the pom value but I don't really like that
because pom value is more for project with no artifact.

The problem is similar for others libraries than jar,war or ear.

Rémy


Re: How to deploy a Flex library (swc)

2008-07-10 Thread Rémy Sanlaville
Yes I know but my problem is not how to create the flex library but how to
deploy it with the maven-deploy-plugin to a repository.

I would like to know what is the best practice for the pom's packaging node.

Regards,

Rémy


Re: How to deploy a Flex library (swc)

2008-07-10 Thread Rémy Sanlaville
Yes it's true we have test it but I am not comfortable by the fact mvn
validate complains.
We want to can check that the pom is valid before to deploy it.

Rémy


Re: [ANN] Maven Site Plugin 2.0-beta-7 Released

2008-07-08 Thread Rémy Sanlaville

 I put it in JIRA so it won't be forgotten:
 http://jira.codehaus.org/browse/MPLUGIN-124


Handsome !


 So, if I understand, the site goal of the maven-site-plugin is a build
 mojo.
 My bad, I though that it was a reporting mojo.



 Yes, it is a build plugin. But it's easy to think of it as reporting plugin
 by mistake, because it assembles the reports from the reporting plugins.


Exactly, it was my error.

Thanks,

Rémy


Re: ignore missing web.xml war plugin

2008-07-08 Thread Rémy Sanlaville
Unfortunately, I don't think that it's possible at the moment.
But we are looking for the same feature (war overlay also).
For the moment we have to create a basic web.xml.

I haven't look if an issue is loading or not for this feature.

Rémy


Re: [ANN] Maven Site Plugin 2.0-beta-7 Released

2008-07-07 Thread Rémy Sanlaville

 You define the site plugin inside reporting, I guess you want it inside
 build.


Isn't strange to have to define the maven-site-plugin inside build just to
specify the version ?
Why maven 2 can't take into account the version declare inside reporting ?
It seems to more natural isn't it ?

Rémy


Re: [ANN] Maven Site Plugin 2.0-beta-7 Released

2008-07-07 Thread Rémy Sanlaville

 There are two kinds of Mojos. A Mojo is a goal in plugin. There are build
 mojos and there are reporting mojos. Build mojos are configured in the
 build section of the POM while reporting mojos are configured in the
 reporting section of the POM.

 We should enhance the plugin-plugin to make it clear in the generated
 documentation which type each Mojo is.


It will be a good improvement !

So, if I understand, the site goal of the maven-site-plugin is a build mojo.
My bad, I though that it was a reporting mojo.

Rémy


Re: Suggestion for artifact parametrization

2008-06-25 Thread Rémy Sanlaville
This is a good topic, that IMO is not simple with maven 2.
I'm also looking for a simple or elegant solution.

Rémy


Re: Excluding packages and classes from jar

2008-06-09 Thread Rémy Sanlaville
Hi,

and called it like that:mvn package -P myflag


Not sure but you have an extra space between -P and myflag
try mvn package -Pmyflag

If it is not working, first try without profile in order to be sure that the
exclusion configuration is working.
HTH,

Rémy


Re: More one phase for the execution's plugin

2008-05-30 Thread Rémy Sanlaville
In order to share your configurations plugins, have a look to the
pluginManagment
cf. http://blogs.sonatype.com/brian/2008/05/26/1211857049779.html

HTH,

Rémy


Re: Q4E and m2eclipse

2008-05-30 Thread Rémy Sanlaville
That's a good news for maven eclipse user.
I also have the same questions than Nico.

In iam project we can see SVN/CVS integration (2008-10 M3)
what about m2eclipse ?
I think it's a major feature and it's really frustrating at the moment
(parent pom hell with eclipse).

Rémy


Re: Q4E and m2eclipse

2008-05-30 Thread Rémy Sanlaville
It's really a pain to manage the parent pom for a multi-modules project in
eclipse.
It would be nice to can solve this issue for instance :
http://jira.codehaus.org/browse/MNGECLIPSE-635

Many problem comes from the fact that eclipse do not manage nested project
hierarchies.
It seems that eclipse 4 will do it (cf.
http://www.infoq.com/news/2008/05/e4-summit).
But in the meantime we have to found some solution to can manage it and for
the moment it's not really the case.

Rémy


Q4E and m2eclipse

2008-05-29 Thread Rémy Sanlaville
Hi,

We are working to choose an eclipse plugin : Q4E vs m2eclipse
  - The Eclipse IAM project proposal (based on Q4E) has been recently
approved by the Eclipse Foundation (cf. http://code.google.com/p/q4e/)
  - m2eclipse has been recently reviewed (cf.
http://www.jroller.com/eu/entry/maven_integration_for_eclipse_project) but
we have no information if it is approved. Do you have some news about it ?

If m2eclipse will also be approved, it won't be clear for eclipse user which
one to choose.
Even if competition can be good, is there any chance to merge the effort in
one eclipse plugin ?
In fact, both of them have interesting features.

Rémy


Re: [m2eclipse-user] Re: Question about Maven, Eclipse WTP and war overlay

2008-05-28 Thread Rémy Sanlaville

 An issue exists for supporting war overlays :
 http://jira.codehaus.org/browse/MNGECLIPSE-597

 Please vote for this issue.


Done !
In fact, this feature is important and it's not just for war overlay but
also for filtering...

Rémy


Re: Site staging versus local deploy

2008-05-15 Thread Rémy Sanlaville
Hi,

I am also interested to know what is the good practice for this.

I normally use the staging method but I wonder if it's not better to use the
local deploy workaround.
What the pre/cons to use the staging or local deploy method ?

Rémy


Re: cant build the next version until dependency built in a multi-module project

2008-05-13 Thread Rémy Sanlaville
Hi,

It's a common problem.
Cf.
http://www.nabble.com/release-problem-with-multi-modules-project-tt14101519.html#a14102400

HTH,

Rémy


Re: Dependency licenses

2008-05-08 Thread Rémy Sanlaville
Hi,

Do you know this one too ?
http://java.dzone.com/announcements/maven-license-plugin-130-relea

I haven't try both of them so I don't know which one is the best.
But it could be nice to merge the effort in order to have just one. Don't
you think ?

Rémy


Re: Dependency licenses

2008-05-08 Thread Rémy Sanlaville
Yes you have right, I wrote a little bit to fast.
I agree it would be nice to have just one plugin for both functionalities.

Rémy


Re: disabling default deploy behavior

2008-04-16 Thread Rémy Sanlaville
 The next version of the deploy plugin will have the option to skip
 deployment.

 http://jira.codehaus.org/browse/MDEPLOY-63


Nice, but rather than each plugin implements the skip feature, it would
better to manage this feature at the maven or plexus level instead of the
plugins level.

See
http://www.nabble.com/-Proposal--Skip-feature-tt11576000s177.html#a11578861and
http://jira.codehaus.org/browse/MNG-3102

Rémy


Re: maven2 jira plugin?

2008-03-20 Thread Rémy Sanlaville

 The proposed plugin did not fit well into either maven-changes-plugin or
 maven-changelog-plugin. The author of the plugin has since approached
 the Mojo project at codehaus. The plugin is currently an enhancement
 request there:

 http://jira.codehaus.org/browse/MOJO-1026


Yes I am aware  because, as Emmanuel mentioned, I am in relation with him.

We chose to approached the Mojo project at codehaus because we saw that this
improvement was not welcome by the maven community. As I mentioned in
http://jira.codehaus.org/browse/MCHANGES-78: we can regret that we will
have two plugin (maven-changes-plugin and svnchangelog-maven-plugin) that
generate the same report but from a different data source.
I think it's more confusing for maven users who won't understand this
situation.

But if the maven community want to go in this direction, we can just regret
it and hope that the svnchangelog-maven-plugin will be release soon.

Anyway, thanks Dennis for your help.

Rémy


Re: axistools-maven-plugin, namespace mapping and axis 1.2.1

2008-03-19 Thread Rémy Sanlaville
Hi,

For information, I think I found the solution.
It seems that it comes from the issue
http://jira.codehaus.org/browse/MNG-2972.  It is fixed with maven 2.0.9.

Rémy


Re: maven2 jira plugin?

2008-03-17 Thread Rémy Sanlaville

 Because we already have a plugin that generates a report from an SCM
 system, namely maven-changelog-plugin.


Yes but the reports are completely different :
 - maven-changes-plugin :
http://maven.apache.org/plugins/maven-changes-plugin/changes-report.html
 - maven-changelog-plugin :
http://maven.apache.org/plugins/maven-changelog-plugin/changelog.html

This improvement generate the same report as maven-changes-plugin not
maven-changelog-plugin.
I'm sorry but I still don't understand the problem and what maven community
can proposed for user who want this feature (changes-report generated from
SCM comments).

Rémy


Re: maven2 jira plugin?

2008-03-17 Thread Rémy Sanlaville

 Because we already have a plugin that generates a report from an SCM
 system, namely maven-changelog-plugin.


Yes but the reports are completely different :
 - maven-changes-plugin :
http://maven.apache.org/plugins/maven-changes-plugin/changes-report.html
 - maven-changelog-plugin :
http://maven.apache.org/plugins/maven-changelog-plugin/changelog.html

This improvement generate the same report as maven-changes-plugin not
maven-changelog-plugin.
I'm sorry but I still don't understand the problem and what maven community
can proposed for user who want this feature (changes-report generated from
SCM comments).

Rémy


Re: Findbug's Maven2 Plugin future direction

2008-03-14 Thread Rémy Sanlaville
I agree with Dan. It's better to keep a branch for the jdk 1.4 in case for
legacy systems. I f we found a bug in the plugin it's better to be able to
load a jira and fix it.

+1 to use Findbugs 1.3.x and require Java 5 to run for the trunk

Rémy

2008/3/14, Dan Tran [EMAIL PROTECTED]:

 last one

 release 1.2, branch it,

 then release 2.0 on trunk


 -D




Re: maven2 jira plugin?

2008-03-14 Thread Rémy Sanlaville

 If you read the comments in that issue you will understand why.


I read it, but I still have the feeling that maven community do not
understand what exactly this improvement is and why it is interesting.

This improvement does exactly what the maven-changes-plugin do.
The only difference is that the actual maven-changes-plugin uses a
changes.xml file in src/changes/ directory. You have to write it and manage
its evolution by hand. This is a problem and error-prone. In order to
address this problem, this improvement is looking directly to the scm commit
comments and aggregate them to generate the report.

So, the actual maven-changes-plugin and this improvement generate the same
report but from a different data source.
I still don't really understand why it's a problem to add a new goal for the
maven-changes-plugin for this improvement.

Thanks,

Rémy


Re: Findbug's Maven2 Plugin future direction

2008-03-14 Thread Rémy Sanlaville
2008/3/14, Stephen Connolly [EMAIL PROTECTED]:

 However, I would add a check that won't try and run findbugs if maven is
 started with jdk 1.4... have it instead print diagnostic information or a
 friendly error message to let people know that JDK 5.0 is required or else
 that they should use the 1.2 branch version


Agree, it would be nice to have this check (perhaps via the
maven-enforcer-plugin) and have an error message when the check failed.

Rémy


axistools-maven-plugin, namespace mapping and axis 1.2.1

2008-03-14 Thread Rémy Sanlaville
Hi,

I try to use the axistools-maven-plugin with namespace mapping and axis
1.2.1 :

- axistools-maven-plugin:1.0 : uses axis 1.2.1 but does not handle namespace
mapping,
- axistools-maven-plugin:1.1 : I am able to configure the namespace mapping
but it uses axis 1.4 and it's not possible to change the axis dependency to
1.2.1 (cf. [1]).
- axistools-maven-plugin:1.2-SNAPSHOT : in order to be able to change the
axis version, Nicolas De Loof change the groupId org.apache.axis to axis
(cf. [1])

Unfortunately, even if I use this configuration it still does not work (I am
using maven 2.0.7) :
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdaxistools-maven-plugin/artifactId
version1.2-SNAPSHOT/version
dependencies
dependency
groupIdaxis/groupId
artifactIdaxis/artifactId
version1.2.1/version
/dependency
/dependencies
executions
execution
idgenerate-sources/id
phasegenerate-sources/phase
goals
goalwsdl2java/goal
/goals
configuration
serverSidetrue/serverSide
useEmittertrue/useEmitter
mappings
mapping
namespacemy-namespace/namespace
targetPackagemytarget/targetPackage
/mapping
/mappings
wrapArraysfalse/wrapArrays
/configuration
/execution
/executions
/plugin

The build is successful but axistools-maven-plugin still use axis 1.4 as we
can see in the following trace :

[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed -
nearer found: 1.1)
[DEBUG]   axis:axis:jar:1.4:runtime (not setting scope to: compile; local
scope runtime wins)
[WARNING]
Artifact axis:axis:jar:1.4:runtime retains local scope 'runtime'
overriding broader scope 'compile'
given by a dependency. If this is not intended, modify or remove the
local scope.

[DEBUG]   axis:axis:jar:1.2.1:compile (removed - nearer found: 1.4)
[DEBUG] Configuring mojo '
org.codehaus.mojo:axistools-maven-plugin:1.2-SNAPSHOT:wsdl2java' --

I don't know what I can do now.

Rémy

[1]
http://archive.mojo.codehaus.org/scm/[EMAIL PROTECTED]


Re: maven2 jira plugin?

2008-03-13 Thread Rémy Sanlaville
Hi Dennis

 No, it has been closed as Won't Fix.


What a shame.
Don't you think this feature is not usefull (this issue has 17 Votes...) ?
why ?

Thanks,

Rémy


Re: maven2 jira plugin?

2008-03-13 Thread Rémy Sanlaville
Furthermore, this feature is more and more added in other tools (so people
ask for it and found that it's an interesting feature).
For instance, just have a look to this post : Linking Check-in Comments to
Issues in Tracker (http://java.dzone.com/news/linking-check-comments-issuesi
).

Rémy


Re: maven2 jira plugin?

2008-03-12 Thread Rémy Sanlaville
Hi Dennis,

What about MCHANGES-78 ?
Any chance to see it in version 2.0 ?

Rémy


Re: java.class.path and the surefire-plugin

2008-03-06 Thread Rémy Sanlaville
This feature is often request and it would be nice to add it in the surefire
plugin.

Rémy


Re: Started getting exception when packaging war

2008-02-27 Thread Rémy Sanlaville
Hi Daniel,

Just try to update your repository :
mvn package -U

or indicate the last version (2.1-alpha-1) of maven war plugin in you pom.

We also had this error and it seems that it comes from an old version of a
transitive dependency of the maven-war-plugin.

HTH,

Rémy


Re: Using different localRepositories in a continuous build environment?

2008-02-26 Thread Rémy Sanlaville
Effectively Wendy, I forget this -Dmaven.repo.local argument.

Nevertheless, reproducibility is the way to go.
For the moment, I found that it is difficult to be 100% sure without
cleaning the local repository.
It's possible for instance to just do it once by night (and not for all
build).

We can imagine also to just purge the local repository with the maven
dependency plugin (cf.
dependency:purge-local-repositoryhttp://maven.apache.org/plugins/maven-dependency-plugin/purge-local-repository-mojo.html).
It's better but not enough because you just purge the dependencies and not
the needed plugins.
It's difficult to explain why but it's not unusual to see different result
with an empty local repository even if you specify the version for the
dependencies and the plugins.

Rémy


Re: Using different localRepositories in a continuous build environment?

2008-02-25 Thread Rémy Sanlaville
Hi Torsten,

I am not sure it's possible to setup a localRepository for each kind of
build.
But perhaps, you can clean the repository before launching each build.
It takes more time but it's better for reproducibility.

Rémy


Re: Extending Maven2 plugins

2008-02-20 Thread Rémy Sanlaville
Hi Julien,

I am not an expert but, what I understood, it is not possible to extend a
mojo for the moment.
Look at the archive of the mailing list maven-user and maven-dev. You will
find some post related to this question.

Rémy


Re: damage image files

2008-02-18 Thread Rémy Sanlaville
Hi Olivier,

It works well. Thanks (again).

But (for information) it seems that it not deploy yet (the
2.1-alpha-2-20080216.004105-7 version does not include this improvement, cf.
http://people.apache.org/maven-snapshot-repository/org/apache/maven/plugins/maven-war-plugin/2.1-alpha-2-SNAPSHOT/).
I had to checkout the plugin and install it in my local repository.

Did you load an issue in MWAR for this improvement ?

Rémy


Re: What format is recommended for documentation when using mvn site ?

2008-02-15 Thread Rémy Sanlaville
Hi Arne

I've also seen mentioned that there is work going on to create PDF from apt
 and xdoc. I also saw that for maven1, the xdoc format was the recomended
 format to use for any user specific documentation. What is the status for
 xdoc and Maven2 ? Do you know ?


I am not the responsible of the doxia project and I don't know it too much.
For the moment I use the xdoc format. I was also expecting a generated PDF
output but It seems that feature is not available at the moment.

But I hope that the docbook format and plugin will provide a good solution
for this. It's will be nice if you can test it et get a feed back. I have a
friend that work on it.

Rémy


Re: Is there an XDoclet Plugin which uses XJavadoc 1.5 (Generics) ?

2008-02-15 Thread Rémy Sanlaville
Hi,

We are also interested by using Xdoclet with JDK 1.5.

What I understood is we need a specific version of the xjavadoc library :
xjavadoc-1.5-050611.jar

An issue was opened in order to upload this library : MAVENUPLOAD-1399 (cf.
http://jira.codehaus.org/browse/MAVENUPLOAD-1399).
The status is Closed and the resolution Incomplete.
I am not sure to understand why. Perhaps Carlos can explain ?
But this library is unfortunately not available is the maven 2 repository.

An other issue is open in order to take into account this new library by the
maven xdoclet plugin : MOJO-665 (cf.
http://jira.codehaus.org/browse/MOJO-665).
The status is still open and is Unassigned.

I don't really know what to do except from upload it in my maven 2 proxy
repository.
But I think it's better if these issues can be resolved by the maven 2
community.

I don't know if a commiter can help for that.

Rémy


Re: What format is recommended for documentation when using mvn site ?

2008-02-14 Thread Rémy Sanlaville
Hi Arne,

Have a look at the docbook format
http://www.nabble.com/forum/Search.jtp?forum=178local=yquery=docbook

and the corresponding plugin named docbkx-tools (
http://code.google.com/p/docbkx-tools/)
http://www.nabble.com/Any-tool-available-for-generating-docs-from-pom.xml--td15036590s177.html#a15061807

Rémy


Re: damage image files

2008-02-13 Thread Rémy Sanlaville
Hi John,

It's amazing that we had the same problem yesterday.
It seems that it comes from filter but not sure for the moment.

I will try to create a simple example project in order to can reproduce the
problem.

Rémy


Re: damage image files

2008-02-13 Thread Rémy Sanlaville
Your solution seems to be good.
But with war overlays mechanism (cf [1] and [2]) it's not possible to
specify the path of the directory resources because it is generated at
runtime.

I don't know for the moment how to solve this case.

Rémy

1.
http://maven.apache.org/plugins/maven-war-plugin/examples/war-overlay.html
2. http://jira.codehaus.org/browse/MWAR-143


Re: damage image files

2008-02-13 Thread Rémy Sanlaville
Hi John

I'm keen to put a change into the resource plugin so that it can optionally
 try and only filter text files.

 I have an idea to do this, how can I contribute to the project?


(Even if I am not a commiter) Your help and contribution is welcome .
You can get the source code of the plugin (cf. [1]) and proposed a patch via
JIRA (cf. [2]).

If you have a solution, I will be happy to test your improvement

Rémy

1.
http://maven.apache.org/plugins/maven-resources-plugin/source-repository.html
2.
http://maven.apache.org/plugins/maven-resources-plugin/issue-tracking.html


Re: Nexus repository manager

2008-02-13 Thread Rémy Sanlaville
Neither me but I hope that Proximity 2.0 will be release soon.

Rémy


Re: damage image files

2008-02-13 Thread Rémy Sanlaville
Hi Olivier,

What about a configuration parameter in the mojo (maven-resources-plugin)
 like :

 filteringIgnoreExtensionsjpg,jpeg,pdf/filteringIgnoreExtensions


good idea.

Currently adding this in the resource configuration in the pom needs
 some core changes.

 Remy, I'm sure you can load an issue in MWAR concerning overlays ;-).


One more, are you sure :-)
I can do it but I am not sure that it's absolutely necessary. It depends on
how it will be manage in the maven-resources-plugin.
But if you think that it's better, just tell me.
We can imagine this configuration for the maven-war-plugin for instance

plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-war-plugin/artifactId
 version2.1-alpha-2-SNAPSHOT/version
 configuration
  overlays
overlay
   groupIddebug.war/groupId
   artifactIdcommon-overlay/artifactId
   filteredtrue/filtered
   filteringExclusions
   filteringExclusion**/*.gif/filteringExclusion
   filteringExclusion**/*.jpg/filteringExclusion
   /filteringExclusions
 /overlay
  /overlays
 /configuration
/plugin


Rémy


Re: War Overlays and resources filtering

2008-02-08 Thread Rémy Sanlaville
Hi Olivier,

Thanks for your suggestion.
Unfortunately it's not working, so I have opened an issue : MWAR-143 (
http://jira.codehaus.org/browse/MWAR-143).
You will find an example in attachment in order to reproduce the problem.

Rémy


War Overlays and resources filtering

2008-02-04 Thread Rémy Sanlaville
Hi,

I have multiple web applications who share common resources.
So I use the war overlays mechanism (
http://maven.apache.org/plugins/maven-war-plugin/overlays.html)

All seems ok except for common properties files that I want to filter when
creating the web applications.
For instance :
My common war
war-common.war
   -- WEB-INF\classes\application.properties (which contains for instance
title.main=Prototype ${project.name})

I would like to create the web application mywebapp1
mywebapp1.war
   -- WEB-INF\classes\application.properties (which contains the filtering
property title.main=Prototype myweapp1)

But I didn't find how to do it.

Rémy


Re: Maven plugins that can check for hardcoded (un-externalized) strings at build time? (i18n)

2008-01-31 Thread Rémy Sanlaville
Hi,

I don't think so but it will be a useful plugin.

Rémy


Re: Questions: Automatically-set tokens in Maven 2 loading properties from files

2008-01-25 Thread Rémy Sanlaville
Hi Wayne,

This was available in M1 and the dev team decided that it was a bad
 idea, and so in M2 the pom itself is the one true source of this
 kind of information.


I am interested to know why it was a bad idea ? For instance, with ant your
are able to use properties files.
Do you have some idea or links ?

Thanks,

Rémy


Re: Is there a tool that can dowload and package the dependencies from Maven repository?

2008-01-25 Thread Rémy Sanlaville

  When using the assembly plugin, I get a zip file containing all the
  dependencies of my module. Is it normal that the module itself is
  also packaged in the zip file?

 If you POM declares in its packaging, that you are creating a jar - then
 yes ;-)


I found that it's a strange behavior. Isn't it (a bug) ?

Rémy


Re: creating a sample project

2008-01-24 Thread Rémy Sanlaville
Hi,

You also can use archetype. For instance, for a simple project :
mvn archetype:create -DgroupId=demo -DartifactId=helloworld


But it's good to read documentations like :
Better Builds with Maven :
http://www.devzuz.com/web/guest/products/resources
MavenBook - Maven: The Definitive Guide : http://www.sonatype.com/book/

Rémy


Re: mvn release perform error inMultiple Module Projects

2008-01-24 Thread Rémy Sanlaville
Hi,

It's a well-known problem (cf. archives)

In situations like this it usually helps to run the prepare step with:
mvn *release*:prepare -DpreparationGoals=clean install
cf. http://www.nabble.com/forum/ViewPost.jtp?post=14102400framed=yskin=177

Rémy


Re: can maven solve circle dependencies problem in multiple module projects

2008-01-24 Thread Rémy Sanlaville
Hi,

Cyclic dependence is not allowed with maven (it's a good practice).
You have to cut your cyclic dependence.

Rémy


Re: Any tool available for generating docs from pom.xml?

2008-01-23 Thread Rémy Sanlaville
You also could have a look to the docbook format and plugin.
A friend of mine worked on it in order to improve it. He is off today but I
will ask him to give some information when he will come back.

Rémy


Re: Using unreleased plugin

2008-01-16 Thread Rémy Sanlaville
Hi,

Try this command :
mvn
org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-5-SNAPSHOT:tree

HTH,

Rémy


Re: [M2] Reproducible build

2007-12-23 Thread Rémy Sanlaville
Hi Ryan,

Thanks for the link.
I will try it and let you know.
For the moment I am on holidays so it won't be before mi-January 2008.

Rémy

2007/12/23, Ryan Moquin [EMAIL PROTECTED]:

 I really like the tool BeyondCompare.  I had my company get me a license a
 couple weeks ago so I could do directory compares.  If you want to compare
 releases or more complicated things, such as directories, just unzip them
 and run a tool like that to verify the differences.  I've been using it to
 verify artifact integrity when I have to build a custom pom that can
 generate a war file generated by a third party UI, when I want to
 customize
 that generated WAR (since that company doesn't provide maven2 support for
 the generated war).  Due to the fact that that kind of scenario is a
 hassle,
 it's nice to have a tool verify complex differences quickly.  I don't know
 if there is a free version made by anyone else that is as good (I looked
 but
 didn't see one, but saw BeyondCompare recommended by others).

 In case it will help you, here is the link:

 http://www.scootersoftware.com/

 If you find a better tool, I've be interested to hear since I'd love to
 simplify more of these tasks if I can.




Re: generated sources convention

2007-12-20 Thread Rémy Sanlaville
Hi,

Use the *build* *helper* *plugin* to add additional source paths
http://mojo.codehaus.org/*build*-*helper*-maven-*plugin*/http://mojo.codehaus.org/build-helper-maven-plugin/
cf.
http://www.nabble.com/Second-source-directory-for-generated-code-to6446457s177.html#a6446995


Rémy


Re: [M2] Reproducible build

2007-12-17 Thread Rémy Sanlaville
Thanks all for your comments,

Yes, the package will be different for date or time stamps reason and
comparing hashes (MD5 or SHA1) seems to be not enough.
But it's not always a problem to have such differences and it would be nice
to find a tools that shows what changes from two packages.

I had a look to JarDiff (http://www.osjava.org/jardiff/) but it's just for
jar packaging and for java classes.

Regards,

Rémy


Re: [M2] multi-modules vs multi-projects

2007-12-17 Thread Rémy Sanlaville
Any hints ?

Rémy

2007/12/14, Rémy Sanlaville [EMAIL PROTECTED]:

 Hi,

 I am looking for some criteria in order to can decide how to organized my
 project.

 For instance, I want to produce three artifacts a.jar, b.jar and c.war.
 I can organized my project in different ways :
 1) Multiple Projects
 project A = a.jar
 project B = b.jar
 project C = c.war

 2) Multi-modules project
 parent project
 |__ module A = a.jar
 |__ module B = b.jar
 |__ module C = c.war

 3) Combination of multiple projects and Multi-modules project(s)
 project A = a.jar
 parent project
 |__ module B = b.jar
 |__ module C = c.war
 ...

 I found that it's not always easy to found the good criteria in order to
 choose or explain which project structure is better.
 It seems that the release is a criterion because it's really structuring
 (even more with maven).
 For instance, if I always release all the artifacts in the same time, I
 will choose the second option.

 I will be happy to have your point of view about this question and if you
 have some criteria to propose.

 Rémy





[M2] multi-modules vs multi-projects

2007-12-14 Thread Rémy Sanlaville
Hi,

I am looking for some criteria in order to can decide how to organized my
project.

For instance, I want to produce three artifacts a.jar, b.jar and c.war.
I can organized my project in different ways :
1) Multiple Projects
project A = a.jar
project B = b.jar
project C = c.war

2) Multi-modules project
parent project
|__ module A = a.jar
|__ module B = b.jar
|__ module C = c.war

3) Combination of multiple projects and Multi-modules project(s)
project A = a.jar
parent project
|__ module B = b.jar
|__ module C = c.war
...

I found that it's not always easy to found the good criteria in order to
choose or explain which project structure is better.
It seems that the release is a criterion because it's really structuring
(even more with maven).
For instance, if I always release all the artifacts in the same time, I will
choose the second option.

I will be happy to have your point of view about this question and if you
have some criteria to propose.

Rémy


[M2] Reproducible build

2007-12-14 Thread Rémy Sanlaville
Hi,

I would like to make sure that my project build is reproducible.
For instance, I want to be sure that I can package again a tagged version.

So I am looking for a tools that can compare two package (two jar, two war,
two ear...) and eventually shows the potential differences.
Do you know if a such tools exists ?

In order two verify if two package are identical, I was thinking of
generating and comparing the corresponding checksum (md5 or sha1) .
Do you think that it would be good enough ?

Rémy


Re: SDL and the config folder

2007-12-04 Thread Rémy Sanlaville
Hi Stefano,

Have a look to the mailing archive :
http://www.nabble.com/Default-location-of-config-files--%3E-Maven-Standard-Directroy-Layo-ut--tf3466078s177.html#a9672316

It would be nice to update the documentation in order to clarifier this point
because it's a quite common question.
http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html

Rémy


Re: How to create multi-module project from archetype?

2007-12-04 Thread Rémy Sanlaville
I agree also that more and more people use the multi-project feature and
will be happy to have the possibility to create a multi-project archetype.

Hope that ArchetypeNG plugin will offer this feature soon.

Rémy


Re: [M2] Pb Release and preserve timestamps

2007-11-22 Thread Rémy Sanlaville
Hi Lee,

I am not sure to have been enough clear about my problem/context.

Let's assume that we are a team working in a same project (possibly in
different site).
We want to be able that different person can make a release.

The problem is that, as I mentioned before, is not possible for the moment
to do it with the deploy plugin and with different account (for several
reasons it's not possible to share a same account for the release in the
team).

One solution is to change the deploy plugin in order it not asks to change
the file mode if the file already exists.
Otherwise we can just switch to the web dav protocol.

Rémy


Re: Doxia Macro in a xdoc file

2007-11-21 Thread Rémy Sanlaville
Hi Dennis,

You are right it works with the 2.0-beta-6-SNAPSHOT. Thanks for the hint.
I was using the 2.0-beta-5 version.

As the Doxia site has not project summary page (cf.
http://maven.apache.org/doxia/project-info.html), it not possible to know
which version to use. I would be nice to add this information at the Doxia
Macros Guide page (cf.http://maven.apache.org/doxia/macros/index.html).

I give an example how I did it :

mypage.xdoc

?xml version=1.0 encoding=UTF-8?
document
  properties
author email=[EMAIL PROTECTED]Author/author
titleMyTitle page/title
  /properties
  head
meta/
  /head
  body
section name=TOC
  macro name=toc
param name=section value=2/
param name=fromDepth value=0/
param name=toDepth value=3/
  /macro
/section
section name=My First Section
   [...]
/section
  /body
/document

and in the pom.xml

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;

[...]

  build
plugins
  plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-site-plugin/artifactId
version2.0-beta-6-SNAPSHOT/version
  /plugin
/plugins
  /build

[...]
/project

Rémy


Re: [M2] Pb Release and preserve timestamps

2007-11-21 Thread Rémy Sanlaville
I tried to go more in depth to understand the problem.

In short:
It seems that the problem comes from the class
org.apache.maven.wagon.providers.ssh.jsch.SftpWagon from wagon-ssh version
1.0-beta-2

In fact, in line 88
86if ( permissions != null  permissions.getFileMode() != null
)
87   {
88setFileMode( channel, filename, permissions );
89}

SftpWagon ask to change the FileMode (by default 664).
But it's not possible to change the file mode if you aren't the owner.
So an exception is raised:

  [INFO] Error installing artifact's metadata: Error while deploying
metadata: Error occured while deploying 'test/cp/maven-metadata.xml' to
remote repository: sftp://maven2/proxy/inhouse

I think it's a bug.
It works if you create the first time or if you are the owner of the file
but it can't work it you aren't the owner.

Rémy


Doxia Macro in a xdoc file

2007-11-20 Thread Rémy Sanlaville
Hi,

I wanted to add a TOC to my xdoc files.
In the Doxia web site, the Doxia Macros Guide explains that it exists a TOC
Macro (cf.
http://maven.apache.org/doxia/macros/index.html).

In a xdoc file, it will be:

macro name=toc
  param name=section value=2/
  param name=fromDepth value=0/
  param name=toDepth value=4/
/macro


So I tried it but it does not work.

[ERROR] Error parsing P:\project-site\src\site\xdoc\installation.xml: lin
e [-1] Error parsing the model.
org.apache.maven.doxia.parser.ParseException: Error parsing the model.
at org.apache.maven.doxia.module.xdoc.XdocParser.parse(
XdocParser.java:55)
at org.apache.maven.doxia.DefaultDoxia.parse(DefaultDoxia.java:52)
at
org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderDocument(
DefaultSiteRenderer.java:264)
at
org.apache.maven.doxia.siterenderer.DoxiaDocumentRenderer.renderDocument(
DoxiaDocumentRenderer.java:43)
at
org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(
DefaultSiteRenderer.java:239)
at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(
DefaultSiteRenderer.java:115)
at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java
:124)
at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:92)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:443)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:48
0)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:459)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.jav
a:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:278)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java
:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.doxia.macro.manager.MacroNotFoundException:
Cannot find macro with id = null
at org.apache.maven.doxia.macro.manager.DefaultMacroManager.getMacro
(DefaultMacroManager.java:43)
at org.apache.maven.doxia.parser.AbstractParser.executeMacro(
AbstractParser.java:44)
at org.apache.maven.doxia.module.xdoc.XdocParser.parseXdoc(
XdocParser.java:177)
at org.apache.maven.doxia.module.xdoc.XdocParser.parse(
XdocParser.java:51)
... 25 more

I don't what's wrong and what to do...
I haven't found for the moment a project or sample using the TOC macro.

Rémy


Re: Mvn2

2007-11-15 Thread Rémy Sanlaville
Ok, I understand now your point of view.

It's link to the important reproducibility topic.
One (common ?) way is to just use release version.
Your proposition is more radical. So you have to don't use any snapshot
pluginRepositroies and repositories (not just apache.snapshots).

Rémy


Re: maven deploy keep asking me the password of scp connection

2007-11-14 Thread Rémy Sanlaville
I found that it's a great pity to have to make a ssh connection with a ssh
client in order to store the server key in your account before launching
maven 2.

Isn't it possible to ask if you accept/trust or not the server key during
the maven 2 command ?
It would be a great improvement and really easier for the user. No ?

Rémy

2007/11/13, mailming [EMAIL PROTECTED]:


 From the build server use command console or shell, type ssh
 user@remoteserver if the remoteserver is asking your password, that
 means
 your ssh connection is not setup correctly. Supposely you don't need to
 supply any password, which means build server is a trust of the remote
 server.

 there are many reason could resulting this, you can trouble shoot by
 looking
 at the log of remote server locate something like /var/secure/log

 If this is not the case, then you need to verify if privateKey is
 referenced
 by the maven.




 CasMeiron wrote:
 
  Hi... i configured an scp connection to update my site and remote
  repository
  in pom.xml.
  I have a extra settings.xml in the pom directory. When i run maven
  deploy
  or maven site:deploy maven keep asking me the password of connection.
  The login and password is setted on settings.xml like:
  settings
servers
  server
idsite/id
usernamesitelogin/username
!-- Default value is ~/.ssh/id_dsa
privateKey/path/to/identity/privateKey (default is
  ~/.ssh/id_dsa)
//--
passphrasesitepass/passphrase
  /server
  server
idremote-repo/id
usernameremoteuser/username
!-- Default value is ~/.ssh/id_dsa
privateKey/path/to/identity/privateKey (default is
  ~/.ssh/id_dsa)
//--
passphraseremotepass/passphrase
  /server
/servers
  /settings
 
  Its my fault or maven should use the passphrase element value as
 password
  of
  connection?
  The pom looks like this:
  ...
  distributionManagement
  site
  idsite/id
  urlscp://siteURL:PORT/path/url
  /site
  repository
  idremote-repo/id
  namebla bla bla/name
  urlscp://remoteURL:PORT/path/url
uniqueVersionfalse/uniqueVersion
  /repository
  ...
  --
  Paulo Cesar Silva Reis
  ---
  Powered by GMAIL
 
 

 --
 View this message in context:
 http://www.nabble.com/maven-%22deploy%22-keep-asking-me-the-password-of-scp-connection-tf4798967s177.html#a13732224
 Sent from the Maven - Users mailing list archive at Nabble.com.


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




Re: Maven site plugin not connecting the projects and children properly

2007-11-14 Thread Rémy Sanlaville
Hi Kannan,

I think that you have something like that in your pom.xml:

project
  [...]
  urlmaven.apache.org/url
  [...]

/project

If so, just remove the url node.

Rémy


Re: Mvn2

2007-11-14 Thread Rémy Sanlaville
Hi Olivier,

I wonder why ?

Rémy


Re: Accessing java.class.path inside a test execution

2007-11-12 Thread Rémy Sanlaville
Hi,

This a common request and unfortunately the ${maven.test.classpath} variable
is not valuated in the surefire configuration plugin.

For the moment, I found a workaround but it is unsatisfactory

 build
plugins
plugin
artifactIdmaven-antrun-plugin/artifactId
executions
  execution
phasegenerate-test-resources/phase
configuration
  tasks
   property
   refid=maven.test.classpath name=
maven.test.classpath
   /property
 mkdir dir=${project.build.directory}/test-classes/
 echo
file=${project.build.directory}/test-classes/classpath.txt
append=false${maven.test.classpath}/echo
/tasks
/configuration
goals
  goalrun/goal
/goals
  /execution
/executions
/plugin
/plugins
  /build

Then, in your testcase, you just have to read the generated classpath file.

HTH,

Rémy


[M2] Pb Release and preserve timestamps

2007-11-07 Thread Rémy Sanlaville
Hi,

When I try to do a release with the maven-release-plugin, it seems that it
(or certainly wagon) asks to preserve the timestamps when deploying my
artifact to my repository.
My problem is if I am not the owner of the file (for instance the
maven-metadata.xml file), it fails when deploying my artifact (with the sftp
protocol) even if I am in the group owner.

My repository is hosting by a Debian Server.
I tried to do a cp -p (or --preserve=timestamps) and effectively I don't
have the permission to do this if I am not the owner of the file.
It seems that it's not possible to change the os for this. If you know, I
will be happy to have a solution.

So I don't really know what to do ?
Is it possible to configure wagon in order to skip the preserve timestamps
request ?
Is it a problem to do that ?

Does anybody else has the same problem (I found any thread in the archive
about this problem) ?

Thanks,

Rémy


Re: release:prepare failure during scm-tag : Server certificate verification failed: issuer is not trusted

2007-10-29 Thread Rémy Sanlaville
Jason, I am happy to see that you solved your problem and it's nice from you
that you explained how to do it.

Graham, it's nice to know how Subclipse works especially to handling
credentials.
But as Jason mentioned, it's strange that the maven release plugin is able
to execute a commit but not a tag.

BTW, I find that it's a shame that we have to do svn log and ssh (for
instance with scp or sftp protocol) in order to handle credentials before
using the maven release plugin. It would be nice to be able to accept the
credential during the maven release plugin execution but it's not the case
for the moment and the execution is waiting, waiting (with scp or sftp
protocol) and you can do anything apart from killing the process...

Rémy


Re: release:prepare failure during scm-tag : Server certificate verification failed: issuer is not trusted

2007-10-25 Thread Rémy Sanlaville
Hi Jason,

Not sure, but if you can access to your svn repo with different URLs (
https://www.domain-ommitted.com and http://www.domain-ommitted.com for
instance) it's possible that you made a checkout via one URL
(http://www.domain-ommitted.com
for instance) and maven-release-plugin try with another URL specify in the
scm section of your pom (https://www.domain-ommitted.com for instance).

We had a such of problem with one of our project and maven-release-plugin
could also commit but not tag.

I am not sure for the explanation but maven-release-plugin uses the svn
client install in your computer.
For the commit, it uses all the information in your .svn
For the tag, it seems that it indicates the URL of the tags (specify in the
scm section of your pom) but in your .svn the URL is different and the
certificate is linked only with the checkout URL.

HTH,

Rémy


Re: Site Plugin 2.0-beta-6-SNAPSHOT .vm filtering fails now

2007-10-23 Thread Rémy Sanlaville
Hi Olivier,

Just renaming the page is enough.
 You have sample here :
 https://svn.apache.org/repos/asf/maven/site/trunk/src/site/apt/ file
 download.apt.vm
 https://svn.apache.org/repos/asf/maven/site/trunk/src/site/xdoc/ file
 index.xml.vm


Thanks, I will try.
What about the site.xml file ?

Rémy


  1   2   3   >