inter-module dependencies and jetty/tomcat

2010-12-01 Thread Manuel Bernhardt
Hi all,

I have the following set-up:

Project
- module A: library (packaged as JAR)
- module B: test webapp (packaged as WAR)

B depends on A via a simple  declaration.

before migrating to maven, we had a tomcat / jetty set-up where B
would depend directly on the classes of A, so that you could debug &
do modifications on A while running / debugging B and not having to
re-build A.

is there any way to reproduce this? what I'm looking for would be some
kind of "direct module dependency" (i.e. instead of B depending on the
packaged A artifact, it would directly look at its classes) or some
means to tell jetty and tomcat "guys, for that artifact, look at this
path".


Thanks,

Manuel

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



Re: archetype:create-from-project and excluding files from to-be-created archetype

2010-12-01 Thread abousso...@gmail.com

Hi

  I have the same needs. I'd like to exclude the .project when creating my
archetype.
Is it possible ?
thanks
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/archetype-create-from-project-and-excluding-files-from-to-be-created-archetype-tp124602p3287376.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



can we use maven in offline environment?

2010-12-01 Thread maven apache
Hi:
Out work environment is offline,so I wonder if we can use maven.

I know we can build our own repository ,then put the jars we are using in
the repositoryl,however jars we are using are so many,it is not a simple
work.

ALso,even if we put all the jars in the repository,how about when a new
depedency is required when building our project? Download the required jar
then put it in the repository again and again?


Re: can we use maven in offline environment?

2010-12-01 Thread Antonio Petrelli
2010/12/1 maven apache :
> Hi:
> Out work environment is offline,so I wonder if we can use maven.
>
> I know we can build our own repository ,then put the jars we are using in
> the repositoryl,however jars we are using are so many,it is not a simple
> work.
>
> ALso,even if we put all the jars in the repository,how about when a new
> depedency is required when building our project? Download the required jar
> then put it in the repository again and again?


You can use:
mvn dependency:go-offline
to download any plugin and dependency in one shot, but you have still
need to be online at least once.
However I am a bit confused: without Maven, how do you download
libraries you need?

Antonio

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



Re: can we use maven in offline environment?

2010-12-01 Thread Antonio Petrelli
2010/12/1 maven apache :
> In a word,all development related machine can not access the internet. But
> they can access each other in the Local Area Network.
>
> I mean the build machine as my own work machine. It can access the
> repository machine through Local Area Network.

But the repository machine should access the Internet at least once.
Isn't it possible?

Stupid security reasons :-D

Antonio

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



Re: can we use maven in offline environment?

2010-12-01 Thread Antonio Petrelli
2010/12/1 Antonio Petrelli :
> 2010/12/1 maven apache :
>> In a word,all development related machine can not access the internet. But
>> they can access each other in the Local Area Network.
>>
>> I mean the build machine as my own work machine. It can access the
>> repository machine through Local Area Network.
>
> But the repository machine should access the Internet at least once.
> Isn't it possible?
>
> Stupid security reasons :-D

Sorry I see your answer only now, but I have already pressed the
"send" button :-)

Antonio

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



Re: can we use maven in offline environment?

2010-12-01 Thread maven apache
2010/12/1 Antonio Petrelli 

> 2010/12/1 maven apache :
> > In a word,all development related machine can not access the internet.
> But
> > they can access each other in the Local Area Network.
> >
> > I mean the build machine as my own work machine. It can access the
> > repository machine through Local Area Network.
>
> But the repository machine should access the Internet at least once.
> Isn't it possible?
>

No. Once. All the jars can only be downloaded in a online machine then
transfered to the repository machine by usb-dirver :(.

If it can access the Internate once,I would not have these problems.

>
> Stupid security reasons :-D
>
:(

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


Creating a custom lifecycle

2010-12-01 Thread Gajo Csaba

Hello,

I'm trying to create a custom lifecycle. In this case, I don't mean 
providing custom classes for one of the defined phases, but redefining 
the phases themselves. For example, the DefaultLifecycleMapping seems to 
support clean, compile, test etc...


How can I, for example, make it so that the phases are deploy, clean, 
compile, install, test? Which component should I override to be able to 
do this?


I see that there are 3 cases where this is done: clean, site and default.

I've created by own class which implements LifecycleMapping. I wrote a 
components.xml and lifecycle.xml for it. When I observe the 
getPhases(String lifecycle) method, I see that the value of "lifecycle" 
is always "default". I'm guessing that I need to define something so 
that this wouldn't be "default", but my own lifecycle, for example 
"apple". How to do this?


Thanks, Csaba



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



Maven 3: deploy-file no longer work

2010-12-01 Thread martib

I'm facing a problem under M3 with 

  mvn deploy:deploy-file ...

I'm getting this error:

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy-file (default-cli)
on project : Failed to deploy artifacts: Could not transfer artifact
com.oreilly:servlet:jar:20081226 from/to thirdparty
(http:///nexus/content/repositories/thirdparty):  

Return code is: 504 -> [Help 1]

And I've got a proxy-setting in my settings.xml

Everything works fine with Maven 2.2.1 and the proxy and repository
configuration without change.

Is there a significant change in the wagon-providers?


Environment: Maven 3.0.1, JDK 6
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/Maven-3-deploy-file-no-longer-work-tp3287456p3287456.html
Sent from the Maven - Users mailing list archive at Nabble.com.


Re: Creating a custom lifecycle

2010-12-01 Thread Antonio Petrelli
It's best to tell us what you want to accomplish.
Fighting Maven is always a bad thing.

Antonio

2010/12/1 Gajo Csaba :
> Hello,
>
> I'm trying to create a custom lifecycle. In this case, I don't mean
> providing custom classes for one of the defined phases, but redefining the
> phases themselves. For example, the DefaultLifecycleMapping seems to support
> clean, compile, test etc...
>
> How can I, for example, make it so that the phases are deploy, clean,
> compile, install, test? Which component should I override to be able to do
> this?
>
> I see that there are 3 cases where this is done: clean, site and default.
>
> I've created by own class which implements LifecycleMapping. I wrote a
> components.xml and lifecycle.xml for it. When I observe the getPhases(String
> lifecycle) method, I see that the value of "lifecycle" is always "default".
> I'm guessing that I need to define something so that this wouldn't be
> "default", but my own lifecycle, for example "apple". How to do this?
>
> Thanks, Csaba
>
>
>
> -
> 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: can we use maven in offline environment?

2010-12-01 Thread Gajo Csaba

1. create a dummy maven project
2. in the pom.xml add in the ,   and  
ALL the files you'll need... possibly include all the versions as well
3. go to a computer that does have internet and run mvn clean site 
package install deploy dependency:go-offline and a handful of other 
commands you can think of
4. package your local .m2 directory into a zip file and copy on your usb 
flash

5. go to your local offline computer and extract the zip file
6. in .m2/settings.xml set the true

This is how you work with Maven in offline mode...

Cheers, Csaba


On 1.12.2010 11:51, maven apache wrote:

2010/12/1 Antonio Petrelli


2010/12/1 maven apache:

In a word,all development related machine can not access the internet.

But

they can access each other in the Local Area Network.

I mean the build machine as my own work machine. It can access the
repository machine through Local Area Network.

But the repository machine should access the Internet at least once.
Isn't it possible?


No. Once. All the jars can only be downloaded in a online machine then
transfered to the repository machine by usb-dirver :(.

If it can access the Internate once,I would not have these problems.


Stupid security reasons :-D


:(


Antonio

-
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: Creating a custom lifecycle

2010-12-01 Thread Gajo Csaba

I want to delete the deploy goal. Make it exist as much as "mvn apple" does

On 1.12.2010 12:14, Antonio Petrelli wrote:

It's best to tell us what you want to accomplish.
Fighting Maven is always a bad thing.

Antonio

2010/12/1 Gajo Csaba:

Hello,

I'm trying to create a custom lifecycle. In this case, I don't mean
providing custom classes for one of the defined phases, but redefining the
phases themselves. For example, the DefaultLifecycleMapping seems to support
clean, compile, test etc...

How can I, for example, make it so that the phases are deploy, clean,
compile, install, test? Which component should I override to be able to do
this?

I see that there are 3 cases where this is done: clean, site and default.

I've created by own class which implements LifecycleMapping. I wrote a
components.xml and lifecycle.xml for it. When I observe the getPhases(String
lifecycle) method, I see that the value of "lifecycle" is always "default".
I'm guessing that I need to define something so that this wouldn't be
"default", but my own lifecycle, for example "apple". How to do this?

Thanks, Csaba



-
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: Creating a custom lifecycle

2010-12-01 Thread Simone Tripodi
take a look at the maven deploy plugin configuration[1] and set
true
hope this helps
Simo

[1] http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html

http://people.apache.org/~simonetripodi/
http://www.99soft.org/



On Wed, Dec 1, 2010 at 12:18 PM, Gajo Csaba  wrote:
> I want to delete the deploy goal. Make it exist as much as "mvn apple" does
>
> On 1.12.2010 12:14, Antonio Petrelli wrote:
>>
>> It's best to tell us what you want to accomplish.
>> Fighting Maven is always a bad thing.
>>
>> Antonio
>>
>> 2010/12/1 Gajo Csaba:
>>>
>>> Hello,
>>>
>>> I'm trying to create a custom lifecycle. In this case, I don't mean
>>> providing custom classes for one of the defined phases, but redefining
>>> the
>>> phases themselves. For example, the DefaultLifecycleMapping seems to
>>> support
>>> clean, compile, test etc...
>>>
>>> How can I, for example, make it so that the phases are deploy, clean,
>>> compile, install, test? Which component should I override to be able to
>>> do
>>> this?
>>>
>>> I see that there are 3 cases where this is done: clean, site and default.
>>>
>>> I've created by own class which implements LifecycleMapping. I wrote a
>>> components.xml and lifecycle.xml for it. When I observe the
>>> getPhases(String
>>> lifecycle) method, I see that the value of "lifecycle" is always
>>> "default".
>>> I'm guessing that I need to define something so that this wouldn't be
>>> "default", but my own lifecycle, for example "apple". How to do this?
>>>
>>> Thanks, Csaba
>>>
>>>
>>>
>>> -
>>> 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: Creating a custom lifecycle

2010-12-01 Thread Gajo Csaba

I didn't try it yet, but I'll try it now.

I think this will not solve the problem. If you write mvn deploy, you 
will probably have the compile, test etc. phases executed. What I need 
is, to not run any of these phases, but immediately print out "this is 
not supported" and end the execution. The only way to do is, as far as I 
know, is to create my own lifecycle.


Csaba


On 1.12.2010 12:31, Simone Tripodi wrote:

take a look at the maven deploy plugin configuration[1] and set
true
hope this helps
Simo

[1] http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html

http://people.apache.org/~simonetripodi/
http://www.99soft.org/



On Wed, Dec 1, 2010 at 12:18 PM, Gajo Csaba  wrote:

I want to delete the deploy goal. Make it exist as much as "mvn apple" does

On 1.12.2010 12:14, Antonio Petrelli wrote:

It's best to tell us what you want to accomplish.
Fighting Maven is always a bad thing.

Antonio

2010/12/1 Gajo Csaba:

Hello,

I'm trying to create a custom lifecycle. In this case, I don't mean
providing custom classes for one of the defined phases, but redefining
the
phases themselves. For example, the DefaultLifecycleMapping seems to
support
clean, compile, test etc...

How can I, for example, make it so that the phases are deploy, clean,
compile, install, test? Which component should I override to be able to
do
this?

I see that there are 3 cases where this is done: clean, site and default.

I've created by own class which implements LifecycleMapping. I wrote a
components.xml and lifecycle.xml for it. When I observe the
getPhases(String
lifecycle) method, I see that the value of "lifecycle" is always
"default".
I'm guessing that I need to define something so that this wouldn't be
"default", but my own lifecycle, for example "apple". How to do this?

Thanks, Csaba



-
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




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



Re: Creating a custom lifecycle

2010-12-01 Thread Antonio Petrelli
2010/12/1 Gajo Csaba :
> I didn't try it yet, but I'll try it now.
>
> I think this will not solve the problem. If you write mvn deploy, you will
> probably have the compile, test etc. phases executed. What I need is, to not
> run any of these phases, but immediately print out "this is not supported"
> and end the execution. The only way to do is, as far as I know, is to create
> my own lifecycle.

Sorry but I don't understand. What kind of project does not need to
compile, test, etc.?
What should "mvn apple" do?

Antonio

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



Re: Creating a custom lifecycle

2010-12-01 Thread Tamás Cservenák
Not sure what you aiming for, but you could introduce new packaging, and
that new packaging might introduce completely new lifecycle also.

If you build some "custom" packaging, this would be the best, since it gives
you freedom to do all what you need in your custom build, but also freedom
to map whatever you want in there.

Thanks,
~t~

On Wed, Dec 1, 2010 at 12:34 PM, Gajo Csaba  wrote:

> I didn't try it yet, but I'll try it now.
>
> I think this will not solve the problem. If you write mvn deploy, you will
> probably have the compile, test etc. phases executed. What I need is, to not
> run any of these phases, but immediately print out "this is not supported"
> and end the execution. The only way to do is, as far as I know, is to create
> my own lifecycle.
>
> Csaba
>
>
>
> On 1.12.2010 12:31, Simone Tripodi wrote:
>
>> take a look at the maven deploy plugin configuration[1] and set
>> true
>> hope this helps
>> Simo
>>
>> [1] http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html
>>
>> http://people.apache.org/~simonetripodi/
>> http://www.99soft.org/
>>
>>
>>
>> On Wed, Dec 1, 2010 at 12:18 PM, Gajo Csaba
>>  wrote:
>>
>>> I want to delete the deploy goal. Make it exist as much as "mvn apple"
>>> does
>>>
>>> On 1.12.2010 12:14, Antonio Petrelli wrote:
>>>
 It's best to tell us what you want to accomplish.
 Fighting Maven is always a bad thing.

 Antonio

 2010/12/1 Gajo Csaba:

> Hello,
>
> I'm trying to create a custom lifecycle. In this case, I don't mean
> providing custom classes for one of the defined phases, but redefining
> the
> phases themselves. For example, the DefaultLifecycleMapping seems to
> support
> clean, compile, test etc...
>
> How can I, for example, make it so that the phases are deploy, clean,
> compile, install, test? Which component should I override to be able to
> do
> this?
>
> I see that there are 3 cases where this is done: clean, site and
> default.
>
> I've created by own class which implements LifecycleMapping. I wrote a
> components.xml and lifecycle.xml for it. When I observe the
> getPhases(String
> lifecycle) method, I see that the value of "lifecycle" is always
> "default".
> I'm guessing that I need to define something so that this wouldn't be
> "default", but my own lifecycle, for example "apple". How to do this?
>
> Thanks, Csaba
>
>
>
> -
> 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
>>
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: Creating a custom lifecycle

2010-12-01 Thread Gajo Csaba

Yes, I've created a new packaging. In my test project pom.xml, I now have:

apple




com.test.phases
AppleLifecycle
true




The AppleLifecycle project defines the "apple" lifecycle.  However, 
contrary to how custom lifecycles are usually defined, my components.xml 
looks like this:





org.apache.maven.lifecycle.mapping.LifecycleMapping
apple
com.test.phases.HelloLifecycle




The HelloLifecycle is my custom lifecycle, which supports only the 
"compile" phase. So if you write mvn package, it will skip all the 
phases, and execute only "compile".


The lifecycle.xml looks like this:



apple



This works, the test project uses my custom lifecycle for building 
itself. However, the compile, test, package etc. goals are still there. 
I want to redefine them.


The problem is, that if I write mvn deploy, it will execute also mvn 
compile (because compile < test < package < install < deploy). What I 
want is, when I write mvn deploy, that it doesn't execute compile. 
Instead, it should just print out a message.


How to do this?

I know that this is possible. For example, the "site" command is outside 
the scope of the default lifecycle. If you write mvn deploy, then the 
"site" phase will not get executed. Also, if you write "site", it will 
not invoke deploy. What I want is, when I write "deploy", that it 
doesn't invoke the test, compile, package etc. phases, but instead print 
out a message.


Csaba


On 1.12.2010 12:48, Tamás Cservenák wrote:

Not sure what you aiming for, but you could introduce new packaging, and
that new packaging might introduce completely new lifecycle also.

If you build some "custom" packaging, this would be the best, since it gives
you freedom to do all what you need in your custom build, but also freedom
to map whatever you want in there.

Thanks,
~t~

On Wed, Dec 1, 2010 at 12:34 PM, Gajo Csaba  wrote:


I didn't try it yet, but I'll try it now.

I think this will not solve the problem. If you write mvn deploy, you will
probably have the compile, test etc. phases executed. What I need is, to not
run any of these phases, but immediately print out "this is not supported"
and end the execution. The only way to do is, as far as I know, is to create
my own lifecycle.

Csaba



On 1.12.2010 12:31, Simone Tripodi wrote:


take a look at the maven deploy plugin configuration[1] and set
true
hope this helps
Simo

[1] http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html

http://people.apache.org/~simonetripodi/
http://www.99soft.org/



On Wed, Dec 1, 2010 at 12:18 PM, Gajo Csaba
  wrote:


I want to delete the deploy goal. Make it exist as much as "mvn apple"
does

On 1.12.2010 12:14, Antonio Petrelli wrote:


It's best to tell us what you want to accomplish.
Fighting Maven is always a bad thing.

Antonio

2010/12/1 Gajo Csaba:


Hello,

I'm trying to create a custom lifecycle. In this case, I don't mean
providing custom classes for one of the defined phases, but redefining
the
phases themselves. For example, the DefaultLifecycleMapping seems to
support
clean, compile, test etc...

How can I, for example, make it so that the phases are deploy, clean,
compile, install, test? Which component should I override to be able to
do
this?

I see that there are 3 cases where this is done: clean, site and
default.

I've created by own class which implements LifecycleMapping. I wrote a
components.xml and lifecycle.xml for it. When I observe the
getPhases(String
lifecycle) method, I see that the value of "lifecycle" is always
"default".
I'm guessing that I need to define something so that this wouldn't be
"default", but my own lifecycle, for example "apple". How to do this?

Thanks, Csaba



-
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



-
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



how to insert document modification date in doxia template

2010-12-01 Thread Fritz Heinrichmeyer
Hello, i would like to insert document modification time in a doxia 
velocity template. I only found $dateToday and $currentdate. What is the
name of the velocity template? A pointer to the source code would also
be fine.

-- 
Mit freundlichen Grüßen, Fritz Heinrichmeyer



Re: Maven 3: deploy-file no longer work

2010-12-01 Thread Pazmiño Mazón , Iván Andrés
You might want to check the compatibility notes.
https://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html


-Original Message-
From: martib 
Reply-to: "Maven Users List" 
To: users@maven.apache.org
Subject: Maven 3: deploy-file no longer work
Date: Wed, 1 Dec 2010 02:36:55 -0800 (PST)

I'm facing a problem under M3 with

  mvn deploy:deploy-file ...

I'm getting this error:

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy-file (default-cli)
on project : Failed to deploy artifacts: Could not transfer artifact
com.oreilly:servlet:jar:20081226 from/to thirdparty
(http:///nexus/content/repositories/thirdparty):

Return code is: 504 -> [Help 1]

And I've got a proxy-setting in my settings.xml

Everything works fine with Maven 2.2.1 and the proxy and repository
configuration without change.

Is there a significant change in the wagon-providers?


Environment: Maven 3.0.1, JDK 6

"Clausula de Confidencialidad: La información contenida en el presente mensaje 
es confidencial, está dirigida 
exclusivamente a su destinatario y no puede ser vinculante. El Servicio de 
Rentas Internas no se 
responsabiliza por su uso y deja expresa constancia que en los registros de la 
Institución consta la 
información originalmente enviada. Este mensaje está protegido por la Ley de 
Propiedad Intelectual, Ley de 
Comercio Electrónico, Firmas y Mensajes de datos, reglamentos y acuerdos 
internacionales relacionados. Si 
usted no es el destinatario de este mensaje, recomendamos su eliminación 
inmediata. La distribución o copia 
del mismo, está prohibida y será sancionada de acuerdo al Código Penal y demás 
normas aplicables. La 
transmisión de información por correo electrónico, no garantiza que la misma 
sea segura o esté libre de error, 
por consiguiente, se recomienda su verificación.Toda solicitud de información 
requerida de manera oficial al 
SRI debe ser ingresada por Secretaría General y dirigida a la máxima autoridad 
de la Institución, conforme a 
la Ley y demás normas vigentes."

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



Re: inter-module dependencies and jetty/tomcat

2010-12-01 Thread Ron Wheeler

On 01/12/2010 3:28 AM, Manuel Bernhardt wrote:

Hi all,

I have the following set-up:

Project
- module A: library (packaged as JAR)
- module B: test webapp (packaged as WAR)

B depends on A via a simple  declaration.

before migrating to maven, we had a tomcat / jetty set-up where B
would depend directly on the classes of A, so that you could debug&
do modifications on A while running / debugging B and not having to
re-build A.

is there any way to reproduce this? what I'm looking for would be some
kind of "direct module dependency" (i.e. instead of B depending on the
packaged A artifact, it would directly look at its classes) or some
means to tell jetty and tomcat "guys, for that artifact, look at this
path".

Not a good idea.
 - No reproducability
 - Too many dependencies
 - Too difficult for other members of the development to determine what 
combination actually works.

You might break A down to smaller more stable libraries.

What do you want to improve by going to Maven?

Ron



Thanks,

Manuel

-
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



Why is it complaining about ${WL_HOME}

2010-12-01 Thread mickeys

I get this error message:

[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] One or more required plugin parameters are invalid/missing for
'wli:channel-build'

[0] on the command line, specify: '-DWL_HOME=VALUE'


If I do build with mvn package -DWL_HOME="mydirectory" it will build ok.

I am using windows and in my setup I have WL_HOME in my enviorment variables
but still it doesnt work. This only happens in this project. I can build
other project but they aint using WL_HOME

So my question is why?


Here is my pom.xml (if you need to see the wli-maven-plugin pom.xml as well
please let me know.)




http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>
4.0.0

xx..ip.security
administration-role-administration
2.6-SNAPSHOT

   
xx..ip.security.administration-role-administration
administrationRoleAdministrationWEB
war
${project.artifactId}
   
http://xx.xxx.xx/sites/ip/security/administration-role-administration/${project.artifactId}/${project.version}/

This project is supposed to deliver security services on the new
Infrastructure Platform (IP) in .


Hudson
http://xx.xxx.xx:8082/



xx.xxx.xx
   
scp://xx.xxx.xx/var/m2sites/ip/security/administration-role-administration/${project.artifactId}/${project.version}/




   
WLI_IDE_COMPONENTBEANS_PATH=${project.artifactId}_WLI_ComponentBeans
   
,WLI_IDE_PROJECTBEANS_PATH=${project.artifactId}_WLI_ProjectBeans
,WLI_PROCESSOUTPUT_PATH=${project.build.directory}/processoutput
,WL_HOME=${WL_HOME}
,process.webcontent.root=${project.basedir}/WebContent
,webappDir=${project.basedir}



src



xx..plugins
wlihelper-maven-plugin
1.0



dependency





xx..plugins
wli-maven-plugin
1.2



prepare-web-weblogic
channel-build
assemble
jwsc
annotation-manifest





maven-antrun-plugin


2.5.2.1 add-source-root
validate

run


target/apt_src





org.apache.myfaces.tobago
maven-apt-plugin
1.0.20

target/apt_src

src
target/apt_src
target/xbean_src
target/assembly/src

${project_apt_option}
1.5
true
false
false
false



2.4.x apt-components
process-sources

execute





com.bea.weblogic.integration.lib
antlr
9.2
provided





org.apache.maven.plugins
maven-war-plugin
true

WebContent

   
true



   
${buildNumber}




   
target/processoutput/WEB-INF
WEB-INF


src
WEB-INF/classes

**/*.xml

Re: Why is it complaining about ${WL_HOME}

2010-12-01 Thread Justin Edelson
Use ${env.WL_HOME}

On Dec 1, 2010, at 8:48 AM, mickeys  wrote:

> 
> I get this error message:
> 
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] One or more required plugin parameters are invalid/missing for
> 'wli:channel-build'
> 
> [0] on the command line, specify: '-DWL_HOME=VALUE'
> 
> 
> If I do build with mvn package -DWL_HOME="mydirectory" it will build ok.
> 
> I am using windows and in my setup I have WL_HOME in my enviorment variables
> but still it doesnt work. This only happens in this project. I can build
> other project but they aint using WL_HOME
> 
> So my question is why?
> 
> 
> Here is my pom.xml (if you need to see the wli-maven-plugin pom.xml as well
> please let me know.)
> 
> 
> 
> 
> http://maven.apache.org/POM/4.0.0";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd";>
>4.0.0
>
>xx..ip.security
>administration-role-administration
>2.6-SNAPSHOT
>
> 
> xx..ip.security.administration-role-administration
>administrationRoleAdministrationWEB
>war
>${project.artifactId}
> 
> http://xx.xxx.xx/sites/ip/security/administration-role-administration/${project.artifactId}/${project.version}/
>
>This project is supposed to deliver security services on the new
> Infrastructure Platform (IP) in .
>
>
>Hudson
>http://xx.xxx.xx:8082/
>
>
>
>xx.xxx.xx
> 
> scp://xx.xxx.xx/var/m2sites/ip/security/administration-role-administration/${project.artifactId}/${project.version}/
>
>
>
>
> 
> WLI_IDE_COMPONENTBEANS_PATH=${project.artifactId}_WLI_ComponentBeans
> 
> ,WLI_IDE_PROJECTBEANS_PATH=${project.artifactId}_WLI_ProjectBeans
>,WLI_PROCESSOUTPUT_PATH=${project.build.directory}/processoutput
>,WL_HOME=${WL_HOME}
>,process.webcontent.root=${project.basedir}/WebContent
>,webappDir=${project.basedir}
>
>
>
>src
>
> 
>
>xx..plugins
>wlihelper-maven-plugin
>1.0
>
>
>
>dependency
>
>
>
>
>
>xx..plugins
>wli-maven-plugin
>1.2
>
>
>
>prepare-web-weblogic
>channel-build
>assemble
>jwsc
>annotation-manifest
>
>
>
>
>
>maven-antrun-plugin
>
>
>2.5.2.1 add-source-root
>validate
>
>run
>
>
>target/apt_src
>
>
>
>
>
>org.apache.myfaces.tobago
>maven-apt-plugin
>1.0.20
>
>target/apt_src
>
>src
>target/apt_src
>target/xbean_src
>target/assembly/src
>
>${project_apt_option}
>1.5
>true
>false
>false
>false
>
>
>
>2.4.x apt-components
>process-sources
>
>execute
>
>
>
>
>
>com.bea.weblogic.integration.lib
>antlr
>9.2
>provided
>
>
>
> 
>
>org.apache.maven.plugins
>maven-war-plugin
>true
>
>WebContent
>
> 
> true
>
>
>
> 
> ${buildNumber}
>
>
>
>
> 
> target/processoutput/WEB-INF
>WEB-INF
>
> 

RE: Resolving parent pom from the filesystem

2010-12-01 Thread ljnelson


Yanko, Curtis wrote:
> 
> 
> It *always* looks up a level for a pom. This is why I would only use
> that *up-a-level* pom for aggregation and not inheritance stuff. For
> that we make the parentpom project at the module level and *build* it
> (install or deploy) like any other project.
> 
> 

Oddly enough, so do we.  Sort of.  Let me explain.

Using my example from my prior email, C's parent, B, is a sibling to it on
the filesystem.  B's parent, A, is indeed a level up.

Now in the case where we were getting burned, C was checked out to disk, B
was not, and A was checked out to disk but stale with respect to the VC
system.

I would think in such a case it would be impossible for Maven to figure out
that--running from a build invoked in C's directory--A should be used from
the filesystem.  Let's follow the ball:

C's pom needs its parent resolved.  Maven has no choice but to go to the
repository, since B is not checked out.
B's pom needs its parent resolved.  B's pom that's being read is sourced
from the repo.
We are seeing that somehow A--B's parent--is being resolved from the
filesystem (mvn help:effective-pom shows this).  But how?

L
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/Resolving-parent-pom-from-the-filesystem-tp3286818p3287671.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



Re: Why is it complaining about ${WL_HOME}

2010-12-01 Thread mickeys

still same error.

It seems it complaning about this 'wli:channel-build'  that is a plugin
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/Why-is-it-complaining-about-WL-HOME-tp3287660p3287672.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



Re: Why is it complaining about ${WL_HOME}

2010-12-01 Thread Greg Akins
On Wed, Dec 1, 2010 at 8:48 AM, mickeys  wrote:
>        
>
> WLI_IDE_COMPONENTBEANS_PATH=${project.artifactId}_WLI_ComponentBeans
>
> ,WLI_IDE_PROJECTBEANS_PATH=${project.artifactId}_WLI_ProjectBeans
>            ,WLI_PROCESSOUTPUT_PATH=${project.build.directory}/processoutput
>            ,WL_HOME=${WL_HOME}
>            ,process.webcontent.root=${project.basedir}/WebContent
>            ,webappDir=${project.basedir}
>        

Just having a System property won't set it as a property for the JVM.
You either need to define WL_HOME in the pom, or pass it via the
command line.  Otherwise Maven doesn't know what to set it to.

If you change the pom so that WL_HOME=${env.WL_HOME} then Maven will
use your environment variable



-- 
Greg Akins

http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com/akinsgre
http://www.linkedin.com/in/akinsgre

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



RE: can we use maven in offline environment?

2010-12-01 Thread Martin Gainty

this works for me
 
mvn --offline goal

bedankt,
Martin 
__ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.



 

> Date: Wed, 1 Dec 2010 12:18:08 +0100
> From: csaba.g...@cosylab.com
> To: users@maven.apache.org
> Subject: Re: can we use maven in offline environment?
> 
> 1. create a dummy maven project
> 2. in the pom.xml add in the ,  and  
> ALL the files you'll need... possibly include all the versions as well
> 3. go to a computer that does have internet and run mvn clean site 
> package install deploy dependency:go-offline and a handful of other 
> commands you can think of
> 4. package your local .m2 directory into a zip file and copy on your usb 
> flash
> 5. go to your local offline computer and extract the zip file
> 6. in .m2/settings.xml set the true
> 
> This is how you work with Maven in offline mode...
> 
> Cheers, Csaba
> 
> 
> On 1.12.2010 11:51, maven apache wrote:
> > 2010/12/1 Antonio Petrelli
> >
> >> 2010/12/1 maven apache:
> >>> In a word,all development related machine can not access the internet.
> >> But
> >>> they can access each other in the Local Area Network.
> >>>
> >>> I mean the build machine as my own work machine. It can access the
> >>> repository machine through Local Area Network.
> >> But the repository machine should access the Internet at least once.
> >> Isn't it possible?
> >>
> > No. Once. All the jars can only be downloaded in a online machine then
> > transfered to the repository machine by usb-dirver :(.
> >
> > If it can access the Internate once,I would not have these problems.
> >
> >> Stupid security reasons :-D
> >>
> > :(
> >
> >> Antonio
> >>
> >> -
> >> 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 3: deploy-file no longer work

2010-12-01 Thread martib

Yes, sure I've checked the compatibility notes.
Do I miss something?
Standard deploy wagon is http, isn't it?
So everthing should works as expected. But it doesn't
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/Maven-3-deploy-file-no-longer-work-tp3287456p3287704.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



Re: Maven 3: deploy-file no longer work

2010-12-01 Thread Benjamin Bentmann

martib wrote:


Return code is: 504 ->  [Help 1]


HTTP 5xx denotes server-side issues, so it's worth to check the 
proxy/server logs and start from there.



Benjamin

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



maven: How to include third party library to existing maven project

2010-12-01 Thread Komal Agrawal
Hello there,

I want to include external jar to my existing maven project. I used
following command to install it to local maven repository:

mvn -e install:install
-Dfile="D:\test\com.project.MyApp.externalLib-1.0.jar" -DgroupId=com.project
-DartifactId=MyApp -Dversion=1.0 -Dpackaging=jar

and got following exception:

org.apache.maven.lifecycle.LifecycleExecutionException: The packaging for
this p
roject did not assign a file to the build artifact

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:719)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:569)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:539)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:6
0)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java :39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: The packaging for
thi
s project did not assign a file to the build artifact
at org.apache.maven.plugin.install.InstallMojo.execute(InstallMojo.java:
124)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:490)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:694)
... 17 more

What needs to be done in this case ? I am not getting any useful articles on
internet as well.

Basic question : It "should" be possible to add a third party non maven
library to a maven project. Is this correct ?

Also, what can I check to have this working ? Its very urgent for me , any
help is highly appreciated.

Thanks,
Komal


Re: maven: How to include third party library to existing maven project

2010-12-01 Thread Justin Edelson
You need to use install:install-file

On Dec 1, 2010, at 9:23 AM, Komal Agrawal  wrote:

> Hello there,
> 
> I want to include external jar to my existing maven project. I used
> following command to install it to local maven repository:
> 
> mvn -e install:install
> -Dfile="D:\test\com.project.MyApp.externalLib-1.0.jar" -DgroupId=com.project
> -DartifactId=MyApp -Dversion=1.0 -Dpackaging=jar
> 
> and got following exception:
> 
> org.apache.maven.lifecycle.LifecycleExecutionException: The packaging for
> this p
> roject did not assign a file to the build artifact
> 
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:719)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
> Goal(DefaultLifecycleExecutor.java:569)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> ltLifecycleExecutor.java:539)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> dleFailures(DefaultLifecycleExecutor.java:387)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> ts(DefaultLifecycleExecutor.java:348)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.java:180)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:6
> 0)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java :39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> 
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: The packaging for
> thi
> s project did not assign a file to the build artifact
> at org.apache.maven.plugin.install.InstallMojo.execute(InstallMojo.java:
> 124)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> nManager.java:490)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:694)
> ... 17 more
> 
> What needs to be done in this case ? I am not getting any useful articles on
> internet as well.
> 
> Basic question : It "should" be possible to add a third party non maven
> library to a maven project. Is this correct ?
> 
> Also, what can I check to have this working ? Its very urgent for me , any
> help is highly appreciated.
> 
> Thanks,
> Komal

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



Re: inter-module dependencies and jetty/tomcat

2010-12-01 Thread Wayne Fay
> before migrating to maven, we had a tomcat / jetty set-up where B
> would depend directly on the classes of A, so that you could debug &
> do modifications on A while running / debugging B and not having to
> re-build A.

You can probably replicate this experience in Eclipse with m2e... or
possibly add in JRebel.

Take a look at Matt's post on thsi subject:
http://raibledesigns.com/rd/entry/using_jrebel_with_intellij_idea

Wayne

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



Re: Why is it complaining about ${WL_HOME}

2010-12-01 Thread mickeys

well I have changed it to env.WL_HOME but that aint working. Same error.

Even if that would have worked. How come my other project teamworker can
build it ok? they dont use any env.. and they dont even have it set in
windows enviorment. I dont understand.
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/Why-is-it-complaining-about-WL-HOME-tp3287660p3287883.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



Re: inter-module dependencies and jetty/tomcat

2010-12-01 Thread Manuel Bernhardt
Hi,

thanks for the answer

> Not a good idea.
>  - No reproducability

I'm not sure what you mean by this

>  - Too many dependencies
Actually it's just one dependency, just that it's not depending on a
packaged JAR but on a directory.

>  - Too difficult for other members of the development to determine what
> combination actually works.

Again I'm not totally sure what you mean by this. When the maven
set-up is done I don't see what combinations the other devs would need
to work with.

> You might break A down to smaller more stable libraries.

A is a JSP & JSF taglib, B is the test webapp (with integration tests)
so it's quite bound to be debugged "in real time" for more complicated
matters that you can't spot outside of a container. We will break A
down in smaller libraries but that will not change the fact that we
need to be able to debug against the real sources.

Another way to express what I mean is some level of support for RAD by
allowing unpackaged dependencies for WAR set-ups. I know that IDEA and
m2eclipse set-up the classpaths to have these direct dependencies, but
when running the jetty/tomcat plugins, this doesn't apply.

> What do you want to improve by going to Maven?
The project is already migrated to maven for a while. The main reasons
were to reduce the amount of work necessary to maintain and develop
further the ANT build scripts whilst all the functionality we need
already exists in maven.

thanks,

Manuel

On Wed, Dec 1, 2010 at 2:29 PM, Ron Wheeler
 wrote:
> On 01/12/2010 3:28 AM, Manuel Bernhardt wrote:
>>
>> Hi all,
>>
>> I have the following set-up:
>>
>> Project
>> - module A: library (packaged as JAR)
>> - module B: test webapp (packaged as WAR)
>>
>> B depends on A via a simple  declaration.
>>
>> before migrating to maven, we had a tomcat / jetty set-up where B
>> would depend directly on the classes of A, so that you could debug&
>> do modifications on A while running / debugging B and not having to
>> re-build A.
>>
>> is there any way to reproduce this? what I'm looking for would be some
>> kind of "direct module dependency" (i.e. instead of B depending on the
>> packaged A artifact, it would directly look at its classes) or some
>> means to tell jetty and tomcat "guys, for that artifact, look at this
>> path".
>
> Not a good idea.
>  - No reproducability
>  - Too many dependencies
>  - Too difficult for other members of the development to determine what
> combination actually works.
> You might break A down to smaller more stable libraries.
>
> What do you want to improve by going to Maven?
>
> Ron
>
>>
>> Thanks,
>>
>> Manuel
>>
>> -
>> 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: archetype:create-from-project and excluding files from to-be-created archetype

2010-12-01 Thread Wayne Fay
>  I have the same needs. I'd like to exclude the .project when creating my
> archetype.
> Is it possible ?

The most effective route to getting this kind of issue resolved is to
just do it yourself and donate the code back to the project via Jira.
Otherwise the issue will simply sit for another year until someone
else wants it and does it for you.

Wayne

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



[M3] release plugin

2010-12-01 Thread Hauschel Fred Robert
Hey all,
i've some problems with releasing my artifacts with m3:

[INFO] [ERROR] Plugin org.apache.maven.plugins:maven-source-plugin:2.2-SNAPSHOT 
or one of its dependencies could not be resolved: Failure to find 
org.apache.maven.plugins:maven-source-plugin:jar:2.2-2
0100510.060623-403 in http://xxx/vvv/repository/public was cached in the local 
repository, resolution will not be reattempted until the update interval of 
ccc_public has elaps
ed or updates are forced -> [Help 1]

Does anybody knows this problem?
Does anybody knows where I can find the repo for 
maven-source-plugin:2.2-SNAPSHOT ??

I've started the plugin with the -U option !

Thanks
Fredy


Re: Why is it complaining about ${WL_HOME}

2010-12-01 Thread Anders Hammar
They most likely have the property set in their settings.xml.

/Anders (mobile)
Den 2010 12 1 17:04 skrev "mickeys" :
>
> well I have changed it to env.WL_HOME but that aint working. Same error.
>
> Even if that would have worked. How come my other project teamworker can
> build it ok? they dont use any env.. and they dont even have it set in
> windows enviorment. I dont understand.
> --
> View this message in context:
http://maven.40175.n5.nabble.com/Why-is-it-complaining-about-WL-HOME-tp3287660p3287883.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
>


release fails with special chars

2010-12-01 Thread Pazmiño Mazón , Iván Andrés
Hi,

I need some help on my releases. Some of the developers listed in the
pom have special chars in their names like ñ, á, etc, so in order to be
able to generate the site documentation those chars have been changed to
ñ and á

When running the maven-release-plugin's prepare goal fails with the
following message:

Error reading POM: Error on line 35: The entity "aacute" was referenced,
but not declared.

what to do?

"Clausula de Confidencialidad: La información contenida en el presente mensaje 
es confidencial, está dirigida 
exclusivamente a su destinatario y no puede ser vinculante. El Servicio de 
Rentas Internas no se 
responsabiliza por su uso y deja expresa constancia que en los registros de la 
Institución consta la 
información originalmente enviada. Este mensaje está protegido por la Ley de 
Propiedad Intelectual, Ley de 
Comercio Electrónico, Firmas y Mensajes de datos, reglamentos y acuerdos 
internacionales relacionados. Si 
usted no es el destinatario de este mensaje, recomendamos su eliminación 
inmediata. La distribución o copia 
del mismo, está prohibida y será sancionada de acuerdo al Código Penal y demás 
normas aplicables. La 
transmisión de información por correo electrónico, no garantiza que la misma 
sea segura o esté libre de error, 
por consiguiente, se recomienda su verificación.Toda solicitud de información 
requerida de manera oficial al 
SRI debe ser ingresada por Secretaría General y dirigida a la máxima autoridad 
de la Institución, conforme a 
la Ley y demás normas vigentes."

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



RE: release fails with special chars

2010-12-01 Thread Christopher Taylor
Hi,

á etc are (X)HTML entities. XML only defines the <, > and & 
entities. Since the POM is an XML file, so you'll need to replace the HTML 
entities with their numeric equivalents. You can find a table to help you at 
http://artific.com/library/xhtml_1.0_entities.html

Regards,
  --Chris

> -Original Message-
> From: Pazmiño Mazón, Iván Andrés [mailto:iapm270...@sri.ad]
> Sent: Wednesday, December 01, 2010 09:25
> To: users@maven.apache.org
> Subject: release fails with special chars
> 
> Hi,
> 
> I need some help on my releases. Some of the developers listed in the
> pom have special chars in their names like ñ, á, etc, so in order to be
> able to generate the site documentation those chars have been changed to
> ñ and á
> 
> When running the maven-release-plugin's prepare goal fails with the
> following message:
> 
> Error reading POM: Error on line 35: The entity "aacute" was referenced,
> but not declared.
> 
> what to do?
> 
> "Clausula de Confidencialidad: La información contenida en el presente 
> mensaje es confidencial, está
> dirigida
> exclusivamente a su destinatario y no puede ser vinculante. El Servicio de 
> Rentas Internas no se
> responsabiliza por su uso y deja expresa constancia que en los registros de 
> la Institución consta la
> información originalmente enviada. Este mensaje está protegido por la Ley de 
> Propiedad Intelectual,
> Ley de
> Comercio Electrónico, Firmas y Mensajes de datos, reglamentos y acuerdos 
> internacionales
> relacionados. Si
> usted no es el destinatario de este mensaje, recomendamos su eliminación 
> inmediata. La distribución o
> copia
> del mismo, está prohibida y será sancionada de acuerdo al Código Penal y 
> demás normas aplicables. La
> transmisión de información por correo electrónico, no garantiza que la misma 
> sea segura o esté libre
> de error,
> por consiguiente, se recomienda su verificación.Toda solicitud de información 
> requerida de manera
> oficial al
> SRI debe ser ingresada por Secretaría General y dirigida a la máxima 
> autoridad de la Institución,
> conforme a
> la Ley y demás normas vigentes."
> 
> -
> 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: Why is it complaining about ${WL_HOME}

2010-12-01 Thread Martin Gainty

Mickey--
then there has to be some small delta between your Weblogic environment and his 
..the best way to solve this is to
 
uninstall your gacked weblogic
reinstall weblogic
make SURE when you get to the item which states "set environment variable" that 
WL_HOME is set correctly
best to write down environment variables and confirm the environment variables 
are properly set after weblogic is installed
 
*HTH*
Martin 
__ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.Ce message est confidentiel et peut être 
privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec 
bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non 
autorisée ou la copie de ceci est interdite. Ce message sert à l'information 
seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant 
donné que les email peuvent facilement être sujets à la manipulation, nous ne 
pouvons accepter aucune responsabilité pour le contenu fourni.



 

> Date: Wed, 1 Dec 2010 08:04:10 -0800
> From: nero2...@hotmail.com
> To: users@maven.apache.org
> Subject: Re: Why is it complaining about ${WL_HOME}
> 
> 
> well I have changed it to env.WL_HOME but that aint working. Same error.
> 
> Even if that would have worked. How come my other project teamworker can
> build it ok? they dont use any env.. and they dont even have it set in
> windows enviorment. I dont understand.
> -- 
> View this message in context: 
> http://maven.40175.n5.nabble.com/Why-is-it-complaining-about-WL-HOME-tp3287660p3287883.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
> 
  

Re: [M3] release plugin

2010-12-01 Thread Hilco Wijbenga
On 1 December 2010 09:05, Hauschel Fred Robert
 wrote:
> Hey all,
> i've some problems with releasing my artifacts with m3:
>
> [INFO] [ERROR] Plugin 
> org.apache.maven.plugins:maven-source-plugin:2.2-SNAPSHOT or one of its 
> dependencies could not be resolved: Failure to find 
> org.apache.maven.plugins:maven-source-plugin:jar:2.2-2
> 0100510.060623-403 in http://xxx/vvv/repository/public was cached in the 
> local repository, resolution will not be reattempted until the update 
> interval of ccc_public has elaps
> ed or updates are forced -> [Help 1]
>
> Does anybody knows this problem?
> Does anybody knows where I can find the repo for 
> maven-source-plugin:2.2-SNAPSHOT ??

Why don't you simply use 2.1.2?

> I've started the plugin with the -U option !

I don't really know whether this -U helps. I usually simply delete the
directory of the local repository where the plugin is/should be
(.m2/repository/org/apache/maven/plugins/maven-source-plugin/) and try
again. This caching of negatives can be quite annoying (it can
probably save a lot of time in other scenarios, though).

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



Re: release fails with special chars

2010-12-01 Thread Anders Hammar
I'm thinking that you should use the actual chars. If you specify the
correct xml encoding in the xml header and the correct encoding for your
reporting output (see [1]), it should work. I think. :-)

/Anders

[1]
http://www.sonatype.com/people/2009/11/special-character-encoding-properties/

2010/12/1 Christopher Taylor 

> Hi,
>
> á etc are (X)HTML entities. XML only defines the <, > and
> & entities. Since the POM is an XML file, so you'll need to replace the
> HTML entities with their numeric equivalents. You can find a table to help
> you at http://artific.com/library/xhtml_1.0_entities.html
>
> Regards,
>  --Chris
>
> > -Original Message-
> > From: Pazmiño Mazón, Iván Andrés [mailto:iapm270...@sri.ad]
> > Sent: Wednesday, December 01, 2010 09:25
> > To: users@maven.apache.org
> > Subject: release fails with special chars
> >
> > Hi,
> >
> > I need some help on my releases. Some of the developers listed in the
> > pom have special chars in their names like ñ, á, etc, so in order to be
> > able to generate the site documentation those chars have been changed to
> > ñ and á
> >
> > When running the maven-release-plugin's prepare goal fails with the
> > following message:
> >
> > Error reading POM: Error on line 35: The entity "aacute" was referenced,
> > but not declared.
> >
> > what to do?
> >
> > "Clausula de Confidencialidad: La información contenida en el presente
> mensaje es confidencial, está
> > dirigida
> > exclusivamente a su destinatario y no puede ser vinculante. El Servicio
> de Rentas Internas no se
> > responsabiliza por su uso y deja expresa constancia que en los registros
> de la Institución consta la
> > información originalmente enviada. Este mensaje está protegido por la Ley
> de Propiedad Intelectual,
> > Ley de
> > Comercio Electrónico, Firmas y Mensajes de datos, reglamentos y acuerdos
> internacionales
> > relacionados. Si
> > usted no es el destinatario de este mensaje, recomendamos su eliminación
> inmediata. La distribución o
> > copia
> > del mismo, está prohibida y será sancionada de acuerdo al Código Penal y
> demás normas aplicables. La
> > transmisión de información por correo electrónico, no garantiza que la
> misma sea segura o esté libre
> > de error,
> > por consiguiente, se recomienda su verificación.Toda solicitud de
> información requerida de manera
> > oficial al
> > SRI debe ser ingresada por Secretaría General y dirigida a la máxima
> autoridad de la Institución,
> > conforme a
> > la Ley y demás normas vigentes."
> >
> > -
> > 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: how to insert document modification date in doxia template

2010-12-01 Thread Dennis Lundberg
On 2010-12-01 13:40, Fritz Heinrichmeyer wrote:
> Hello, i would like to insert document modification time in a doxia 
> velocity template. I only found $dateToday and $currentdate. What is the
> name of the velocity template? A pointer to the source code would also
> be fine.
> 

Hi

I don't know how to add the date, but the template that is used can be
found here:

http://svn.apache.org/viewvc/maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/resources/org/apache/maven/doxia/siterenderer/resources/default-site.vm?revision=HEAD

-- 
Dennis Lundberg


maven-dependency-plugin 2.2 release?

2010-12-01 Thread Jim McCaskey
Hello all,

I ran across a problem with the maven-dependency-plugin that is already fixed 
(actually fixed almost a year ago it seems):

http://jira.codehaus.org/browse/MDEP-138

I was wondering if there are any plans to release a new 
maven-dependency-plugin?  According to Jira, there appear to be a rather large 
number of resolved issues.

-Jim



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



Assembly filtering syntax - properties not filtered

2010-12-01 Thread Alberti Antoine
Hi all,

is it possible that the syntax of a file to filter prevents the assembly
plugin from detecting a variable to replace? If I filter the following
run.bat file:
 

${project.version}
@echo off
FOR /F "eol=; tokens=2,2 delims==" %%i IN ('findstr /i "http_port"
conf\configuration.properties') DO set http_port=%%i
FOR /F "eol=; tokens=2,2 delims==" %%i IN ('findstr /i "control_port"
conf\configuration.properties') DO set control_port=%%i

cmd /C java -jar target\bafana-web-${project.version}-standalone.jar
--httpPort=%http_port% --controlPort=%control_port% %*


the result is:


1.0-SNAPSHOT
@echo off
FOR /F "eol=; tokens=2,2 delims==" %%i IN ('findstr /i "http_port"
conf\configuration.properties') DO set http_port=%%i
FOR /F "eol=; tokens=2,2 delims==" %%i IN ('findstr /i "control_port"
conf\configuration.properties') DO set control_port=%%i

cmd /C java -jar target\bafana-web-${project.version}-standalone.jar
--httpPort=%http_port% --controlPort=%control_port% %*



Note that the first instance of project.version is filtered, but not the
second one. Of course, I added the first one as a test, to verify that
the file was actually filtered.

What should I change in my original file?

Thanks a lot
Antoine Alberti

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



How do I augment the release plugin?

2010-12-01 Thread Niels B Nielsen
Hi,

I would like to to utilize the maven-release-plugin (v 2.1) for one of our 
projects, but unfortunately I have a bit of a show stopper for actually doing 
this.

The mojo's in the maven-release-plugin utilize the maven-release-manager, which 
has a set of predefined release phases, such as this (for branching)

  create-backup-poms
  check-poms
  scm-check-modifications
  map-branch-versions
  map-development-versions
  rewrite-poms-for-branch
  scm-commit-branch
  scm-branch
  rewrite-poms-for-development
  scm-commit-release
  end-release


If I want to add additional phases in there, how would I go about doing it?
I  found the phases defined in a components-fragment.xml in the 
maven-release-manager plugin.

 I can see in the maven-release-plugin that it gets the MavenReleaseManager 
injected as a component, but I don't know if or how I can swap it out with a 
custom defined component. If anybody can point me to anything relevant I would 
be very grateful..

Regards


Niels B Nielsen | Lead Engineer
J.P. Morgan | IBTech Global Rates Derivatives



This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.  

Re: Issue if colon in project path

2010-12-01 Thread Siegmar Alber
Hi Wayne,

Am 28.11.2010 um 01:01 schrieb Wayne Fay:

> Feel free to hack the Maven source code to add this functionality and
> then donate it via Jira for inclusion in a future release.

thank you for your answer. If I find some time, I will try to do this. :-)


> I just
> don't see anyone (else) caring about this enough to actually do the
> work to enable it.

I understand that it's not a large or very important issue, but at least I ran 
into it and maybe someone else will do so in future... ;-)

-- 
Have fun,
Siegmar


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



RE: release fails with special chars

2010-12-01 Thread Pazmiño Mazón , Iván Andrés
Thanks a lot! I t works just fine now.

-Original Message-
From: Christopher Taylor 
To: Maven Users List , iapazm...@sri.gob.ec
Subject: RE: release fails with special chars
Date: Wed, 1 Dec 2010 09:30:41 -0800

Hi,

á etc are (X)HTML entities. XML only defines the <, > and & 
entities. Since the POM is an XML file, so you'll need to replace the HTML 
entities with their numeric equivalents. You can find a table to help you at 
http://artific.com/library/xhtml_1.0_entities.html

Regards,
  --Chris

> -Original Message-
> From: Pazmiño Mazón, Iván Andrés [mailto:iapm270...@sri.ad]
> Sent: Wednesday, December 01, 2010 09:25
> To: users@maven.apache.org
> Subject: release fails with special chars
>
> Hi,
>
> I need some help on my releases. Some of the developers listed in the
> pom have special chars in their names like ñ, á, etc, so in order to be
> able to generate the site documentation those chars have been changed to
> ñ and á
>
> When running the maven-release-plugin's prepare goal fails with the
> following message:
>
> Error reading POM: Error on line 35: The entity "aacute" was referenced,
> but not declared.
>
> what to do?
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org


"Clausula de Confidencialidad: La información contenida en el presente mensaje 
es confidencial, está dirigida 
exclusivamente a su destinatario y no puede ser vinculante. El Servicio de 
Rentas Internas no se 
responsabiliza por su uso y deja expresa constancia que en los registros de la 
Institución consta la 
información originalmente enviada. Este mensaje está protegido por la Ley de 
Propiedad Intelectual, Ley de 
Comercio Electrónico, Firmas y Mensajes de datos, reglamentos y acuerdos 
internacionales relacionados. Si 
usted no es el destinatario de este mensaje, recomendamos su eliminación 
inmediata. La distribución o copia 
del mismo, está prohibida y será sancionada de acuerdo al Código Penal y demás 
normas aplicables. La 
transmisión de información por correo electrónico, no garantiza que la misma 
sea segura o esté libre de error, 
por consiguiente, se recomienda su verificación.Toda solicitud de información 
requerida de manera oficial al 
SRI debe ser ingresada por Secretaría General y dirigida a la máxima autoridad 
de la Institución, conforme a 
la Ley y demás normas vigentes."

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



Re: release fails with special chars

2010-12-01 Thread Pazmiño Mazón , Iván Andrés
It actually does! Thanks!

-Original Message-
From: Anders Hammar 
Reply-to: "Maven Users List" 
To: Maven Users List 
Subject: Re: release fails with special chars
Date: Wed, 1 Dec 2010 18:58:40 +0100

I'm thinking that you should use the actual chars. If you specify the
correct xml encoding in the xml header and the correct encoding for your
reporting output (see [1]), it should work. I think. :-)

/Anders

[1]
http://www.sonatype.com/people/2009/11/special-character-encoding-properties/

2010/12/1 Christopher Taylor 

> Hi,
>
> á etc are (X)HTML entities. XML only defines the <, > and
> & entities. Since the POM is an XML file, so you'll need to replace the
> HTML entities with their numeric equivalents. You can find a table to help
> you at http://artific.com/library/xhtml_1.0_entities.html
>
> Regards,
>  --Chris
>
> > -Original Message-
> > From: Pazmiño Mazón, Iván Andrés [mailto:iapm270...@sri.ad]
> > Sent: Wednesday, December 01, 2010 09:25
> > To: users@maven.apache.org
> > Subject: release fails with special chars
> >
> > Hi,
> >
> > I need some help on my releases. Some of the developers listed in the
> > pom have special chars in their names like ñ, á, etc, so in order to be
> > able to generate the site documentation those chars have been changed to
> > ñ and á
> >
> > When running the maven-release-plugin's prepare goal fails with the
> > following message:
> >
> > Error reading POM: Error on line 35: The entity "aacute" was referenced,
> > but not declared.
> >
> > what to do?
> >
> > "Clausula de Confidencialidad: La información contenida en el presente
> mensaje es confidencial, está
> > dirigida
> > exclusivamente a su destinatario y no puede ser vinculante. El Servicio
> de Rentas Internas no se
> > responsabiliza por su uso y deja expresa constancia que en los registros
> de la Institución consta la
> > información originalmente enviada. Este mensaje está protegido por la Ley
> de Propiedad Intelectual,
> > Ley de
> > Comercio Electrónico, Firmas y Mensajes de datos, reglamentos y acuerdos
> internacionales
> > relacionados. Si
> > usted no es el destinatario de este mensaje, recomendamos su eliminación
> inmediata. La distribución o
> > copia
> > del mismo, está prohibida y será sancionada de acuerdo al Código Penal y
> demás normas aplicables. La
> > transmisión de información por correo electrónico, no garantiza que la
> misma sea segura o esté libre
> > de error,
> > por consiguiente, se recomienda su verificación.Toda solicitud de
> información requerida de manera
> > oficial al
> > SRI debe ser ingresada por Secretaría General y dirigida a la máxima
> autoridad de la Institución,
> > conforme a
> > la Ley y demás normas vigentes."
> >
> > -
> > 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
>
>

"Clausula de Confidencialidad: La información contenida en el presente mensaje 
es confidencial, está dirigida 
exclusivamente a su destinatario y no puede ser vinculante. El Servicio de 
Rentas Internas no se 
responsabiliza por su uso y deja expresa constancia que en los registros de la 
Institución consta la 
información originalmente enviada. Este mensaje está protegido por la Ley de 
Propiedad Intelectual, Ley de 
Comercio Electrónico, Firmas y Mensajes de datos, reglamentos y acuerdos 
internacionales relacionados. Si 
usted no es el destinatario de este mensaje, recomendamos su eliminación 
inmediata. La distribución o copia 
del mismo, está prohibida y será sancionada de acuerdo al Código Penal y demás 
normas aplicables. La 
transmisión de información por correo electrónico, no garantiza que la misma 
sea segura o esté libre de error, 
por consiguiente, se recomienda su verificación.Toda solicitud de información 
requerida de manera oficial al 
SRI debe ser ingresada por Secretaría General y dirigida a la máxima autoridad 
de la Institución, conforme a 
la Ley y demás normas vigentes."

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



faster release:perform

2010-12-01 Thread Phillip Hellewell
Would it make sense when using SVN to have release:perform do an svn
switch (to the tag created by release:prepare) rather than check out
the tag?

Phillip

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



Re: can we use maven in offline environment?

2010-12-01 Thread maven apache
Thanks,I will have a try.
2010/12/1 Gajo Csaba 

> 1. create a dummy maven project
> 2. in the pom.xml add in the ,   and  ALL
> the files you'll need... possibly include all the versions as well
> 3. go to a computer that does have internet and run mvn clean site package
> install deploy dependency:go-offline and a handful of other commands you can
> think of
> 4. package your local .m2 directory into a zip file and copy on your usb
> flash
> 5. go to your local offline computer and extract the zip file
> 6. in .m2/settings.xml set the true
>
> This is how you work with Maven in offline mode...
>
> Cheers, Csaba
>
>
>
> On 1.12.2010 11:51, maven apache wrote:
>
>> 2010/12/1 Antonio Petrelli
>>
>>  2010/12/1 maven apache:
>>>
 In a word,all development related machine can not access the internet.

>>> But
>>>
 they can access each other in the Local Area Network.

 I mean the build machine as my own work machine. It can access the
 repository machine through Local Area Network.

>>> But the repository machine should access the Internet at least once.
>>> Isn't it possible?
>>>
>>>  No. Once. All the jars can only be downloaded in a online machine then
>> transfered to the repository machine by usb-dirver :(.
>>
>> If it can access the Internate once,I would not have these problems.
>>
>>  Stupid security reasons :-D
>>>
>>>  :(
>>
>>  Antonio
>>>
>>> -
>>> 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-plugin 2.2 release?

2010-12-01 Thread Dan Tran
me too :-)

On Wed, Dec 1, 2010 at 10:04 AM, Jim McCaskey
 wrote:
> Hello all,
>
> I ran across a problem with the maven-dependency-plugin that is already fixed 
> (actually fixed almost a year ago it seems):
>
> http://jira.codehaus.org/browse/MDEP-138
>
> I was wondering if there are any plans to release a new 
> maven-dependency-plugin?  According to Jira, there appear to be a rather 
> large number of resolved issues.
>
> -Jim
>
>
>
> -
> 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: can we use maven in offline environment?

2010-12-01 Thread Anders Hammar
If you want to use Maven, I strongly suggest that you work out a solution
where a central Maven Repository Manager (such as Nexus or Artifactory) in
your corporate dev environment, have direct Internet connection. If you
involve your infrastructure security people I'm sure they can come up with
an acceptable solution where it is placed in a separate zone for example,
giving adequate security.

Trying to create a Maven infrastructure without Internet connection, will
simply be an ongoing maintenance nightmare. Trust me, I've been there. The
thing is that it will not be a one time job getting your dependencies (incl.
Maven plugins) and copying them to you off-line environment. This will have
to be repeated every now and then, and often likely in a hurry because a new
version of something was needed yesterday.

/Anders

On Thu, Dec 2, 2010 at 01:22, maven apache  wrote:

> Thanks,I will have a try.
> 2010/12/1 Gajo Csaba 
>
> > 1. create a dummy maven project
> > 2. in the pom.xml add in the ,   and 
> ALL
> > the files you'll need... possibly include all the versions as well
> > 3. go to a computer that does have internet and run mvn clean site
> package
> > install deploy dependency:go-offline and a handful of other commands you
> can
> > think of
> > 4. package your local .m2 directory into a zip file and copy on your usb
> > flash
> > 5. go to your local offline computer and extract the zip file
> > 6. in .m2/settings.xml set the true
> >
> > This is how you work with Maven in offline mode...
> >
> > Cheers, Csaba
> >
> >
> >
> > On 1.12.2010 11:51, maven apache wrote:
> >
> >> 2010/12/1 Antonio Petrelli
> >>
> >>  2010/12/1 maven apache:
> >>>
>  In a word,all development related machine can not access the internet.
> 
> >>> But
> >>>
>  they can access each other in the Local Area Network.
> 
>  I mean the build machine as my own work machine. It can access the
>  repository machine through Local Area Network.
> 
> >>> But the repository machine should access the Internet at least once.
> >>> Isn't it possible?
> >>>
> >>>  No. Once. All the jars can only be downloaded in a online machine then
> >> transfered to the repository machine by usb-dirver :(.
> >>
> >> If it can access the Internate once,I would not have these problems.
> >>
> >>  Stupid security reasons :-D
> >>>
> >>>  :(
> >>
> >>  Antonio
> >>>
> >>> -
> >>> 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
> >
> >
>