release:perform not removing release.properties

2012-05-21 Thread Mark Hobson
Hi there,

On upgrading maven-release-plugin from 2.2.2 to 2.3 I noticed that
release:perform no longer removes release.properties nor
pom.xml.releaseBackup.  Is this intended behaviour?  I couldn't see
anything regarding this in the release notes and the documentation
still states that they should be removed.

I'll raise an issue if it's a regression.

Cheers,

Mark

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



Re: release:perform not removing release.properties

2012-05-21 Thread Jesse Farinacci
Greetings,

On Mon, May 21, 2012 at 8:15 AM, Mark Hobson markhob...@gmail.com wrote:
 On upgrading maven-release-plugin from 2.2.2 to 2.3 I noticed that
 release:perform no longer removes release.properties nor
 pom.xml.releaseBackup.

I confirm that this is happening to my release builds, also. I don't
recall this happening before, and I don't think it is deliberate.

-Jesse

-- 
There are 10 types of people in this world, those
that can read binary and those that can not.

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



Re: release:perform not removing release.properties

2012-05-21 Thread Mark Hobson
Hi Jesse,

Thanks for the feedback.  I've raised an issue:

http://jira.codehaus.org/browse/MRELEASE-758

Cheers,

Mark

On 21 May 2012 13:18, Jesse Farinacci jie...@gmail.com wrote:
 Greetings,

 On Mon, May 21, 2012 at 8:15 AM, Mark Hobson markhob...@gmail.com wrote:
 On upgrading maven-release-plugin from 2.2.2 to 2.3 I noticed that
 release:perform no longer removes release.properties nor
 pom.xml.releaseBackup.

 I confirm that this is happening to my release builds, also. I don't
 recall this happening before, and I don't think it is deliberate.

 -Jesse

 --
 There are 10 types of people in this world, those
 that can read binary and those that can not.

 -
 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: Getting name of POM file?

2012-05-21 Thread Dreier Ruediger
Hello!

Thanks a lot! It works!

Kind regards,
Ruediger


 -Original Message-
 From: Stevo Slavić [mailto:ssla...@gmail.com]
 Sent: Friday, May 18, 2012 14:59
 To: Maven Users List
 Subject: Re: Getting name of POM file?
 
 Thanks Stephen,
 
 So in pom.xml one can reference it using ${project.file}
 
 That property is listed on
 http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide but
 in one of the user comments. Comment points to maven 2 resource as
 reference to where the info was found, here is link to equivalent file in
 Maven 3
 sources:
 
 http://svn.apache.org/viewvc/maven/maven-3/trunk/maven-
 compat/src/main/resources/META-INF/maven/plugin-
 expressions/project.paramdoc.xml?view=markup
 
 Kind regards,
 Stevo.
 
 2012/5/18 Stephen Connolly stephen.alan.conno...@gmail.com
 
  MavenProject.getFile()
 
  On Wednesday, 16 May 2012, Dreier Ruediger wrote:
 
   Hello!
  
   Is it somehow possible to get the name of the POM file (which might
   not
  be
   POM.xml if Maven was called with -f) inside a POM file (e.g. as
   parameter for other plugins)?
  
  
   Thanks for any help,
  
   i.A. Rüdiger Dreier
   Project Manager
  
   Bruker Daltonik GmbH
   Fahrenheitstr. 4
   28359 Bremen, Germany
  
   Phone: +49 421 2205-393
   Fax: +49 421 2205-3005
  
   ruediger.dre...@bdal.de
   javascript:;mailto:ruediger.dre...@bdal.de
  javascript:;
   
   www.bruker.comhttp://www.bruker.com/
  
  
  
   
   Sitz der Gesellschaft / Registered Office Bremen; Handelsregister
   Amtsgericht Bremen HRB 8150 / Commercial Register District Court
   Bremen
  HRB
   8150; Geschäftsführer / Managing Directors: Gerd Hülso, Sebastian
   Meyer-Plath, Stefan Ruge, Ian Sanders, Ph. D., Dr. Michael Schubert
  
   Haftungsausschluss: Die Bruker Daltonik GmbH ist nicht
   verantwortlich für die ordnungsgemäße, vollständige und
   verzögerungsfreie Übertragung der Nachricht. Der Inhalt der E-Mail
   ist nur rechtsverbindlich, wenn er unsererseits durch einen Brief oder ein
 Fax entsprechend bestätigt wird.
  
   Disclaimer: Bruker Daltonik GmbH is not responsible for correct,
   complete and timely transmission of this message. The content of
   this e-mail, including any attachments, is only legally binding if
   confirmed by Bruker Daltonik GmbH by letter or fax
  
 

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



apache httpd plugin

2012-05-21 Thread martin.eisengardt
Hi.


I looked around for some apache plugin (apache httpd) and did not find any.
So my first question is: Does anyone know of a project? Google seems not to
find any and in official repository there seems to be no match.
The main reason I need it is because some non-java web applications will
require .htaccess files (mod_rewrite).

Maybe I will start a plugin project if there is nothing around.


Greetings
Martin


m-source-p excludes regex support

2012-05-21 Thread Ryan Connolly
Hello, Maven Users:
I am faced with a situation where we are generating two sets of sources at
build time and I would like to exclude the sources generated by one of
these plugins when creating our source jar by using a regex expression.

For example, we have a source file Quote.java that plugin1 uses to generate
QQuote.java and plugin2 uses to generate IQuote.java.  Is there any way to
supply a regex that would exclude the QQuote.java file while including the
Quote.java and IQuote.java sources in our source jar?

I have tried the following with version 2.1.2 but this configuration
produces output declaring that there are no sources (when in fact there
are) and I can't seem to find any examples of using the %regex[expr] syntax
with the m-source-p.  Any help would be greatly appreciated.

  includes
include**/model/Quote.java/include
  /includes
  excludes
exclude**/model/Q*.java/exclude
exclude**/*.gwt.xml/exclude
  /excludes


Best,
-Ryan Connolly


Re: release:perform not removing release.properties

2012-05-21 Thread Robert Scholte

Fixed, will be part of the next release.

Robert

Op Mon, 21 May 2012 16:01:19 +0200 schreef Mark Hobson  
markhob...@gmail.com:



Hi Jesse,

Thanks for the feedback.  I've raised an issue:

http://jira.codehaus.org/browse/MRELEASE-758

Cheers,

Mark

On 21 May 2012 13:18, Jesse Farinacci jie...@gmail.com wrote:

Greetings,

On Mon, May 21, 2012 at 8:15 AM, Mark Hobson markhob...@gmail.com  
wrote:

On upgrading maven-release-plugin from 2.2.2 to 2.3 I noticed that
release:perform no longer removes release.properties nor
pom.xml.releaseBackup.


I confirm that this is happening to my release builds, also. I don't
recall this happening before, and I don't think it is deliberate.

-Jesse

--
There are 10 types of people in this world, those
that can read binary and those that can not.

-
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: release:perform not removing release.properties

2012-05-21 Thread Mark Hobson
Thanks for the quick fix Robert.  Any chance of a 2.3.1 release as
this is quite a visible regression?

Mark

On 21 May 2012 19:31, Robert Scholte apa...@sourcegrounds.com wrote:
 Fixed, will be part of the next release.

 Robert

 Op Mon, 21 May 2012 16:01:19 +0200 schreef Mark Hobson
 markhob...@gmail.com:


 Hi Jesse,

 Thanks for the feedback.  I've raised an issue:

 http://jira.codehaus.org/browse/MRELEASE-758

 Cheers,

 Mark

 On 21 May 2012 13:18, Jesse Farinacci jie...@gmail.com wrote:

 Greetings,

 On Mon, May 21, 2012 at 8:15 AM, Mark Hobson markhob...@gmail.com
 wrote:

 On upgrading maven-release-plugin from 2.2.2 to 2.3 I noticed that
 release:perform no longer removes release.properties nor
 pom.xml.releaseBackup.


 I confirm that this is happening to my release builds, also. I don't
 recall this happening before, and I don't think it is deliberate.

 -Jesse

 --
 There are 10 types of people in this world, those
 that can read binary and those that can not.

 -
 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


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



Re: release:perform not removing release.properties

2012-05-21 Thread Jesse Farinacci
Greetings,

On Mon, May 21, 2012 at 4:08 PM, Mark Hobson markhob...@gmail.com wrote:
 Thanks for the quick fix Robert.  Any chance of a 2.3.1 release as
 this is quite a visible regression?

Thanks for the fix, but a new release seems excessive. The bug doesn't
cause any sort of breakage, it just leaves some work files around.. I
haven't tested it, but I think these work files won't even interfere
with another invocation of the release.

-Jesse

-- 
There are 10 types of people in this world, those
that can read binary and those that can not.

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



Re: release:perform not removing release.properties

2012-05-21 Thread Mark Hobson
On 21 May 2012 21:33, Jesse Farinacci jie...@gmail.com wrote:
 Thanks for the fix, but a new release seems excessive. The bug doesn't
 cause any sort of breakage, it just leaves some work files around.. I
 haven't tested it, but I think these work files won't even interfere
 with another invocation of the release.

It doesn't break the release but it's an unnecessary inconvenience for
the user.  I'll look into a 2.3.1 release with this fix tomorrow.

Mark

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



Re: apache httpd plugin

2012-05-21 Thread Jeff MAURY
Can you explain what do you want to achieve from Maven: start/stop an httpd
instance, deploy to an httpd instance, ... ?

Jeff


On Mon, May 21, 2012 at 6:20 PM, martin.eisengardt 
martin.eisenga...@googlemail.com wrote:

 Hi.


 I looked around for some apache plugin (apache httpd) and did not find any.
 So my first question is: Does anyone know of a project? Google seems not to
 find any and in official repository there seems to be no match.
 The main reason I need it is because some non-java web applications will
 require .htaccess files (mod_rewrite).

 Maybe I will start a plugin project if there is nothing around.


 Greetings
 Martin




-- 
Jeff MAURY


Legacy code often differs from its suggested alternative by actually
working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury


Re: apache httpd plugin

2012-05-21 Thread martin.eisengardt
Yes, Starting/stopping
Deploying to an instance (whatever that means)

The most important thing I was thinking of is testing. That means testing a
web application with apache httpd and selenium. Testing a web app that
requires mod_rewrite won't work at the moment because tomcat and jetty are
not aware of .htaccess and mod_rewrite and therefor the requests will not
be redirected to the correct php/perl/cgi scripts. Having a web.xml with
servlet mappings that are similar to the .htaccess rewrite rules for only
supporting maven tests sounds not good for me.

Am I wrong? Maybe there is another solution I do not see at the moment.


Shade users: snapshot testers solicited

2012-05-21 Thread Benson Margulies
Shade users: I checked in a fix to
http://jira.codehaus.org/browse/MSHADE-115 that changes how
dependency-reduced-pom.xml files get created.

The changed version passes all the tests we have, but I have some
concerns of unanticipated consequences. The visible effects are that
the parent/relativePath element in a dependency-reduced-pom will
reflect the location the file ends up in (default
target/dependency-reduced-pom.xml), instead of being a copy of the
value from the original POM.

I would be grateful for any testing of version 1.7-SNAPSHOT to see if
this has any unanticipated consequences.

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