Re: deploy large file to nexus requires huge memory

2010-03-07 Thread Brett Porter
If that's working, you can try switching to the httpclient as discussed on the 
site:
http://maven.apache.org/guides/mini/guide-wagon-providers.html

You'll have to use the system property, as I've recently discovered the 
settings.xml variant is broken.

- Brett

On 08/03/2010, at 4:40 PM, Dan Tran wrote:

> looks like Nexus does not support webdav
> 
> http://www.sonatype.com/people/2009/01/contrasting-nexus-and-artifactory/
> 
> :(
> 
> -Dan
> 
> On Fri, Feb 19, 2010 at 6:20 AM, Dan Tran  wrote:
>> thanks Brett,
>> 
>> I will give it a try
>> 
>> -D
>> 
>> On Thu, Feb 18, 2010 at 2:59 PM, Brett Porter  wrote:
>>> Yes, I've experienced the same. I'd need to check again, but my memory says 
>>> this was being done in the JDK so couldn't be worked around.
>>> 
>>> does using 'dav:http://' (effectively using httpclient instead) help?
>>> 
>>> - Brett
>>> 
>>> On 19/02/2010, at 7:31 AM, Dan Tran wrote:
>>> 
 Hi
 
 I have to set my MAVEN_OPTS=-Xmx1024m in order to deploy 500M ISO file
 via http ( ie nexus )
 
 Is it normal?
 
 I am using deploy-plugin 2.5
 
 Thanks
 
 -Dan
 
 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org
 
>>> 
>>> --
>>> Brett Porter
>>> br...@apache.org
>>> http://brettporter.wordpress.com/
>>> 
>>> 
>>> 
>>> 
>>> 
>>> -
>>> 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
> 

--
Brett Porter
br...@apache.org
http://brettporter.wordpress.com/





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



Re: deploy large file to nexus requires huge memory

2010-03-07 Thread Dan Tran
looks like Nexus does not support webdav

http://www.sonatype.com/people/2009/01/contrasting-nexus-and-artifactory/

:(

-Dan

On Fri, Feb 19, 2010 at 6:20 AM, Dan Tran  wrote:
> thanks Brett,
>
> I will give it a try
>
> -D
>
> On Thu, Feb 18, 2010 at 2:59 PM, Brett Porter  wrote:
>> Yes, I've experienced the same. I'd need to check again, but my memory says 
>> this was being done in the JDK so couldn't be worked around.
>>
>> does using 'dav:http://' (effectively using httpclient instead) help?
>>
>> - Brett
>>
>> On 19/02/2010, at 7:31 AM, Dan Tran wrote:
>>
>>> Hi
>>>
>>> I have to set my MAVEN_OPTS=-Xmx1024m in order to deploy 500M ISO file
>>> via http ( ie nexus )
>>>
>>> Is it normal?
>>>
>>> I am using deploy-plugin 2.5
>>>
>>> Thanks
>>>
>>> -Dan
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>>> For additional commands, e-mail: users-h...@maven.apache.org
>>>
>>
>> --
>> Brett Porter
>> br...@apache.org
>> http://brettporter.wordpress.com/
>>
>>
>>
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
>

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



Maven doesn't include com.sun.xml.internal.messaging.saaj.client.p2p package?

2010-03-07 Thread youhaodeyi

I use Maven to compile my project but it shows an error the this package
"com.sun.xml.internal.messaging.saaj.client.p2p" cannot found.
 
I have searched that this package is in JDK and why maven can't find this
package?

thanks
-- 
View this message in context: 
http://old.nabble.com/Maven-doesn%27t-include-com.sun.xml.internal.messaging.saaj.client.p2p-package--tp27817140p27817140.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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



How to invoke other mojos/lifecycles in a plugin

2010-03-07 Thread Mirko Friedenhagen
Hello,

I want to create a meta plugin which should invoke lifecycles/mojos, so instead 
of issueing:
mvn clean sources:jar deploy site
I could invoke:
mvn myplugin:go

- How do I include other plugins in the dependency section of my plugin?
- How do I invoke goals/lifecycles from a plugin?

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



Re: settings.xml

2010-03-07 Thread reno . rkcrew
Nick,

i wanted to send it but you did it before me :-)

S.

> http://lmgtfy.com/?q=Apache+Maven+settings.xml&l=1
>
>
> On Sun, Mar 7, 2010 at 5:06 AM, Sam Wun  wrote:
>
> > Can anyone point me to a wiki about how to setup settings.xml for
> > mavern 2.0? I got an error "Checksum failed".
> >
> > Thanks
> > Sam
> >
> > -
> > 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



Please ignore my last message about the build helper

2010-03-07 Thread Benson Margulies
That was entirely self-inflicted.


target directory "null" when using build-helper-maven-plugin to add test sources

2010-03-07 Thread Benson Margulies
I have no test sources in the main test directory, but I use the build help
to add some. And I get ...

[INFO] [compiler:testCompile]
[INFO] Compiling 6 source files to
/Users/benson/x/trunk/rlp/lucene/l23s13/null/test-classes


Re: settings.xml

2010-03-07 Thread Nick Klauer
http://lmgtfy.com/?q=Apache+Maven+settings.xml&l=1


On Sun, Mar 7, 2010 at 5:06 AM, Sam Wun  wrote:

> Can anyone point me to a wiki about how to setup settings.xml for
> mavern 2.0? I got an error "Checksum failed".
>
> Thanks
> Sam
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: Help with Testing custom Report Plugin

2010-03-07 Thread Ryan Connolly
Ok, so I have found that calling execute() instead
of  executeReport(Locale.getDefault()) in my Unit Tests fixes the
Nullpointer and I am now able to run my tests.  However, I haven't found a
way to include the default skin if the report is run outside the site
lifecycle.  Anyone have any pointers on how to achieve this?

Thanks,
Ryan


On Sat, Mar 6, 2010 at 11:43 AM, Ryan Connolly  wrote:

> Hello,
>  I have been following along the process describing how to write a
> custom maven report plugin write your own report 
> plugin
>  but
> I am getting stuck at the point of testing my new plugin.  In my unit test I
> am calling the executeReport(Locale.getDefault()); method but am running
> into a NPE when getSink() is called.  Does anyone know of any docs outlining
> how to test a custom reporting plugin?
>
> Thanks,
> -Ryan
>



-- 
�...@n


Re: Right way to create ${user.home}/.m2

2010-03-07 Thread Aleksey Didik

Thank you, Wendy!

Yes, it's possible to create "first dotted" folder by windows console :) 
Quite good.

But idea with msi is the good one, may be I will make it.

Aleksey.

07.03.2010 16:36, Wendy Smoak пишет:

On Sun, Mar 7, 2010 at 7:32 AM, Aleksey Didik
  wrote:
   

I'm writing instructions for new company developers how to install Maven.
On the one step, developer need to copy prepared settings.xml to
${user.home}/.m2, but before, this folder must be created.
But Windows XP don't allow to create folder with such name :(. It say I need
to input file name...
Is exists right way to create this folder?
 

I think you can create it at the command prompt with mkdir, just not
in the graphical explorer.  (Or maybe I simply resort to Cygwin when
this happens...)

It might be interesting to package it up as a .msi with your custom
settings.xml file.

   



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



Re: Right way to create ${user.home}/.m2

2010-03-07 Thread Wendy Smoak
On Sun, Mar 7, 2010 at 7:32 AM, Aleksey Didik
 wrote:
> I'm writing instructions for new company developers how to install Maven.
> On the one step, developer need to copy prepared settings.xml to
> ${user.home}/.m2, but before, this folder must be created.
> But Windows XP don't allow to create folder with such name :(. It say I need
> to input file name...
> Is exists right way to create this folder?

I think you can create it at the command prompt with mkdir, just not
in the graphical explorer.  (Or maybe I simply resort to Cygwin when
this happens...)

It might be interesting to package it up as a .msi with your custom
settings.xml file.

-- 
Wendy

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



Right way to create ${user.home}/.m2

2010-03-07 Thread Aleksey Didik

Hello all,
I'm writing instructions for new company developers how to install Maven.
On the one step, developer need to copy prepared settings.xml to 
${user.home}/.m2, but before, this folder must be created.
But Windows XP don't allow to create folder with such name :(. It say I 
need to input file name...

Is exists right way to create this folder?

Now I use just /mvn/ command in console, it has broken because no one 
project exists in work, but .m2 folder has been created.


Best regards,
Aleksey Didik.


settings.xml

2010-03-07 Thread Sam Wun
Can anyone point me to a wiki about how to setup settings.xml for
mavern 2.0? I got an error "Checksum failed".

Thanks
Sam

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