SNAPSHOT checked multiple times in same reactor?

2008-08-07 Thread Sahoo
In the same reactor build, does maven check SNAPSHOTs multiple times for 
the same artifact with same version? If yes, why does it do so?


Thanks,
Sahoo

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: $basedir in pom.xml

2008-08-07 Thread Wendy Smoak
On Thu, Aug 7, 2008 at 8:06 PM, Lakshmi Kurella <[EMAIL PROTECTED]> wrote:
> Can someone tell me what path $basedir points to and how can I alter
> this.

$basedir is the root of the project that's being built.  I'm not sure
you can change it.

What problem are you trying to solve?  There's probably another way.

-- 
Wendy

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



$basedir in pom.xml

2008-08-07 Thread Lakshmi Kurella
Can someone tell me what path $basedir points to and how can I alter
this.
 
Thank you,
LK


Re: How to fix missing maven artifacts error in TeamCity (javax.jms:jms:jar:1.1, com.sun.jdmk:jmxtools:jar:1.2.1, com.sun.jmx:jmxri:jar:1.2.1)

2008-08-07 Thread Brett Porter
One warning about this solution: I believe you had the other path
because it was installed as a service - so it is running as a
different user.

As a result, you may find that teamcity starts writing files to your
local repository with different permissions, and depending on your set
up that might cause problems if you run anything under your own
account as yourself.

I would suggest letting TC have it's own local repository and
reinstalling the missing artifacts (or better, place them in a remote
repository your projects use by installing a repository manager if you
haven't already).

HTH,
Brett

2008/8/8 Rakesh Nagar <[EMAIL PROTECTED]>:
>
> I am using TeamCity Professional Version 3.1.1 with Maven2 on Windows desktop
> and hit following missing artifacts issue:
>
> 1) javax.jms:jms:jar:1.1
> Try downloading the file manually from:
> http://java.sun.com/products/jms/docs.html
>
> similar error for following missing artifacts:
> com.sun.jdmk:jmxtools:jar:1.2.1
> com.sun.jmx:jmxri:jar:1.2.1
>
> I was able to build the package using mvn command line (mvn clean package)
> but not through TeamCity even though the required jars were present in my
> local repository (C:\Documents and Settings\\.m2\repository).
>
> After analyzing this further i found that TeamCity is refering to a
> different local repository
> (C:\windows\system32\config\systemprofile\.m2\repository). I looked at all
> the configuration files and Admin sections but could not find a place to
> change it.
>
> *Solution*:
> Specify the location of local repository in settings.xml present in  installation>/conf directory. On my machine it looks like:
>
> c:/docume~1/rnagar/.m2/repository
>
> This resolved the issue
>
> Hope this works for you as well.
>
> Rakesh Nagar
> --
> View this message in context: 
> http://www.nabble.com/How-to-fix-missing-maven-artifacts-error-in-TeamCity-%28javax.jms%3Ajms%3Ajar%3A1.1%2C-com.sun.jdmk%3Ajmxtools%3Ajar%3A1.2.1%2C-com.sun.jmx%3Ajmxri%3Ajar%3A1.2.1%29-tp18879154p18879154.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to exclude some repositories from a child pom?

2008-08-07 Thread Brett Porter
When you refer to central, you mean your own centralised repository,
not Maven central, correct? You shouldn't be receiving updated
artifacts from there (except for new plugins, which can be avoided by
locking down versions).

To control the regularity of updates from other repositories, you can
set the  for the given type within the repository
element.

What it looks like you need to do is to set up a repository manager
that houses the integration lanes and manage what updates you want to
get in there, then your environment can direct all repository requests
to the single repository manager.

- Brett

2008/8/8 vicki <[EMAIL PROTECTED]>:
>
> Hi,
> each developer in our group has his/her own integration lane. The code is
> compiled with the different db schema variables for each developer so,
> effectively, the artifacts produced by each developer's profile are
> different. But sometimes when the integration task deploys the code in my
> lane, it updates the artifacts in my local repository with the artifacts
> from the central repository, in case if central repo artifacts have a more
> recent compilation timestamp. This is screwing up my schema references. Is
> there a way to force maven NOT to update local repository, or to exclude the
> central (or any other) repository from the repositories specified in my
> integration profile?
> Thanks!
> Vicki
> --
> View this message in context: 
> http://www.nabble.com/How-to-exclude-some-repositories-from-a-child-pom--tp18877415p18877415.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: I am behind a corporate proxy Maven does not support : org.apache.maven.plugins:maven-archetype-plugin does not exist

2008-08-07 Thread Ed Hillmann
On Fri, Aug 8, 2008 at 6:21 AM, pkpkpkpk <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I tried downloading from
> http://mvnrepository.com/artifact/plugins.org.apache.maven.plugins/maven-archetype-plugin/1.0-alpha-1,
> but this jar seems to be corrupted.
>
> What I am trying to achieve is a way to download all the dependencies so
> that maven does not need to connect to the internet.
>
> TIA!
> --

We use a Maven Repository that sits in our network and acts as a
public repository / mirror for our developers.  We have our
environment set up to use our "public" repository to retrieve the
plugins/dependencies.  If our mirror doesn't have it, it is configured
to go retrieve them from the real public repositories.  Once it has it
locally, and additional requests can be served without going to the
internet.

We're using Nexus at the moment, which works very well for us.

To use it in this fashion, the machine on which our Nexus repository
sits has limited access to the internet, controlled by our network
policies.  If we need to access a new repository, we have to ensure
that our Network services grants access.

Another option in this set up is that artifacts can be manually
deployed to the Nexus server if we want to make them available to our
developers.  This works well with on-off artifacts, but may choose
tedious if you need to do this with all dependencies and plugins.
However, if you can download them individually and deploy them to your
network's public server, that would work too.

Hope this helps,
Ed

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [SURVEY][RESULT] Which plugin would you like us to release?

2008-08-07 Thread Dennis Lundberg
The survey has been open for a week now and has now been closed. Thanks 
to the 47 people who took the survey!


Here are the top 5 five most wanted plugin releases:

Plugin  Response Percent

war 12.8%
release 12.8%
enforcer10.6%
scm 10.6%
assembly 8.5%



Dennis Lundberg wrote:

Hello everyone

I'm going to try something new here. It's an experiment and we'll see 
how it goes. I have set up a very simple survey over at SurveyMonkey, to 
get a feel for what you, our users, want us to do next when it comes to 
plugin releases. Remember, this is *not* about fixing issues - it's 
about getting releases out.


So please help us help you, by answering this one question survey:

http://www.surveymonkey.com/s.aspx?sm=M6IB7I_2fVmpKddfv1oCM_2few_3d_3d




--
Dennis Lundberg

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to fix missing maven artifacts error in TeamCity (javax.jms:jms:jar:1.1, com.sun.jdmk:jmxtools:jar:1.2.1, com.sun.jmx:jmxri:jar:1.2.1)

2008-08-07 Thread Rakesh Nagar

I am using TeamCity Professional Version 3.1.1 with Maven2 on Windows desktop
and hit following missing artifacts issue:

1) javax.jms:jms:jar:1.1
Try downloading the file manually from:
http://java.sun.com/products/jms/docs.html

similar error for following missing artifacts:
com.sun.jdmk:jmxtools:jar:1.2.1
com.sun.jmx:jmxri:jar:1.2.1

I was able to build the package using mvn command line (mvn clean package)
but not through TeamCity even though the required jars were present in my
local repository (C:\Documents and Settings\\.m2\repository).

After analyzing this further i found that TeamCity is refering to a
different local repository
(C:\windows\system32\config\systemprofile\.m2\repository). I looked at all
the configuration files and Admin sections but could not find a place to
change it.

*Solution*:
Specify the location of local repository in settings.xml present in /conf directory. On my machine it looks like:

c:/docume~1/rnagar/.m2/repository

This resolved the issue

Hope this works for you as well.

Rakesh Nagar
-- 
View this message in context: 
http://www.nabble.com/How-to-fix-missing-maven-artifacts-error-in-TeamCity-%28javax.jms%3Ajms%3Ajar%3A1.1%2C-com.sun.jdmk%3Ajmxtools%3Ajar%3A1.2.1%2C-com.sun.jmx%3Ajmxri%3Ajar%3A1.2.1%29-tp18879154p18879154.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: resource plugin and empty directories

2008-08-07 Thread Dennis Lundberg

There's a feature request for it in JIRA:

http://jira.codehaus.org/browse/MRESOURCES-36

AsafM wrote:

I couldn't find any option to make this plugin copy empty directories.
Any chance the developers solved that?


Wayne Fay wrote:

Not sure if this is currently possible. Check the source code to see
what configuration options are available and perhaps you'll find
something.

If its not already implemented in the resource plugin, I have to
imagine it would be a pretty simple modification (with an added
variable copyEmptyDirectories, default to false) to add this
functionality and provide a patch back to the project.

Wayne


On 3/27/06, Kevin Galligan <[EMAIL PROTECTED]> wrote:

Is there any way to get the resource plugin to copy empty directories (I
assume its the resource plugin when doing a jar packaged build).  Long
story
as to why I'd need this.

Thanks,
-Kevin









--
Dennis Lundberg

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: I am behind a corporate proxy Maven does not support : org.apache.maven.plugins:maven-archetype-plugin does not exist

2008-08-07 Thread pkpkpkpk

http://docs.codehaus.org/display/MAVENUSER/Configuring+Maven+behind+an+NTLM+proxy
--- However, I do not want to have this workaround as my company has rather
strict policies.
So basically, I am looking for a way to download them to the right
directory.

Thanks for your time!


pkpkpkpk wrote:
> 
> Hi,
> 
> I tried downloading from
> http://mvnrepository.com/artifact/plugins.org.apache.maven.plugins/maven-archetype-plugin/1.0-alpha-1,
> but this jar seems to be corrupted.
> 
> What I am trying to achieve is a way to download all the dependencies so
> that maven does not need to connect to the internet.
> 
> TIA!
> 

-- 
View this message in context: 
http://www.nabble.com/I-am-behind-a-corporate-proxy-Maven-does-not-support-%3A-org.apache.maven.plugins%3Amaven-archetype-plugin-does-not-exist-tp18878905p18879034.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Idea for a maven plugin / request for input

2008-08-07 Thread Stephen Connolly
All,

after the entirely underwhelming response to the versions-maven-plugin
(MOJO-1178) I have had some ideas for making it even better...

The ideas may result in completely refactoring the thing apart... bits to go
in the enforcer plugin... bits to go in the release plugin... bits to maybe
stay in versions-maven-plugin.

Anyway, here is the problem I'm trying to solve.

We have multiple modules, some of which are in different SCM roots.

Developer A is working on modules X & Y... so he creates a local aggregator
pom to help with rebuilding them locally...

1. he needs some way to force X to depend on the -SNAPSHOT version of Y that
is in his aggregator pom.  Ordinarily, X depends only on a released version
of Y.

2. he needs some way to release X & Y (there could be 15 modules in the
aggregator pom) as a suite

Developer B is working on modules X & Z... so he does the same

Developer C is working on modules Y & Z

and then Developer D is working on the entire suite.

The release plugin does not (AFAIK) currently handle this, you need to write
scripts to automate the big release, and the aggregator pom must be checked
into SCM

The enforcer plugin needs a rule to catch the case where A & B are in SCM
root 1, while C & D are in SCM root 2 and A depends on C and D depends on B,
or else this new plugin has to sequence the release of A, B, C & D to ensure
that the SCM root tags are correct.

Questions:

Is there any way to modify the pom at run time to alter the versions of
dependencies *before* the dependencies have been resolved? It would be for
that invokation of maven only... it would avoid modifying the pom on disk
and forking another build.

Thanks,

-Stephen


I am behind a corporate proxy Maven does not support : org.apache.maven.plugins:maven-archetype-plugin does not exist

2008-08-07 Thread pkpkpkpk

Hi,

I tried downloading from
http://mvnrepository.com/artifact/plugins.org.apache.maven.plugins/maven-archetype-plugin/1.0-alpha-1,
but this jar seems to be corrupted.

What I am trying to achieve is a way to download all the dependencies so
that maven does not need to connect to the internet.

TIA!
-- 
View this message in context: 
http://www.nabble.com/I-am-behind-a-corporate-proxy-Maven-does-not-support-%3A-org.apache.maven.plugins%3Amaven-archetype-plugin-does-not-exist-tp18878905p18878905.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Capitalizing POM (was: How to exclude some repositories from a child pom?)

2008-08-07 Thread Geoffrey Wiseman
Being on the Maven list regularly reintroduces me to the fact that at a
quick glance, "child pom" can be easily misinterpted.  As a result, my heart
would race a lot less if y'all said POM, particularly after the world
'child' in your subject lines, so that when I quickly scan my subject lines,
I don't wonder what kind of spam I just received.

Not a big deal, just a suggestion. :)

  - Geoffrey
-- 
Geoffrey Wiseman


RE: org.apache.maven.plugins:maven-archetype-plugin does not exist

2008-08-07 Thread Lakshmi Kurella
 

Hi Olivier, your help is great on my previous question, now I have
another question, I have a pom.xml from someone already and it has one
of the dependeny like the following



  com.fedex.arise.server
  ServerCommon-lib
  1.0.0
  jar


Since my group id is defined like
com.fedex.crm.onesource when the pom.xml file
created, can  create another directory called arise (and add the jar
file ServerCommon-lib in this dir) under fedex manually or can it be
done using maven command itself. Sorry for such a dumb question.

Thanks,
LK



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Olivier Lamy
Sent: Thursday, August 07, 2008 2:05 PM
To: Maven Users List
Subject: Re: org.apache.maven.plugins:maven-archetype-plugin does not
exist

here (sorry bad copy and paste) but as you're playing you can certainly
debug a xml syntax !


  
 mine
 true
 http
 proxyuser
 proxypass
 146.18.173.70
 3128
 local.net,some.host.com
   
 

2008/8/7 Lakshmi Kurella <[EMAIL PROTECTED]>:
> Okay, I removed the comments and this is what I get now
>
> C:\>mvn archetype:create -DgroupId=com.fedex.crm.onesource 
> -DartifactId=CaseCons ole Error reading settings.xml: expected 
> START_TAG or END_TAG not TEXT
> (position: TE
> XT seen ...ne proxy, to be used in connecting to the network.\r\n
> |\r\n<
> p... @77:7)
>  Line:   77
>  Column: 7
>
> Could you see my attached settings.xml. ( I did not change anything in

> it except proxy details)
>
> Thanks,
> LK
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf 
> Of Olivier Lamy
> Sent: Thursday, August 07, 2008 1:52 PM
> To: Maven Users List
> Subject: Re: org.apache.maven.plugins:maven-archetype-plugin does not 
> exist
>
> Have you used exactly as this in your settings ???
> Try with remove comments on the xml file ;-) 
> 
>
>  
>  true
>  http
>  proxyuser
>  proxypass
>  146.18.173.70
>  3128
>  local.net,some.host.com
>
>  
>
> HTH,
> --
> Olivier
>
>
>
> 2008/8/7 Lakshmi Kurella <[EMAIL PROTECTED]>:
>>
>> Hi,
>>
>> I found my proxy server details from the following
>>
>> Tools--> Internet Options---> LAN Settings ---> Proxy Server
>>
>> And put the details in settings.xml as follows
>>
>>  
>>
>>  
>>
>> It still does not work. Could you help.
>>
>> Thanks,
>> Lakshmi
>>
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf 
>> Of Olivier Lamy
>> Sent: Thursday, August 07, 2008 10:53 AM
>> To: Maven Users List
>> Subject: Re: org.apache.maven.plugins:maven-archetype-plugin does not

>> exist
>>
>> Go to google and search "maven 2 configure proxy".
>>
>> http://www.google.com/search?source=ig&hl=fr&rlz=&=&q=maven+2+configu
>> r
>> e+
>> proxy&btnG=Recherche+Google&meta=
>>
>> It looks to help a lot ;-)
>>
>> --
>> Olivier
>>
>> 2008/8/7 Lakshmi Kurella <[EMAIL PROTECTED]>:
>>> Hi,
>>>
>>> Thanks for the quick response, I do have access to the url 
>>> http://repo1.maven.org/maven2/ Now could you also help me how to 
>>> configure proxy in settings.xml please.
>>>
>>> Thanks,
>>> LK
>>>
>>> -Original Message-
>>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

>>> Of Olivier Lamy
>>> Sent: Thursday, August 07, 2008 10:47 AM
>>> To: Maven Users List
>>> Subject: Re: org.apache.maven.plugins:maven-archetype-plugin does 
>>> not
>
>>> exist
>>>
>>> It looks to be a common error due to no network acess to the central

>>> repo.
>>>
>>>  [INFO] Repository 'central' will be blacklisted
>>>
>>> Please ensure you have a net access to 
>>> http://repo1.maven.org/maven2/
>> .
>>> Or configure a proxy in your settings.xml
>>>
>>> HTH,
>>> --
>>> Olivier
>>>
>>> 2008/8/7 Lakshmi Kurella <[EMAIL PROTECTED]>:
 I have installed maven 2.0.9 successfully and I am now trying to 
 build
>>>
 my directory structure for which I ran the command

 mvn archetype:create -DgroupId=com.fedex.crm.onesource 
 -DartifactId=CaseConsole


 but it came back and says error

 [INFO] Scanning for projects...
 [INFO] Searching repository for plugin with prefix: 'archetype'.
 [INFO] org.apache.maven.plugins: checking for updates from central 
 [WARNING] repository metadata for: 'org.apache.maven.plugins' could

 not be retri eved from repository: central due to an error: Error 
 transferring file [INFO] Repository 'central' will be blacklisted 
 [INFO]
 ---
 -
 -
 -
 --
 [ERROR] BUILD ERROR
 [INFO]
 ---
 -
 -
 -
 -- [INFO] The plugin
>> 'org.apache.maven.plugins:maven-archetype-plugin'
>>>
 does not exi st or no valid version could be found [INFO]
 ---
 -

Re: org.apache.maven.plugins:maven-archetype-plugin does not exist

2008-08-07 Thread Olivier Lamy
here (sorry bad copy and paste) but as you're playing you can
certainly debug a xml syntax !


  
 mine
 true
 http
 proxyuser
 proxypass
 146.18.173.70
 3128
 local.net,some.host.com
   
 

2008/8/7 Lakshmi Kurella <[EMAIL PROTECTED]>:
> Okay, I removed the comments and this is what I get now
>
> C:\>mvn archetype:create -DgroupId=com.fedex.crm.onesource
> -DartifactId=CaseCons
> ole
> Error reading settings.xml: expected START_TAG or END_TAG not TEXT
> (position: TE
> XT seen ...ne proxy, to be used in connecting to the network.\r\n
> |\r\n<
> p... @77:7)
>  Line:   77
>  Column: 7
>
> Could you see my attached settings.xml. ( I did not change anything in
> it except proxy details)
>
> Thanks,
> LK
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
> Olivier Lamy
> Sent: Thursday, August 07, 2008 1:52 PM
> To: Maven Users List
> Subject: Re: org.apache.maven.plugins:maven-archetype-plugin does not
> exist
>
> Have you used exactly as this in your settings ???
> Try with remove comments on the xml file ;-) 
> 
>
>  
>  true
>  http
>  proxyuser
>  proxypass
>  146.18.173.70
>  3128
>  local.net,some.host.com
>
>  
>
> HTH,
> --
> Olivier
>
>
>
> 2008/8/7 Lakshmi Kurella <[EMAIL PROTECTED]>:
>>
>> Hi,
>>
>> I found my proxy server details from the following
>>
>> Tools--> Internet Options---> LAN Settings ---> Proxy Server
>>
>> And put the details in settings.xml as follows
>>
>>  
>>
>>  
>>
>> It still does not work. Could you help.
>>
>> Thanks,
>> Lakshmi
>>
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
>> Of Olivier Lamy
>> Sent: Thursday, August 07, 2008 10:53 AM
>> To: Maven Users List
>> Subject: Re: org.apache.maven.plugins:maven-archetype-plugin does not
>> exist
>>
>> Go to google and search "maven 2 configure proxy".
>>
>> http://www.google.com/search?source=ig&hl=fr&rlz=&=&q=maven+2+configur
>> e+
>> proxy&btnG=Recherche+Google&meta=
>>
>> It looks to help a lot ;-)
>>
>> --
>> Olivier
>>
>> 2008/8/7 Lakshmi Kurella <[EMAIL PROTECTED]>:
>>> Hi,
>>>
>>> Thanks for the quick response, I do have access to the url
>>> http://repo1.maven.org/maven2/ Now could you also help me how to
>>> configure proxy in settings.xml please.
>>>
>>> Thanks,
>>> LK
>>>
>>> -Original Message-
>>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
>>> Of Olivier Lamy
>>> Sent: Thursday, August 07, 2008 10:47 AM
>>> To: Maven Users List
>>> Subject: Re: org.apache.maven.plugins:maven-archetype-plugin does not
>
>>> exist
>>>
>>> It looks to be a common error due to no network acess to the central
>>> repo.
>>>
>>>  [INFO] Repository 'central' will be blacklisted
>>>
>>> Please ensure you have a net access to http://repo1.maven.org/maven2/
>> .
>>> Or configure a proxy in your settings.xml
>>>
>>> HTH,
>>> --
>>> Olivier
>>>
>>> 2008/8/7 Lakshmi Kurella <[EMAIL PROTECTED]>:
 I have installed maven 2.0.9 successfully and I am now trying to
 build
>>>
 my directory structure for which I ran the command

 mvn archetype:create -DgroupId=com.fedex.crm.onesource
 -DartifactId=CaseConsole


 but it came back and says error

 [INFO] Scanning for projects...
 [INFO] Searching repository for plugin with prefix: 'archetype'.
 [INFO] org.apache.maven.plugins: checking for updates from central
 [WARNING] repository metadata for: 'org.apache.maven.plugins' could
 not be retri eved from repository: central due to an error: Error
 transferring file [INFO] Repository 'central' will be blacklisted
 [INFO]
 
 -
 -
 --
 [ERROR] BUILD ERROR
 [INFO]
 
 -
 -
 -- [INFO] The plugin
>> 'org.apache.maven.plugins:maven-archetype-plugin'
>>>
 does not exi st or no valid version could be found [INFO]
 
 -
 -
 -- [INFO] For more information, run Maven with the -e switch [INFO]
 
 -
 -
 --
 [INFO] Total time: 25 seconds
 [INFO] Finished at: Thu Aug 07 10:42:37 CDT 2008 [INFO] Final
> Memory:
 1M/2M [INFO]
 
 -
 -
 --



 Please help.

 Thanks,
 LK

>>>
>>> -
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>> -
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>
>> -

RE: org.apache.maven.plugins:maven-archetype-plugin does not exist

2008-08-07 Thread Lakshmi Kurella
Okay, I removed the comments and this is what I get now

C:\>mvn archetype:create -DgroupId=com.fedex.crm.onesource
-DartifactId=CaseCons
ole
Error reading settings.xml: expected START_TAG or END_TAG not TEXT
(position: TE
XT seen ...ne proxy, to be used in connecting to the network.\r\n
|\r\n<
p... @77:7)
  Line:   77
  Column: 7

Could you see my attached settings.xml. ( I did not change anything in
it except proxy details)

Thanks,
LK

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Olivier Lamy
Sent: Thursday, August 07, 2008 1:52 PM
To: Maven Users List
Subject: Re: org.apache.maven.plugins:maven-archetype-plugin does not
exist

Have you used exactly as this in your settings ???
Try with remove comments on the xml file ;-) 


  
  true
  http
  proxyuser
  proxypass
  146.18.173.70
  3128
  local.net,some.host.com

  

HTH,
--
Olivier



2008/8/7 Lakshmi Kurella <[EMAIL PROTECTED]>:
>
> Hi,
>
> I found my proxy server details from the following
>
> Tools--> Internet Options---> LAN Settings ---> Proxy Server
>
> And put the details in settings.xml as follows
>
>  
>
>  
>
> It still does not work. Could you help.
>
> Thanks,
> Lakshmi
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf 
> Of Olivier Lamy
> Sent: Thursday, August 07, 2008 10:53 AM
> To: Maven Users List
> Subject: Re: org.apache.maven.plugins:maven-archetype-plugin does not 
> exist
>
> Go to google and search "maven 2 configure proxy".
>
> http://www.google.com/search?source=ig&hl=fr&rlz=&=&q=maven+2+configur
> e+
> proxy&btnG=Recherche+Google&meta=
>
> It looks to help a lot ;-)
>
> --
> Olivier
>
> 2008/8/7 Lakshmi Kurella <[EMAIL PROTECTED]>:
>> Hi,
>>
>> Thanks for the quick response, I do have access to the url 
>> http://repo1.maven.org/maven2/ Now could you also help me how to 
>> configure proxy in settings.xml please.
>>
>> Thanks,
>> LK
>>
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf 
>> Of Olivier Lamy
>> Sent: Thursday, August 07, 2008 10:47 AM
>> To: Maven Users List
>> Subject: Re: org.apache.maven.plugins:maven-archetype-plugin does not

>> exist
>>
>> It looks to be a common error due to no network acess to the central 
>> repo.
>>
>>  [INFO] Repository 'central' will be blacklisted
>>
>> Please ensure you have a net access to http://repo1.maven.org/maven2/
> .
>> Or configure a proxy in your settings.xml
>>
>> HTH,
>> --
>> Olivier
>>
>> 2008/8/7 Lakshmi Kurella <[EMAIL PROTECTED]>:
>>> I have installed maven 2.0.9 successfully and I am now trying to 
>>> build
>>
>>> my directory structure for which I ran the command
>>>
>>> mvn archetype:create -DgroupId=com.fedex.crm.onesource 
>>> -DartifactId=CaseConsole
>>>
>>>
>>> but it came back and says error
>>>
>>> [INFO] Scanning for projects...
>>> [INFO] Searching repository for plugin with prefix: 'archetype'.
>>> [INFO] org.apache.maven.plugins: checking for updates from central 
>>> [WARNING] repository metadata for: 'org.apache.maven.plugins' could 
>>> not be retri eved from repository: central due to an error: Error 
>>> transferring file [INFO] Repository 'central' will be blacklisted 
>>> [INFO]
>>> 
>>> -
>>> -
>>> --
>>> [ERROR] BUILD ERROR
>>> [INFO]
>>> 
>>> -
>>> -
>>> -- [INFO] The plugin
> 'org.apache.maven.plugins:maven-archetype-plugin'
>>
>>> does not exi st or no valid version could be found [INFO]
>>> 
>>> -
>>> -
>>> -- [INFO] For more information, run Maven with the -e switch [INFO]
>>> 
>>> -
>>> -
>>> --
>>> [INFO] Total time: 25 seconds
>>> [INFO] Finished at: Thu Aug 07 10:42:37 CDT 2008 [INFO] Final
Memory:
>>> 1M/2M [INFO]
>>> 
>>> -
>>> -
>>> --
>>>
>>>
>>>
>>> Please help.
>>>
>>> Thanks,
>>> LK
>>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,

How to exclude some repositories from a child pom?

2008-08-07 Thread vicki

Hi,
each developer in our group has his/her own integration lane. The code is
compiled with the different db schema variables for each developer so,
effectively, the artifacts produced by each developer's profile are
different. But sometimes when the integration task deploys the code in my
lane, it updates the artifacts in my local repository with the artifacts
from the central repository, in case if central repo artifacts have a more
recent compilation timestamp. This is screwing up my schema references. Is
there a way to force maven NOT to update local repository, or to exclude the
central (or any other) repository from the repositories specified in my
integration profile?
Thanks!
Vicki 
-- 
View this message in context: 
http://www.nabble.com/How-to-exclude-some-repositories-from-a-child-pom--tp18877415p18877415.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: org.apache.maven.plugins:maven-archetype-plugin does not exist

2008-08-07 Thread Olivier Lamy
Have you used exactly as this in your settings ???
Try with remove comments on the xml file ;-)



  
  true
  http
  proxyuser
  proxypass
  146.18.173.70
  3128
  local.net,some.host.com

  

HTH,
--
Olivier



2008/8/7 Lakshmi Kurella <[EMAIL PROTECTED]>:
>
> Hi,
>
> I found my proxy server details from the following
>
> Tools--> Internet Options---> LAN Settings ---> Proxy Server
>
> And put the details in settings.xml as follows
>
>  
>
>  
>
> It still does not work. Could you help.
>
> Thanks,
> Lakshmi
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
> Olivier Lamy
> Sent: Thursday, August 07, 2008 10:53 AM
> To: Maven Users List
> Subject: Re: org.apache.maven.plugins:maven-archetype-plugin does not
> exist
>
> Go to google and search "maven 2 configure proxy".
>
> http://www.google.com/search?source=ig&hl=fr&rlz=&=&q=maven+2+configure+
> proxy&btnG=Recherche+Google&meta=
>
> It looks to help a lot ;-)
>
> --
> Olivier
>
> 2008/8/7 Lakshmi Kurella <[EMAIL PROTECTED]>:
>> Hi,
>>
>> Thanks for the quick response, I do have access to the url
>> http://repo1.maven.org/maven2/ Now could you also help me how to
>> configure proxy in settings.xml please.
>>
>> Thanks,
>> LK
>>
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
>> Of Olivier Lamy
>> Sent: Thursday, August 07, 2008 10:47 AM
>> To: Maven Users List
>> Subject: Re: org.apache.maven.plugins:maven-archetype-plugin does not
>> exist
>>
>> It looks to be a common error due to no network acess to the central
>> repo.
>>
>>  [INFO] Repository 'central' will be blacklisted
>>
>> Please ensure you have a net access to http://repo1.maven.org/maven2/
> .
>> Or configure a proxy in your settings.xml
>>
>> HTH,
>> --
>> Olivier
>>
>> 2008/8/7 Lakshmi Kurella <[EMAIL PROTECTED]>:
>>> I have installed maven 2.0.9 successfully and I am now trying to
>>> build
>>
>>> my directory structure for which I ran the command
>>>
>>> mvn archetype:create -DgroupId=com.fedex.crm.onesource
>>> -DartifactId=CaseConsole
>>>
>>>
>>> but it came back and says error
>>>
>>> [INFO] Scanning for projects...
>>> [INFO] Searching repository for plugin with prefix: 'archetype'.
>>> [INFO] org.apache.maven.plugins: checking for updates from central
>>> [WARNING] repository metadata for: 'org.apache.maven.plugins' could
>>> not be retri eved from repository: central due to an error: Error
>>> transferring file [INFO] Repository 'central' will be blacklisted
>>> [INFO]
>>> -
>>> -
>>> --
>>> [ERROR] BUILD ERROR
>>> [INFO]
>>> -
>>> -
>>> -- [INFO] The plugin
> 'org.apache.maven.plugins:maven-archetype-plugin'
>>
>>> does not exi st or no valid version could be found [INFO]
>>> -
>>> -
>>> -- [INFO] For more information, run Maven with the -e switch [INFO]
>>> -
>>> -
>>> --
>>> [INFO] Total time: 25 seconds
>>> [INFO] Finished at: Thu Aug 07 10:42:37 CDT 2008 [INFO] Final Memory:
>>> 1M/2M [INFO]
>>> -
>>> -
>>> --
>>>
>>>
>>>
>>> Please help.
>>>
>>> Thanks,
>>> LK
>>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: org.apache.maven.plugins:maven-archetype-plugin does not exist

2008-08-07 Thread Lakshmi Kurella

Hi,

I found my proxy server details from the following

Tools--> Internet Options---> LAN Settings ---> Proxy Server 

And put the details in settings.xml as follows

  

  

It still does not work. Could you help.

Thanks,
Lakshmi 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Olivier Lamy
Sent: Thursday, August 07, 2008 10:53 AM
To: Maven Users List
Subject: Re: org.apache.maven.plugins:maven-archetype-plugin does not
exist

Go to google and search "maven 2 configure proxy".

http://www.google.com/search?source=ig&hl=fr&rlz=&=&q=maven+2+configure+
proxy&btnG=Recherche+Google&meta=

It looks to help a lot ;-)

--
Olivier

2008/8/7 Lakshmi Kurella <[EMAIL PROTECTED]>:
> Hi,
>
> Thanks for the quick response, I do have access to the url 
> http://repo1.maven.org/maven2/ Now could you also help me how to 
> configure proxy in settings.xml please.
>
> Thanks,
> LK
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf 
> Of Olivier Lamy
> Sent: Thursday, August 07, 2008 10:47 AM
> To: Maven Users List
> Subject: Re: org.apache.maven.plugins:maven-archetype-plugin does not 
> exist
>
> It looks to be a common error due to no network acess to the central 
> repo.
>
>  [INFO] Repository 'central' will be blacklisted
>
> Please ensure you have a net access to http://repo1.maven.org/maven2/
.
> Or configure a proxy in your settings.xml
>
> HTH,
> --
> Olivier
>
> 2008/8/7 Lakshmi Kurella <[EMAIL PROTECTED]>:
>> I have installed maven 2.0.9 successfully and I am now trying to 
>> build
>
>> my directory structure for which I ran the command
>>
>> mvn archetype:create -DgroupId=com.fedex.crm.onesource 
>> -DartifactId=CaseConsole
>>
>>
>> but it came back and says error
>>
>> [INFO] Scanning for projects...
>> [INFO] Searching repository for plugin with prefix: 'archetype'.
>> [INFO] org.apache.maven.plugins: checking for updates from central 
>> [WARNING] repository metadata for: 'org.apache.maven.plugins' could 
>> not be retri eved from repository: central due to an error: Error 
>> transferring file [INFO] Repository 'central' will be blacklisted 
>> [INFO]
>> -
>> -
>> --
>> [ERROR] BUILD ERROR
>> [INFO]
>> -
>> -
>> -- [INFO] The plugin
'org.apache.maven.plugins:maven-archetype-plugin'
>
>> does not exi st or no valid version could be found [INFO]
>> -
>> -
>> -- [INFO] For more information, run Maven with the -e switch [INFO]
>> -
>> -
>> --
>> [INFO] Total time: 25 seconds
>> [INFO] Finished at: Thu Aug 07 10:42:37 CDT 2008 [INFO] Final Memory:
>> 1M/2M [INFO]
>> -
>> -
>> --
>>
>>
>>
>> Please help.
>>
>> Thanks,
>> LK
>>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



settings.xml fil and Maven Local Setting Model 2.0.9 API How can I get the passord

2008-08-07 Thread David Bernard

Hi

I looking for some examples that explain how can I get the information from
settings.xml file (where the password is written) with Maven Local Setting
Model 2.0.9 API ->
http://maven.apache.org/ref/current/maven-settings/apidocs/
and use it into a java application ?
Specialy, I want to be able to read a password from setting.xml and use the

password in the code of my java application.

Thanks

David



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: org.apache.maven.plugins:maven-archetype-plugin does not exist

2008-08-07 Thread Olivier Lamy
Go to google and search "maven 2 configure proxy".

http://www.google.com/search?source=ig&hl=fr&rlz=&=&q=maven+2+configure+proxy&btnG=Recherche+Google&meta=

It looks to help a lot ;-)

--
Olivier

2008/8/7 Lakshmi Kurella <[EMAIL PROTECTED]>:
> Hi,
>
> Thanks for the quick response, I do have access to the url
> http://repo1.maven.org/maven2/
> Now could you also help me how to configure proxy in settings.xml
> please.
>
> Thanks,
> LK
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
> Olivier Lamy
> Sent: Thursday, August 07, 2008 10:47 AM
> To: Maven Users List
> Subject: Re: org.apache.maven.plugins:maven-archetype-plugin does not
> exist
>
> It looks to be a common error due to no network acess to the central
> repo.
>
>  [INFO] Repository 'central' will be blacklisted
>
> Please ensure you have a net access to http://repo1.maven.org/maven2/ .
> Or configure a proxy in your settings.xml
>
> HTH,
> --
> Olivier
>
> 2008/8/7 Lakshmi Kurella <[EMAIL PROTECTED]>:
>> I have installed maven 2.0.9 successfully and I am now trying to build
>
>> my directory structure for which I ran the command
>>
>> mvn archetype:create -DgroupId=com.fedex.crm.onesource
>> -DartifactId=CaseConsole
>>
>>
>> but it came back and says error
>>
>> [INFO] Scanning for projects...
>> [INFO] Searching repository for plugin with prefix: 'archetype'.
>> [INFO] org.apache.maven.plugins: checking for updates from central
>> [WARNING] repository metadata for: 'org.apache.maven.plugins' could
>> not be retri eved from repository: central due to an error: Error
>> transferring file [INFO] Repository 'central' will be blacklisted
>> [INFO]
>> --
>> --
>> [ERROR] BUILD ERROR
>> [INFO]
>> --
>> -- [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin'
>
>> does not exi st or no valid version could be found [INFO]
>> --
>> -- [INFO] For more information, run Maven with the -e switch [INFO]
>> --
>> --
>> [INFO] Total time: 25 seconds
>> [INFO] Finished at: Thu Aug 07 10:42:37 CDT 2008 [INFO] Final Memory:
>> 1M/2M [INFO]
>> --
>> --
>>
>>
>>
>> Please help.
>>
>> Thanks,
>> LK
>>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



personalize the generated assembly file name

2008-08-07 Thread MedElb
Hi All,
i'm using the assempbly pluging
i have multiple assembly discriptors
the sub geerated file have by default a pattern name under the format
${artifactId}-${parent.version}${assemblyId}
i want to but my own pattern, in otherwise i like to get just the
${assemblyId} like a file name for each assembly file

thank you i advance


RE: org.apache.maven.plugins:maven-archetype-plugin does not exist

2008-08-07 Thread Lakshmi Kurella
Hi,

Thanks for the quick response, I do have access to the url
http://repo1.maven.org/maven2/
Now could you also help me how to configure proxy in settings.xml
please. 

Thanks,
LK

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Olivier Lamy
Sent: Thursday, August 07, 2008 10:47 AM
To: Maven Users List
Subject: Re: org.apache.maven.plugins:maven-archetype-plugin does not
exist

It looks to be a common error due to no network acess to the central
repo.

 [INFO] Repository 'central' will be blacklisted

Please ensure you have a net access to http://repo1.maven.org/maven2/ .
Or configure a proxy in your settings.xml

HTH,
--
Olivier

2008/8/7 Lakshmi Kurella <[EMAIL PROTECTED]>:
> I have installed maven 2.0.9 successfully and I am now trying to build

> my directory structure for which I ran the command
>
> mvn archetype:create -DgroupId=com.fedex.crm.onesource 
> -DartifactId=CaseConsole
>
>
> but it came back and says error
>
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'archetype'.
> [INFO] org.apache.maven.plugins: checking for updates from central 
> [WARNING] repository metadata for: 'org.apache.maven.plugins' could 
> not be retri eved from repository: central due to an error: Error 
> transferring file [INFO] Repository 'central' will be blacklisted 
> [INFO]
> --
> --
> [ERROR] BUILD ERROR
> [INFO]
> --
> -- [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin'

> does not exi st or no valid version could be found [INFO]
> --
> -- [INFO] For more information, run Maven with the -e switch [INFO]
> --
> --
> [INFO] Total time: 25 seconds
> [INFO] Finished at: Thu Aug 07 10:42:37 CDT 2008 [INFO] Final Memory: 
> 1M/2M [INFO]
> --
> --
>
>
>
> Please help.
>
> Thanks,
> LK
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: org.apache.maven.plugins:maven-archetype-plugin does not exist

2008-08-07 Thread Olivier Lamy
It looks to be a common error due to no network acess to the central repo.

 [INFO] Repository 'central' will be blacklisted

Please ensure you have a net access to http://repo1.maven.org/maven2/ .
Or configure a proxy in your settings.xml

HTH,
--
Olivier

2008/8/7 Lakshmi Kurella <[EMAIL PROTECTED]>:
> I have installed maven 2.0.9 successfully and I am now trying to build
> my directory structure for which I ran the command
>
> mvn archetype:create -DgroupId=com.fedex.crm.onesource
> -DartifactId=CaseConsole
>
>
> but it came back and says error
>
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'archetype'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [WARNING] repository metadata for: 'org.apache.maven.plugins' could not
> be retri
> eved from repository: central due to an error: Error transferring file
> [INFO] Repository 'central' will be blacklisted
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does
> not exi
> st or no valid version could be found
> [INFO]
> 
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> 
> [INFO] Total time: 25 seconds
> [INFO] Finished at: Thu Aug 07 10:42:37 CDT 2008
> [INFO] Final Memory: 1M/2M
> [INFO]
> 
>
>
>
> Please help.
>
> Thanks,
> LK
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



org.apache.maven.plugins:maven-archetype-plugin does not exist

2008-08-07 Thread Lakshmi Kurella
I have installed maven 2.0.9 successfully and I am now trying to build
my directory structure for which I ran the command
 
mvn archetype:create -DgroupId=com.fedex.crm.onesource
-DartifactId=CaseConsole
 
 
but it came back and says error
 
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] org.apache.maven.plugins: checking for updates from central
[WARNING] repository metadata for: 'org.apache.maven.plugins' could not
be retri
eved from repository: central due to an error: Error transferring file
[INFO] Repository 'central' will be blacklisted
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does
not exi
st or no valid version could be found
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 25 seconds
[INFO] Finished at: Thu Aug 07 10:42:37 CDT 2008
[INFO] Final Memory: 1M/2M
[INFO]

 
 
 
Please help.
 
Thanks,
LK


Re: javascript-maven-plugin error

2008-08-07 Thread Zach Legein

After working on this one for awhile I have found that this is not an error.
The problem was that I was trying to run the 'attach-compressed' goal of the
plugin using the wrong packaging type. I had it set to 'war' when clearly it
states that this needs to be 'javascript'. For more information check out
the source and look at the samples in the plugin.

-zach

Zach Legein wrote:
> 
> I am trying to run mvn install on the codehaus javascript-maven-plugin and
> keep getting this error:
> 
> [INFO] Internal error in the plugin manager executing goal
> 'org.apache.maven.plugins:maven-war-plugin:2.1-alpha-1:war': Unable to
> find the mojo 'org.apache.maven.plugins:maven-war-plugin:2.1-alpha-1:war'
> in the plugin 'org.apache.maven.plugins:maven-war-plugin'
> Can not set org.codehaus.plexus.archiver.war.WarArchiver field
> org.apache.maven.plugin.war.WarMojo.warArchiver to
> org.codehaus.plexus.archiver.war.WarArchiver
> [INFO]
> 
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in
> the plugin manager executing goal
> 'org.apache.maven.plugins:maven-war-plugin:2.1-alpha-1:war': Unable to
> find the mojo 'org.apache.maven.plugins:maven-war-plugin:2.1-alpha-1:war'
> in the plugin 'org.apache.maven.plugins:maven-war-plugin'
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:562)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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.PluginManagerException: Unable to find
> the mojo 'org.apache.maven.plugins:maven-war-plugin:2.1-alpha-1:war' in
> the plugin 'org.apache.maven.plugins:maven-war-plugin'
> at
> org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:618)
> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:429)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
> ... 16 more
> Caused by:
> org.codehaus.plexus.component.repository.exception.ComponentLookupException:
> Unable to lookup component
> 'org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-war-plugin:2.1-alpha-1:war',
> it could not be started
> at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:339)
> at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:440)
> at
> org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:609)
> ... 18 more
> Caused by:
> org.codehaus.plexus.component.repository.exception.ComponentLifecycleException:
> Error starting component
> at
> org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:109)
> at
> org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:95)
> at
> org.codehaus.plexus.component.manager.PerLookupComponentManager.getComponent(PerLookupComponentManager.java:48)
> at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:331)
> ... 20 more
> Caused by:
> org.codehaus.plexus.personality.plexus.lifecycle.phase.PhaseExecutionException:
> Error composing component
> at
> org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:33)
> at
> org.codehaus.plexus.lifecycle.AbstractLifecycleHandl

Re: Where

2008-08-07 Thread Eugene Kuleshov

David,

  We have some infrastructure and somewhat more high level API in m2eclipse
[1] [2] to work with Maven in Eclipse. It is not quite well documented, but
we'll be glad to answer specific questions in m2eclipse mailing lists [3].

  Also note that Maven Embedder component is only available starting from
Maven 2.1

  regards,
  Eugene

[1] http://m2eclipse.codehaus.org/
[2] http://docs.codehaus.org/display/M2ECLIPSE/Home
[3] http://m2eclipse.codehaus.org/mail-lists.html



David Bernard-4 wrote:
> 
> Im using maven2 with eclise. I try to use the code at the following link:
> 
> http://maven.apache.org/guides/mini/guide-embedding-m2.html
> 
> infortunatly, I got lots af compilation error this code
> 
> Configuration configuration = new DefaultConfiguration()
> .setUserSettingsFile( user )
> .setClassLoader(
> Thread.currentThread().getContextClassLoader()
> );
> 
> ConfigurationValidationResult validationResult =
> MavenEmbedder.validateConfiguration( configuration );
> 
> specialy with these classes: Configuration, ConfigurationValidationResult
> and DefaultConfiguration
> 
> I was sure that these classes were in the maven-embedder-2.0.4.zip at the
> link
> http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/maven/maven-embedder/2.0.4
> / but not.
> Where I can find the right jare fil to be able to use Configuration,
> ConfigurationValidationResult and DefaultConfiguration
> 

-- 
View this message in context: 
http://www.nabble.com/Where-tp18871309p18872559.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Where

2008-08-07 Thread David Bernard


Hi,

Im using maven2 with eclise. I try to use the code at the following link:

http://maven.apache.org/guides/mini/guide-embedding-m2.html

infortunatly, I got lots af compilation error this code

Configuration configuration = new DefaultConfiguration()
.setUserSettingsFile( user )
.setClassLoader( Thread.currentThread().getContextClassLoader()
);

ConfigurationValidationResult validationResult =
MavenEmbedder.validateConfiguration( configuration );

specialy with these classes: Configuration, ConfigurationValidationResult
and DefaultConfiguration

I was sure that these classes were in the maven-embedder-2.0.4.zip at the
link
http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/maven/maven-embedder/2.0.4
/ but not.
Where I can find the right jare fil to be able to use Configuration,
ConfigurationValidationResult and DefaultConfiguration


thanks


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: tomcat webapp and eclipse

2008-08-07 Thread Martin Gainty

is the file in the repo?
did you apprise eclipse of your maven M2_REPO location?
Goto Window -> Preferences -> Java -> build path -> classpath variable -> New

Name M2_REPO
Path /path/to/your/.m2/repository

http://wiki.foochal.org/index.php/Maven_FAQ#Generating_an_eclipse_project_from_a_maven_project

HTH
Martin 
__ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business 
of Sender. This transmission is of a confidential nature and Sender does not 
endorse distribution to any party other than intended recipient. Sender does 
not necessarily endorse content contained within this transmission. 


> Date: Thu, 7 Aug 2008 05:10:09 -0700
> From: [EMAIL PROTECTED]
> To: users@maven.apache.org
> Subject: Re: tomcat webapp and eclipse
> 
> 
> 
> Istvan Devai wrote:
> > 
> > I've tried this. I've configured Jetty as a WTP server and added a Jetty 
> > context file to point to /target/myapp-1.0-SNAPSHOT. It worked, however, 
> > if I edited a random .html file in Eclipse, these changes were not 
> > copied to /target/myapp-1.0-SNAPSHOT, only after I ran mvn package.
> > How would you automate this? Maybe using one of the maven eclipse plugins?
> > 
> 
>   If you are doing your development with Eclipse and WTP, you may want to
> consider to look at Maven integration for Eclipse, such as m2eclipse.
> http://m2eclipse.codehaus.org/
> 
>   See, for example, WTP mini how to at
> http://docs.codehaus.org/display/M2ECLIPSE/WTP+mini+howto
> 
>   regards,
>   Eugene
> 
> 
> -- 
> View this message in context: 
> http://www.nabble.com/tomcat-webapp-and-eclipse-tp18805558p18868985.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

_
Got Game? Win Prizes in the Windows Live Hotmail Mobile Summer Games Trivia 
Contest
http://www.gowindowslive.com/summergames?ocid=TXT_TAGHM

Re: pluginManagement help (eclipse problem)

2008-08-07 Thread Eugene Kuleshov

Lachlan,

  If you can reproduce it on a small project, please open a jira issue in
m2eclipse [1] and attach this test project up there. Also see some hints on
the wiki [2].

  Thanks

  Eugene

[1] http://jira.codehaus.org/browse/MNGECLIPSE
[2] http://docs.codehaus.org/display/M2ECLIPSE/Reporting+Issues



Lachlan Deck wrote:
> 
> I've noticed that with both m2eclipse and q4e that the  
> pluginManagement section of the uppermost parent is not inherited to  
> child modules.
> 
> So in a child module I have:
> 
>   
>   foo
>   bar
>   
> 
> 
> Building from the command line works no problems. But in eclipse it  
> has all sorts of errors as it's not honouring the version defined in  
> the pluginManagement that ought to have been inherited... and is  
> instead is trying to download :RELEASE.
> 

-- 
View this message in context: 
http://www.nabble.com/pluginManagement-help-%28eclipse-problem%29-tp18788274p18869078.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: mvn eclipse:eclipse problem .classptah and projects source dependencies

2008-08-07 Thread Eugene Kuleshov


dekel.y wrote:
> 
> If I try it on a single project, it does not work
> Can you please give a full example of the command ?

  Out of curiosity, if you are working with Eclipse, why don't you just use
Maven integration for Eclipse, such as m2eclipse.
http://m2eclipse.codehaus.org/

  It allows to import multiple Maven projects with one step using Maven
project import wizard. See
http://docs.codehaus.org/display/M2ECLIPSE/Importing+Maven+projects

  regards,
  Eugene


-- 
View this message in context: 
http://www.nabble.com/mvn-eclipse%3Aeclipse-problem-.classptah-and-projects-source-dependencies-tp18847315p18868994.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: tomcat webapp and eclipse

2008-08-07 Thread Eugene Kuleshov


Istvan Devai wrote:
> 
> I've tried this. I've configured Jetty as a WTP server and added a Jetty 
> context file to point to /target/myapp-1.0-SNAPSHOT. It worked, however, 
> if I edited a random .html file in Eclipse, these changes were not 
> copied to /target/myapp-1.0-SNAPSHOT, only after I ran mvn package.
> How would you automate this? Maybe using one of the maven eclipse plugins?
> 

  If you are doing your development with Eclipse and WTP, you may want to
consider to look at Maven integration for Eclipse, such as m2eclipse.
http://m2eclipse.codehaus.org/

  See, for example, WTP mini how to at
http://docs.codehaus.org/display/M2ECLIPSE/WTP+mini+howto

  regards,
  Eugene


-- 
View this message in context: 
http://www.nabble.com/tomcat-webapp-and-eclipse-tp18805558p18868985.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Looking for MultiModule Archetype (Packaging POM)

2008-08-07 Thread mac-systems
Jep.

I already tried this in a shell script. Which results in an error that project 
pom is not of type "pom". I tried to pass -Dpackaging=pom while creating that 
project.
Archetype is a useless plugin without that feature. I was looking also at the 
maling list on that issue for last year with no luck. I found some outdated 
Docu on the Archetypes. 

My solutions works like this: 

create all projects on same directory level.
copy projects which depends on POM package into subdirectory
modify the pom packaging element for that project(s).

But it would be fine if archetype would support -Dpackaging=pom|jar|ejb| and so 
on 

thx anyway,
Jens



here is my solution
1.mvn -DgroupId=org.quarph -DartifactId=myproject archetype:create
2.delete the "src" directory in the newly created module
3.edit pom.xml and change packaging to "pom" instead of "jar"
4.navigate to the "myproject" directory
5.mvn  -DgroupId=org.quarph -DartifactId=myproject-module-1 archetype:create
maybe someone has a better way!




quarph
2008-08-07



发件人: [EMAIL PROTECTED]
发送时间: 2008-08-07 17:30:04
收件人: users@maven.apache.org
抄送: 
主题: Looking for MultiModule Archetype (Packaging POM)

Which is a Multi Module Archetype ? I need to create Subprojects. Is there some 
template ?

1: internal - > appfuse-basic-jsf (AppFuse archetype for creating a web 
application with Hibernate, Spring and JSF)
2: internal - > appfuse-basic-spring (AppFuse archetype for creating a web 
application with Hibernate, Spring and Spring MVC)
3: internal - > appfuse-basic-struts (AppFuse archetype for creating a web 
application with Hibernate, Spring and Struts 2)
4: internal - > appfuse-basic-tapestry (AppFuse archetype for creating a web 
application with Hibernate, Spring and Tapestry 4)
5: internal - > appfuse-core (AppFuse archetype for creating a jar application 
with Hibernate and Spring and XFire)
6: internal - > appfuse-modular-jsf (AppFuse archetype for creating a modular 
application with Hibernate, Spring and JSF)
7: internal - > appfuse-modular-spring (AppFuse archetype for creating a 
modular application with Hibernate, Spring and Spring MVC)
8: internal - > appfuse-modular-struts (AppFuse archetype for creating a 
modular application with Hibernate, Spring and Struts 2)
9: internal - > appfuse-modular-tapestry (AppFuse archetype for creating a 
modular application with Hibernate, Spring and Tapestry 4)
10: internal - > maven-archetype-j2ee-simple (A simple J2EE Java application)
11: internal - > maven-archetype-marmalade-mojo (A Maven plugin development 
project using marmalade)
12: internal - > maven-archetype-mojo (A Maven Java plugin development 
project)
13: internal - > maven-archetype-portlet (A simple portlet application)
14: internal - > maven-archetype-profiles ()
15: internal - > maven-archetype-quickstart ()
16: internal - > maven-archetype-site-simple (A simple site generation 
project)
17: internal - > maven-archetype-site (A more complex site project)
18: internal - > maven-archetype-webapp (A simple Java web application)
19: internal - > struts2-archetype-starter (A starter Struts 2 application with 
Sitemesh, DWR, and Spring)
20: internal - > struts2-archetype-blank (A minimal Struts 2 application)
21: internal - > struts2-archetype-portlet (A minimal Struts 2 application that 
can be deployed as a portlet)
22: internal - > struts2-archetype-dbportlet (A starter Struts 2 portlet that 
demonstrates a simple CRUD interface with db backing)
23: internal - > struts2-archetype-plugin (A Struts 2 plugin)
24: internal - > shale-archetype-blank (A blank Shale web application with 
JSF)
25: internal - > maven-adf-archetype (Archetype to ease the burden of creating 
a new application based with ADF)
26: internal - > data-app (A new Databinder application with sources and 
resources.)
27: internal - > jini-service-archetype (Archetype for Jini service project 
creation)
28: internal - > softeu-archetype-seam (JSF+Facelets+Seam Archetype)
29: internal - > softeu-archetype-seam-simple (JSF+Facelets+Seam (no 
persistence) Archetype)
30: internal - > softeu-archetype-jsf (JSF+Facelets Archetype)
31: internal - > jpa-maven-archetype (JPA application)
32: internal - > spring-osgi-bundle-archetype (Spring-OSGi archetype)
33: internal - > confluence-plugin-archetype (Atlassian Confluence plugin 
archetype)
34: internal - > jira-plugin-archetype (Atlassian JIRA plugin archetype)
35: internal - > maven-archetype-har (Hibernate Archive)
36: internal - > maven-archetype-sar (JBoss Service Archive)
37: internal - > wicket-archetype-quickstart (A simple Apache Wicket project)
38: internal - > quickstart (A simple Apache Tapestry 5 Project)
39: internal - > scala-archetype-simple (A simple scala project)
40: internal - > lift-archetype-blank (A blank/empty liftweb project)
41: internal - > lift-archetype-basic (The basic (liftweb) project)
42: internal - > cocoon-22-archetype-block-plain 
([http://cocoon.apache.org/2.2/maven-plugins/])
43: internal - > cocoon

Re: resource plugin and empty directories

2008-08-07 Thread AsafM

I couldn't find any option to make this plugin copy empty directories.
Any chance the developers solved that?


Wayne Fay wrote:
> 
> Not sure if this is currently possible. Check the source code to see
> what configuration options are available and perhaps you'll find
> something.
> 
> If its not already implemented in the resource plugin, I have to
> imagine it would be a pretty simple modification (with an added
> variable copyEmptyDirectories, default to false) to add this
> functionality and provide a patch back to the project.
> 
> Wayne
> 
> 
> On 3/27/06, Kevin Galligan <[EMAIL PROTECTED]> wrote:
>> Is there any way to get the resource plugin to copy empty directories (I
>> assume its the resource plugin when doing a jar packaged build).  Long
>> story
>> as to why I'd need this.
>>
>> Thanks,
>> -Kevin
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/resource-plugin-and-empty-directories-tp3619573p18868167.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Looking for MultiModule Archetype (Packaging POM)

2008-08-07 Thread nicklist
Maybe a cleaner solution:

Step 1: Follow step 1 to 4 of Quarph
Step 1a: Make any adjustments to the pom, that you will need in your projects, 
like parent pom and such.
Step 2: Run mvn archetype:create-from-project
Step 3: From the generated Archetype project, run mvn install or mvn deploy
Step 4: Use this archetype to create new projects in the future.

Hth,

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl



-Original Message-
From: quarph [mailto:[EMAIL PROTECTED]
Sent: Thu 8/7/2008 12:04
To: Maven Users List
Subject: Re: Looking for MultiModule Archetype (Packaging POM)
 
here is my solution
1.mvn -DgroupId=org.quarph -DartifactId=myproject archetype:create
2.delete the "src" directory in the newly created module
3.edit pom.xml and change packaging to "pom" instead of "jar"
4.navigate to the "myproject" directory
5.mvn  -DgroupId=org.quarph -DartifactId=myproject-module-1 archetype:create
maybe someone has a better way!




quarph
2008-08-07



???: [EMAIL PROTECTED]
: 2008-08-07 17:30:04
???: users@maven.apache.org
??: 
??: Looking for MultiModule Archetype (Packaging POM)

Which is a Multi Module Archetype ? I need to create Subprojects. Is there some 
template ?

1: internal - > appfuse-basic-jsf (AppFuse archetype for creating a web 
application with Hibernate, Spring and JSF)
2: internal - > appfuse-basic-spring (AppFuse archetype for creating a web 
application with Hibernate, Spring and Spring MVC)
3: internal - > appfuse-basic-struts (AppFuse archetype for creating a web 
application with Hibernate, Spring and Struts 2)
4: internal - > appfuse-basic-tapestry (AppFuse archetype for creating a web 
application with Hibernate, Spring and Tapestry 4)
5: internal - > appfuse-core (AppFuse archetype for creating a jar application 
with Hibernate and Spring and XFire)
6: internal - > appfuse-modular-jsf (AppFuse archetype for creating a modular 
application with Hibernate, Spring and JSF)
7: internal - > appfuse-modular-spring (AppFuse archetype for creating a 
modular application with Hibernate, Spring and Spring MVC)
8: internal - > appfuse-modular-struts (AppFuse archetype for creating a 
modular application with Hibernate, Spring and Struts 2)
9: internal - > appfuse-modular-tapestry (AppFuse archetype for creating a 
modular application with Hibernate, Spring and Tapestry 4)
10: internal - > maven-archetype-j2ee-simple (A simple J2EE Java application)
11: internal - > maven-archetype-marmalade-mojo (A Maven plugin development 
project using marmalade)
12: internal - > maven-archetype-mojo (A Maven Java plugin development project)
13: internal - > maven-archetype-portlet (A simple portlet application)
14: internal - > maven-archetype-profiles ()
15: internal - > maven-archetype-quickstart ()
16: internal - > maven-archetype-site-simple (A simple site generation project)
17: internal - > maven-archetype-site (A more complex site project)
18: internal - > maven-archetype-webapp (A simple Java web application)
19: internal - > struts2-archetype-starter (A starter Struts 2 application with 
Sitemesh, DWR, and Spring)
20: internal - > struts2-archetype-blank (A minimal Struts 2 application)
21: internal - > struts2-archetype-portlet (A minimal Struts 2 application that 
can be deployed as a portlet)
22: internal - > struts2-archetype-dbportlet (A starter Struts 2 portlet that 
demonstrates a simple CRUD interface with db backing)
23: internal - > struts2-archetype-plugin (A Struts 2 plugin)
24: internal - > shale-archetype-blank (A blank Shale web application with JSF)
25: internal - > maven-adf-archetype (Archetype to ease the burden of creating 
a new application based with ADF)
26: internal - > data-app (A new Databinder application with sources and 
resources.)
27: internal - > jini-service-archetype (Archetype for Jini service project 
creation)
28: internal - > softeu-archetype-seam (JSF+Facelets+Seam Archetype)
29: internal - > softeu-archetype-seam-simple (JSF+Facelets+Seam (no 
persistence) Archetype)
30: internal - > softeu-archetype-jsf (JSF+Facelets Archetype)
31: internal - > jpa-maven-archetype (JPA application)
32: internal - > spring-osgi-bundle-archetype (Spring-OSGi archetype)
33: internal - > confluence-plugin-archetype (Atlassian Confluence plugin 
archetype)
34: internal - > jira-plugin-archetype (Atlassian JIRA plugin archetype)
35: internal - > maven-archetype-har (Hibernate Archive)
36: internal - > maven-archetype-sar (JBoss Service Archive)
37: internal - > wicket-archetype-quickstart (A simple Apache Wicket project)
38: internal - > quickstart (A simple Apache Tapestry 5 Project)
39: internal - > scala-archetype-simple (A simple scala project)
40: internal - > lift-archetype-blank (A blank/empty liftweb project)
41: internal - > lift-archetype-basic (The basic (liftweb) project)
42: internal - > cocoon-22-archetype-block-plain 
([http://cocoon.apache.org/2.2/maven-plugins/])
43: internal - > cocoon-22-archetype-block 

Re: Looking for MultiModule Archetype (Packaging POM)

2008-08-07 Thread quarph
here is my solution
1.mvn -DgroupId=org.quarph -DartifactId=myproject archetype:create
2.delete the "src" directory in the newly created module
3.edit pom.xml and change packaging to "pom" instead of "jar"
4.navigate to the "myproject" directory
5.mvn  -DgroupId=org.quarph -DartifactId=myproject-module-1 archetype:create
maybe someone has a better way!




quarph
2008-08-07



发件人: [EMAIL PROTECTED]
发送时间: 2008-08-07 17:30:04
收件人: users@maven.apache.org
抄送: 
主题: Looking for MultiModule Archetype (Packaging POM)

Which is a Multi Module Archetype ? I need to create Subprojects. Is there some 
template ?

1: internal - > appfuse-basic-jsf (AppFuse archetype for creating a web 
application with Hibernate, Spring and JSF)
2: internal - > appfuse-basic-spring (AppFuse archetype for creating a web 
application with Hibernate, Spring and Spring MVC)
3: internal - > appfuse-basic-struts (AppFuse archetype for creating a web 
application with Hibernate, Spring and Struts 2)
4: internal - > appfuse-basic-tapestry (AppFuse archetype for creating a web 
application with Hibernate, Spring and Tapestry 4)
5: internal - > appfuse-core (AppFuse archetype for creating a jar application 
with Hibernate and Spring and XFire)
6: internal - > appfuse-modular-jsf (AppFuse archetype for creating a modular 
application with Hibernate, Spring and JSF)
7: internal - > appfuse-modular-spring (AppFuse archetype for creating a 
modular application with Hibernate, Spring and Spring MVC)
8: internal - > appfuse-modular-struts (AppFuse archetype for creating a 
modular application with Hibernate, Spring and Struts 2)
9: internal - > appfuse-modular-tapestry (AppFuse archetype for creating a 
modular application with Hibernate, Spring and Tapestry 4)
10: internal - > maven-archetype-j2ee-simple (A simple J2EE Java application)
11: internal - > maven-archetype-marmalade-mojo (A Maven plugin development 
project using marmalade)
12: internal - > maven-archetype-mojo (A Maven Java plugin development project)
13: internal - > maven-archetype-portlet (A simple portlet application)
14: internal - > maven-archetype-profiles ()
15: internal - > maven-archetype-quickstart ()
16: internal - > maven-archetype-site-simple (A simple site generation project)
17: internal - > maven-archetype-site (A more complex site project)
18: internal - > maven-archetype-webapp (A simple Java web application)
19: internal - > struts2-archetype-starter (A starter Struts 2 application with 
Sitemesh, DWR, and Spring)
20: internal - > struts2-archetype-blank (A minimal Struts 2 application)
21: internal - > struts2-archetype-portlet (A minimal Struts 2 application that 
can be deployed as a portlet)
22: internal - > struts2-archetype-dbportlet (A starter Struts 2 portlet that 
demonstrates a simple CRUD interface with db backing)
23: internal - > struts2-archetype-plugin (A Struts 2 plugin)
24: internal - > shale-archetype-blank (A blank Shale web application with JSF)
25: internal - > maven-adf-archetype (Archetype to ease the burden of creating 
a new application based with ADF)
26: internal - > data-app (A new Databinder application with sources and 
resources.)
27: internal - > jini-service-archetype (Archetype for Jini service project 
creation)
28: internal - > softeu-archetype-seam (JSF+Facelets+Seam Archetype)
29: internal - > softeu-archetype-seam-simple (JSF+Facelets+Seam (no 
persistence) Archetype)
30: internal - > softeu-archetype-jsf (JSF+Facelets Archetype)
31: internal - > jpa-maven-archetype (JPA application)
32: internal - > spring-osgi-bundle-archetype (Spring-OSGi archetype)
33: internal - > confluence-plugin-archetype (Atlassian Confluence plugin 
archetype)
34: internal - > jira-plugin-archetype (Atlassian JIRA plugin archetype)
35: internal - > maven-archetype-har (Hibernate Archive)
36: internal - > maven-archetype-sar (JBoss Service Archive)
37: internal - > wicket-archetype-quickstart (A simple Apache Wicket project)
38: internal - > quickstart (A simple Apache Tapestry 5 Project)
39: internal - > scala-archetype-simple (A simple scala project)
40: internal - > lift-archetype-blank (A blank/empty liftweb project)
41: internal - > lift-archetype-basic (The basic (liftweb) project)
42: internal - > cocoon-22-archetype-block-plain 
([http://cocoon.apache.org/2.2/maven-plugins/])
43: internal - > cocoon-22-archetype-block 
([http://cocoon.apache.org/2.2/maven-plugins/])
44: internal - > cocoon-22-archetype-webapp 
([http://cocoon.apache.org/2.2/maven-plugins/])

Thx,
Jens

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: use a multiple assembly descriptor

2008-08-07 Thread MedElb
it's ok that work fine, thank you
Ciramella how we can put the name of the generated zip file, the assembly
plugin put it as the global archityep name concatinated to the version
how i can put my own name

thanks in advance




2008/8/6 EJ Ciramella <[EMAIL PROTECTED]>

> You should be able to use:
>
> 
>
>Path to descriptor 1
>
>
>Path to descriptor 2
>
> 
>
> -Original Message-
> From: MedElb [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 06, 2008 10:13 AM
> To: Maven Users List
> Subject: use a multiple assembly descriptor
>
> Hi all
> how can i define more than one assembly discriptor (*.xml),
>
> my need is to get a zip file (distribution version) under a zip format
> and
> that contain another zip file generated also by the assembly plugin
>
> thanks in advance
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Problem with using of "user defined" properties in maven 2

2008-08-07 Thread Igor Kuferstein
Hello,

 

Sorry for may be stupid question...

I am a newbie maven 2 user. I am developing a small maven plugin and
try to use some properties, defined in the pom.xml of this plugin, as
parameters within a mojo of this plugin. My usage is very similar to
example from the maven book "maven-definitive-guide" on page 500
"Supplying Values for Mojo Parameters...". The pom.xml of the plugin
contains  (amongst others) the following property definition, i.e.
absolutely the same property definition as described in the book

 



Hello Everybody



 

 

In my mojo I try to use also the example from the book:

 

/**

  * Any Object to print out.

  * @parameter expression="${ echo.message}"

 */

private Object message;

 

When I execute the method "execute()" and just  try to print out this
variable in simple 

 

System.out.println("message:  "+ message);

 

Then I use this plugin in a project and just compile the project with
"mvn clean compile"...

I get only  the text  "message: [EMAIL PROTECTED]", but not a
value of the property. Why??? I also have tried to declare the variable
as String, but nothing work. It seems to be an empty object... Does
anybody know, what I am doing wrong?

 

Thanks for your help!

 

Igor



 

 

 



Looking for MultiModule Archetype (Packaging POM)

2008-08-07 Thread mac-systems
Which is a Multi Module Archetype ? I need to create Subprojects. Is there some 
template ?

1: internal -> appfuse-basic-jsf (AppFuse archetype for creating a web 
application with Hibernate, Spring and JSF)
2: internal -> appfuse-basic-spring (AppFuse archetype for creating a web 
application with Hibernate, Spring and Spring MVC)
3: internal -> appfuse-basic-struts (AppFuse archetype for creating a web 
application with Hibernate, Spring and Struts 2)
4: internal -> appfuse-basic-tapestry (AppFuse archetype for creating a web 
application with Hibernate, Spring and Tapestry 4)
5: internal -> appfuse-core (AppFuse archetype for creating a jar application 
with Hibernate and Spring and XFire)
6: internal -> appfuse-modular-jsf (AppFuse archetype for creating a modular 
application with Hibernate, Spring and JSF)
7: internal -> appfuse-modular-spring (AppFuse archetype for creating a modular 
application with Hibernate, Spring and Spring MVC)
8: internal -> appfuse-modular-struts (AppFuse archetype for creating a modular 
application with Hibernate, Spring and Struts 2)
9: internal -> appfuse-modular-tapestry (AppFuse archetype for creating a 
modular application with Hibernate, Spring and Tapestry 4)
10: internal -> maven-archetype-j2ee-simple (A simple J2EE Java application)
11: internal -> maven-archetype-marmalade-mojo (A Maven plugin development 
project using marmalade)
12: internal -> maven-archetype-mojo (A Maven Java plugin development project)
13: internal -> maven-archetype-portlet (A simple portlet application)
14: internal -> maven-archetype-profiles ()
15: internal -> maven-archetype-quickstart ()
16: internal -> maven-archetype-site-simple (A simple site generation project)
17: internal -> maven-archetype-site (A more complex site project)
18: internal -> maven-archetype-webapp (A simple Java web application)
19: internal -> struts2-archetype-starter (A starter Struts 2 application with 
Sitemesh, DWR, and Spring)
20: internal -> struts2-archetype-blank (A minimal Struts 2 application)
21: internal -> struts2-archetype-portlet (A minimal Struts 2 application that 
can be deployed as a portlet)
22: internal -> struts2-archetype-dbportlet (A starter Struts 2 portlet that 
demonstrates a simple CRUD interface with db backing)
23: internal -> struts2-archetype-plugin (A Struts 2 plugin)
24: internal -> shale-archetype-blank (A blank Shale web application with JSF)
25: internal -> maven-adf-archetype (Archetype to ease the burden of creating a 
new application based with ADF)
26: internal -> data-app (A new Databinder application with sources and 
resources.)
27: internal -> jini-service-archetype (Archetype for Jini service project 
creation)
28: internal -> softeu-archetype-seam (JSF+Facelets+Seam Archetype)
29: internal -> softeu-archetype-seam-simple (JSF+Facelets+Seam (no 
persistence) Archetype)
30: internal -> softeu-archetype-jsf (JSF+Facelets Archetype)
31: internal -> jpa-maven-archetype (JPA application)
32: internal -> spring-osgi-bundle-archetype (Spring-OSGi archetype)
33: internal -> confluence-plugin-archetype (Atlassian Confluence plugin 
archetype)
34: internal -> jira-plugin-archetype (Atlassian JIRA plugin archetype)
35: internal -> maven-archetype-har (Hibernate Archive)
36: internal -> maven-archetype-sar (JBoss Service Archive)
37: internal -> wicket-archetype-quickstart (A simple Apache Wicket project)
38: internal -> quickstart (A simple Apache Tapestry 5 Project)
39: internal -> scala-archetype-simple (A simple scala project)
40: internal -> lift-archetype-blank (A blank/empty liftweb project)
41: internal -> lift-archetype-basic (The basic (liftweb) project)
42: internal -> cocoon-22-archetype-block-plain 
([http://cocoon.apache.org/2.2/maven-plugins/])
43: internal -> cocoon-22-archetype-block 
([http://cocoon.apache.org/2.2/maven-plugins/])
44: internal -> cocoon-22-archetype-webapp 
([http://cocoon.apache.org/2.2/maven-plugins/])

Thx,
Jens

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]