Re: [ANN] Apache Maven PMD Plugin 3.1 Released

2014-03-19 Thread Krithika Shanmugam


Dennis Lundberg  apache.org> writes:

> 
> The Maven team is pleased to announce the release of the Apache Maven PMD 
Plugin, version 3.1
> 
> A Maven plugin for the PMD toolkit, that produces a report on both code 
rule violations and detected copy and paste
> fragments,
> as well as being able to fail the build based on these metrics.
> 
> http://maven.apache.org/plugins/maven-pmd-plugin/
> 
> You should specify the version in your project's plugin configuration:
> 
> 
>   org.apache.maven.plugins
>   maven-pmd-plugin
>   3.1
> 
> 
> Release Notes - Apache Maven PMD Plugin - Version 3.1
> 
> Bug
> * [MPMD-179] Plugin generates reports incompatible with the 'maven-jxr-
plugin' version 2.4
> * [MPMD-176] upgrade to last 5.0.5
> * [MPMD-172] Warning about missing XRef for module with no source
> * [MPMD-168] Skip report generation if results are empty
> * [MPMD-167] CPD performance issues
> * [MPMD-166] Plugin fails when switching from 2.7.1 to 3.0.1
> 
> Improvement
> * [MPMD-180] Remove redundant "Report" word on report name labels
> * [MPMD-175] Work around PMD bug #1155 which crashes the plugin with an 
empty ruleset element.
> * [MPMD-169] Support multi-threaded mode of PMD 5
> 
> New Feature
> * [MPMD-181] Add flag to capture Benchmark information
> 
> Enjoy,
> 
> -The Maven team
> 


Hi,

I've written one custom PMD rule and integrated with Jenkins. Maven build 
version was 2.2.1. But if the Maven build version is changed from 2.2.1 to 
3.0.4, the maven plugin doesn't pick my new custom rule, instead it runs 
with the default rulesets and doesn't throw any error message. Any inputs?

Parent pom:
--


org.apache.maven.plugins
maven-pmd-plugin
true
3.1

true
true
utf-8
100
1.7


${basedir}/LoggingCustomRules.xml



  


I'm running PMD for child projects.

Regards,
Krithika



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



Re: [ANN] Apache Maven PMD Plugin 3.1 Released

2014-03-19 Thread Baptiste Mathus
I think this is related to
http://maven.apache.org/plugins/maven-site-plugin/maven-3.html

Can you try just moving your pmd configuration inside  tag?
Also make sure you update maven-site-plugin version to the latest version.

Btw, if you're from maven 2 to maven 3, far better use the latest 3.2.1.

Cheers


2014-03-19 12:13 GMT+01:00 Krithika Shanmugam :

>
>
>
> Dennis Lundberg  apache.org> writes:
>
> >
> > The Maven team is pleased to announce the release of the Apache Maven PMD
> Plugin, version 3.1
> >
> > A Maven plugin for the PMD toolkit, that produces a report on both code
> rule violations and detected copy and paste
> > fragments,
> > as well as being able to fail the build based on these metrics.
> >
> > http://maven.apache.org/plugins/maven-pmd-plugin/
> >
> > You should specify the version in your project's plugin configuration:
> >
> > 
> >   org.apache.maven.plugins
> >   maven-pmd-plugin
> >   3.1
> > 
> >
> > Release Notes - Apache Maven PMD Plugin - Version 3.1
> >
> > Bug
> > * [MPMD-179] Plugin generates reports incompatible with the 'maven-jxr-
> plugin' version 2.4
> > * [MPMD-176] upgrade to last 5.0.5
> > * [MPMD-172] Warning about missing XRef for module with no source
> > * [MPMD-168] Skip report generation if results are empty
> > * [MPMD-167] CPD performance issues
> > * [MPMD-166] Plugin fails when switching from 2.7.1 to 3.0.1
> >
> > Improvement
> > * [MPMD-180] Remove redundant "Report" word on report name labels
> > * [MPMD-175] Work around PMD bug #1155 which crashes the plugin with an
> empty ruleset element.
> > * [MPMD-169] Support multi-threaded mode of PMD 5
> >
> > New Feature
> > * [MPMD-181] Add flag to capture Benchmark information
> >
> > Enjoy,
> >
> > -The Maven team
> >
>
>
> Hi,
>
> I've written one custom PMD rule and integrated with Jenkins. Maven build
> version was 2.2.1. But if the Maven build version is changed from 2.2.1 to
> 3.0.4, the maven plugin doesn't pick my new custom rule, instead it runs
> with the default rulesets and doesn't throw any error message. Any inputs?
>
> Parent pom:
> --
> 
> 
> org.apache.maven.plugins
> maven-pmd-plugin
> true
> 3.1
> 
> true
> true
> utf-8
> 100
> 1.7
> 
> 
> ${basedir}/LoggingCustomRules.xml
> 
> 
> 
>   
> 
>
> I'm running PMD for child projects.
>
> Regards,
> Krithika
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


-- 
Baptiste  MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !


Configuring SCM for github

2014-03-19 Thread Eric Kolotyluk

I am having trouble getting mvn release:prepare to work with github

  
scm:git:http://github.com/kolotyluk/java-file-utilities
scm:git:http://github.com/kolotyluk/java-file-utilities
scm:git:https://github.com/kolotyluk/java-file-utilities
java-file-utilities-0.0.1
  

When I try to prepare the release I get

  [INFO] Checking in modified POMs...
  [INFO] Executing: cmd.exe /X /C "git add -- pom.xml"
  [INFO] Working directory: 
D:\Users\Eric\Software\Project\Repositories\java-file-utilities

  [INFO] Executing: cmd.exe /X /C "git status"
  [INFO] Working directory: 
D:\Users\Eric\Software\Project\Repositories\java-file-utilities
  [INFO] Executing: cmd.exe /X /C "git commit --verbose -F 
C:\Users\Eric\AppData\Local\Temp\maven-scm-559613294.commit pom.xml"
  [INFO] Working directory: 
D:\Users\Eric\Software\Project\Repositories\java-file-utilities

  [INFO] Executing: cmd.exe /X /C "git symbolic-ref HEAD"
  [INFO] Working directory: 
D:\Users\Eric\Software\Project\Repositories\java-file-utilities
  [INFO] Executing: cmd.exe /X /C "git push 
https://github.com/kolotyluk/java-file-utilities master:master"
  [INFO] Working directory: 
D:\Users\Eric\Software\Project\Repositories\java-file-utilities


and mvn just hangs forever at that point. Is this a credentials problem 
or something else?


Cheers, Eric

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



Re: Configuring SCM for github

2014-03-19 Thread Russell Gold
HI Eric, I think you are missing the “.git” extensions in your urls. Here’s the 
ones I use.


https://github.com/meterware/simplestub.git

scm:git:https://github.com/meterware/simplestub.git

scm:git:https://github.com/meterware/simplestub.git


On Mar 19, 2014, at 2:58 PM, Eric Kolotyluk  wrote:

> I am having trouble getting mvn release:prepare to work with github
> 
>  
> scm:git:http://github.com/kolotyluk/java-file-utilities
> scm:git:http://github.com/kolotyluk/java-file-utilities
> scm:git:https://github.com/kolotyluk/java-file-utilities
>java-file-utilities-0.0.1
>  
> 
> When I try to prepare the release I get
> 
>  [INFO] Checking in modified POMs...
>  [INFO] Executing: cmd.exe /X /C "git add -- pom.xml"
>  [INFO] Working directory: 
> D:\Users\Eric\Software\Project\Repositories\java-file-utilities
>  [INFO] Executing: cmd.exe /X /C "git status"
>  [INFO] Working directory: 
> D:\Users\Eric\Software\Project\Repositories\java-file-utilities
>  [INFO] Executing: cmd.exe /X /C "git commit --verbose -F 
> C:\Users\Eric\AppData\Local\Temp\maven-scm-559613294.commit pom.xml"
>  [INFO] Working directory: 
> D:\Users\Eric\Software\Project\Repositories\java-file-utilities
>  [INFO] Executing: cmd.exe /X /C "git symbolic-ref HEAD"
>  [INFO] Working directory: 
> D:\Users\Eric\Software\Project\Repositories\java-file-utilities
>  [INFO] Executing: cmd.exe /X /C "git push 
> https://github.com/kolotyluk/java-file-utilities master:master"
>  [INFO] Working directory: 
> D:\Users\Eric\Software\Project\Repositories\java-file-utilities
> 
> and mvn just hangs forever at that point. Is this a credentials problem or 
> something else?
> 
> Cheers, Eric
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 

-
Author, Getting Started with Apache Maven 


Come read my webnovel, Take a Lemon , 
and listen to the Misfile radio play !









excluding classes and including classes in maven

2014-03-19 Thread Zaid Al-Zobaidi
I want some help regarding how to exclude some classes and including  other 
classes  in one module.

The intuition behind that is we have some mock classes that we want them to 
replace the original classes when the development profile is active.


Cheers


Re: Configuring SCM for github

2014-03-19 Thread Eric Kolotyluk

Now I have

  
https://github.com/kolotyluk/java-file-utilities.git
scm:git:https://github.com/kolotyluk/java-file-utilities.git
scm:git:https://github.com/kolotyluk/java-file-utilities.git
  

But it still hangs...

  [INFO] Checking in modified POMs...
  [INFO] Executing: cmd.exe /X /C "git add -- pom.xml"
  [INFO] Working directory: 
D:\Users\Eric\Software\Project\Repositories\java-file-utilities

  [INFO] Executing: cmd.exe /X /C "git status"
  [INFO] Working directory: 
D:\Users\Eric\Software\Project\Repositories\java-file-utilities
  [INFO] Executing: cmd.exe /X /C "git commit --verbose -F 
C:\Users\Eric\AppData\Local\Temp\maven-scm-1007803688.commit pom.xml"
  [INFO] Working directory: 
D:\Users\Eric\Software\Project\Repositories\java-file-utilities

  [INFO] Executing: cmd.exe /X /C "git symbolic-ref HEAD"
  [INFO] Working directory: 
D:\Users\Eric\Software\Project\Repositories\java-file-utilities
  [INFO] Executing: cmd.exe /X /C "git push 
https://github.com/kolotyluk/java-file-utilities.git master:master"
  [INFO] Working directory: 
D:\Users\Eric\Software\Project\Repositories\java-file-utilities


In my experience, getting release to work is the hardest thing I have 
ever done in Maven. I struggled for weeks to get it working with 
Perforce correctly. This is my first time with Git.


Do I need to set up a  in my settings.xml file for github?

Cheers, Eric

On 3/19/2014 12:06 PM, Russell Gold wrote:

HI Eric, I think you are missing the “.git” extensions in your urls. Here’s the 
ones I use.

 
 https://github.com/meterware/simplestub.git
 
scm:git:https://github.com/meterware/simplestub.git
 
scm:git:https://github.com/meterware/simplestub.git
 

On Mar 19, 2014, at 2:58 PM, Eric Kolotyluk  wrote:


I am having trouble getting mvn release:prepare to work with github

  
scm:git:http://github.com/kolotyluk/java-file-utilities
scm:git:http://github.com/kolotyluk/java-file-utilities
scm:git:https://github.com/kolotyluk/java-file-utilities
java-file-utilities-0.0.1
  

When I try to prepare the release I get

  [INFO] Checking in modified POMs...
  [INFO] Executing: cmd.exe /X /C "git add -- pom.xml"
  [INFO] Working directory: 
D:\Users\Eric\Software\Project\Repositories\java-file-utilities
  [INFO] Executing: cmd.exe /X /C "git status"
  [INFO] Working directory: 
D:\Users\Eric\Software\Project\Repositories\java-file-utilities
  [INFO] Executing: cmd.exe /X /C "git commit --verbose -F 
C:\Users\Eric\AppData\Local\Temp\maven-scm-559613294.commit pom.xml"
  [INFO] Working directory: 
D:\Users\Eric\Software\Project\Repositories\java-file-utilities
  [INFO] Executing: cmd.exe /X /C "git symbolic-ref HEAD"
  [INFO] Working directory: 
D:\Users\Eric\Software\Project\Repositories\java-file-utilities
  [INFO] Executing: cmd.exe /X /C "git push 
https://github.com/kolotyluk/java-file-utilities master:master"
  [INFO] Working directory: 
D:\Users\Eric\Software\Project\Repositories\java-file-utilities

and mvn just hangs forever at that point. Is this a credentials problem or 
something else?

Cheers, Eric

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


-
Author, Getting Started with Apache Maven 


Come read my webnovel, Take a Lemon ,
and listen to the Misfile radio play !











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



Re: Configuring SCM for github

2014-03-19 Thread Stephen Connolly
On Wednesday, 19 March 2014, Eric Kolotyluk 
wrote:

> Now I have
>
>   
> https://github.com/kolotyluk/java-file-utilities.git
> scm:git:https://github.com/kolotyluk/java-file-utilities.git connection>
> scm:git:https://github.com/kolotyluk/
> java-file-utilities.git


I favour the ssh variant of the GitHub URL


>   
>
> But it still hangs...
>
>   [INFO] Checking in modified POMs...
>   [INFO] Executing: cmd.exe /X /C "git add -- pom.xml"
>   [INFO] Working directory: D:\Users\Eric\Software\
> Project\Repositories\java-file-utilities
>   [INFO] Executing: cmd.exe /X /C "git status"
>   [INFO] Working directory: D:\Users\Eric\Software\
> Project\Repositories\java-file-utilities
>   [INFO] Executing: cmd.exe /X /C "git commit --verbose -F
> C:\Users\Eric\AppData\Local\Temp\maven-scm-1007803688.commit pom.xml"
>   [INFO] Working directory: D:\Users\Eric\Software\
> Project\Repositories\java-file-utilities
>   [INFO] Executing: cmd.exe /X /C "git symbolic-ref HEAD"
>   [INFO] Working directory: D:\Users\Eric\Software\
> Project\Repositories\java-file-utilities
>   [INFO] Executing: cmd.exe /X /C "git push https://github.com/kolotyluk/
> java-file-utilities.git master:master"
>   [INFO] Working directory: D:\Users\Eric\Software\
> Project\Repositories\java-file-utilities
>
> In my experience, getting release to work is the hardest thing I have ever
> done in Maven. I struggled for weeks to get it working with Perforce
> correctly. This is my first time with Git.
>
> Do I need to set up a  in my settings.xml file for github?


Yes


>
> Cheers, Eric
>
> On 3/19/2014 12:06 PM, Russell Gold wrote:
>
>> HI Eric, I think you are missing the ".git" extensions in your urls.
>> Here's the ones I use.
>>
>>  
>>  https://github.com/meterware/simplestub.git
>>  scm:git:https://github.com/meterware/
>> simplestub.git
>>  scm:git:https://github.com/meterware/simplestub.git
>> 
>>  
>>
>> On Mar 19, 2014, at 2:58 PM, Eric Kolotyluk 
>> wrote:
>>
>>  I am having trouble getting mvn release:prepare to work with github
>>>
>>>   
>>> scm:git:http://github.com/kolotyluk/java-file-utilities
>>> 
>>> scm:git:http://github.com/kolotyluk/java-file-utilities
>>> scm:git:https://github.com/kolotyluk/
>>> java-file-utilities
>>> java-file-utilities-0.0.1
>>>   
>>>
>>> When I try to prepare the release I get
>>>
>>>   [INFO] Checking in modified POMs...
>>>   [INFO] Executing: cmd.exe /X /C "git add -- pom.xml"
>>>   [INFO] Working directory: D:\Users\Eric\Software\
>>> Project\Repositories\java-file-utilities
>>>   [INFO] Executing: cmd.exe /X /C "git status"
>>>   [INFO] Working directory: D:\Users\Eric\Software\
>>> Project\Repositories\java-file-utilities
>>>   [INFO] Executing: cmd.exe /X /C "git commit --verbose -F
>>> C:\Users\Eric\AppData\Local\Temp\maven-scm-559613294.commit pom.xml"
>>>   [INFO] Working directory: D:\Users\Eric\Software\
>>> Project\Repositories\java-file-utilities
>>>   [INFO] Executing: cmd.exe /X /C "git symbolic-ref HEAD"
>>>   [INFO] Working directory: D:\Users\Eric\Software\
>>> Project\Repositories\java-file-utilities
>>>   [INFO] Executing: cmd.exe /X /C "git push
>>> https://github.com/kolotyluk/java-file-utilities master:master"
>>>   [INFO] Working directory: D:\Users\Eric\Software\
>>> Project\Repositories\java-file-utilities
>>>
>>> and mvn just hangs forever at that point. Is this a credentials problem
>>> or something else?
>>>
>>> Cheers, Eric
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>>> For additional commands, e-mail: users-h...@maven.apache.org
>>>
>>>  -
>> Author, Getting Started with Apache Maven > getting-started-with-apache-maven/video>
>>
>> Come read my webnovel, Take a Lemon ,
>> and listen to the Misfile radio play > com/misfile/>!
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

-- 
Sent from my phone


Re: Configuring SCM for github

2014-03-19 Thread Eric Kolotyluk

Ok, adding


  github.com
  kolotyluk
  /secret/


to settings.xml did the trick. Many thanks Stephen, and Russell.

Russell, this would be a good step to add to Video6_3.mp4

Why is ssh better than https?

Cheers, Eric


On 3/19/2014 12:30 PM, Stephen Connolly wrote:

On Wednesday, 19 March 2014, Eric Kolotyluk 
wrote:


Now I have

   
https://github.com/kolotyluk/java-file-utilities.git
scm:git:https://github.com/kolotyluk/java-file-utilities.git
scm:git:https://github.com/kolotyluk/
java-file-utilities.git


I favour the ssh variant of the GitHub URL



   

But it still hangs...

   [INFO] Checking in modified POMs...
   [INFO] Executing: cmd.exe /X /C "git add -- pom.xml"
   [INFO] Working directory: D:\Users\Eric\Software\
Project\Repositories\java-file-utilities
   [INFO] Executing: cmd.exe /X /C "git status"
   [INFO] Working directory: D:\Users\Eric\Software\
Project\Repositories\java-file-utilities
   [INFO] Executing: cmd.exe /X /C "git commit --verbose -F
C:\Users\Eric\AppData\Local\Temp\maven-scm-1007803688.commit pom.xml"
   [INFO] Working directory: D:\Users\Eric\Software\
Project\Repositories\java-file-utilities
   [INFO] Executing: cmd.exe /X /C "git symbolic-ref HEAD"
   [INFO] Working directory: D:\Users\Eric\Software\
Project\Repositories\java-file-utilities
   [INFO] Executing: cmd.exe /X /C "git push https://github.com/kolotyluk/
java-file-utilities.git master:master"
   [INFO] Working directory: D:\Users\Eric\Software\
Project\Repositories\java-file-utilities

In my experience, getting release to work is the hardest thing I have ever
done in Maven. I struggled for weeks to get it working with Perforce
correctly. This is my first time with Git.

Do I need to set up a  in my settings.xml file for github?


Yes



Cheers, Eric

On 3/19/2014 12:06 PM, Russell Gold wrote:


HI Eric, I think you are missing the ".git" extensions in your urls.
Here's the ones I use.

  
  https://github.com/meterware/simplestub.git
  scm:git:https://github.com/meterware/
simplestub.git
  scm:git:https://github.com/meterware/simplestub.git

  

On Mar 19, 2014, at 2:58 PM, Eric Kolotyluk 
wrote:

  I am having trouble getting mvn release:prepare to work with github

   
scm:git:http://github.com/kolotyluk/java-file-utilities

scm:git:http://github.com/kolotyluk/java-file-utilities
scm:git:https://github.com/kolotyluk/
java-file-utilities
 java-file-utilities-0.0.1
   

When I try to prepare the release I get

   [INFO] Checking in modified POMs...
   [INFO] Executing: cmd.exe /X /C "git add -- pom.xml"
   [INFO] Working directory: D:\Users\Eric\Software\
Project\Repositories\java-file-utilities
   [INFO] Executing: cmd.exe /X /C "git status"
   [INFO] Working directory: D:\Users\Eric\Software\
Project\Repositories\java-file-utilities
   [INFO] Executing: cmd.exe /X /C "git commit --verbose -F
C:\Users\Eric\AppData\Local\Temp\maven-scm-559613294.commit pom.xml"
   [INFO] Working directory: D:\Users\Eric\Software\
Project\Repositories\java-file-utilities
   [INFO] Executing: cmd.exe /X /C "git symbolic-ref HEAD"
   [INFO] Working directory: D:\Users\Eric\Software\
Project\Repositories\java-file-utilities
   [INFO] Executing: cmd.exe /X /C "git push
https://github.com/kolotyluk/java-file-utilities master:master"
   [INFO] Working directory: D:\Users\Eric\Software\
Project\Repositories\java-file-utilities

and mvn just hangs forever at that point. Is this a credentials problem
or something else?

Cheers, Eric

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

  -

Author, Getting Started with Apache Maven 

Come read my webnovel, Take a Lemon ,
and listen to the Misfile radio play !










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






Re: excluding classes and including classes in maven

2014-03-19 Thread Wayne Fay
> I want some help regarding how to exclude some classes and including
> other classes  in one module.
>
> The intuition behind that is we have some mock classes that we want them
> to replace the original classes when the development profile is active.

To me, this seems like something you would handle in src/test. Why is
that approach not acceptable in this specific case?

Wayne

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



Maven Ant Plugin question

2014-03-19 Thread hwpstorage
Hello,

I tried to use maven to genterate build.xml for ant.
Use command
 mvn ant:ant
will generate build.xml and maven-build.xml, which can be used by Ant.
my problem is
everytime runs ant compile
it will download everything from every repository.

for example, for this jar file parquet-format-1.0.0.jar
I got error, it tries every repository.
  [get] Getting:
http://192.168.2.124:8081/nexus/content/groups/public//com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
  [get] To:
/home/usera/.m2/repository/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
  [get] Getting:
https://repository.cloudera.com/artifactory/cloudera-repos//com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
  [get] To:
/home/usera/.m2/repository/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
  [get] Error opening connection java.io.FileNotFoundException:
https://repository.cloudera.com/artifactory/cloudera-repos//com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
  [get] Error opening connection java.io.FileNotFoundException:
https://repository.cloudera.com/artifactory/cloudera-repos//com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
  [get] Error opening connection java.io.FileNotFoundException:
https://repository.cloudera.com/artifactory/cloudera-repos//com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
  [get] Can't get
https://repository.cloudera.com/artifactory/cloudera-repos//com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jarto
/home/usera/.m2/repository/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
  [get] Getting:
http://maven.twttr.com/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
  [get] To:
/home/usera/.m2/repository/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
  [get] Error opening connection java.io.FileNotFoundException:
http://maven.twttr.com/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
  [get] Error opening connection java.io.FileNotFoundException:
http://maven.twttr.com/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
  [get] Error opening connection java.io.FileNotFoundException:
http://maven.twttr.com/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
  [get] Can't get
http://maven.twttr.com/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jarto
/home/usera/.m2/repository/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
  [get] Getting:
http://repo.maven.apache.org/maven2/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
  [get] To:
/home/usera/.m2/repository/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar

in File  maven-build.xml, this is generated via commmand mvn ant:ant


http://192.168.2.124:8081/nexus/content/groups/public//com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
"

dest="${maven.repo.local}/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar"
 usetimestamp="false"
 ignoreerrors="true"/>
https://repository.cloudera.com/artifactory/cloudera-repos//com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
"

dest="${maven.repo.local}/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar"
 usetimestamp="false"
 ignoreerrors="true"/>
http://maven.twttr.com/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
"

dest="${maven.repo.local}/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar"
 usetimestamp="false"
 ignoreerrors="true"/>
http://repo.maven.apache.org/maven2/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
"

dest="${maven.repo.local}/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar"
 usetimestamp="false"
 ignoreerrors="true"/>

In the orginal maven pom.xml file

com.twitter
parquet-format
1.0.0


Is there any way to change the generate file maven-build.xml in maven?
is it possible to skip the jar download if the maven.repo.local local
repository already has the jar file?

Thanks a lot


Open Source Best Practices with Maven - distributionManagement

2014-03-19 Thread Eric Kolotyluk
Does anyone know of any good documentation on 'Open Source Best 
Practices with Maven'


For example, in my POM, I want to set up

  
http://localhost:8081/nexus/content/groups/public

  false
  nexus-kolotyluk
  Local Release Repository
http://localhost:8081/nexus/content/repositories/releases
  default


  nexus-kolotyluk
  Local Snapshot Repository
http://localhost:8081/nexus/content/repositories/snapshots
  default

  

But that is my local repository on my development computer.

If I want to push my project to Maven Central some day, I don't think I 
want this in my POM.


Should I put this in a parent POM, or inside a  of my 
settings.xml file?


If I put it in a parent POM, then I need to push that to Maven Central 
too, so that does not sound like a good idea.


Cheer, Eric

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



Maven Ant Plugin question

2014-03-19 Thread hwpstorage
Hello,

I tried to use maven to genterate build.xml for ant.
Use command
 mvn ant:ant
will generate build.xml and maven-build.xml, which can be used by Ant.

my problem is
everytime runs ant compile
it will download everything from every repository.

for example, for this jar file parquet-format-1.0.0.jar
I got error, it tries every repository.
  [get] Getting:
http://192.168.2.124:8081/nexus/content/groups/public//com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
  [get] To:
/home/usera/.m2/repository/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
  [get] Getting:
https://repository.cloudera.com/artifactory/cloudera-repos//com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
  [get] To:
/home/usera/.m2/repository/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
  [get] Error opening connection java.io.FileNotFoundException:
https://repository.cloudera.com/artifactory/cloudera-repos//com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
  [get] Error opening connection java.io.FileNotFoundException:
https://repository.cloudera.com/artifactory/cloudera-repos//com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
  [get] Error opening connection java.io.FileNotFoundException:
https://repository.cloudera.com/artifactory/cloudera-repos//com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
  [get] Can't get
https://repository.cloudera.com/artifactory/cloudera-repos//com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jarto
/home/usera/.m2/repository/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
  [get] Getting:
http://maven.twttr.com/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
  [get] To:
/home/usera/.m2/repository/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
  [get] Error opening connection java.io.FileNotFoundException:
http://maven.twttr.com/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
  [get] Error opening connection java.io.FileNotFoundException:
http://maven.twttr.com/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
  [get] Error opening connection java.io.FileNotFoundException:
http://maven.twttr.com/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
  [get] Can't get
http://maven.twttr.com/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jarto
/home/usera/.m2/repository/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
  [get] Getting:
http://repo.maven.apache.org/maven2/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
  [get] To:
/home/usera/.m2/repository/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar


in File  maven-build.xml, this is generated via commmand mvn ant:ant


http://192.168.2.124:8081/nexus/content/groups/public//com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
"

dest="${maven.repo.local}/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar"
 usetimestamp="false"
 ignoreerrors="true"/>
https://repository.cloudera.com/artifactory/cloudera-repos//com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
"

dest="${maven.repo.local}/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar"
 usetimestamp="false"
 ignoreerrors="true"/>
http://maven.twttr.com/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
"

dest="${maven.repo.local}/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar"
 usetimestamp="false"
 ignoreerrors="true"/>
http://repo.maven.apache.org/maven2/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar
"

dest="${maven.repo.local}/com/twitter/parquet-format/1.0.0/parquet-format-1.0.0.jar"
 usetimestamp="false"
 ignoreerrors="true"/>


In the orginal maven pom.xml file

com.twitter
parquet-format
1.0.0



Is there any way to change the generate file maven-build.xml in maven?
is it possible to skip the jar download if the maven.repo.local local
repository already has the jar file?

Thanks a lot


Re: Open Source Best Practices with Maven - distributionManagement

2014-03-19 Thread Curtis Rueden
Hi Eric,

> Should I put this in a parent POM

Here is how my projects do it:
http://search.maven.org/remotecontent?filepath=org/scijava/pom-scijava/1.150/pom-scijava-1.150.pom

Note in particular the profiles at the bottom.

We use this pom-scijava as parent for all our stuff. To deploy to OSS
Sonatype (which gets mirrored to Central), we use the
"sonatype-oss-release" profile which is structured according to the guide
at:
https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide

For artifacts which are still incubating and not yet ready for Central, we
deploy to our own Maven repository (http://maven.imagej.net/) using a
"deploy-to-imagej" profile.

So yes, with this solution, the pom-scijava on Central does contain a
reference to our Maven repository, but only in a profile so as not to
infect anyone else's builds with it by default.

> or inside a  of my settings.xml file?

My rule of thumb is: you should not have to touch a settings.xml just to
build the code. Any solution requiring that, IMHO, makes things too
difficult. It's fine if you have to touch settings.xml to *deploy*
artifacts, or to configure a proxy for performance, but not just for
building.

Regards,
Curtis


On Wed, Mar 19, 2014 at 3:23 PM, Eric Kolotyluk wrote:

> Does anyone know of any good documentation on 'Open Source Best Practices
> with Maven'
>
> For example, in my POM, I want to set up
>
>   
> http://localhost:8081/nexus/content/groups/public
> 
> 
>   false
>   nexus-kolotyluk
>   Local Release Repository
> http://localhost:8081/nexus/content/repositories/releases
>   default
> 
> 
>   nexus-kolotyluk
>   Local Snapshot Repository
> http://localhost:8081/nexus/content/repositories/snapshots
>   default
> 
>   
>
> But that is my local repository on my development computer.
>
> If I want to push my project to Maven Central some day, I don't think I
> want this in my POM.
>
> Should I put this in a parent POM, or inside a  of my
> settings.xml file?
>
> If I put it in a parent POM, then I need to push that to Maven Central
> too, so that does not sound like a good idea.
>
> Cheer, Eric
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: Open Source Best Practices with Maven - distributionManagement

2014-03-19 Thread Stevo Slavić
Hello Eric,

I'd consider using Sonatype OSS with Sonatype OSS parent pom and everything
that goes along (see more details at
https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide)
For OSS development maybe use private (and not local) Nexus as proxy only,
with mirrors defined in local settings.xml, but publish both snapshots and
releases to Sonatype OSS repositories which get synced to Maven Central.
Why run Nexus on local machine? To control dependencies and their metada
for yourself only? Still looks as overkill to me, if you're the sole user
and plan on developing OSS. You already have local repository, and you
should have same experience as your OSS users (so no custom local metadata
of dependencies, depend only on stuff available on Maven Central, with
metadata as it is published on Maven Central).

Kind regards,
Stevo Slavic


On Wed, Mar 19, 2014 at 9:23 PM, Eric Kolotyluk wrote:

> Does anyone know of any good documentation on 'Open Source Best Practices
> with Maven'
>
> For example, in my POM, I want to set up
>
>   
> http://localhost:8081/nexus/content/groups/public
> 
> 
>   false
>   nexus-kolotyluk
>   Local Release Repository
> http://localhost:8081/nexus/content/repositories/releases
>   default
> 
> 
>   nexus-kolotyluk
>   Local Snapshot Repository
> http://localhost:8081/nexus/content/repositories/snapshots
>   default
> 
>   
>
> But that is my local repository on my development computer.
>
> If I want to push my project to Maven Central some day, I don't think I
> want this in my POM.
>
> Should I put this in a parent POM, or inside a  of my
> settings.xml file?
>
> If I put it in a parent POM, then I need to push that to Maven Central
> too, so that does not sound like a good idea.
>
> Cheer, Eric
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: Open Source Best Practices with Maven - distributionManagement

2014-03-19 Thread Mirko Friedenhagen
Hello Eric,

as outlined in 
https://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html
in your settings.xml you might define properties
altReleaseDeploymentRepository and altSnapshotDeploymentRepository in
a profile internal-repository which is activated by default while you
do not define any repository at all in your pom.
Now while developing you just invoke mvn deploy and everything should
go to your local Nexus.
When invoking mvn -P!internal-repository everything should go to central.
Regards Mirko
--
http://illegalstateexception.blogspot.com/
https://github.com/mfriedenhagen/ (http://osrc.dfm.io/mfriedenhagen)
https://bitbucket.org/mfriedenhagen/


On Wed, Mar 19, 2014 at 9:39 PM, Stevo Slavić  wrote:
> Hello Eric,
>
> I'd consider using Sonatype OSS with Sonatype OSS parent pom and everything
> that goes along (see more details at
> https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide)
> For OSS development maybe use private (and not local) Nexus as proxy only,
> with mirrors defined in local settings.xml, but publish both snapshots and
> releases to Sonatype OSS repositories which get synced to Maven Central.
> Why run Nexus on local machine? To control dependencies and their metada
> for yourself only? Still looks as overkill to me, if you're the sole user
> and plan on developing OSS. You already have local repository, and you
> should have same experience as your OSS users (so no custom local metadata
> of dependencies, depend only on stuff available on Maven Central, with
> metadata as it is published on Maven Central).
>
> Kind regards,
> Stevo Slavic
>
>
> On Wed, Mar 19, 2014 at 9:23 PM, Eric Kolotyluk 
> wrote:
>
>> Does anyone know of any good documentation on 'Open Source Best Practices
>> with Maven'
>>
>> For example, in my POM, I want to set up
>>
>>   
>> http://localhost:8081/nexus/content/groups/public
>> 
>> 
>>   false
>>   nexus-kolotyluk
>>   Local Release Repository
>> http://localhost:8081/nexus/content/repositories/releases
>>   default
>> 
>> 
>>   nexus-kolotyluk
>>   Local Snapshot Repository
>> http://localhost:8081/nexus/content/repositories/snapshots
>>   default
>> 
>>   
>>
>> But that is my local repository on my development computer.
>>
>> If I want to push my project to Maven Central some day, I don't think I
>> want this in my POM.
>>
>> Should I put this in a parent POM, or inside a  of my
>> settings.xml file?
>>
>> If I put it in a parent POM, then I need to push that to Maven Central
>> too, so that does not sound like a good idea.
>>
>> Cheer, Eric
>>
>> -
>> 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: Open Source Best Practices with Maven - distributionManagement

2014-03-19 Thread Eric Kolotyluk

OK, this was great advice. :-)

This works nicely because I do not have to have separate profiles in my 
pom.xml for my local Nexus or Sonatype's remote one. This keeps the 
pom.xml smaller.


This would be a nice narrative to add to 
https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide


Getting arbitrarily closer to pushing my first artifact ever to Maven 
Central...


Cheers, Eric

On 3/19/2014 2:15 PM, Mirko Friedenhagen wrote:

Hello Eric,

as outlined in 
https://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html
in your settings.xml you might define properties
altReleaseDeploymentRepository and altSnapshotDeploymentRepository in
a profile internal-repository which is activated by default while you
do not define any repository at all in your pom.
Now while developing you just invoke mvn deploy and everything should
go to your local Nexus.
When invoking mvn -P!internal-repository everything should go to central.
Regards Mirko
--
http://illegalstateexception.blogspot.com/
https://github.com/mfriedenhagen/ (http://osrc.dfm.io/mfriedenhagen)
https://bitbucket.org/mfriedenhagen/


On Wed, Mar 19, 2014 at 9:39 PM, Stevo Slavić  wrote:

Hello Eric,

I'd consider using Sonatype OSS with Sonatype OSS parent pom and everything
that goes along (see more details at
https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide)
For OSS development maybe use private (and not local) Nexus as proxy only,
with mirrors defined in local settings.xml, but publish both snapshots and
releases to Sonatype OSS repositories which get synced to Maven Central.
Why run Nexus on local machine? To control dependencies and their metada
for yourself only? Still looks as overkill to me, if you're the sole user
and plan on developing OSS. You already have local repository, and you
should have same experience as your OSS users (so no custom local metadata
of dependencies, depend only on stuff available on Maven Central, with
metadata as it is published on Maven Central).

Kind regards,
Stevo Slavic


On Wed, Mar 19, 2014 at 9:23 PM, Eric Kolotyluk wrote:


Does anyone know of any good documentation on 'Open Source Best Practices
with Maven'

For example, in my POM, I want to set up

   
http://localhost:8081/nexus/content/groups/public

 
   false
   nexus-kolotyluk
   Local Release Repository
http://localhost:8081/nexus/content/repositories/releases
   default
 
 
   nexus-kolotyluk
   Local Snapshot Repository
http://localhost:8081/nexus/content/repositories/snapshots
   default
 
   

But that is my local repository on my development computer.

If I want to push my project to Maven Central some day, I don't think I
want this in my POM.

Should I put this in a parent POM, or inside a  of my
settings.xml file?

If I put it in a parent POM, then I need to push that to Maven Central
too, so that does not sound like a good idea.

Cheer, Eric

-
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: Open Source Best Practices with Maven - distributionManagement

2014-03-19 Thread Mark Struberg
You could also add those properties into a profile in your settings.xml. That 
way you don't even have the url in the projects pom anymore.
Downside: this needs to be set up on each of your colleagues computers.

LieGrue,
strub





On Wednesday, 19 March 2014, 23:16, Eric Kolotyluk  
wrote:
 
OK, this was great advice. :-)
>
>This works nicely because I do not have to have separate profiles in my 
>pom.xml for my local Nexus or Sonatype's remote one. This keeps the 
>pom.xml smaller.
>
>This would be a nice narrative to add to 
>https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide
>
>Getting arbitrarily closer to pushing my first artifact ever to Maven 
>Central...
>
>Cheers, Eric
>
>On 3/19/2014 2:15 PM, Mirko Friedenhagen wrote:
>> Hello Eric,
>>
>> as outlined in 
>> https://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html
>> in your settings.xml you might define properties
>> altReleaseDeploymentRepository and altSnapshotDeploymentRepository in
>> a profile internal-repository which is activated by default while you
>> do not define any repository at all in your pom.
>> Now while developing you just invoke mvn deploy and everything should
>> go to your local Nexus.
>> When invoking mvn -P!internal-repository everything should go to central.
>> Regards Mirko
>> --
>> http://illegalstateexception.blogspot.com/
>> https://github.com/mfriedenhagen/ (http://osrc.dfm.io/mfriedenhagen)
>> https://bitbucket.org/mfriedenhagen/
>>
>>
>> On Wed, Mar 19, 2014 at 9:39 PM, Stevo Slavić  wrote:
>>> Hello Eric,
>>>
>>> I'd consider using Sonatype OSS with Sonatype OSS parent pom and everything
>>> that goes along (see more details at
>>> https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide)
>>> For OSS development maybe use private (and not local) Nexus as proxy only,
>>> with mirrors defined in local settings.xml, but publish both snapshots and
>>> releases to Sonatype OSS repositories which get synced to Maven Central.
>>> Why run Nexus on local machine? To control dependencies and their metada
>>> for yourself only? Still looks as overkill to me, if you're the sole user
>>> and plan on developing OSS. You already have local repository, and you
>>> should have same experience as your OSS users (so no custom local metadata
>>> of dependencies, depend only on stuff available on Maven Central, with
>>> metadata as it is published on Maven Central).
>>>
>>> Kind regards,
>>> Stevo Slavic
>>>
>>>
>>> On Wed, Mar 19, 2014 at 9:23 PM, Eric Kolotyluk 
>>> wrote:
>>>
 Does anyone know of any good documentation on 'Open Source Best Practices
 with Maven'

 For example, in my POM, I want to set up

    
 http://localhost:8081/nexus/content/groups/public
 
      
        false
        nexus-kolotyluk
        Local Release Repository
 http://localhost:8081/nexus/content/repositories/releases
        default
      
      
        nexus-kolotyluk
        Local Snapshot Repository
 http://localhost:8081/nexus/content/repositories/snapshots
        default
      
    

 But that is my local repository on my development computer.

 If I want to push my project to Maven Central some day, I don't think I
 want this in my POM.

 Should I put this in a parent POM, or inside a  of my
 settings.xml file?

 If I put it in a parent POM, then I need to push that to Maven Central
 too, so that does not sound like a good idea.

 Cheer, Eric

 -
 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
>
>
>
>

Problems with com.github.github:site-maven-plugin:0.9:site

2014-03-19 Thread Eric Kolotyluk

I configured things according to https://github.com/github/maven-plugins

But when I try to run 'mvn site' I get the following errors.

Does the gh-pages branch need to be created manually first, or should 
the plug-in do that automatically? Or am I chasing some other type of error.


Cheers, Eric

[ERROR] Failed to execute goal 
com.github.github:site-maven-plugin:0.9:site (default) on project 
java-file-utilities: Error creating blob: Not Found (404) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to 
execute goal com.github.github:site-maven-plugin:0.9:site (default) on 
project java-file-utilities: Error creating blob: Not Found (404)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)

at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error 
creating blob: Not Found (404)
at 
com.github.maven.plugins.site.SiteMojo.createBlob(SiteMojo.java:289)
at 
com.github.maven.plugins.site.SiteMojo.execute(SiteMojo.java:352)
at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)

... 19 more
Caused by: org.eclipse.egit.github.core.client.RequestException: Not 
Found (404)
at 
org.eclipse.egit.github.core.client.GitHubClient.createException(GitHubClient.java:552)
at 
org.eclipse.egit.github.core.client.GitHubClient.sendJson(GitHubClient.java:643)
at 
org.eclipse.egit.github.core.client.GitHubClient.post(GitHubClient.java:757)
at 
org.eclipse.egit.github.core.service.DataService.createBlob(DataService.java:115)
at 
com.github.maven.plugins.site.SiteMojo.createBlob(SiteMojo.java:285)

... 22 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, 
please read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

D:\Users\Eric\Software\Project\Repositories\java-file-utilities>

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



Re: Open Source Best Practices with Maven - distributionManagement

2014-03-19 Thread Eric Kolotyluk

Actually, I did set these properties up in my settings.xml file :-)

Great minds think alike ;-)

Cheers, Eric

On 3/19/2014 3:53 PM, Mark Struberg wrote:

You could also add those properties into a profile in your settings.xml. That 
way you don't even have the url in the projects pom anymore.
Downside: this needs to be set up on each of your colleagues computers.

LieGrue,
strub





On Wednesday, 19 March 2014, 23:16, Eric Kolotyluk  
wrote:
  
OK, this was great advice. :-)

This works nicely because I do not have to have separate profiles in my
pom.xml for my local Nexus or Sonatype's remote one. This keeps the
pom.xml smaller.

This would be a nice narrative to add to
https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide

Getting arbitrarily closer to pushing my first artifact ever to Maven
Central...

Cheers, Eric

On 3/19/2014 2:15 PM, Mirko Friedenhagen wrote:

Hello Eric,

as outlined in 
https://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html
in your settings.xml you might define properties
altReleaseDeploymentRepository and altSnapshotDeploymentRepository in
a profile internal-repository which is activated by default while you
do not define any repository at all in your pom.
Now while developing you just invoke mvn deploy and everything should
go to your local Nexus.
When invoking mvn -P!internal-repository everything should go to central.
Regards Mirko
--
http://illegalstateexception.blogspot.com/
https://github.com/mfriedenhagen/ (http://osrc.dfm.io/mfriedenhagen)
https://bitbucket.org/mfriedenhagen/


On Wed, Mar 19, 2014 at 9:39 PM, Stevo Slavić  wrote:

Hello Eric,

I'd consider using Sonatype OSS with Sonatype OSS parent pom and everything
that goes along (see more details at
https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide)
For OSS development maybe use private (and not local) Nexus as proxy only,
with mirrors defined in local settings.xml, but publish both snapshots and
releases to Sonatype OSS repositories which get synced to Maven Central.
Why run Nexus on local machine? To control dependencies and their metada
for yourself only? Still looks as overkill to me, if you're the sole user
and plan on developing OSS. You already have local repository, and you
should have same experience as your OSS users (so no custom local metadata
of dependencies, depend only on stuff available on Maven Central, with
metadata as it is published on Maven Central).

Kind regards,
Stevo Slavic


On Wed, Mar 19, 2014 at 9:23 PM, Eric Kolotyluk wrote:


Does anyone know of any good documentation on 'Open Source Best Practices
with Maven'

For example, in my POM, I want to set up

 
http://localhost:8081/nexus/content/groups/public

   
 false
 nexus-kolotyluk
 Local Release Repository
http://localhost:8081/nexus/content/repositories/releases
 default
   
   
 nexus-kolotyluk
 Local Snapshot Repository
http://localhost:8081/nexus/content/repositories/snapshots
 default
   
 

But that is my local repository on my development computer.

If I want to push my project to Maven Central some day, I don't think I
want this in my POM.

Should I put this in a parent POM, or inside a  of my
settings.xml file?

If I put it in a parent POM, then I need to push that to Maven Central
too, so that does not sound like a good idea.

Cheer, Eric

-
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: Configuring SCM for github

2014-03-19 Thread Stephen Connolly
I favour using my ssh key to deploy and keeping my password out of a file.
With my password I can de-authorise any ssh key... So if the machine I am
releasing from becomes compromised I can retain control of my GitHub
account

You may view otherwise if you choose

On Wednesday, 19 March 2014, Eric Kolotyluk 
wrote:

> Ok, adding
>
> 
>   github.com
>   kolotyluk
>   /secret/
> 
>
> to settings.xml did the trick. Many thanks Stephen, and Russell.
>
> Russell, this would be a good step to add to Video6_3.mp4
>
> Why is ssh better than https?
>
> Cheers, Eric
>
>
> On 3/19/2014 12:30 PM, Stephen Connolly wrote:
>
> On Wednesday, 19 March 2014, Eric Kolotyluk 
> wrote:
>
>  Now I have
>
>
> https://github.com/kolotyluk/java-file-utilities.git
> scm:git:https://github.com/kolotyluk/java-file-utilities.git connection>
> scm:git:https://github.com/kolotyluk/
> java-file-utilities.git
>
>
> I favour the ssh variant of the GitHub URL
>
>
> 
>
> But it still hangs...
>
>[INFO] Checking in modified POMs...
>[INFO] Executing: cmd.exe /X /C "git add -- pom.xml"
>[INFO] Working directory: D:\Users\Eric\Software\
> Project\Repositories\java-file-utilities
>[INFO] Executing: cmd.exe /X /C "git status"
>[INFO] Working directory: D:\Users\Eric\Software\
> Project\Repositories\java-file-utilities
>[INFO] Executing: cmd.exe /X /C "git commit --verbose -F
> C:\Users\Eric\AppData\Local\Temp\maven-scm-1007803688.commit pom.xml"
>[INFO] Working directory: D:\Users\Eric\Software\
> Project\Repositories\java-file-utilities
>[INFO] Executing: cmd.exe /X /C "git symbolic-ref HEAD"
>[INFO] Working directory: D:\Users\Eric\Software\
> Project\Repositories\java-file-utilities
>[INFO] Executing: cmd.exe /X /C "git push https://github.com/kolotyluk/
> java-file-utilities.git master:master"
>[INFO] Working directory: D:\Users\Eric\Software\
> Project\Repositories\java-file-utilities
>
> In my experience, getting release to work is the hardest thing I have ever
> done in Maven. I struggled for weeks to get it working with Perforce
> correctly. This is my first time with Git.
>
> Do I need to set up a  in my settings.xml file for github?
>
>
> Yes
>
>
>  Cheers, Eric
>
> On 3/19/2014 12:06 PM, Russell Gold wrote:
>
>  HI Eric, I think you are missing the ".git" extensions in your urls.
> Here's the ones I use.
>
>   
>   https://github.com/meterware/simplestub.git
>   scm:git:https://github.com/meterware/
> simplestub.git
>   scm:git:https://github.com/meterware/simplestub.git
> 
>   
>
> On Mar 19, 2014, at 2:58 PM, Eric Kolotyluk 
> wrote:
>
>   I am having trouble getting mvn release:prepare to work with github
>
>
> scm:git:http://github.com/kolotyluk/java-file-utilities
> 
> scm:git:http://github.com/kolotyluk/java-file-utilities
> scm:git:https://github.com/kolotyluk/
> java-file-utilities
>  java-file-utilities-0.0.1
>
>
> When I try to prepare the release I get
>
>[INFO] Checking in modified POMs...
>[INFO] Executing: cmd.exe /X /C "git add -- pom.xml"
>[INFO] Working directory: D:\Users\Eric\Software\
> Project\Repositories\java-file-utilities
>[INFO] Executing: cmd.exe /X /C "git status"
>
>
>

-- 
Sent from my phone


Re: Configuring SCM for github

2014-03-19 Thread Eric Kolotyluk

Cool. Thanks for the advice. Makes sense.

Cheers, Eric

On 3/19/2014 4:39 PM, Stephen Connolly wrote:

I favour using my ssh key to deploy and keeping my password out of a file.
With my password I can de-authorise any ssh key... So if the machine I am
releasing from becomes compromised I can retain control of my GitHub
account

You may view otherwise if you choose

On Wednesday, 19 March 2014, Eric Kolotyluk 
wrote:


Ok, adding

 
   github.com
   kolotyluk
   /secret/
 

to settings.xml did the trick. Many thanks Stephen, and Russell.

Russell, this would be a good step to add to Video6_3.mp4

Why is ssh better than https?

Cheers, Eric


On 3/19/2014 12:30 PM, Stephen Connolly wrote:

On Wednesday, 19 March 2014, Eric Kolotyluk 
wrote:

  Now I have


https://github.com/kolotyluk/java-file-utilities.git
scm:git:https://github.com/kolotyluk/java-file-utilities.git
scm:git:https://github.com/kolotyluk/
java-file-utilities.git


I favour the ssh variant of the GitHub URL


 

But it still hangs...

[INFO] Checking in modified POMs...
[INFO] Executing: cmd.exe /X /C "git add -- pom.xml"
[INFO] Working directory: D:\Users\Eric\Software\
Project\Repositories\java-file-utilities
[INFO] Executing: cmd.exe /X /C "git status"
[INFO] Working directory: D:\Users\Eric\Software\
Project\Repositories\java-file-utilities
[INFO] Executing: cmd.exe /X /C "git commit --verbose -F
C:\Users\Eric\AppData\Local\Temp\maven-scm-1007803688.commit pom.xml"
[INFO] Working directory: D:\Users\Eric\Software\
Project\Repositories\java-file-utilities
[INFO] Executing: cmd.exe /X /C "git symbolic-ref HEAD"
[INFO] Working directory: D:\Users\Eric\Software\
Project\Repositories\java-file-utilities
[INFO] Executing: cmd.exe /X /C "git push https://github.com/kolotyluk/
java-file-utilities.git master:master"
[INFO] Working directory: D:\Users\Eric\Software\
Project\Repositories\java-file-utilities

In my experience, getting release to work is the hardest thing I have ever
done in Maven. I struggled for weeks to get it working with Perforce
correctly. This is my first time with Git.

Do I need to set up a  in my settings.xml file for github?


Yes


  Cheers, Eric

On 3/19/2014 12:06 PM, Russell Gold wrote:

  HI Eric, I think you are missing the ".git" extensions in your urls.
Here's the ones I use.

   
   https://github.com/meterware/simplestub.git
   scm:git:https://github.com/meterware/
simplestub.git
   scm:git:https://github.com/meterware/simplestub.git

   

On Mar 19, 2014, at 2:58 PM, Eric Kolotyluk 
wrote:

   I am having trouble getting mvn release:prepare to work with github


scm:git:http://github.com/kolotyluk/java-file-utilities

scm:git:http://github.com/kolotyluk/java-file-utilities
scm:git:https://github.com/kolotyluk/
java-file-utilities
  java-file-utilities-0.0.1


When I try to prepare the release I get

[INFO] Checking in modified POMs...
[INFO] Executing: cmd.exe /X /C "git add -- pom.xml"
[INFO] Working directory: D:\Users\Eric\Software\
Project\Repositories\java-file-utilities
[INFO] Executing: cmd.exe /X /C "git status"






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



maven-dependency-tree reactor resolution

2014-03-19 Thread William Ferguson
Hi,

I have a plugin that uses the maven-dependency-tree component to resolve
project dependencies in a LifeCycleParticipant. (We need early access to
deps because we need to modify the compile classpath).

But I'm finding that with a clean repository, in a multi-module project
with modules X and Y-depends-on-X that the DependencyGraphBuilder is
throwing a DependencyGraphBuilderException when trying to resolve
Y-depends-on-X. It says that it cannot find X.

So it appears that the maven-dependency-tree is only using information from
the repository and not the reactor.

Is that expected?
Is there anyway that I can get MDT to resolve from the reactor?
Is there another approach that I should be taking to ensure that resolution
looks in the reactor?

NB I need to support both maven 3.0 and 3.1 which is why we are using MDT
to provide a level of abstraction above the 2 differing Aether
implementations.

William


RE: maven-dependency-tree reactor resolution

2014-03-19 Thread Martin Gainty
William-

Can you show us the pom for both:
Parent (X?)

Dependency (Y?)

  



> Date: Thu, 20 Mar 2014 09:55:31 +1000
> Subject: maven-dependency-tree reactor resolution
> From: william.fergu...@xandar.com.au
> To: users@maven.apache.org
> CC: mosa...@gmail.com
> 
> Hi,
> 
> I have a plugin that uses the maven-dependency-tree component to resolve
> project dependencies in a LifeCycleParticipant. (We need early access to
> deps because we need to modify the compile classpath).
> 
> But I'm finding that with a clean repository, in a multi-module project
> with modules X and Y-depends-on-X that the DependencyGraphBuilder is
> throwing a DependencyGraphBuilderException when trying to resolve
> Y-depends-on-X. It says that it cannot find X.
> 
> So it appears that the maven-dependency-tree is only using information from
> the repository and not the reactor.
> 
> Is that expected?
> Is there anyway that I can get MDT to resolve from the reactor?
> Is there another approach that I should be taking to ensure that resolution
> looks in the reactor?
> 
> NB I need to support both maven 3.0 and 3.1 which is why we are using MDT
> to provide a level of abstraction above the 2 differing Aether
> implementations.
> 
> William
  

Re: [Failsafe] How to properly conduct integration tests on executable jar files

2014-03-19 Thread Alex Karasulu
On Thu, Mar 13, 2014 at 4:54 AM, Alex Karasulu  wrote:

> Hello,
>
> I've got a module that builds an executable jar file using the Maven
> Assembly Plugin. I'm trying to setup an integration test (in the same
> module) that runs this executable jar file as a separate process and
> interacts with it. To fire up the executable jar file, my integration test
> requires the path to the executable jar file.
>
> I'm trying to achieve this by passing a property to the integration-test
> via system properties. This makes me feel really really dirty though and it
> has issues: although the test runs on the CLI it does not in any IDE
> without requiring further configuration (i.e. the property has to be
> manually added to a run configuration).
>
> After googling around a bit and reading the documentation there seems to
> be no other option for this scenario. In case I'm overlooking something, I
> wanted to ask here if there is a better way to start up this executable jar
> file or pass in the needed parameters to do so in the integration test?
>
>
Thanks for the feedback. I eventually used Stephen's suggestion (test
resource filtering) and it works like a champ for both the IDE and the CLI.

-- 
Best Regards,
-- Alex


Re: Problems with com.github.github:site-maven-plugin:0.9:site

2014-03-19 Thread Benson Margulies
Best ask them. This is a product of github, not the Apache Maven Project.

On Wed, Mar 19, 2014 at 7:32 PM, Eric Kolotyluk
 wrote:
> I configured things according to https://github.com/github/maven-plugins
>
> But when I try to run 'mvn site' I get the following errors.
>
> Does the gh-pages branch need to be created manually first, or should the
> plug-in do that automatically? Or am I chasing some other type of error.
>
> Cheers, Eric
>
> [ERROR] Failed to execute goal com.github.github:site-maven-plugin:0.9:site
> (default) on project java-file-utilities: Error creating blob: Not Found
> (404) -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal com.github.github:site-maven-plugin:0.9:site (default) on project
> java-file-utilities: Error creating blob: Not Found (404)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error creating
> blob: Not Found (404)
> at
> com.github.maven.plugins.site.SiteMojo.createBlob(SiteMojo.java:289)
> at com.github.maven.plugins.site.SiteMojo.execute(SiteMojo.java:352)
> at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
> ... 19 more
> Caused by: org.eclipse.egit.github.core.client.RequestException: Not Found
> (404)
> at
> org.eclipse.egit.github.core.client.GitHubClient.createException(GitHubClient.java:552)
> at
> org.eclipse.egit.github.core.client.GitHubClient.sendJson(GitHubClient.java:643)
> at
> org.eclipse.egit.github.core.client.GitHubClient.post(GitHubClient.java:757)
> at
> org.eclipse.egit.github.core.service.DataService.createBlob(DataService.java:115)
> at
> com.github.maven.plugins.site.SiteMojo.createBlob(SiteMojo.java:285)
> ... 22 more
> [ERROR]
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> D:\Users\Eric\Software\Project\Repositories\java-file-utilities>
>
> -
> 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: maven-dependency-tree reactor resolution

2014-03-19 Thread William Ferguson
Martin,

https://github.com/jayway/maven-android-plugin-samples

In particular the morseflash module which has:

   - morse-flash-lib
   - morse-flash-app (which is dependent on morse-flash-lib)


William



On Thu, Mar 20, 2014 at 10:28 AM, Martin Gainty  wrote:

> William-
>
> Can you show us the pom for both:
> Parent (X?)
>
> Dependency (Y?)
>
>
>
>
>
> > Date: Thu, 20 Mar 2014 09:55:31 +1000
> > Subject: maven-dependency-tree reactor resolution
> > From: william.fergu...@xandar.com.au
> > To: users@maven.apache.org
> > CC: mosa...@gmail.com
> >
> > Hi,
> >
> > I have a plugin that uses the maven-dependency-tree component to resolve
> > project dependencies in a LifeCycleParticipant. (We need early access to
> > deps because we need to modify the compile classpath).
> >
> > But I'm finding that with a clean repository, in a multi-module project
> > with modules X and Y-depends-on-X that the DependencyGraphBuilder is
> > throwing a DependencyGraphBuilderException when trying to resolve
> > Y-depends-on-X. It says that it cannot find X.
> >
> > So it appears that the maven-dependency-tree is only using information
> from
> > the repository and not the reactor.
> >
> > Is that expected?
> > Is there anyway that I can get MDT to resolve from the reactor?
> > Is there another approach that I should be taking to ensure that
> resolution
> > looks in the reactor?
> >
> > NB I need to support both maven 3.0 and 3.1 which is why we are using MDT
> > to provide a level of abstraction above the 2 differing Aether
> > implementations.
> >
> > William
>
>


Re: maven-dependency-tree reactor resolution

2014-03-19 Thread William Ferguson
Here's the direct links for both POMs

  
morseflash-lib/pom.xml
  
morseflash-app/pom.xml




On Thu, Mar 20, 2014 at 2:59 PM, William Ferguson <
william.fergu...@xandar.com.au> wrote:

> Martin,
>
> https://github.com/jayway/maven-android-plugin-samples
>
> In particular the morseflash module which has:
>
>- morse-flash-lib
>- morse-flash-app (which is dependent on morse-flash-lib)
>
>
> William
>
>
>
> On Thu, Mar 20, 2014 at 10:28 AM, Martin Gainty wrote:
>
>> William-
>>
>> Can you show us the pom for both:
>> Parent (X?)
>>
>> Dependency (Y?)
>>
>>
>>
>>
>>
>> > Date: Thu, 20 Mar 2014 09:55:31 +1000
>> > Subject: maven-dependency-tree reactor resolution
>> > From: william.fergu...@xandar.com.au
>> > To: users@maven.apache.org
>> > CC: mosa...@gmail.com
>> >
>> > Hi,
>> >
>> > I have a plugin that uses the maven-dependency-tree component to resolve
>> > project dependencies in a LifeCycleParticipant. (We need early access to
>> > deps because we need to modify the compile classpath).
>> >
>> > But I'm finding that with a clean repository, in a multi-module project
>> > with modules X and Y-depends-on-X that the DependencyGraphBuilder is
>> > throwing a DependencyGraphBuilderException when trying to resolve
>> > Y-depends-on-X. It says that it cannot find X.
>> >
>> > So it appears that the maven-dependency-tree is only using information
>> from
>> > the repository and not the reactor.
>> >
>> > Is that expected?
>> > Is there anyway that I can get MDT to resolve from the reactor?
>> > Is there another approach that I should be taking to ensure that
>> resolution
>> > looks in the reactor?
>> >
>> > NB I need to support both maven 3.0 and 3.1 which is why we are using
>> MDT
>> > to provide a level of abstraction above the 2 differing Aether
>> > implementations.
>> >
>> > William
>>
>>
>
>