Re: [m2] status of SCM plugin

2005-08-15 Thread Jason Grant
That worked well, with a small tweak that I'm describing here for the
benefit of others.  Currently on HEAD, the starteam provider project
fails its tests, and hence the top-level deploy doesn't complete.  Given
that I only require svn functionality, I simply removed the starteam
project (and parent pom reference to it), and I was able to deploy to my
local shapshot repo by altering the top-level dependencyManagement
section, and removing the one in the plugin project (so that it
inherits).

On Tue, 2005-08-16 at 00:28 +1000, Brett Porter wrote:


> release, but an m2 install from that directory will do it in the mean




Re: URL format [a3 and m2a3]

2005-08-15 Thread Sidart Kurias
Trygve

Thanks, That solved  that one issue.

Sid
--- Trygve Laugstøl <[EMAIL PROTECTED]> wrote:

> On Fri, Aug 12, 2005 at 10:53:40PM -0700, Sidart
> Kurias wrote:
> > Reading the posts I still cannot seem to get my
> url
> > format correct...Keep getting the message you must
> > provide a valid url.
> > 
> > My url is
> >
>
scm:cvs:pserver:[EMAIL PROTECTED]:/cvsroot:projectname/pom.xml
> > 
> > I have tried both with the pom.xml and dropping
> the
> > pom.xml at the end. I can only assume this is now
> a
> > password issue. Is the message the same if cvs
> access
> > is denied.
> 
> Where are you giving this url? What Continuum
> expects here is an URL to
> the pom.xml, like this:
> 
>  
>
https://svn.apache.org/repos/asf/maven/components/trunk/pom.xml
> 
> --
> Trygve
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: [m2] Application Assembly

2005-08-15 Thread Jason Grant
Hi Daniel,

FYI, I have assembly patches sitting in Jira, and awaiting publication
to svn:

1) MNG-723: Adds an 'unpack' goal that unpacks all project dependencies
(jars and zips) into the working directory.
2) MNG-483: Attaches all assemblies as project artifacts, so that they
get installed automatically during 'install'.  (Your subsequent patch
will have implications here)

J.

On Mon, 2005-08-15 at 14:56 -0400, Daniel Krisher wrote:

> See MNG-735 for a patch that adds support for a 'directory' archive type
> 




Re: [m1.1] jar/war deploy doesn't Deploy

2005-08-15 Thread Brett Porter
You'll find them in c:\

The bug was fixed in the 1.6 release of the artifact plugin.

- Brett

On 8/16/05, Curtis, Harrison <[EMAIL PROTECTED]> wrote:
> In Maven 1.1 when a jar:deploy is performed the jar files in the local
> repository should be copied to the specified remotes.  My
> build.properties has the following entries to specify the remote:
> 
> maven.repo.list=R1
> maven.repo.R1=file://c:\\temp\\Maven
> maven.repo.R1.directory=repository
> 
> The following is an excerpt of the jar:deploy console log.  The plugin
> must understand the maven.repo.list set of properties.
> 
> jar:jar:
> 
> jar:deploy:
> [echo] Deploying...
> Will deploy to 1 repository(ies): R1
> Deploying to repository: R1
> Uploading to scnc_dbb_common/poms/DBUtil-1.2.pom:
>  (3K)
> Will deploy to 1 repository(ies): R1
> Deploying to repository: R1
> Uploading to scnc_dbb_common/jars/DBUtil-1.2.jar:
>  (73K)
> BUILD SUCCESSFUL
> Total time   : 10 seconds
> Finished at  : Monday, August 15, 2005 2:31:40 PM MDT
> 
> -
> 
> After the BUILD SUCCESSFUL, I looked in the
> c:/temp/Maven/repository/scnc_dbb_common/jars folder for the jar
> archive, MD5, or Sha1 files,  After the deploy they were not updated.
> It looks like the plugin is going through all the motions without
> effecting the result.  This is also true with the war:deploy, so I
> suspect there is another problem perhaps with the artifact plugin.
> 
> The deploy did work with the Maven 1.0.1 release.
> 
> Bud Curtis
> JDIMS Project
> L-3 Communications
> (719) 637-5633
> 
> -
> 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]



[m1.1] jar/war deploy doesn't Deploy

2005-08-15 Thread Curtis, Harrison
In Maven 1.1 when a jar:deploy is performed the jar files in the local
repository should be copied to the specified remotes.  My
build.properties has the following entries to specify the remote:

maven.repo.list=R1
maven.repo.R1=file://c:\\temp\\Maven
maven.repo.R1.directory=repository

The following is an excerpt of the jar:deploy console log.  The plugin
must understand the maven.repo.list set of properties.

jar:jar:

jar:deploy:
[echo] Deploying...
Will deploy to 1 repository(ies): R1
Deploying to repository: R1
Uploading to scnc_dbb_common/poms/DBUtil-1.2.pom:
 (3K)
Will deploy to 1 repository(ies): R1
Deploying to repository: R1
Uploading to scnc_dbb_common/jars/DBUtil-1.2.jar:
 (73K)
BUILD SUCCESSFUL
Total time   : 10 seconds
Finished at  : Monday, August 15, 2005 2:31:40 PM MDT

-

After the BUILD SUCCESSFUL, I looked in the
c:/temp/Maven/repository/scnc_dbb_common/jars folder for the jar
archive, MD5, or Sha1 files,  After the deploy they were not updated.
It looks like the plugin is going through all the motions without
effecting the result.  This is also true with the war:deploy, so I
suspect there is another problem perhaps with the artifact plugin.

The deploy did work with the Maven 1.0.1 release.

Bud Curtis
JDIMS Project
L-3 Communications
(719) 637-5633

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



[M2] Posted patch to JIRA to enable maven-archiver to accept custom manifest entries

2005-08-15 Thread Bennett, Timothy (JIS - Applications)
M2 contributors...
 
I posted a patch to enable plugins to add custom entries to an archive's
manifest file.  I needed this functionality for the maven-osgi-plugin,
and assume others might need it as well.
 
Please consider adding this to the M2 code.
 
http://jira.codehaus.org/browse/MNG-742
 
 
Thanks!
 
-- tbennett


Re: [M1] Developer Information

2005-08-15 Thread Craig S . Cottingham

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Aug 15, 2005, at 14:49, Michael Owen wrote:

I have many projects, and for each project a team of developers work 
on it. I would like to have  one place for each team where I 
update/edit the information about the developers and then I can import 
this information for a project, depending on which team is working on 
it.


...

Any ideas? It doesn't matter if I have to run a task with does a "copy 
and paste" for me, or is it a case of myself doing the copying and 
pasting?


XML entities, or XSLT.

- --
Craig S. Cottingham
[EMAIL PROTECTED]
OpenPGP key available from:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7977F79C
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFDAPJ6EJLQ3Hl395wRAmeVAJ47PpBaC7xDCJWa2+iyX8b2m1eykgCgscaZ
I8g/rqOAQCioZZFSqLxE8Os=
=jhnj
-END PGP SIGNATURE-


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



[M1] Developer Information

2005-08-15 Thread Michael Owen

Hi,

I have many projects, and for each project a team of developers work on it. 
I would like to have  one place for each team where I update/edit the 
information about the developers and then I can import this information for 
a project, depending on which team is working on it.


By developers information, I mean:

   
   
   bloggsj
   Joe Bloggs
   
   Maven Build
   
   

  etc. etc.

   

I know this sounds like an , however, my projects already  
something else.


Any ideas? It doesn't matter if I have to run a task with does a "copy and 
paste" for me, or is it a case of myself doing the copying and pasting?


Much appreciated.

Mike



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



RE: cruisecontrol's config.xml at default location gets deleted by build loop

2005-08-15 Thread Vincent Massol


> -Original Message-
> From: berndq [mailto:[EMAIL PROTECTED]
> Sent: lundi 15 août 2005 21:43
> To: Maven Users List
> Subject: cruisecontrol's config.xml at default location gets deleted by
> build loop
> 
> 
> All,
> 
> according to
> http://maven.apache.org/reference/plugins/cruisecontrol/properties.html
> the default filename for CC config file is
> ${maven.build.dir}/cruisecontrol/config.xml.
> 
> IMHO this is a bit problematic as during the build loop the build.dir
> is deleted:
>clean:clean:  [delete] Deleting directory /X/target
> and the config file is lost, resulting in errors from CC.
> 
> Is this a bug or is the user supposed the change the default value?

The default value was set on purpose. That's the only temporary place we can
assume (we could use some user temp location but that would be too much
magic I think). If you want to keep the config file, change the default
value. In any case you need to install the generated config file in your
runtime location (which could possible be on a different machine). There's a
cc:install-local goal to install the config file to a location on your disk.

-Vincent


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



cruisecontrol's config.xml at default location gets deleted by build loop

2005-08-15 Thread berndq


All,

according to
http://maven.apache.org/reference/plugins/cruisecontrol/properties.html
the default filename for CC config file is
${maven.build.dir}/cruisecontrol/config.xml.

IMHO this is a bit problematic as during the build loop the build.dir
is deleted:
  clean:clean:  [delete] Deleting directory /X/target
and the config file is lost, resulting in errors from CC.

Is this a bug or is the user supposed the change the default value?

Bernd



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



Re: [m2] Application Assembly

2005-08-15 Thread Daniel Krisher
See MNG-735 for a patch that adds support for a 'directory' archive type

On 8/14/05, Daniel Krisher <[EMAIL PROTECTED]> wrote:
> 
> Thanks for the quick response... I've already looked at the assembly 
> plugin source, I'll put together a patch tonight or tomorrow morning and 
> submit it along with a JIRA request. 
> 
> Thanks
> Dan Krisher
> 
> On 8/14/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> > 
> > Hi Daniel,
> > 
> > This sounds like a reasonable request. There are two things I can think 
> > of:
> > - create an assembly type that is just the directory
> > - pass a flag to the assembly plugin to not create the archive
> > 
> > The second would be preferable if at some point you intend to use the
> > archive to distribute. You could then pass it on the command line (or
> > place a small profile in the directory to always do it under
> > development), and use the intermediate directory under target. 
> > 
> > Could you please file this as a JIRA request? Also, if that is what
> > you want to do, it would be a fairly simple change so if you want to
> > make that change locally and submit a patch, we'd greatly appreciate
> > it :)
> > 
> > Thanks,
> > Brett
> > 
> > On 8/15/05, Daniel Krisher <[EMAIL PROTECTED]> wrote:
> > > I recently made the jump from Ant to Maven (2.0-beta snapshot), and I 
> > must 
> > > say that I am very impressed. Having never used Maven before, it only 
> > took a
> > > couple of hours to set up a fairly complex multi-module build process. 
> > We
> > > had spent a significant amount of time attempting to engineer a 
> > generic 
> > > ant-based build process by specifying inter-module dependancies, the 
> > result
> > > was a very messy practically unmaintainable set of build files 
> > (although
> > > they worked...). With maven, the setup was a breeze and we have gained 
> > 
> > > better maintainability and extensibility. My only gripe is the lack of
> > > documentation for Maven 2.0, which is completely understandable being 
> > a
> > > pre-release application.
> > >
> > > The one thing I have not been able to figure out with Maven is how to 
> > build 
> > > our application in a manner suitable for immediate use on the system 
> > it is
> > > being built on. I have been using the assembly plugin to specify the
> > > structure of the application, including dependancies, an executable 
> > jar, and 
> > > configuration/data files, which works just fine:
> > >
> > > assembly.tar.bz2:
> > > Application.jar (the executable jar)
> > > lib/ (directory containing all dependencies)
> > > config/ (directory containing runtime configuration) 
> > > data/ (directory containing data files)
> > >
> > > Our application is an OpenGL-based visualization tool, and 
> > unfortunately,
> > > much of the testing can not be easily automated (we need to analyze 
> > the
> > > appearance of OpenGL scenes). This means that during development, we
> > > frequently and repeatedly run the application after a build. Using the
> > > assembly plugin is the only way I have found to create the correct 
> > directory 
> > > structure for the application, however I would like to do this without
> > > actually archiving the components (i.e. create the file structure but 
> > don't
> > > tar/zip/etc it). Building the archive takes a significant amount of 
> > time, 
> > > and more often than not, we don't ever use the archive (except to 
> > extract
> > > the contents to the filesystem, run the application, and repeat the
> > > process).
> > >
> > > So my question is... Is there a way to specify an assembly-like 
> > structure ( 
> > > e.g. using bin.xml) to create a non-archived assembly?
> > >
> > >
> > > --
> > > Daniel Krisher
> > >
> > >
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> 
> -- 
> Daniel Krisher 




-- 
Daniel Krisher


Re: [M2] Requesting an example of a POM plugin entry for M2 plugin that allows the inclusion and exclusion of artifacts, and works

2005-08-15 Thread Andy Glick

Brett Porter wrote:
-> snip

Can you file a JIRA issue? (that way you can follow the fix).


Done, MNG-739


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



Re: [m1.1] JCoverage shows 0% for everything.

2005-08-15 Thread Scott Lamb

On Aug 15, 2005, at 5:55 AM, Hogeweg, Erwin (GE Infrastructure) wrote:

I can't get JCoverage to report the real numbers. It keeps telling  
me I have 0% coverage for everything.


I have this same problem. My workaround is to use an old version -  
it's a SNAPSHOT that was since updated, so it no longer exists on  
ibiblio. I just put it up on my website as http://www.slamb.org/maven/ 
maven-plugins/plugins/maven-cobertura-plugin-old.jar.


You might also look at this message - .


Another (possibly related) bug I've encountered is that subsequent  
runs don't always update the results. I don't remember the  
circumstances right now - whether adding/removing classes or  
modifying existing ones. In any case, I've been able to work around  
it by adding this to my maven.xml:


  

  

Good luck.

Regards,
Scott

--
Scott Lamb 



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



maven2 : packaging options

2005-08-15 Thread Rizwan Merchant

Hi,
I have a project with a number of sub-modules. I need to specify in some of
the sub-modules that those modules should not be jar-red. Basically, I want
to call the "m2 install" command on the head project, but jar only some of
the sub-modules. Is there an option for the  element that will
accomplish this?

thanks.



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



Re: Tomcat JSP Pre-compile using Maven

2005-08-15 Thread Adam Kramer

Farmer, Todd wrote:


Hi,



I'm looking for information or a tutorial on pre-compilation of JSP
pages using Maven.  I am using Tomcat 5 and the web app uses Struts with
Tiles.  Can anybody point me towards documentation or tutorials on this
task?

 


RTFM bro!
It's in the User's Guide on the Web site at 
http://maven.apache.org/using/war.html - Scroll down the page.


Adam




Thanks!




Todd Farmer 





 



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



SV: Tomcat JSP Pre-compile using Maven

2005-08-15 Thread mattias_xdin
Try the tomcat plugin:

http://maven.apache.org/reference/3rdparty.html

If you want to do it you self in a custom made goal, look at the
plugin.jelly script for the plugin.

Hi,

 

I'm looking for information or a tutorial on pre-compilation of JSP
pages using Maven.  I am using Tomcat 5 and the web app uses Struts with
Tiles.  Can anybody point me towards documentation or tutorials on this
task?

 

Thanks!

 

 
Todd Farmer 

 


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



Re: New PDF plugin SNAPSHOT

2005-08-15 Thread Lukas Theussl




Thanks, that was it.  Now I'm down to a duplicate id problem, which I 
see is

a known issue.  That will take a little longer to clean up. :)



Yes, we are working on that right now (MPPDF-40). Currently you have to 
avoid identical name and id tags within one source document (which you 
should do anyway if you want the xdoc output to be valid HTML).


Lukas

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



Tomcat JSP Pre-compile using Maven

2005-08-15 Thread Farmer, Todd
Hi,

 

I'm looking for information or a tutorial on pre-compilation of JSP
pages using Maven.  I am using Tomcat 5 and the web app uses Struts with
Tiles.  Can anybody point me towards documentation or tutorials on this
task?

 

Thanks!

 

 
Todd Farmer 

 



Re: [m2] status of SCM plugin

2005-08-15 Thread Brett Porter
On 8/16/05, Jason Grant <[EMAIL PROTECTED]> wrote:
> Based on (1) below, it looks like inclusion of an scm plugin was hoped
> for in m2, and based on (2), it "exists".  I notice that the
> release/reporting plugins depend on scm infrastructure, and this appears
> to reside at http://svn.apache.org/repos/asf/maven/scm/, however there
> is no binary for the plugin itself at ibiblio.  I'm wondering if the
> absence at ibiblio is an oversight, or whether it indicates that the
> plugin is unstable.  If the latter, will it be part of the m2 release?

It actually exists under that tree. It has not yet had a first
release, but an m2 install from that directory will do it in the mean
time.

> Also, does the fact that the 'scm' area of svn sits at the same level as
> 'components' and 'maven1' suggest that it's shared infrastructure,
> perhaps implying that the functionality is well-proven and hence stable?

It is shared infra like wagon. It is still alpha (ie, the API might
change), but it is well proven and has good tests (esp. cvs and svn).

- Brett

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



[m2] status of SCM plugin

2005-08-15 Thread Jason Grant
Based on (1) below, it looks like inclusion of an scm plugin was hoped
for in m2, and based on (2), it "exists".  I notice that the
release/reporting plugins depend on scm infrastructure, and this appears
to reside at http://svn.apache.org/repos/asf/maven/scm/, however there
is no binary for the plugin itself at ibiblio.  I'm wondering if the
absence at ibiblio is an oversight, or whether it indicates that the
plugin is unstable.  If the latter, will it be part of the m2 release?

Also, does the fact that the 'scm' area of svn sits at the same level as
'components' and 'maven1' suggest that it's shared infrastructure,
perhaps implying that the functionality is well-proven and hence stable?

Thanks,

Jason.

(1) http://jira.codehaus.org/browse/MNG-116
(2) http://docs.codehaus.org/display/MAVEN/Maven+Plugin+Matrix


Re: cc-plugin: Q about localWorkingCopy

2005-08-15 Thread berndq

berndq wrote:
How should one checkout different branches of a project? modify 

...

sorry, this is allready documented:
http://jira.codehaus.org/browse/MPCRUISECONTROL-21

Next time I will go to JIRA before posting to the list :-(

Bernd


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



Re: Newbe: how to use multiproject to checkout?

2005-08-15 Thread dan tran
Lucas,

multiproejct plugin relies on the present of the your source tree on
local disk to do
to work.  However you can still use maven-scm-plugin to checkout then entired
source tree in on command and build it a the same time.  The caveet here is that
maven-scm-plugin will fetch the entired source tree including your
unwant projects not in your multiproject list.

-D

On 8/15/05, Lucas Persson <[EMAIL PROTECTED]> wrote:
> Hi
> 
> I guess this must have been asked before but I do not find any answer
> for this.
> 
> How can I checkout all my projects which are pointed out in a
> multiproject?
> 
> I have a kind of "master" project and a couple of subprojects but
> in a flat structure to suit eclipse:
> 
> + multiproject
> + sub1project
> + sub2project
> 
> The multiproject has its properties like this:
> maven.multiproject.basedir=${basedir}/..
> maven.multiproject.includes=\
>sub1project/project.xml,\
>sub2project/project.xml
> 
> It is the same directory structure in CVS.
> 
> What I want to do is the following:
> 1) checkout multiproject from CVS
> 2) call a maven goal on the multiproject which will checkout
>   all subprojects.
> 
> Thanks!
> Lucas
> 
> 
> Lucas Persson
> Lead Designer
> Hotsip AB   Tel:   +46 8 454 05 49
> Barnhusgatan 16 Mobil: +46 730 94 66 56
> SE-111 23 Stockholm Fax:   +46 8 454 05 30
> Email: lucas.persson__a_hotsip.com
> SIP:   lucas.persson___a__hotsip.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]



cc-plugin: Q about localWorkingCopy

2005-08-15 Thread berndq

All,

what is the intenion behind setting the directory for the local working 
copy to a dir with the artifactID included:


localWorkingCopy="${maven.cruisecontrol.checkout.dir}/${pom.artifactId}" />?



How should one checkout different branches of a project? modify 
${maven.cruisecontrol.checkout.dir}? Wouldn't it be better to add the 
version toe the artifactID:


localWorkingCopy="${maven.cruisecontrol.checkout.dir}/${pom.artifactId}/${pom.currentVersion}

Then all branches of a project could live in the same checkout.dir.

Thanks for any insights.

Bernd


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



[m1.1] JCoverage shows 0% for everyting.

2005-08-15 Thread Hogeweg, Erwin \(GE Infrastructure\)
All,



  




  


  
  


  
  


  
  


  
  


  
  


  
  


  
  


  
  


  
  


  






































  

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



[m1.1] JCoverage shows 0% for everything.

2005-08-15 Thread Hogeweg, Erwin \(GE Infrastructure\)
All,

I can't get JCoverage to report the real numbers. It keeps telling me I have 0% 
coverage for everything.

I added a snippet of the JCoverage.xml below, together with the build section 
of the POM file. I know for sure that the SimpleQueue class is covered by my 
JUnit tests.

Please advise.

Thanks,

Erwin

  
src/main
src/test

  
src/resources
  


  
**/*Test.java
  

  

  




  


  
  


  
  


  
  


  
  


  
  


  
  


  
  


  
  


  
  


  






































  

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



Re: New PDF plugin SNAPSHOT

2005-08-15 Thread Wendy Smoak

From: "Lukas Theussl" <[EMAIL PROTECTED]>


Arnaud should have specified further that this plugin is for maven 1.1
only (I don't think the restriction to java 5 is correct). Maven 1.0.2
users will have to put a xalan jar into $MAVEN_HOME/lib/endorsed.


Thanks, that was it.  Now I'm down to a duplicate id problem, which I see is
a known issue.  That will take a little longer to clean up. :)

--
Wendy Smoak



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



Re: [m2] Roadmap for Maven2

2005-08-15 Thread Brett Porter
We're definitely running behind - a few other things have come up.
We're looking at a late September release. We expect Maven to be
stable by the end of the month, then spend time making cosmetic
changes, plugins, documentation, etc.

Cheers,
Brett

On 8/15/05, Michael Owen <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> Just wondering if anybody knows whether the road map for Maven2
> (http://maven.apache.org/maven2/roadmap.html) is still correct, and
> therefore a stable release can be expected in September?
> 
> Mike
> 
> 
> 
> -
> 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] Problem with ear project.

2005-08-15 Thread Stephane Nicoll
On 7/11/05, Kenney Westerhof <[EMAIL PROTECTED]> wrote:
> On Mon, 11 Jul 2005, Edward Yakop wrote:
> 
> > Hi all,
> >
> > I'm having difficulties setting up 'ear' project.
> > The following are the conditions:
> >
> > The pom file:
> > 
> > 
> >   4.0.0
> >   ...
> >   ear
> >   ...
> > 
> > 
> >
> > Directory structure:
> > 
> > .
> > |-- pom.xml
> > `-- src
> > `-- application
> > `-- META-INF
> > `-- application.xml
> > 
> > Note: Why application.xml needs to be put under src/application, instead of
> > src/main/application?
> 
> Because the plugin developer decided so ;) 

And I finally saw you ;-)
This is fixed in http://jira.codehaus.org/browse/MNG-736

Thanks,
Stéphane

-- 
.::You're welcome ::.

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



Newbe: how to use multiproject to checkout?

2005-08-15 Thread Lucas Persson
Hi

I guess this must have been asked before but I do not find any answer
for this.

How can I checkout all my projects which are pointed out in a
multiproject?

I have a kind of "master" project and a couple of subprojects but
in a flat structure to suit eclipse:

+ multiproject
+ sub1project
+ sub2project

The multiproject has its properties like this:
maven.multiproject.basedir=${basedir}/..
maven.multiproject.includes=\
sub1project/project.xml,\
sub2project/project.xml

It is the same directory structure in CVS.

What I want to do is the following:
1) checkout multiproject from CVS
2) call a maven goal on the multiproject which will checkout 
   all subprojects.

Thanks!
Lucas


Lucas Persson 
Lead Designer
Hotsip AB   Tel:   +46 8 454 05 49
Barnhusgatan 16 Mobil: +46 730 94 66 56
SE-111 23 Stockholm Fax:   +46 8 454 05 30
Email: lucas.persson__a_hotsip.com
SIP:   lucas.persson___a__hotsip.com


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



[m2] Roadmap for Maven2

2005-08-15 Thread Michael Owen

Hi,

Just wondering if anybody knows whether the road map for Maven2 
(http://maven.apache.org/maven2/roadmap.html) is still correct, and 
therefore a stable release can be expected in September?


Mike



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



Re: [m2] Mojo development: need ClassWorld

2005-08-15 Thread Aleksey Studnev
Milos Kleint <[EMAIL PROTECTED]> wrote on 08/15/2005 01:21:58 PM:

> Alexander Azarov wrote:
> 
> >>-Original Message-
> >>From: Trygve Laugstшl [mailto:[EMAIL PROTECTED] 
> >>Sent: Friday, August 12, 2005 7:44 PM
> >>
> >>On Fri, Aug 12, 2005 at 07:36:32PM +0400, Alexander Azarov wrote:
> >> 
> >>
> >>>I.e. I am trying to embed Maven2 into another application 
> >>> 
> >>>
> >>and I would 
> >> 
> >>
> >>>like to get access to that application's ClassLoader in my 
> >>> 
> >>>
> >>Mojo. Still 
> >> 
> >>
> >>>cannot figure out how to do that.
> >>> 
> >>>
> >>Why do you need it, a concrete example would be good. If you 
> >> 
> >>
> >
> >We are running Maven2 from Eclipse (in the same VM) and our Mojos must 
have
> >an access to Eclipse infrastructure.
> > 
> >
> similar approach is taken by the netbeans ant integration. There are 
> special ant tasks tha work within the IDE and have access to IDE's 
> classes and perform specific inside IDE tasks (like stating a debugger, 
> profiler etc..)
> 
> Milos


... and in eclipse as well. ANT integrated in eclipse pretty easy because 
ANT does not
use own classloader features. From other hand, it is quite clear that 
Maven implies more
infrastructure.

I have the same trouble as Alexander integrating Maven in eclipse and 
would like to know
if it is possible at all. Eclipse currently does not have any good 
approach to setting up a 
production environment and Maven may play its role here. This requires 
Maven to be run and 
controlled in a hosted environemnt, not its own and this is not just a set 
of properties.

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



Re: [m2] Mojo development: need ClassWorld

2005-08-15 Thread Milos Kleint

Alexander Azarov wrote:


-Original Message-
From: Trygve Laugstшl [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 12, 2005 7:44 PM


On Fri, Aug 12, 2005 at 07:36:32PM +0400, Alexander Azarov wrote:
   

I.e. I am trying to embed Maven2 into another application 
 

and I would 
   

like to get access to that application's ClassLoader in my 
 

Mojo. Still 
   


cannot figure out how to do that.
 

Why do you need it, a concrete example would be good. If you 
   



We are running Maven2 from Eclipse (in the same VM) and our Mojos must have
an access to Eclipse infrastructure.
 

similar approach is taken by the netbeans ant integration. There are 
special ant tasks tha work within the IDE and have access to IDE's 
classes and perform specific inside IDE tasks (like stating a debugger, 
profiler etc..)


Milos



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



org.xml.sax.SAXParseException: Content is not allowed in prolog.

2005-08-15 Thread Holger Schulze

Hi maven users,

since I upgraded my maven version from 1.0-rc2 to 1.0.2 I get errors like 
'org.xml.sax.SAXParseException: Content is not allowed in prolog' if I execute 
junit tests by using maven. From within my eclipse environment the test don't fail.


The errors occur if I try to parse xml strings
with following lines:


Node xml = ;
Reader source = new StringReader(xml.toString());

DocumentBuilderFactory documentFactory =
DocumentBuilderFactory.newInstance();
DocumentBuilder documentBuilder = documentFactory.newDocumentBuilder();
InputSource src = new InputSource(source);
Document document = documentBuilder.parse(src);


I get the following exception:

org.xml.sax.SAXParseException: Content is not allowed in prolog.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
...


1. Is there a known problem by using the xerces parser implementation?
2. How can I disable the usage of the xerces parser so maven use the default xml 
parser



Thanks Holger



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



RE: [m2] Mojo development: need ClassWorld

2005-08-15 Thread Alexander Azarov
> -Original Message-
> From: Kenney Westerhof [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, August 13, 2005 6:51 PM
> 
> If you want to access the ClassRealm, just add a private 
> field of type ClassRealm to the mojo, marking it as a @parameter.

Thank you. Do I have to specify an 'expression'?

I tried this way:

/**
 * @parameter
 */
private ClassRealm realm;

It is null in 'execute'.


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



RE: [m2] Mojo development: need ClassWorld

2005-08-15 Thread Alexander Azarov
> -Original Message-
> From: Trygve Laugstшl [mailto:[EMAIL PROTECTED] 
> Sent: Friday, August 12, 2005 7:44 PM
> 
> On Fri, Aug 12, 2005 at 07:36:32PM +0400, Alexander Azarov wrote:
> > I.e. I am trying to embed Maven2 into another application 
> and I would 
> > like to get access to that application's ClassLoader in my 
> Mojo. Still 
> > cannot figure out how to do that.
> 
> Why do you need it, a concrete example would be good. If you 

We are running Maven2 from Eclipse (in the same VM) and our Mojos must have
an access to Eclipse infrastructure.

Another way would be running Eclipse from Maven2 as a container for all the
Mojos and I do have serious doubts this way is simpler and even possible.

> are trying embed Maven you can add Plexus components to the 
> root class realm and in your Mojo have a paremeter with an 
> expression like this:
> 
>  @parameter expression=${component.my.role}

Well, will it help me in my task (using Eclipse classloader from the my
Mojos)? Could you please suggest how I can get it? I am not experienced with
ClassWorlds and Plexus in fact (yet).

> The reason as to why you can't get access to the classloader 
> of the core is that the Mojos are supposed to be independent 
> of their enviroment and they should be executed independently 
> in separate class loaders. Giving the Mojos access to the 
> root class loader will conflict with these ideas.

I see, but our build environment is developed on assumption that we run
under Eclipse. We are trying to move to Maven2, but we can avoid Eclipse in
no way.

Thank you.


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



Re: [maven] How to merge security entries into application.xml for EAR

2005-08-15 Thread Stephane Nicoll
No it is not.

You will need to turn application.xml generation off.

Cheers,
Stéphane

On 7/6/05, Mick Knutson <[EMAIL PROTECTED]> wrote:
> Ping?
> 
> 
> >From: "Mick Knutson" <[EMAIL PROTECTED]>
> >Reply-To: "Maven Users List" 
> >To: users@maven.apache.org
> >Subject: [maven] How to merge security entries into application.xml for EAR
> >Date: Fri, 01 Jul 2005 12:39:59 -0700
> >
> >I have some security settings I need to merge into my application.xml and
> >can't find any info about it. Is this possible?
> >
> >
> >
> >Thank You
> >Mick Knutson
> >
> >Sr. Java/J2EE Consultant
> >BASE logic, inc.
> >(415) 648-1804 (S.F., CA)
> >http://www.BASELogic.com
> >
> >HP Consulting Services (Walnut Creek, CA)
> >
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> 
> Thank You
> Mick Knutson
> 
> Sr. Java/J2EE Consultant
> BASE logic, inc.
> (415) 648-1804 (S.F., CA)
> http://www.BASELogic.com
> 
> HP Consulting Services (Walnut Creek, CA)
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
.::You're welcome ::.

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