maven-enforcer rule Problem - http://jira.codehaus.org/browse/MENFORCER-189

2014-03-26 Thread Karl Heinz Marbaise

Hi to all devs...

currently I'm struggling with the above implementation. The current 
implementation works fine with all tests etc. But based on the above 
issue (of course needed)



So if i like to check the Maven -pl Options ..

Robert Scholte already gave me some hints to use things like this 
(Thanks for that):


mavenSession.getRequest().getSelectedProjects();

unfortunately the getRequest() method is first available with release 
3.X of Maven core which is currently not used in Maven Enforcer plugin 
(currently using Maven 2.0.6)..


The current implementation is going via:

session = (MavenSession) helper.evaluate( "${session}" );
..
List sortedProjects = session.getSortedProjects();

which works for Maven 2.0.X, 2.2.1, Maven 3.1.X and Maven 3.2.X...

Can someone give me hint if it's possible to hold compatibility with the 
above and find out "-pl -amd" things ?


Maven 2.2.1 know the options "-pl, -amd" so this might be the first 
version with which it could work 



Thanks in advance

Kind regards
Karl-Heinz Marbaise

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



[ANN] Apache Archiva 2.0.1

2014-03-26 Thread Olivier Lamy
Hi,

The Apache Archiva team would like to announce the release of Archiva
2.0.1. Archiva is available for download from the web site.

Archiva is an application for managing one or more remote
repositories, including administration, artifact handling, browsing
and searching.

If you have any questions, please consult:

the web site: http://archiva.apache.org/
the archiva-user mailing list: http://archiva.apache.org/mail-lists.html

This 2.0.1 release is a bug fix release.

Release Notes

Bug

[MRM-1127] - last modified headers incorrect on directory listing
[MRM-1181] - HTTP 401 - Unauthorized is Returned when Accessing
Artifact from Repository Group if the User Doesn't Have Access to All
Repositories in the Group
[MRM-1803] - ClassCastException:
org.apache.xalan.processor.TransformerFactoryImpl
[MRM-1804] - IndexOutOfBoundsException when browsing a group with 0 or 1 repo
[MRM-1807] - Archiva wrapper fail to start
[MRM-1808] - Cannot drag and drop UI blocks in General tab of Users
Runtime Configuration section

Improvement

[MRM-743] - Add date column in the repository interface

New Feature

[MRM-1089] - LDAP Support and Documentation
[MRM-1450] - Search for classifier



Have Fun!
-- 
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy

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



Re: Operating system requirement

2014-03-26 Thread Anders Hammar
Well, I was not aiming att create more work. Just make sure the stated info
is correct (and understandable).
As it is right now I don't understand what we're trying to say.

/Anders


On Wed, Mar 26, 2014 at 9:07 AM, Mirko Friedenhagen  wrote:

> What about collecting data from users via a Google form?
>
> Maven version, OS and JDKs as checkboxes come to my mind :-)
>
> I would guess Windows NT is not used that often nowadays (at least for Java
> development).
>
> Regards
> Mirko
> --
> Sent from my mobile
> On Mar 25, 2014 10:42 PM, "Anders Hammar"  wrote:
>
> > Under requirements [1], we're stating the following:
> >
> > "No minimum requirement. On Windows, Windows NT and above or Cygwin is
> > required for the startup scripts. Tested on Windows XP, Fedora Core and
> Mac
> > OS X."
> >
> > What exactly are we trying to say with the "On Windows, Windows NT and
> > above or Cygwin is required for the startup scripts." sentence? is it
> just
> > me or is the English weird?
> >
> > Also, what is tested on WinXP, Fedora and Mac? Is it Maven which is
> tested
> > on these platforms, or the startup scripts? AFAIK we have no CI IT builds
> > on Fedora. But we have it on Ubuntu. Also, should we state Mac even
> though
> > we don't have CI IT builds on Mac? I know we're several devs on Mac
> though.
> >
> > /Anders
> >
> > [1] http://maven.apache.org/download.cgi#Requirements
> >
>


Re: Operating system requirement

2014-03-26 Thread Mirko Friedenhagen
What about collecting data from users via a Google form?

Maven version, OS and JDKs as checkboxes come to my mind :-)

I would guess Windows NT is not used that often nowadays (at least for Java
development).

Regards
Mirko
-- 
Sent from my mobile
On Mar 25, 2014 10:42 PM, "Anders Hammar"  wrote:

> Under requirements [1], we're stating the following:
>
> "No minimum requirement. On Windows, Windows NT and above or Cygwin is
> required for the startup scripts. Tested on Windows XP, Fedora Core and Mac
> OS X."
>
> What exactly are we trying to say with the "On Windows, Windows NT and
> above or Cygwin is required for the startup scripts." sentence? is it just
> me or is the English weird?
>
> Also, what is tested on WinXP, Fedora and Mac? Is it Maven which is tested
> on these platforms, or the startup scripts? AFAIK we have no CI IT builds
> on Fedora. But we have it on Ubuntu. Also, should we state Mac even though
> we don't have CI IT builds on Mac? I know we're several devs on Mac though.
>
> /Anders
>
> [1] http://maven.apache.org/download.cgi#Requirements
>


Re: [CHANGES PLUGIN] 'webUser' is ignored for JIRA report

2014-03-26 Thread Behrooz Nobakht
Thanks for the hint. Unfortunately, it's still the same:

---
ID: 2
Address: https://MYJIRA.COM/issuetracker/rest/api/2/status
Http-Method: GET
Content-Type: */*
Headers: {Accept=[application/json], Content-Type=[*/*],
Cookie=[$Version="1";
atlassian.xsrf.token=AMUY-0X4J-KTOA-WYA4|cc7d64910370a05f29ed98695aaa41c6cde9584c|lout;
$Path=/issuetracker]}
--
[DEBUG] Accept: application/json
[DEBUG] Content-Type: */*
[DEBUG] Cookie: $Version="1";
atlassian.xsrf.token=AMUY-0X4J-KTOA-WYA4|cc7d64910370a05f29ed98695aaa41c6cde9584c|lout;
$Path=/issuetracker
[DEBUG] No Trust Decider for Conduit
'{https://MYJIRA.COM/issuetracker}WebClient.http-conduit'. An
afirmative Trust Decision is assumed.
[DEBUG] Response Code: 200 Conduit:
{https://MYJIRA.COM/issuetracker}WebClient.http-conduit
[DEBUG] Content length: -1
[DEBUG] Header fields:
null: [HTTP/1.1 200 OK]
Transfer-Encoding: [chunked]
Date: [Wed, 26 Mar 2014 07:45:04 GMT]
Keep-Alive: [timeout=15, max=99]
Via: [1.1 MYJIRA.COM]
Connection: [Keep-Alive]
Content-Type: [application/json;charset=UTF-8]
X-AUSERNAME: [anonymous]
X-AREQUESTID: [525x34612x1]
Server: [Apache-Coyote/1.1]
Cache-Control: [no-cache, no-store, no-transform]

[DEBUG] Adding interceptor
org.apache.cxf.interceptor.LoggingInInterceptor@568653d9 to phase
receive
[DEBUG] Chain org.apache.cxf.phase.PhaseInterceptorChain@75d46202 was
created. Current flow:
  receive [LoggingInInterceptor]

[DEBUG] Invoking handleMessage on interceptor
org.apache.cxf.interceptor.LoggingInInterceptor@568653d9
[INFO] Inbound Message

ID: 2
Response-Code: 200
Encoding: UTF-8
Content-Type: application/json;charset=UTF-8
Headers: {Cache-Control=[no-cache, no-store, no-transform],
connection=[Keep-Alive],
content-type=[application/json;charset=UTF-8], Date=[Wed, 26 Mar 2014
07:45:04 GMT], Keep-Alive=[timeout=15, max=99],
Server=[Apache-Coyote/1.1], transfer-encoding=[chunked], Via=[1.1
MYJIRA.COM], X-AREQUESTID=[525x34612x1], X-AUSERNAME=[anonymous]}
Payload: []
--
[WARNING]
org.apache.maven.plugin.MojoFailureException: Could not find status Closed.
at 
org.apache.maven.plugin.jira.RestJiraDownloader.resolveOneItem(RestJiraDownloader.java:263)
at 
org.apache.maven.plugin.jira.RestJiraDownloader.resolveList(RestJiraDownloader.java:244)
at 
org.apache.maven.plugin.jira.RestJiraDownloader.resolveIds(RestJiraDownloader.java:209)
at 
org.apache.maven.plugin.jira.RestJiraDownloader.doExecute(RestJiraDownloader.java:131)



On Tue, Mar 25, 2014 at 5:49 PM, Dennis Lundberg  wrote:

> Hi,
>
> Please try the latest 2.10-SNAPSHOT version of the plugin.
> It has a fix for an issue that sounds similar to yours.
>
> On Mon, Mar 24, 2014 at 10:11 AM, Behrooz N  wrote:
> > Hello,
> >
> > I want to generate a JIRA report using Changes Plugin. I've managed to
> > re-produce a situation which is contradictory:
> >
> >1. I use Maven and POM to generate the JIRA report.
> >2. I checkout 2.9 source and use a JUnit test class to verify.
> >
> > In case (1), the following Maven configuration is used:
> >
> > 
> > 
> > 
> > org.apache.maven.plugins
> > maven-changes-plugin
> > 2.9
> > 
> > true
> > true
> > Closed,Resolved
> > USER
> > PASS
> > 
> > 
> > 
> > 
> >
> > Then using mvn -X changes:jira-report, I get the following:
> >
> > ---
> > ID: 2
> > Address: https://MYJIRA.COM/issuetracker/rest/api/2/status
> > Http-Method: GET
> > Content-Type: */*
> > Headers: {Accept=[application/json], Content-Type=[*/*]}
> > --
> > [DEBUG] Accept: application/json
> > [DEBUG] Content-Type: */*
> > [DEBUG] No Trust Decider for Conduit
> > '{https://MYJIRA.COM/issuetracker}WebClient.http-conduit'. An
> > afirmative Trust Decision is assumed.
> > [DEBUG] Response Code: 200 Conduit:
> > {https://MYJIRA.COM/issuetracker}WebClient.http-conduit
> > [DEBUG] Content length: -1
> > [DEBUG] Header fields:
> > null: [HTTP/1.1 200 OK]
> > Transfer-Encoding: [chunked]
> > Date: [Mon, 24 Mar 2014 08:23:14 GMT]
> > Keep-Alive: [timeout=15, max=99]
> > Via: [1.1 MYJIRA.COM]
> > Set-Cookie:
> >
> [atlassian.xsrf.token=AMUY-0X4J-KTOA-WYA4|faf5142cf78de245e3573fc6cd122b41d1a0fe8e|lout;
> > Path=/issuetracker]
> > Connection: [Keep-Alive]
> > Content-Type: [application/json;charset=UTF-8]
> > X-AUSERNAME: [anonymous]
> > X-AREQUESTID: [563x130866x1]
> > Server: [Apache-Coyote/1.1]
> > Cache-Control: [no-cache, no-store, no-transform]
> >
> > [DEBUG] Adding interceptor
> > org.apache.cxf.interceptor.LoggingInInterceptor@5af3a14 to phase
> > receive
> > [DEBUG] Chain org.a