Re: maven jar plugin: Manifest Entries?

2005-12-30 Thread Man-Chi Leung

this is my pom, it works fine!





org.apache.maven.plugins
maven-jar-plugin





com.mycompany.app.App





Best Regards,

Manchi Leung


On Dec 31, 2005, at 5:34 AM, Jochen Wiedmann wrote:



Hi,

how do I add manifest entries to the generated Jar file? I have  
tried various things in the style of


  
maven-jar-plugin

  

  

  Name
  org/apache/xmlrpc/

  

  

  

none of which seem to be working?


Regards,

Jochen


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





[m2] anyone is doing m2 with cruisecontrol?

2005-12-30 Thread Man-Chi Leung

in my case, I tried to download continuum on my MacOSX and Solaris.
very sadly, Continuum did not even start it up, without any error  
message!!!


so, I think I have only one choice , thinking to integrate m2 with  
cruise control now


anyone has a success story?

btw, what is the different between cruise control and Continuum in  
terms of features?


Regards,
manchi




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



Re: maven jar plugin: Manifest Entries?

2005-12-30 Thread Alexandre Poitras
And I think to add custom entries, you need to write them in a base
manifest file wich you specify to be added to the generated manifest
file.
You just need to add this line to your plugin configuration :


  /path/to/MANIFEST.MF



On 12/30/05, Alexandre Poitras <[EMAIL PROTECTED]> wrote:
> From your example, I am guessing you are looking for a way to specify
> the classpath.
> If that the case, you work too hard. Maven is all about laziness and
> of course it can generate the class path for you :
>
> 
>   
> org.apache.maven.plugins
> maven-jar-plugin
> 
>   
> 
>   true
> 
>   
> 
>   
> 
>
> Voilà, everything is always in sync with your dependencies. I like the
> magic of Maven :)
> I hope it help!
>
> On 12/30/05, Jochen Wiedmann <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > how do I add manifest entries to the generated Jar file? I have tried
> > various things in the style of
> >
> >
> >  maven-jar-plugin
> >  
> >
> >  
> >
> >  
> >Name
> >org/apache/xmlrpc/
> >  
> >
> >  
> >
> >  
> >
> >
> > none of which seem to be working?
> >
> >
> > Regards,
> >
> > Jochen
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Alexandre Poitras
> Québec, Canada
>


--
Alexandre Poitras
Québec, Canada

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



Re: maven jar plugin: Manifest Entries?

2005-12-30 Thread Alexandre Poitras
>From your example, I am guessing you are looking for a way to specify
the classpath.
If that the case, you work too hard. Maven is all about laziness and
of course it can generate the class path for you :


  
org.apache.maven.plugins
maven-jar-plugin

  

  true

  

  


Voilà, everything is always in sync with your dependencies. I like the
magic of Maven :)
I hope it help!

On 12/30/05, Jochen Wiedmann <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> how do I add manifest entries to the generated Jar file? I have tried
> various things in the style of
>
>
>  maven-jar-plugin
>  
>
>  
>
>  
>Name
>org/apache/xmlrpc/
>  
>
>  
>
>  
>
>
> none of which seem to be working?
>
>
> Regards,
>
> Jochen
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Alexandre Poitras
Québec, Canada

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



RE: Id of company repository

2005-12-30 Thread Brian E. Fox
The maven-proxy configuration is completely separate from the
settings.xml You want to set a mirror of central on each dev machine.
This will redirect everything (except snapshots because the superpom has
snapshots=false. If you need snapshots, you'll have to add a repository
to the settings or pom and turn them on) to your internal proxy. On that
proxy, configure it to only have one repository pointing to your other
proxy. The order of the repositories for MP to search is controlled like
this: (in the maven-proxy.properties)

# REPOSITORIES
#This is not just a hack, it specifies the order repositories should be
checked
#Note that the proxy adds a "/" which is why the urls aren't suffixed
with a "/"
repo.list=stc-repo,3rdparty-repo,www-ibiblio-org,dist-codehaus-org 

Then you configure each repo named like this: (the format is repo.[name
listed above].property=value)

#local-store
# The local store represents a location that local jars you host can be
located.
# This could also be achieved by having a local http repository, but
this is less cumbersome
repo.stc-repo.url=file:///d:/repositories/maven/stc
repo.stc-repo.description=STC Central Repository
#If copy is true, jars are copied from the store to the proxy-repo. Only
configurable for file:/// repos
repo.stc-repo.copy=false
#If hardfail is true, any unexpected errors from the repository will
cause 
#the client download to fail (typically with a 500 error)
repo.stc-repo.hardfail=true
#Don't cache a file repository
repo.stc-repo.cache.period=0



#local-store
# The local store represents a location that local jars you host can be
located.
# This could also be achieved by having a local http repository, but
this is less cumbersome
repo.3rdparty-repo.url=file:///d:/repositories/maven/3rd-party
repo.3rdparty-repo.description=STC Central Repository
#If copy is true, jars are copied from the store to the proxy-repo. Only
configurable for file:/// repos
repo.3rdparty-repo.copy=false
#If hardfail is true, any unexpected errors from the repository will
cause 
#the client download to fail (typically with a 500 error)
repo.3rdparty-repo.hardfail=true
#Don't cache a file repository
repo.3rdparty-repo.cache.period=0


#www.ibiblio.org
repo.www-ibiblio-org.url=http://www.ibiblio.org/maven2
repo.www-ibiblio-org.description=www.ibiblio.org
repo.www-ibiblio-org.proxy=one
repo.www-ibiblio-org.hardfail=true
#Cache this repository for 1 hour
repo.www-ibiblio-org.cache.period=0
repo.www-ibiblio-org.cache.failures=true


You can see in my instance, I check 2 internal repositories before going
to ibiblio. On the second proxy, you'll want it to be configured to go
to ibiblio and anywhere else you need to get stuff from.


-Original Message-
From: Tom Joad [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 30, 2005 11:04 AM
To: Maven Users List
Subject: Id of company repository

Hello all,
I want to set up a two level of maven-proxy.
The firts one is located on a machine with internet connection. The
second one is such that it's a mirror of the first one and installed on
a machine with no internet connexion. But Developpers must reference the
second instead of the first.(This is a constraint of security,
implemented by the use
of different level of private networking)   Logically, On each
developper's settings.xml, I must declare mirror tags. My problem is to
give a value to mirrorof tag.
If I give central or other public maven mirror , the download processing
try to go directly on internet and fails(no internet
connection)
My question:
1- is my configuration possible?
2- If so How an where i declare the Id of my first repository such it is
known by all my maven installations?

Thanks in advance ,

Tom.

-
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: auto download plugins from remote repo NOT central

2005-12-30 Thread Eric Redmond
I have been having the same issue.

On 12/29/05, Ryan Marsh <[EMAIL PROTECTED]> wrote:
>
> John,
>
> for some reason the pluginRepositories that i have put in
> settings.xml are not getting used to look for plugins. i know the
> syntax is correct and the profile is active. what is the other
> missing piece?
>
> here is my settings.xml
>
> 
>
>  
>default
>
>  
>
>
>  
>snapshots
>http://192.168.1.102/~ryan
>default
>  
>
>
>  
>snapshots
>http://192.168.1.102/~ryan
>
>
>always
>
>  
>
> 
>
>
>  default
>
>
>  org.apache.maven.plugins
>
> 
>
> my plugin is in org.apache.maven.plugins.maven-myproject-plugin and
> all the maven-metadata.xml files in my repo are done exactly like
> those in central. i just don't think it's even checking my repo.
>
>
> On Dec 29, 2005, at 5:01 PM, John Fallows wrote:
>
> > Ryan,
> >
> > You can use the  section of ~/.m2/settings.xml.
> >
> > Note: this file is located in C:\Documents and
> > Settings\\.m2\settings.xml on WinXP.
> >
> > Kind Regards,
> > John Fallows.
> >
> > On 12/29/05, Ryan Marsh <[EMAIL PROTECTED]> wrote:
> >>
> >> Is it possible to get maven2 to automatically download plugins from a
> >> remote repository other than central? I have been unsuccessful in
> >> getting mvn to use my own remote repository to download plugins from.
> >>
> >> This is for initial generation of a project so I can't specify
> >>  in a POM because there is none yet. I would like
> >> to just add the project repo to settings.xml and see 'mvn
> >> myproject:generate' work right off the bat.
> >>
> >> Ryan Marsh
> >> (281) 785-1805
> >> [EMAIL PROTECTED]
> >>
> >>
> >>
> >>
> >>
> >> -
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
> > --
> > Author Pro JSF and Ajax: Building Rich Internet Components
> > http://www.apress.com/book/bookDisplay.html?bID=10044
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: How to use continuum with Maven2? - Please Help

2005-12-30 Thread dan tran
continuum uses maven-scm-provider-clearcase to create new view only once.
For every build, it only fetches the changes
before each build.


-D


On 12/30/05, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
>
> Thanks again for the reply
>
> In that case is it mean that every time continuum tries to build it will
> create new view?? so everytime after the build i have to go an remove the
> view??
>
> Or continuum works in different way ???
>
> How do i add multimodule url to the continuum ? can anyone please give me
> sample
>
> like if have project like below how do i give url coz continuum says it
> has to be url for multi module??
>
> | project
> +- - - EJB
>  +- - - pom.xml
> + - - - Web-app
>  + - - - pom.xml
> | - - - pom.xml
>
>
>
>
> Thanks,
> ===
> Raghurajan Gurunathan ||
> ===
>


[m2] maven-eclipse-plugin and subversion

2005-12-30 Thread Srepfler Srgjan
Is it possible that if I do mvn eclipse:eclipse that my project would 
get disconnected from the subversion repository?

What would be the approach to avoid this kind of behavior? Thanks

Srgjan

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



Re: How to use continuum with Maven2? - Please Help

2005-12-30 Thread raghurajan . x . gurunathan
Thanks again for the reply

In that case is it mean that every time continuum tries to build it will 
create new view?? so everytime after the build i have to go an remove the 
view??

Or continuum works in different way ???

How do i add multimodule url to the continuum ? can anyone please give me 
sample

like if have project like below how do i give url coz continuum says it 
has to be url for multi module??

| project
  +- - - EJB
  +- - - pom.xml
  + - - - Web-app
  + - - - pom.xml
| - - - pom.xml




Thanks,
===
Raghurajan Gurunathan || 
===

Re: How to use continuum with Maven2? - Please Help

2005-12-30 Thread dan tran
the provided view in your pom's configuration already created in clearcase
db, you will need to remove it first.
or provide a brand new view name.

-Dan



On 12/30/05, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
>
> Ok guys,
>
> I think its got improved little now
>
> when i use
>
>
>scm|clearcase|Raghu_dev_prj|Shop
>
>
>
> gettin the error
>
> Provider message: The cleartool command failed.
> Command output:
>
> ---
> cleartool: Error: A registry entry already exists for "Raghu_dev_prj".
>
> ---
>
> From the error i can see that its complaining the view is already there.
> How do i get rid of these or in other words how do i ask continuum to use
> the already created view.
>
> Thanks,
> ===
> Raghurajan Gurunathan ||
> ===
>


Re: How to use continuum with Maven2? - Please Help

2005-12-30 Thread raghurajan . x . gurunathan
Ok guys,

I think its got improved little now 

when i use


scm|clearcase|Raghu_dev_prj|Shop 



gettin the error

Provider message: The cleartool command failed.
Command output: 
---
cleartool: Error: A registry entry already exists for "Raghu_dev_prj".
---

>From the error i can see that its complaining the view is already there. 
How do i get rid of these or in other words how do i ask continuum to use 
the already created view.

Thanks,
===
Raghurajan Gurunathan || 
===

RE: url in comments

2005-12-30 Thread Michael Fiedler
so sorry, please disregard!  I need to fix my syntax first.


Sent: Friday, December 30, 2005 3:20 PM
To: users@maven.apache.org
Subject: url in comments

Hi,

 

   I am trying to add a url to the ciManagement/system value.  < and
> are not working.   is not working.  Does anyone have a
recommendation on how to place  into the POM?

 



...

  

This project uses Continuum 1.0.2
for its continuous integration builds.

http://host:port/continuum

 

 

Thank you, Michael

 


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



maven jar plugin: Manifest Entries?

2005-12-30 Thread Jochen Wiedmann


Hi,

how do I add manifest entries to the generated Jar file? I have tried 
various things in the style of


  
maven-jar-plugin

  

  

  Name
  org/apache/xmlrpc/

  

  

  

none of which seem to be working?


Regards,

Jochen


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



Re: How to use continuum with Maven2? - Please Help

2005-12-30 Thread dan tran
did you setup your viewstore according to the link?

-D


On 12/30/05, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
>
> All Thanks again,
>
> Here after going thru url format i changed it like this
>
>   
> scm|clearcase|C:\views\Raghu_dev_prj|Shop
>   
>
> Here C:\views is where my views are there
>Raghu is the user name
>_dev_prj : project name
>   Shop : module name where my pom.xml also there
>
> when i build i'm getting
>
> Provider message: The cleartool command failed.
> Command output:
>
> ---
> cleartool: Error: Invalid view tag: "C:\views\Raghu_dev_prj".
>
> ---
>
> what is wrong now?( i also tried
> scm|clearcase|C:/views/Raghu_dev_prj|Shop but got
> same error message)
>
> And as aditional can anyone show me how do i give url for multimodule
> maven2 project at continuum?
>
> Thanks,
> ===
> Raghurajan Gurunathan ||
> ===
>


url in comments

2005-12-30 Thread Michael Fiedler
Hi,

 

   I am trying to add a url to the ciManagement/system value.  < and
> are not working.   is not working.  Does anyone have a
recommendation on how to place  into the POM?

 



...

  

This project uses Continuum 1.0.2
for its continuous integration builds.

http://host:port/continuum

 

 

Thank you, Michael

 



Re: [M2] How can I include a JAR in my test (build and run) classpath

2005-12-30 Thread Alexandre Poitras
On 12/30/05, Huw Roberts <[EMAIL PROTECTED]> wrote:
> Hi All, [note newby]
> 1.  I've been given a third-party jar which forms part of the acceptance
> tests that need to be run for my deliverable.  This jar needs to be
> available for compilation and run of my tests.  I don't think the jar
> really belongs in my repository because it's not really a deliverable,
> although I may receive different versions of it that I may need to
> incorporate.
>
I still think it's part of your repository. I will definitely put it
in my local corporate repository.

> 2.  I'm also struggling with the relationship between the repository
> into-which I will (ultimately) place my built artifacts, and my
> source-code control system (SVN) into-which I am currently checking my
> source code.  Should maven take care of this for me, or should I carry
> on as I am.
> My SVN repository looks like this:
>
> +- branches
> +- tags
> +- trunk
>+- pom.xml
>+- src
>|  +- main
>|  |  +...
>|  +- test
>|  |  +...
>+- target
>   +...

Maven can handle SVN for you throught the SCM plugin and release
plugin. I don't use the SCM plugin I rather use Eclipse support but
that's a personal choice. I don't have any problem with this approach.
You just check in the src directory plus the pom.xml file and everyone
using maven 2 will be able to build your project.

> 3.  This is a little unsatisfactory since the target lives inside the
> checkout area (hence risk of checking it in).
> Any thoughts?
> Help.

Look at my previous answer.
>
> Thanks,
> Huw
> --
> Huw Roberts
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Hope its helps!
--
Alexandre Poitras
Québec, Canada

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



[M2] How can I include a JAR in my test (build and run) classpath

2005-12-30 Thread Huw Roberts

Hi All, [note newby]
1.  I've been given a third-party jar which forms part of the acceptance 
tests that need to be run for my deliverable.  This jar needs to be 
available for compilation and run of my tests.  I don't think the jar 
really belongs in my repository because it's not really a deliverable, 
although I may receive different versions of it that I may need to 
incorporate. 

2.  I'm also struggling with the relationship between the repository 
into-which I will (ultimately) place my built artifacts, and my 
source-code control system (SVN) into-which I am currently checking my 
source code.  Should maven take care of this for me, or should I carry 
on as I am.

My SVN repository looks like this:

+- branches
+- tags
+- trunk
  +- pom.xml
  +- src
  |  +- main
  |  |  +...
  |  +- test
  |  |  +...
  +- target
 +...

3.  This is a little unsatisfactory since the target lives inside the 
checkout area (hence risk of checking it in).

Any thoughts?
Help.
   


Thanks,
Huw
--
Huw Roberts



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



Re: How to use continuum with Maven2? - Please Help

2005-12-30 Thread raghurajan . x . gurunathan
All Thanks again,

Here after going thru url format i changed it like this

   
 scm|clearcase|C:\views\Raghu_dev_prj|Shop
   

Here C:\views is where my views are there
Raghu is the user name
_dev_prj : project name
   Shop : module name where my pom.xml also there

when i build i'm getting

Provider message: The cleartool command failed.
Command output: 
---
cleartool: Error: Invalid view tag: "C:\views\Raghu_dev_prj".
---

what is wrong now?( i also tried 
scm|clearcase|C:/views/Raghu_dev_prj|Shop but got same 
error message)

And as aditional can anyone show me how do i give url for multimodule 
maven2 project at continuum?

Thanks,
===
Raghurajan Gurunathan || 
===

Re: Multiproject site

2005-12-30 Thread Srepfler Srgjan

Brett Porter wrote:


I wanted to compliment you on a job well done with this site - it's great!

- Brett

Fabrizio is a genius, he's an early adopter of maven 2 (I guess he 
should be a model for all)  and his displaytag* library is just great. I 
can't wait for 1.1 to go official.

Buon lavoro e felice Anno Nuovo!

Srgjan

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



Re: Multiproject site

2005-12-30 Thread Brett Porter
On 12/31/05, Fabrizio Giustina <[EMAIL PROTECTED]> wrote:
> While waiting for this solution to be implemented there are possible
> workarounds to make a multiproject site work.
>

The majority of these are now implemented for testing.

> This is the result, you can look to sources in cvs to see how it's generated:
> http://displaytag.sourceforge.net/11/

I wanted to compliment you on a job well done with this site - it's great!

- Brett

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



Re: How to use continuum with Maven2? - Please Help

2005-12-30 Thread dan tran
use http://maven.apache.org/scm/clearcase.html

to configure your cleasecase.

-D


On 12/30/05, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
>
> Thanks for your reply,
>
> i tried that but still getting some error,
>
> I have clearcase and lets say my views are in c:\views folder
>
> 
>scm:clearcase:/views/
> 
>
> and in my pom.xml ciManagement section i have
>
>continuum
>http://localhost:8080/continuum
>
> 
>
> Then added this pom.xml to maven 2+ project, then did build now and got
> the following error
>
> Provider message: The cleartool command failed.
> Command output:
>
> ---
> cleartool: Error: Attempt to get location information on
> "\\RaghuMachine\viewstore\Raghu-RaghuMachine-maven-15.vws" failed: No such
> file or
> directory.
>
> ---
>
>
>
>
>
> Thanks,
> ===
> Raghurajan Gurunathan ||
> ===
>


Re: How to use continuum with Maven2? - Please Help

2005-12-30 Thread Emmanuel Venisse

Do you have look at scm url format for clearcase? 
http://maven.apache.org/scm/clearcase.html

Emmanuel

[EMAIL PROTECTED] a écrit :

Thanks for your reply,

i tried that but still getting some error,

I have clearcase and lets say my views are in c:\views folder

  
scm:clearcase:/views/
 
 
and in my pom.xml ciManagement section i have


continuum
http://localhost:8080/continuum

 

Then added this pom.xml to maven 2+ project, then did build now and got 
the following error


Provider message: The cleartool command failed.
Command output: 
---
cleartool: Error: Attempt to get location information on "\\RaghuMachine\viewstore\Raghu-RaghuMachine-maven-15.vws" failed: No such file or 
directory.

---





Thanks,
===
Raghurajan Gurunathan ||
===



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



Re: Multiproject site

2005-12-30 Thread Fabrizio Giustina
On 12/30/05, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> Is this the right one?  The  section is commented out.
> http://cvs.sourceforge.net/viewcvs.py/displaytag/displaytag-doc/pom.xml?view=markup

see 
http://cvs.sourceforge.net/viewcvs.py/displaytag/displaytag/pom.xml?view=markup
the ant task is configured in child modules (the replacement needs to
be different for each module)

fabrizio

>
> Thanks,
> --
> Wendy
>
> -
> 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: How to use continuum with Maven2? - Please Help

2005-12-30 Thread raghurajan . x . gurunathan
Thanks for your reply,

i tried that but still getting some error,

I have clearcase and lets say my views are in c:\views folder

  
scm:clearcase:/views/
 
 
and in my pom.xml ciManagement section i have

continuum
http://localhost:8080/continuum

 

Then added this pom.xml to maven 2+ project, then did build now and got 
the following error

Provider message: The cleartool command failed.
Command output: 
---
cleartool: Error: Attempt to get location information on 
"\\RaghuMachine\viewstore\Raghu-RaghuMachine-maven-15.vws" failed: No such file 
or 
directory.
---





Thanks,
===
Raghurajan Gurunathan ||
===

Re: How to use continuum with Maven2? - Please Help

2005-12-30 Thread Emmanuel Venisse

http://maven.apache.org/continuum/guides/getting-started/index.html

[EMAIL PROTECTED] a écrit :

Hi,

Is there and kind of document which describes the steps to integrate 
Continuum with Maven2.?


Or Can anyone provide me how to do this with some sample pom ?



Thanks,
===
Raghurajan Gurunathan |
===



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



Re: Multiproject site

2005-12-30 Thread Wendy Smoak
On 12/30/05, Fabrizio Giustina <[EMAIL PROTECTED]> wrote:

> After playing with different solutions I am pretty happy with the
> result of having a single site.xml file, with statically-linked
> reports, copied to all child modules using the maven-antrun-plugin
> during the site goal.
>
> This is the result, you can look to sources in cvs to see how it's generated:
> http://displaytag.sourceforge.net/11/

Is this the right one?  The  section is commented out.
http://cvs.sourceforge.net/viewcvs.py/displaytag/displaytag-doc/pom.xml?view=markup

Thanks,
--
Wendy

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



Re: Multiproject site

2005-12-30 Thread Fabrizio Giustina
While waiting for this solution to be implemented there are possible
workarounds to make a multiproject site work.

After playing with different solutions I am pretty happy with the
result of having a single site.xml file, with statically-linked
reports, copied to all child modules using the maven-antrun-plugin
during the site goal.

This is the result, you can look to sources in cvs to see how it's generated:
http://displaytag.sourceforge.net/11/

cheers
fabrizio


On 12/30/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> All this is covered, I think.
>
> http://docs.codehaus.org/display/MAVEN/Sites+and+Inheritence
>
> - Brett
>
> On 12/31/05, Geoffrey <[EMAIL PROTECTED]> wrote:
> > Nice :)
> >
> > This is a long awaited feature for me.
> >
> > How far did you go for the site navigation issues never solved in maven 1?

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



Re: [m2] bootstraping fails if 'settings.xml' has a repository with 'scpexe' url

2005-12-30 Thread Arik Kfir
sure: http://jira.codehaus.org/browse/MNG-1907

On 12/30/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> can you put it in JIRA?
>
> On 12/31/05, Arik Kfir <[EMAIL PROTECTED]> wrote:
> > any chance it would be bundled in 2.0.2?
> >
> > On 12/30/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> > > I guess all of the integration tests should override settings.xml. Bit
> > > of a pain WRT local repository and all though.
> > >
> > > I agree that bundling scpexe might be a wise choice.
> > >
> > > - Brett
> > >
> > > On 12/31/05, Arik Kfir <[EMAIL PROTECTED]> wrote:
> > > > Hi,
> > > >
> > > > The IT tests fail with exceptions stating that "Unsupported Protocol:
> > > > 'scpexe': Cannot find wagon which supports the requested protocol:
> > > > scpexe"
> > > >
> > > > Of course they're right since the wagon ssh-external is not bundled by
> > > > default in maven. The question is: why? It's only a few kb and the
> > > > benefit is cool...
> > > >
> > > > To reproduce, make sure the scpexe-repo is in an active profile.
> > > >
> > > > --
> > > > Regards,
> > > > _
> > > > Arik Kfir[EMAIL PROTECTED]
> > > >
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > Regards,
> > _
> > Arik Kfir[EMAIL PROTECTED]
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Regards,
_
Arik Kfir[EMAIL PROTECTED]


Re: [m2] bootstraping fails if 'settings.xml' has a repository with 'scpexe' url

2005-12-30 Thread Brett Porter
can you put it in JIRA?

On 12/31/05, Arik Kfir <[EMAIL PROTECTED]> wrote:
> any chance it would be bundled in 2.0.2?
>
> On 12/30/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> > I guess all of the integration tests should override settings.xml. Bit
> > of a pain WRT local repository and all though.
> >
> > I agree that bundling scpexe might be a wise choice.
> >
> > - Brett
> >
> > On 12/31/05, Arik Kfir <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > The IT tests fail with exceptions stating that "Unsupported Protocol:
> > > 'scpexe': Cannot find wagon which supports the requested protocol:
> > > scpexe"
> > >
> > > Of course they're right since the wagon ssh-external is not bundled by
> > > default in maven. The question is: why? It's only a few kb and the
> > > benefit is cool...
> > >
> > > To reproduce, make sure the scpexe-repo is in an active profile.
> > >
> > > --
> > > Regards,
> > > _
> > > Arik Kfir[EMAIL PROTECTED]
> > >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Regards,
> _
> Arik Kfir[EMAIL PROTECTED]
>

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



Re: [m2] bootstraping fails if 'settings.xml' has a repository with 'scpexe' url

2005-12-30 Thread Arik Kfir
any chance it would be bundled in 2.0.2?

On 12/30/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> I guess all of the integration tests should override settings.xml. Bit
> of a pain WRT local repository and all though.
>
> I agree that bundling scpexe might be a wise choice.
>
> - Brett
>
> On 12/31/05, Arik Kfir <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > The IT tests fail with exceptions stating that "Unsupported Protocol:
> > 'scpexe': Cannot find wagon which supports the requested protocol:
> > scpexe"
> >
> > Of course they're right since the wagon ssh-external is not bundled by
> > default in maven. The question is: why? It's only a few kb and the
> > benefit is cool...
> >
> > To reproduce, make sure the scpexe-repo is in an active profile.
> >
> > --
> > Regards,
> > _
> > Arik Kfir[EMAIL PROTECTED]
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Regards,
_
Arik Kfir[EMAIL PROTECTED]


RE: How to use continuum with Maven2? - Please Help

2005-12-30 Thread Dixit, Sandeep (ProSource Solutions)
Below is a sample ciManagement and scm tags from my pom.xml. Once you
add this to the pom.xml, simply import or point to the pom url in
continuum as per the user guide. 



  
scm|local|C:/proj_folder|module_folder
  

  continuum
  


  mail
  
[EMAIL PROTECTED]
  


  



Hope this helps,
Sandeep

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Friday, December 30, 2005 1:21 PM
To: Maven Users List
Subject: How to use continuum with Maven2? - Please Help

Hi,

Is there and kind of document which describes the steps to integrate 
Continuum with Maven2.?

Or Can anyone provide me how to do this with some sample pom ?



Thanks,
===
Raghurajan Gurunathan |
===

---
***National City made the following annotations
---
This communication is a confidential and proprietary business communication.  
It is intended solely for the use of the designated recipient(s).  If this 
communication is received in error, please contact the sender and delete this 
communication.
===

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



How to use continuum with Maven2? - Please Help

2005-12-30 Thread raghurajan . x . gurunathan
Hi,

Is there and kind of document which describes the steps to integrate 
Continuum with Maven2.?

Or Can anyone provide me how to do this with some sample pom ?



Thanks,
===
Raghurajan Gurunathan |
===

Re: [m2] bootstraping fails if 'settings.xml' has a repository with 'scpexe' url

2005-12-30 Thread Brett Porter
I guess all of the integration tests should override settings.xml. Bit
of a pain WRT local repository and all though.

I agree that bundling scpexe might be a wise choice.

- Brett

On 12/31/05, Arik Kfir <[EMAIL PROTECTED]> wrote:
> Hi,
>
> The IT tests fail with exceptions stating that "Unsupported Protocol:
> 'scpexe': Cannot find wagon which supports the requested protocol:
> scpexe"
>
> Of course they're right since the wagon ssh-external is not bundled by
> default in maven. The question is: why? It's only a few kb and the
> benefit is cool...
>
> To reproduce, make sure the scpexe-repo is in an active profile.
>
> --
> Regards,
> _
> Arik Kfir[EMAIL PROTECTED]
>

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



[m2] bootstraping fails if 'settings.xml' has a repository with 'scpexe' url

2005-12-30 Thread Arik Kfir
Hi,

The IT tests fail with exceptions stating that "Unsupported Protocol:
'scpexe': Cannot find wagon which supports the requested protocol:
scpexe"

Of course they're right since the wagon ssh-external is not bundled by
default in maven. The question is: why? It's only a few kb and the
benefit is cool...

To reproduce, make sure the scpexe-repo is in an active profile.

--
Regards,
_
Arik Kfir[EMAIL PROTECTED]


Re: Where's 2.0.2?

2005-12-30 Thread Brett Porter
On 12/31/05, Daniel Kulp <[EMAIL PROTECTED]> wrote:
> surefire:  the whole forkmode thing.  We need the forkmode pertest to
> work.This is a "must be released" thing.   I think its MSUREFIRE-20.

Ok, I've been a bit out of the loop on this one - I thought that made
it into 2.1.1.

> antrun: the snapshot add the testSourceRoot item which we need to generate
> test sources.  Worked with Kenny on irc to resolve this issue.  This is
> also a "must be released" thing.   Don't think there is a JIRA number for
> it.

No problem.

> Not sure about:
> jxr-maven-plugin
> jdepend-maven-plugin
> maven-site-plugin
> maven-javadoc-plugin  - Carlos would need to answer these ones since he
> added them to our pom.   We don't need the jxr or jdepend info for
> anything so we could remove those.   Javadoc is needed, but we may be
> able to use the release version.   No idea on the site thing.
>
> Those are all the snapshots (other than our own) that are in
> my .m2/repository.

Some of these are still in beta, though mostly are for "internal" use.
Only javadoc would be used to produce something for distribution, I
imagine.

> If none of these are on the plan to release with 2.0.2, how can I find out
> what the plans are?

That's something we're working through on dev@ to see how to keep each
plugin healthy and communicate status. Stay tuned. I was just gauging
this on recent activity.

> Really, the only high priority ones are surefire and antrun.   The others
> are easily enough disabled or worked around to meet our release
> requirements.

We'll have at least these done alongside or before 2.0.2.

- Brett

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



Re: Where's 2.0.2?

2005-12-30 Thread Daniel Kulp
Brett,

> > However, 2.0.1 and several of the released
> > plugins (surefire, antrun, compile, etc...) don't work for our builds
> > and we need the updates in order to build.
> Can you please list these JIRA issues out. We don't have plans to
> release any of these three before 2.0.2.

I'm not sure on the JIRA numbers, but here goes:

surefire:  the whole forkmode thing.  We need the forkmode pertest to 
work.This is a "must be released" thing.   I think its MSUREFIRE-20.

antrun: the snapshot add the testSourceRoot item which we need to generate 
test sources.  Worked with Kenny on irc to resolve this issue.  This is 
also a "must be released" thing.   Don't think there is a JIRA number for 
it.

compile: this is recent.   Carlos updated our pom to use the latest 
compile plugin due to changes in the configuration to make it more usable 
for JDK 1.5 users.  (Xlint flags)   Carlos would have more details.   We 
COULD back this out back to the older version if needed.   Not a big 
deal.   We're using the snapshot to help with testing.


Not required to build/test, but nice to have:
pmd: we need the ruleset config item that Carlos added the other day.  We 
can turn off pmd if we had to.

Not sure about:
jxr-maven-plugin
jdepend-maven-plugin
maven-site-plugin
maven-javadoc-plugin  - Carlos would need to answer these ones since he 
added them to our pom.   We don't need the jxr or jdepend info for 
anything so we could remove those.   Javadoc is needed, but we may be 
able to use the release version.   No idea on the site thing.

Those are all the snapshots (other than our own) that are in 
my .m2/repository.   


If none of these are on the plan to release with 2.0.2, how can I find out 
what the plans are?   I was planning on merging the changes to completely 
change over to maven (from ant) on Tuesday.   If there aren't plans to 
release these by mid-January, I cannot do that and we'll probably need to 
drop all maven migration plans and work for a while.   No sense 
continuing to spend my time working on something we won't be able to use.   
Really, the only high priority ones are surefire and antrun.   The others 
are easily enough disabled or worked around to meet our release 
requirements.   

Thanks!
-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727  C: 508-380-7194
[EMAIL PROTECTED]

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



Re: Multiproject site

2005-12-30 Thread Brett Porter
All this is covered, I think.

http://docs.codehaus.org/display/MAVEN/Sites+and+Inheritence

- Brett

On 12/31/05, Geoffrey <[EMAIL PROTECTED]> wrote:
> Nice :)
>
> This is a long awaited feature for me.
>
> How far did you go for the site navigation issues never solved in maven 1?
>
> All modules and the multiproject are part of one single website.
> A single website should have a single menu, not a different one for
> every module (although other module menu's can be collapsed as part of
> the tree menu).
> Is there some feature that allows module's site.xml to be included in
> the multiproject's site.xml to avoid duplicate menu descriptions?
>
> --
> With kind regards,
> Geoffrey De Smet
>
> Brett Porter wrote:
> > Actually it will be available in the next release of the site plugin,
> > which is compatible with 2.0.2 (it is working in SVN).
> >
> > - Brett
> >
> > On 12/30/05, Geoffrey <[EMAIL PROTECTED]> wrote:
> >> They are working on "multiproject:site".
> >> Multiprojects are indeed build in with the module system (already in
> >> maven 2.0 & 2.0.1).
> >> I believe multiproject:site is for 2.1.
> >>
> >> Geoffrey
> >>
> >> Damien Viel wrote:
> >>> Hi,
> >>>
> >>> I've read that the multiproject is build-in with Maven 2.
> >>> But I can't find the way to create a site for multiproject like in Maven
> >>> 1.
> >>> Is it possible ?
> >>>
> >>> Tks.
> >>>
> >>> Damien
> >>> --
> >>> Damien Viel | +33 1 41 97 83 20 | [EMAIL PROTECTED]
> >>> --
> >>> __/ \__ | http://www.improve.fr
> >>> improve | http://www.application-servers.com
> >>> /_\-| http://www.improve-technologies.com
> >>> --
> >>
> >> -
> >> 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]



[m2] Happy New Year

2005-12-30 Thread Srepfler Srgjan

We appreciate very much all the fine work that came out this 2005.
You are doing a really nice framework and I hope it'll be even livelier 
during 2006.
I hope that you'll evangelize more it's use especially among apache 
projects and that you'll start the "circle of trust" so that the owners 
might put new pom's by themselves.
Also I hope to see better integration with eclipse and the WTP plugin 
(1.0 or 1.5), TestNG support and early JUnit 4 adoption, code-gen stuff 
like xdoclet or andromda  for struts, hibernate, beehive etc.
All that said, my best wishes for the New Year 2006 to all maven 
developers and users, you're a great lot.

Cheers,

Srepfler Srgjan

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



Re: M2 jdk 1.5 suggestion

2005-12-30 Thread Brett Porter
Yet another 2.1 feature (sorry, I know I've been promising all this
stuff in the next version a lot recently!)

I've added a description and page for discussion:
http://docs.codehaus.org/display/MAVEN/Applying+toolchain+across+plugins

Maybe some of the items on that page need JIRA references or better
descriptions so that it is clearer where we are heading?

Cheers,
Brett

On 12/31/05, Daniel Kulp <[EMAIL PROTECTED]> wrote:
>
> A quick suggestion for Maven...
>
> It would be nice if the pom (or top level pom in a multi-project project)
> could contain a single element like:
> 1.5 
> or similar that configures the java level for the project.   All the
> plugins that need that information could then use that information as the
> default.   I've discovered I've had to configure that information in
> several places.  Compiler plugin, clover plugin, pmd plugin, etc...  and
> each place is different on how it needs to be configured.   It would be
> nice to just specify it once and be done with it.   Would make the poms
> smaller as I wouldn't need configuration for each plugin that needs the
> jdk level.
>
> Thanks!
> --
> J. Daniel Kulp
> Principal Engineer
> IONA
> P: 781-902-8727  C: 508-380-7194
> [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: [m2] dbMonster or dbUnit howto's

2005-12-30 Thread Srepfler Srgjan




I don't use it. In fact, I don't even know what it does.


Adam

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



http://dbmonster.kernelpanic.pl/
dbMonster is a tool which helps database application developers with 
tuning the structure of the database, tuning the usage of indexes, and 
testing the application performance under heavy database load. dbMonster 
generates as much random test data as you wish and puts it into SQL 
database. It provides a very pluggable interface and is trivial to use.



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



Re: Where's 2.0.2?

2005-12-30 Thread Brett Porter
On 12/31/05, Daniel Kulp <[EMAIL PROTECTED]> wrote:
> I don't want to sound facetious, but these kinds of responses are not
> exactly useful

I agree, but I think it was meant in good humour.

> However, 2.0.1 and several of the released
> plugins (surefire, antrun, compile, etc...) don't work for our builds and
> we need the updates in order to build.

Can you please list these JIRA issues out. We don't have plans to
release any of these three before 2.0.2.

> We kind of need to at least know when we can expect a 2.0.2 release (along
> with the plugins) so we can let our customers know when we can expect to
> be able to release product to them.  Are we talking early-January,
> late-January, February sometime,... ?   These things are important.   We
> are planning a January 30th release, but if the builds cannot be done by
> then, we need to re-think that idea.

Early January for 2.0.2. It was originally planned to have been
shortly before Christmas, but given that most folk are not here or
on/offline regularly we're just waiting until everyone gets back.

> That all said, the Maven folks have done a GREAT job of helping us figure
> out if problems are our fault or the fault of Maven bugs and then getting
> Maven fixed.   A big "hats off" to everyone.  2.0.2 looks like it will be
> a huge step forward.

Thanks!

- Brett

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



Re: Where's 2.0.2?

2005-12-30 Thread Daniel Kulp

On Friday 30 December 2005 11:23, Jesse McConnell wrote:
> 2.0.2-SNAPSHOT is available on the maven-2.0.x branch in svn
> release date for 2.0.2 according to trygvis is 'next year sometime' :P

I don't want to sound facetious, but these kinds of responses are not 
exactly useful

Due to escrow and reproducibility requirements, our lawyers won't allow us 
to release any products or patches to customers that are built with any 
snapshot/beta/etc...  tools.   However, 2.0.1 and several of the released 
plugins (surefire, antrun, compile, etc...) don't work for our builds and 
we need the updates in order to build.   Thus, right now, we cannot 
release product.   This is definitely the #1 concern I had/have with 
changing from ant to maven.   We had a lot more control with ant.   
Things will get better long term as Maven stabilizes (the whole "ready 
for production discussion), but short term we need better communication.

We kind of need to at least know when we can expect a 2.0.2 release (along 
with the plugins) so we can let our customers know when we can expect to 
be able to release product to them.  Are we talking early-January, 
late-January, February sometime,... ?   These things are important.   We 
are planning a January 30th release, but if the builds cannot be done by 
then, we need to re-think that idea.

That all said, the Maven folks have done a GREAT job of helping us figure 
out if problems are our fault or the fault of Maven bugs and then getting 
Maven fixed.   A big "hats off" to everyone.  2.0.2 looks like it will be 
a huge step forward.

Thanks!
Dan


On Friday 30 December 2005 11:23, Jesse McConnell wrote:
> 2.0.2-SNAPSHOT is available on the maven-2.0.x branch in svn
>
> release date for 2.0.2 according to trygvis is 'next year sometime' :P
>
> jesse
>
> On 12/30/05, Mike Perham <[EMAIL PROTECTED]> wrote:
> > There was talk of a quick Maven 2.0.2 to fix some critical bugs in
> > 2.0.1 but it's been MIA for the last two weeks.  What's the current
> > release plan?
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
> --
> jesse mcconnell

-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727  C: 508-380-7194
[EMAIL PROTECTED]

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



Re: Where's 2.0.2?

2005-12-30 Thread Bernd Bohmann
svn co 
http://svn.apache.org/repos/asf/maven/components/branches/maven-2.0.x/ 
maven-2.0.x



Jesse McConnell schrieb:

2.0.2-SNAPSHOT is available on the maven-2.0.x branch in svn

release date for 2.0.2 according to trygvis is 'next year sometime' :P

jesse

On 12/30/05, Mike Perham <[EMAIL PROTECTED]> wrote:


There was talk of a quick Maven 2.0.2 to fix some critical bugs in 2.0.1
but it's been MIA for the last two weeks.  What's the current release
plan?

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






--
jesse mcconnell



--
Dipl.-Ing. Bernd Bohmann - Atanion GmbH - Software Development
Bismarckstr. 13, 26122 Oldenburg, http://www.atanion.com
phone: +49 441 4082312, mobile: +49 173 8839471, fax: +49 441 4082333

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



Re: Where's 2.0.2?

2005-12-30 Thread Jesse McConnell
2.0.2-SNAPSHOT is available on the maven-2.0.x branch in svn

release date for 2.0.2 according to trygvis is 'next year sometime' :P

jesse

On 12/30/05, Mike Perham <[EMAIL PROTECTED]> wrote:
>
> There was talk of a quick Maven 2.0.2 to fix some critical bugs in 2.0.1
> but it's been MIA for the last two weeks.  What's the current release
> plan?
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
jesse mcconnell


Where's 2.0.2?

2005-12-30 Thread Mike Perham
There was talk of a quick Maven 2.0.2 to fix some critical bugs in 2.0.1
but it's been MIA for the last two weeks.  What's the current release
plan?

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



Id of company repository

2005-12-30 Thread Tom Joad
Hello all,
I want to set up a two level of maven-proxy.
The firts one is located on a machine with internet connection. The
second one is such that
it's a mirror of the first one and installed on a machine with no
internet connexion. But Developpers must reference the second instead
of the first.(This is a constraint of security, implemented by the use
of different level of private networking)   Logically, On each
developper's settings.xml, I must declare mirror tags. My problem is
to give a value to mirrorof tag.
If I give central or other public maven mirror , the download
processing try to go directly on internet and fails(no internet
connection)
My question:
1- is my configuration possible?
2- If so How an where i declare the Id of my first repository such it
is known by all my maven installations?

Thanks in advance ,

Tom.

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



Re: Multiproject site

2005-12-30 Thread Geoffrey

Nice :)

This is a long awaited feature for me.

How far did you go for the site navigation issues never solved in maven 1?

All modules and the multiproject are part of one single website.
A single website should have a single menu, not a different one for 
every module (although other module menu's can be collapsed as part of 
the tree menu).
Is there some feature that allows module's site.xml to be included in 
the multiproject's site.xml to avoid duplicate menu descriptions?


--
With kind regards,
Geoffrey De Smet

Brett Porter wrote:

Actually it will be available in the next release of the site plugin,
which is compatible with 2.0.2 (it is working in SVN).

- Brett

On 12/30/05, Geoffrey <[EMAIL PROTECTED]> wrote:

They are working on "multiproject:site".
Multiprojects are indeed build in with the module system (already in
maven 2.0 & 2.0.1).
I believe multiproject:site is for 2.1.

Geoffrey

Damien Viel wrote:

Hi,

I've read that the multiproject is build-in with Maven 2.
But I can't find the way to create a site for multiproject like in Maven
1.
Is it possible ?

Tks.

Damien
--
Damien Viel | +33 1 41 97 83 20 | [EMAIL PROTECTED]
--
__/ \__ | http://www.improve.fr
improve | http://www.application-servers.com
/_\-| http://www.improve-technologies.com
--


-
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: Creating archetype with resources in package directory

2005-12-30 Thread Nathan Hamblen
Thanks so much, that did the trick.

Docs people: It would be helpful for the archetype create page to have
Milos's example, as well as that of standard resources:

  
src/main/resources/hibernate.properties
src/main/webapp/WEB-INF/web.xml
  

Nathan

Milos Kleint wrote:

> hmm, not sure if it's the right solution, but I just specified the
> resources to be sources..
>   
> src/main/resources/layer.xml
> src/main/resources/Bundle.properties
>   
> that seemed to do the trick as far as I remember.
> 
> Regards
> 
> Milos
> 
> On 12/29/05, Nathan Hamblen <[EMAIL PROTECTED]> wrote:
>>
>> I'd like to create an archetype that builds projects with a resource that
>> maps to the same directory where the class files will eventually reside.
>> The Maven 2 project itself would have the following structure:
>>
>> src
>> `-- main
>> |-- java
>> |   `-- somepackagename
>> |   `-- SomeClassName.java
>> `-- resources
>> `-- somepackagename
>> `-- SomeClassName.properties
>>
>> This works fine, I just can't figure out how to create it via an
>> archetype.
>> SomeClassName.java will be put into whatever package the user requests
>> automatically, but the properties file will just sit under "resources".
>>
>> Is there a way to do this -- and I don't mind if it's ugly -- or is the
>> archetype creator just not that flexible yet?
>>
>> (Hi, I'm new here. Thanks for Maven 2; it's saving my life!)
>>
>> Nathan
>>
>>
>> -
>> 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]



M2 jdk 1.5 suggestion

2005-12-30 Thread Daniel Kulp

A quick suggestion for Maven...

It would be nice if the pom (or top level pom in a multi-project project) 
could contain a single element like:
1.5 
or similar that configures the java level for the project.   All the 
plugins that need that information could then use that information as the 
default.   I've discovered I've had to configure that information in 
several places.  Compiler plugin, clover plugin, pmd plugin, etc...  and 
each place is different on how it needs to be configured.   It would be 
nice to just specify it once and be done with it.   Would make the poms 
smaller as I wouldn't need configuration for each plugin that needs the 
jdk level.

Thanks!
-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727  C: 508-380-7194
[EMAIL PROTECTED]

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



Re: Multiproject site

2005-12-30 Thread Koen Maes
It is supported by providing a parent pom.xml and for each project (module in 
maven2) a module pom.xml. then you can simply do 'maven site' to generate the 
multiproject (multimodule) site.
see here : http://maven.apache.org/guides/mini/guide-multi-module.html

On Thursday 29 December 2005 18:29, Brett Porter wrote:
> Actually it will be available in the next release of the site plugin,
> which is compatible with 2.0.2 (it is working in SVN).
>
> - Brett
>
> On 12/30/05, Geoffrey <[EMAIL PROTECTED]> wrote:
> > They are working on "multiproject:site".
> > Multiprojects are indeed build in with the module system (already in
> > maven 2.0 & 2.0.1).
> > I believe multiproject:site is for 2.1.
> >
> > Geoffrey
> >
> > Damien Viel wrote:
> > > Hi,
> > >
> > > I've read that the multiproject is build-in with Maven 2.
> > > But I can't find the way to create a site for multiproject like in
> > > Maven 1.
> > > Is it possible ?
> > >
> > > Tks.
> > >
> > > Damien
> > > --
> > > Damien Viel | +33 1 41 97 83 20 | [EMAIL PROTECTED]
> > > --
> > > __/ \__ | http://www.improve.fr
> > > improve | http://www.application-servers.com
> > > /_\-| http://www.improve-technologies.com
> > > --
> >
> > -
> > 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: M2 changelog plugin w/ CVS (not SVN)

2005-12-30 Thread Darren Hartford
There are no changelog reports being generated (all the data is blank).
As you can see by the pom.xml example I provided, I am supplying a
 but the changelog appears to be ignoring it and using the
 (which, with at least the CVS url I provided, doesn't seem to do
anything).

-D

> -Original Message-
> From: Edwin Punzalan [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, December 28, 2005 8:49 PM
> To: Maven Users List
> Subject: Re: M2 changelog plugin w/ CVS (not SVN)
> 
> Hi,
> 
> The scmUrl is used to generate links from the generated 
> report and is correct based from your pom. 
> 
> The  will be used by the plugin if it exists 
> or else  or lastly, .
> 
> Can you give more details on your problem please.
> 
> 
> Btw, you still need to have cvs installed in your system and 
> added to your path so changelog can generate the report. ^_^
> 
> 
> 
> 
> 
> 
> Darren Hartford wrote:
> 
> >Hey all,
> >I'm trying to use the maven-changelog-plugin for Maven2 version
> >2.0-beta-1 without success against a CVS SCM. Most of the examples I
> >have seen have been with SVN, and I need this to work with CVS. I'm
> >using a known SCM connection string that works with the 
> Maven1-version
> >of changelog plugin.
> >
> >Of note, the -X debug shows the URL for the lookup:
> >[DEBUG]   (f) scmUrl =
> >http://cvs.mycomp.blah/cgi-bin/viewcvs.cgi/MYPROJECT/?root=project1
> >
> >Any ideas please?
> >
> >-D
> >
> >Relevant pom.xml
> >===
> >
> > 
> >scm:cvs:pserver:cvs.mycomp.blah:/cvsroot/project1
> :MYPROJECT<
> >/connection>
> > 
> >http://cvs.mycomp.blah/cgi-bin/viewcvs.cgi/MYPROJECT/?ro
> ot=project1
> >
> >
> >
> >...
> >
> >
> >  org.codehaus.mojo
> >  changelog-maven-plugin
> >  2.0-beta-1
> >
> >===
> >
> >-
> >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: M2: Setting up remote/internal repository

2005-12-30 Thread Law Green-A20134
Tim,

Can you check ~/.m2/settings.xml file? I guess modify  section.



Regards,
Green

-Original Message-
From: Tim Davies [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 30, 2005 9:24 PM
To: users@maven.apache.org
Subject: M2: Setting up remote/internal repository

Hi,

I have been trying to set up maven2 to use for several projects and for
several developers.

One of the features I am keen to make use of is my own remote or
internal repository.

If I run a maven build on my local machine then maven will automatically
download all the required dependencies from central.

Then I copy the contents of my local repository to my remote/internal
repository location.
I switch my repository config in the pom to point to this instead of
central and disable central.
I delete the contents of my local repository.

If I run the build again it says that it cannot retrieve the files from
my internal repository even though I can browse these files through a
web browser with no problem.

I appreciate that maven-proxy may offer a way around this problem but I
feel like Im missing something essential in the way that an internal
repository is supposed to work.

Can anyone shed any light?

Many thanks,

Tim Davies



--
Tim Davies
Analyst Developer

KTS PLC: Service you can bank on
8th Floor, Finsbury Tower,
103-105 Bunhill Row,
London  EC1Y 8LZ
tel: +44 (0)20 7256 2300
fax: +44 (0)20 7256 2301

email: [EMAIL PROTECTED]
web: http://www.ktsplc.com 


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



M2: Setting up remote/internal repository

2005-12-30 Thread Tim Davies

Hi,

I have been trying to set up maven2 to use for several projects and for 
several developers.


One of the features I am keen to make use of is my own remote or 
internal repository.


If I run a maven build on my local machine then maven will automatically 
download all the required dependencies from central.


Then I copy the contents of my local repository to my remote/internal 
repository location.
I switch my repository config in the pom to point to this instead of 
central and disable central.

I delete the contents of my local repository.

If I run the build again it says that it cannot retrieve the files from 
my internal repository even though I can browse these files through a 
web browser with no problem.


I appreciate that maven-proxy may offer a way around this problem but I 
feel like Im missing something essential in the way that an internal 
repository is supposed to work.


Can anyone shed any light?

Many thanks,

Tim Davies



--
Tim Davies
Analyst Developer

KTS PLC: Service you can bank on
8th Floor, Finsbury Tower,
103-105 Bunhill Row,
London  EC1Y 8LZ
tel: +44 (0)20 7256 2300
fax: +44 (0)20 7256 2301

email: [EMAIL PROTECTED]
web: http://www.ktsplc.com 



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



RE: Multiproject site

2005-12-30 Thread Damien Viel
Perfect !!

Thks All !!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Brett Porter
Sent: jeudi 29 décembre 2005 18:30
To: Maven Users List
Subject: Re: Multiproject site


Actually it will be available in the next release of the site plugin,
which is compatible with 2.0.2 (it is working in SVN).

- Brett

On 12/30/05, Geoffrey <[EMAIL PROTECTED]> wrote:
> They are working on "multiproject:site".
> Multiprojects are indeed build in with the module system (already in 
> maven 2.0 & 2.0.1). I believe multiproject:site is for 2.1.
>
> Geoffrey
>
> Damien Viel wrote:
> > Hi,
> >
> > I've read that the multiproject is build-in with Maven 2. But I 
> > can't find the way to create a site for multiproject like in Maven 
> > 1. Is it possible ?
> >
> > Tks.
> >
> > Damien
> > --
> > Damien Viel | +33 1 41 97 83 20 | [EMAIL PROTECTED]
> > --
> > __/ \__ | http://www.improve.fr
> > improve | http://www.application-servers.com
> > /_\-| http://www.improve-technologies.com
> > --
>
>
> -
> 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: [m2] how to use mvn to check out from subversion?

2005-12-30 Thread Emmanuel Venisse

You can use the maven-scm plugin : 
http://maven.apache.org/scm/plugins/index.html

Emmanuel

Man-Chi Leung a écrit :

how to use mvn to perform common operation for subversion?
* co
* update
* add
* move
* delete
* commit?

may I know the plugin configure that I need to put in pom.xml?

Regards,
~manchi

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



[m2] how to use mvn to check out from subversion?

2005-12-30 Thread Man-Chi Leung

how to use mvn to perform common operation for subversion?
* co
* update
* add
* move
* delete
* commit?

may I know the plugin configure that I need to put in pom.xml?

Regards,
~manchi

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