Disable a phase plugin

2006-03-29 Thread Jacob Hoeflaken

Is it possible to disable a plugin which is bounded to a phase. I want to
exhange the default maven-war-plugin with my own. But if I keep the
packaging type to war in de pom.xml the maven-war-plugin from apache is
always run!
--
View this message in context: 
http://www.nabble.com/Disable-a-phase-plugin-t1366899.html#a3665362
Sent from the Maven - Users forum at Nabble.com.


Re: [m202] still have problems with downloading custom built plugin

2006-03-29 Thread Arnaud Bailly
Thanks for the detailed answer. Renaming the cobertura plugin seems a
good id, I will try this quickly. About overriding central, is it not 
better to mirror it with the internal repo ?

Regards,

-- 
Arnaud Bailly, Dr. - Ingénieur de Recherche 
NORSYS 
1, rue de la Cense des Raines
ZAC du Moulin
59710 ENNEVELIN
Tel : (33) 3 28 76 56 76
Mob : (33) 6 17 12 19 78
Fax : (33) 3 28 76 57 00
Web : http://www.norsys.fr


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



[m2] How to package resource files in jar file

2006-03-29 Thread Gautham Pamu
Hi Everyone,

I have following directory structure

ProjectFolder
   - META-INF
   - com  directory (with java code)
   - sample.xml
   - pom.xml
   - xsd-includes directory
   - test.properties
   - sampleXSD.xsd
   - samplewsdl.wsdl

How do configure the resources in pom.xml so that it package these xml,wsdl
files in the jar file ?
${basedir}

${basedir}
META-INF
xsd-includes



com


--
-Gautham Pamu


Re: [ANN] Maven 2.0.3 Release

2006-03-29 Thread Rinku

Weird ! I didn't receive the 2.0.3 notification on any maven list ??

- Original Message - 
From: "Piéroni Raphaël" <[EMAIL PROTECTED]>

To: 
Sent: Wednesday, March 29, 2006 3:06 AM
Subject: Re: [ANN] Maven 2.0.3 Release



Many Thanks John.

2006/3/28, John Casey <[EMAIL PROTECTED]>:


The Apache Maven team is pleased to announce the release of Maven 
2.0.3.


You can download it here:

http://maven.apache.org/download.html

This is the third maintenance release of the redesigned 2.0 
application,
  and brings with it fixes for numerous issues, including 
improvements

to the following:

* Path calculations for  sections

* Error messages for missing dependencies

* Profile activation and 

* Parent-POM resolution and error messaging

* Transport support for SSH and file:// via updated Wagon libraries

* POM interpolation

* Lifecycle overlays (for custom behavior in forked lifecycles)


For more information and a full list of the issues resolved by this
release, see:


http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10500&styleName=Html&version=12107

Thanks to everyone who helped us discover, track, test, and fix 
issues

to make this release happen!

Enjoy.

-john








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



[m2] reporting plugin extensions/additional dependencies

2006-03-29 Thread Robert Biernat
Hi,

I'm using maven on a number of different projects. These projects all
generate websites containing reports generated by the checkstyle, pmd, and
jdepend report plugins. The checkstyle and pmd plugins reference config
files that are tailored to my organisations coding standards. At the moment
each project that wishes to use these standard config files needs to include
them within their project so theyre available when the plugin runs. I am
wondering whether its possible to create a seperate project that contains
these resources, install the jar into the repository and have the various
report plugins use it. I noticed that for report plugins I cannot specify
additional dependencies like I can with regular build plugins, so I'm sort
of stuck as to how I would do it.  

Rob


 


Re: [m2] mvn 2.0.3 eclipse:eclipse not working anymore

2006-03-29 Thread Carlos Sanchez
Please post your pom to see the error

On 3/29/06, Stefan Fritz <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm running maven 2.0.3.
> I have created a new project and wanted to enable eclipse support with
> eclipse:eclispe but I get the following error:
>
> C:\dev\trunk\connect>mvn -e eclipse:eclipse
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO]
> 
> [ERROR] FATAL ERROR
> [INFO]
> 
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: sonic.dev:esb
> POM Location: C:\dev\trunk\connect\pom.xml
>
> Reason: Parse error reading POM. Reason: Duplicated tag: 'artifactId'
> (position: START_TAG seen ...<
> /version>\r\n\t\t\t\t... @39:17)
>
>
> [INFO]
> 
> [INFO] Trace
> org.apache.maven.reactor.MavenExecutionException: Parse error reading
> POM. Reason: Duplicated tag: '
> artifactId' (position: START_TAG seen
> ...\r\n\t\t\t\t... @39:17)
> at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.project.InvalidProjectModelException: Parse
> error reading POM. Reason: D
> uplicated tag: 'artifactId' (position: START_TAG seen
> ...\r\n\t\t\t\t... @39:1
> 7)
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.
> java:1290)
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.
> java:1250)
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBu
> ilder.java:1067)
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBu
> ilder.java:1155)
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBu
> ilder.java:1155)
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuil
> der.java:672)
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMa
> venProjectBuilder.java:414)
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java
> :190)
> at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515)
> at
> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:447)
> at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351)
> ... 11 more
> Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException:
> Duplicated tag: 'artifactId' (p
> osition: START_TAG seen ...\r\n\t\t\t\t... @39:17)
> at
> org.apache.maven.model.io.xpp3.MavenXpp3Reader.parsePlugin(MavenXpp3Reader.java:2865)
> at
> org.apache.maven.model.io.xpp3.MavenXpp3Reader.parseBuild(MavenXpp3Reader.java:753)
> at
> org.apache.maven.model.io.xpp3.MavenXpp3Reader.parseModel(MavenXpp3Reader.java:2224)
> at
> org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.java:4422)
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.
> java:1286)
> ... 21 more
> [INFO]
> 
> [INFO] Total time: < 1 second
> [INFO] Finished at: Wed Mar 29 09:35:10 CEST 2006
> [INFO] Final Memory: 1M/2M
> [INFO]
> 
>
> My pom is valid and has no duplicate tags! Seems to be a problem with
> plexus.
> Any inpput welcome! ;-)
>
> Cheers
> Stefan
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

-
To unsubscribe, e-mail: [EMAI

Re: POM interpolation problem in maven-2.0.3

2006-03-29 Thread Carlos Sanchez
Dan, an it test would be great if you have an example that behaves
different on 2.0.2 and 2.0.3

On 3/30/06, dan tran <[EMAIL PROTECTED]> wrote:
> you are right about  mkdir, how ever
>
> my surefire configuration the usage of ${project.build.directory}, so this
> issue is valid
>
> I am sure this issue will hit other usages
>
> -D
>
>
> On 3/29/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:
> >
> > ${project.build.directory} works fine, it's only the echo result that's
> > strange.
> >
> > Add this after the echo :
> >
> > 
> > 
> >
> > and create a child project of your pom with the same plugin execution, and
> > your see that it create
> > two txt files in correct directories (parent/target and child/target)
> >
> >
> > D:\tmp\testmaven>mvn generate-sources
> > [INFO] Scanning for projects...
> > [INFO] Reactor build order:
> > [INFO]   parent
> > [INFO]   child
> > [INFO]
> > 
> > [INFO] Building parent
> > [INFO]task-segment: [generate-sources]
> > [INFO]
> > 
> > [INFO] [antrun:run {execution: echo}]
> > [INFO] Executing tasks
> >  [echo] project.build.directory:target
> > [mkdir] Created dir: D:\tmp\testmaven\target
> > [touch] Creating D:\tmp\testmaven\target\parent.txt
> > [INFO] Executed tasks
> > [INFO]
> > 
> > [INFO] Building child
> > [INFO]task-segment: [generate-sources]
> > [INFO]
> > 
> > [INFO] [antrun:run {execution: echo}]
> > [INFO] Executing tasks
> >  [echo] project.build.directory:target
> > [mkdir] Created dir: D:\tmp\testmaven\child\target
> > [touch] Creating D:\tmp\testmaven\child\target\child.txt
> > [INFO] Executed tasks
> > [INFO] [antrun:run {execution: echo}]
> > [INFO] Executing tasks
> >  [echo] project.build.directory:target
> > [INFO] Executed tasks
> > [INFO]
> > [INFO]
> > [INFO]
> > 
> > [INFO] Reactor Summary:
> > [INFO]
> > 
> > [INFO] parent  SUCCESS [
> > 1.375s]
> > [INFO] child . SUCCESS [
> > 0.047s]
> > [INFO]
> > 
> > [INFO]
> > 
> > [INFO] BUILD SUCCESSFUL
> > [INFO]
> > 
> > [INFO] Total time: 2 seconds
> > [INFO] Finished at: Wed Mar 29 11:23:54 CEST 2006
> > [INFO] Final Memory: 2M/4M
> > [INFO]
> > 
> >
> > So I think the issue can be closed
> >
> > Emmanuel
> >
> >
> > dan tran a écrit :
> > > here you go, single pom would do
> > >
> > >
> > > 
> > > 
> > >
> > >   4.0.0
> > >
> > >   
> > >   jar
> > >   test
> > >   child
> > >   1.0-SNAPSHOT
> > >
> > >   child
> > >
> > >   
> > > 
> > >   
> > > maven-antrun-plugin
> > > 
> > >   
> > > echo
> > > generate-sources
> > > 
> > >   run
> > > 
> > > 
> > >   
> > > project.build.directory:${project.build.directory}
> > > 
> > >   
> > > 
> > >   
> > > 
> > >   
> > > 
> > >
> > >   
> > >
> > > 
> > >
> > >
> > >
> > > On 3/28/06, Brett Porter <[EMAIL PROTECTED]> wrote:
> > >
> > >>If that is the case, that is certainly bad - but I know we've had that
> > >>regression before, and I thought there were tests in to enforce it, so
> > >>I'd like to see a test case...
> > >>
> > >>- Brett
> > >>
> > >>On 3/29/06, dan tran <[EMAIL PROTECTED]> wrote:
> > >>
> > >>>my maven-2.0.3 shows ${project.build.directory}=target.  Instead of the
> > >>>fullpath
> > >>>this surely breaks the reactor build/test.
> > >>>
> > >>>
> > >>>Does any one encounter the same problem?
> > >>>
> > >>>-D
> > >>>
> > >>>
> > >>
> > >>-
> > >>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]
> >
> >
>
>


--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

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

Re: [M2] Compiling with JDK 1.4

2006-03-29 Thread Carlos Sanchez
Of course if you don't fork it won't work.

On 3/30/06, Mang Jun Lau <[EMAIL PROTECTED]> wrote:
> I just tried using this method except with
> 1.4 and without true since
> javac fails if I use fork (probably due to
> http://jira.codehaus.org/browse/MCOMPILER-22).
>
> It doesn't work.  I'm still getting the "java.lang.NoSuchMethodError:
> java.math.BigDecimal: method (I)V not found" exception, meaning
> maven is still using the 1.5 JDK to compile despite those settings.  Is
> forking absolutely necessary to use an older JDK?
>
> Using:
>
> 
>   1.4
>   1.4
>   
>
> C:/j2sdk1.4.1/jre/lib/rt.jar;C:/j2sdk1.4.1/jre/lib/jce.jar
>   
> 
>
> works well but seems like a hack.  Is this the proper way of using another
> JDK for compilation?
>
>
> _Mang Lau
>
>
>
>
>
> "Carlos Sanchez" <[EMAIL PROTECTED]>
> Sent by: [EMAIL PROTECTED]
> 03/28/2006 07:05 PM
> Please respond to
> "Maven Users List" 
>
>
> To
> "Maven Users List" 
> cc
>
> Subject
> Re: [M2] Compiling with JDK 1.4
>
>
>
>
>
>
> Check this out to actually use another JDK
>
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 
>   true
>   1.3
>   C:/Program
> Files/Java/jdk1.3.1_18/bin/javac
>   
> 
>   
>
>
> On 3/28/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
> >
> > This should work better :
> >
> >   
> > org.apache.maven.plugins
> > maven-compiler-plugin
> > 
> >   1.3
> >   1.3
> >   1.3
> >
> > ${pom.getDependencyPath('jara:rt')}
> > 
> >   
> > ...
> >
> > 
> >   java
> >   rt
> >   1.3
> >   system
> > 
> >
> > Now, how to set the (computer specific) location of the "system" scoped
> > dependency ?
> >
> >
> http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
>
> > only says the dependency will not be looked-up from repository, but HOW
> > to provide it ?
> >
> > Nico.
> >
> >
> > Nicolas De Loof a écrit :
> > >
> > > Could it be possible to set this "rt.jar" as a (system ?) dependency,
> > > something like this :
> > >
> > > ${getDependencyPath("java:rt:1.3")}
> > >
> > >
> > > Siegmann Daniel, NY a écrit :
> > >> I too have had to override the JAVA_HOME JDK, though in my case it
> > >> was to
> > >> compile for 1.3 rather than 1.4. What you seem to be missing is
> > >> setting the
> > >> bootclasspath to the correct Java runtime library. Below is the
> > >> configuration I use. I hope this helps.
> > >>
> > >>   
> > >> org.apache.maven.plugins
> > >> maven-compiler-plugin
> > >> 
> > >>   1.3
> > >>   1.3
> > >>   
> > >>
> > >>
> ..\..\tools\jdk\1.3.1_15\jre\lib\rt.jar
> > >>   
> > >> 
> > >>   
> > >>
> > >> --
> > >> Daniel Siegmann
> > >> FJA-US, Inc.
> > >> (212) 840-2618 ext. 139
> > >>
> > >>
> > >>> -Original Message-
> > >>> From: Mang Jun Lau [mailto:[EMAIL PROTECTED] Sent: Monday, March
> > >>> 27, 2006 5:28 PM
> > >>> To: users@maven.apache.org
> > >>> Subject: [M2] Compiling with JDK 1.4
> > >>>
> > >>>
> > >>> Hi,
> > >>>
> > >>> I've searched and tried the methods given before but things haven't
> > >>> been working for me.  My JAVA_HOME points to the 1.5 JDK.  I would
> > >>> like to compile my code to be able to run under JDK 1.4.  So, in my
> > >> 
> > >>
> > >>> Hope someone has done this successfully before.  Thanks.
> > >>>
> > >>>
> > >>> _Mang Lau
> > >>>
> > >>>
> > >>
> > >> -
> > >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >> For additional commands, e-mail: [EMAIL PROTECTED]
> > >>
> > >>
> > >
> > > This message contains information that may be privileged or
> > > confidential and is the property of the Capgemini Group. It is
> > > intended only for the person to whom it is addressed. If you are not
> > > the intended recipient,  you are not authorized to read, print,
> > > retain, copy, disseminate,  distribute, or use this message or any
> > > part thereof. If you receive this  message in error, please notify the
> > > sender immediately and delete all  copies of this message.
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> >
> > This message contains information that may be privileged or confidential
> and is the property of the Capgemini Group. It is intended only for the
> person to whom it is addressed. If you are not the intended recipient, you
> are not authorized to read, print, retain, copy, disseminate,  distribute,
> or use this message or any part thereof. If you receive this  message in
> error, please notify the sender immediately and delete all  copies of this
> message.
> >
> >
> > -

mvn eclipse:eclipse -- requires install first -- bug/oversight?

2006-03-29 Thread Gordon Henriksen

Hi everyone,

Bit of a problem. There's a workaround, but the workaround is  
precisely the problem. Here goes…


mvn eclipse:eclipse requires that I install my local projects before  
it will generate the .project and .classpath files for Eclipse. This  
makes total sense for external dependencies; the .classpath needs to  
reference an .jar file somewhere, so putting them in ~/.m2/repository  
makes a lot of sense. Fine and dandy. But for a project like such:


my-root-project/ { packaging: pom }
   my-lib/ { packaging: jar }
   my-webapp/ { packaging: war, dependencies: { my-lib } }

When I run mvn eclipse:eclipse, the Eclipse .classpath file  
references the adjacent my-lib project, not my-lib that resides in  
the ~/.m2/repository. Therefore, the install doesn't seem as if it  
should be necessary for the local projects. Yet the Eclipse plugin  
insists upon it. Further, it is damaging to our workflow, since we  
have to make sure our code compiles before we can add a dependency to  
pom.xml and successfully push those to Eclipse. Besides that, forcing  
the install of a project before we can even get our IDE set up seems  
very backwards; by definition, the projects in question are under  
development, so publishing them to even the per-user repository is  
premature.


In fact, since I prefer not to have the possibility of out-of- 
sync .classpath and .project files, I've prohibited checking these  
files in. So our checkout directions look like this:


mkdir my-enterprise
cd my-enterprise
svn co svn+ssh://my.host/my-enterprise/trunk .
mvn install  # <-- 
mvn eclipse:eclipse

Is there a reason this is the case? Or should I file an RFE and look  
into making a patch?


Other Eclipse+Maven users:
Should I allow checkin of .classpath and .project, even at the risk  
of them falling out of sync with pom.xml?

Does it sound like I'm missing the zen of making these tools cooperate?

— G


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



setting up a native dependency

2006-03-29 Thread Philip A. Chapman
Everyone,

How can one create a repository (metadata.xml) and a dependency element
in a project pom.xml for a native resources, such as SQLLite?  So far,
my google skills have brought me to plugins which compile native (jni)
projects, but not how to set up binary compiled jni resources for use in
a non-jni project.

Thanks,
-- 
Philip A. Chapman

Desktop and Web Application Development:
Java, .NET, PostgreSQL, MySQL, MSSQL
Linux, Windows 2000, Windows XP


signature.asc
Description: This is a digitally signed message part


REPOST Still unclear on intended use of "useScope" in ant tasks

2006-03-29 Thread Rick Mann
I looked through the archives and didn't find a satisfactory answer  
to this question.


We have an ant build script (and no POM) that we use to build our  
webapp. We have a single  block:







		version="1.0.2"		scope="runtime"/>
		
		
		version="1.2.12"	scope="compile"/>
		version="3.0.16-ga"	scope="compile"/>
		version="14"		scope="compile"/>
		version="1.3.2"		scope="compile"/>
		version="2.0"		scope="provided"/>
		version="2.4"		scope="provided"/>
		version="1.2.7"		scope="compile"/>
		version="1.4"		scope="compile"/>
		
		version="1.0"		scope="compile"/>

  


I want to use that block for compiling and for building the WEB-INF  
directory. The problem is, I don't see how useScope can help. If I  
specify one useScope for compile time, that's one thing, but it's  
another when I go to copy those dependencies.


Of course I can make multiple copies of this tag and different  
useScope values, or make separate ones with just the right artifacts,  
but it seems to me that the scope attribute of the  tag  
is useless.


What's the intent of the useScope and scope attributes when used like  
this?


TIA,

--
Rick



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



REPOST Ant task steps on previous dependencies?

2006-03-29 Thread Rick Mann

Is this a bug?

It seems that the ant task (2.0.2) is choosing collections 2.1, and  
then later deciding to use 2.0:


unspecified:unspecified:jar:0.0 (selected)
  struts:struts:jar:1.2.7 (selected)
commons-validator:commons-validator:jar:1.1.4 (selected)
commons-digester:commons-digester:jar:1.6 (selected)
  commons-beanutils:commons-beanutils:jar:1.6 (selected)
commons-logging:commons-logging:jar:1.0 (selected)
commons-collections:commons-collections:jar:2.0 (selected)
  commons-logging:commons-logging:jar:1.0 (selected)
  xml-apis:xml-apis:jar:1.0.b2 (selected)
  commons-collections:commons-collections:jar:2.0 (removed -  
nearer found: 2.1)

  commons-collections:commons-collections:jar:2.1 (selected)
commons-logging:commons-logging:jar:1.0 (removed - nearer found:  
1.0.4)

commons-logging:commons-logging:jar:1.0.4 (selected)
commons-fileupload:commons-fileupload:jar:1.0 (selected)
oro:oro:jar:2.0.8 (selected)
commons-chain:commons-chain:jar:1.0 (selected)
  commons-logging:commons-logging:jar:1.0.3 (removed - nearer  
found: 1.0.4)
  commons-beanutils:commons-beanutils:jar:1.7.0 (removed -  
nearer found: 1.6)

antlr:antlr:jar:2.7.2 (selected)
commons-beanutils:commons-beanutils:jar:1.6 (removed - nearer  
found: 1.7.0)

commons-beanutils:commons-beanutils:jar:1.7.0 (selected)
  commons-logging:commons-logging:jar:1.0.3 (removed - nearer  
found: 1.0.4)

  mysql:mysql-connector-java:jar:3.0.16-ga (selected)
  javax.servlet:jsp-api:jar:2.0 (selected)
javax.servlet:servlet-api:jar:2.4 (selected)
  velocity:velocity-core:jar:1.4 (selected)
velocity:velocity-dep:jar:1.4 (selected)
  com.verisign:verisign:jar:1.0 (selected)
  log4j:log4j:jar:1.2.12 (selected)
  javax.servlet:servlet-api:jar:2.4 (selected)
  velocity-tools:velocity-tools-generic:jar:1.1 (selected)
  com.oracle:ojdbc:jar:14 (selected)
  commons-beanutils:commons-beanutils-core:jar:1.7.0 (selected)
commons-logging:commons-logging:jar:1.0 (removed - nearer found:  
1.0.4)
commons-collections:commons-collections:jar:2.1 (removed -  
nearer found: 2.0)

commons-collections:commons-collections:jar:2.0 (selected)
  commons-digester:commons-digester:jar:1.6 (removed - nearer found:  
1.7)

  commons-digester:commons-digester:jar:1.7 (selected)
commons-beanutils:commons-beanutils:jar:1.6 (removed - nearer  
found: 1.7.0)
commons-logging:commons-logging:jar:1.0 (removed - nearer found:  
1.0.4)

xml-apis:xml-apis:jar:1.0.b2 (selected)
commons-collections:commons-collections:jar:2.1 (removed -  
nearer found: 2.0)

  javax.mail:mail:jar:1.3.2 (selected)
javax.activation:activation:jar:1.0.2 (selected)
  javax.activation:activation:jar:1.0.2 (not setting scope to:  
compile; local scope runtime wins)

  javax.activation:activation:jar:1.0.2 (selected)


The build.xml snippet is:






		version="1.0.2"		scope="runtime"/>
		
		
		version="1.2.12"	scope="compile"/>
		version="3.0.16-ga"	scope="compile"/>
		version="14"		scope="compile"/>
		version="1.3.2"		scope="compile"/>
		version="2.0"		scope="provided"/>
		version="2.4"		scope="provided"/>
		version="1.2.7"		scope="compile"/>
		version="1.4"		scope="compile"/>
		
		version="1.0"		scope="compile"/>

  


--
Rick



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



RE: Perforce SCM fails when using URL with user id

2006-03-29 Thread Jeff Jensen
Oh duh, I can see that easily now.  Thank you Mike.  Looks like it does not
support specifying the user id.  Need to find a way to have the build set
P4USER from a property setting for the run...
Thanks again for your reply.


-Original Message-
From: Mike Perham [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 29, 2006 3:33 PM
To: Maven Users List
Subject: RE: Perforce SCM fails when using URL with user id

Jeff, your changelog plugin is not using Maven SCM.  It's using its own
Perforce code.  You might dig into the changelog plugin code to see if there
is a solution to your problem - I'm not familiar with that codebase.

-Original Message-
From: Jeff Jensen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 28, 2006 10:03 PM
To: 'Maven Users List'
Subject: Perforce SCM fails when using URL with user id

Hello,

I can't use the $P4USER setting for the machines, and need to use a property
for it/specify it to the Perforce SCM plugin.

The format on the docs (http://maven.apache.org/scm/perforce.html) says:
  scm:perforce:[EMAIL PROTECTED]:[port:]path_to_repository

If I use the SCM URL format that includes a username, this is the error I
receive:

[echo] Generating the Change Log...
maven-changelog-plugin:report:
[echo] Generating the changelog report
SCM Working Directory: [snipped the path]
SCM Command Line[0]: p4
SCM Command Line[1]: -p
SCM Command Line[2]: [the user [EMAIL PROTECTED] ip]:[the port]
SCM Command Line[3]: filelog
SCM Command Line[4]: -tl
SCM Command Line[5]: //[depot name]/[path]/...
Perforce client error:
Connect to server failed; check $P4PORT.
TCP connect to [user [EMAIL PROTECTED] address] failed.
[user [EMAIL PROTECTED] address]: host unknown.
ChangeSet between 2006-02-26 and 2006-03-29: 0 entries

Is this working correctly?  What do I not understand about the SCM URL?


-
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] mvn site:deploy throws an exception

2006-03-29 Thread Jens Riboe
I'm trying to use FTP for site deployment, but get an exception.
Is FTP supported, for site upload?

C:\temp\nnn>mvn -e site:deploy
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'site'.
[INFO]


[INFO] Building Whatever
[INFO]task-segment: [site:deploy]
[INFO]


[INFO] [site:deploy]
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Wagon protocol 'ftp' doesn't support directory copying
[INFO]

[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Wagon protocol
'ftp' doesn't support directory copying
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:559)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa
l(DefaultLifecycleExecutor.java:488)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:458)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:273)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:140)
at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Wagon
protocol 'ftp' doesn't support directory copying
at
org.apache.maven.plugins.site.SiteDeployMojo.execute(SiteDeployMojo.java
:120)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:412)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:534)
... 16 more
[INFO]

[INFO] Total time: 2 seconds
[INFO] Finished at: Wed Mar 29 23:12:06 CEST 2006
[INFO] Final Memory: 2M/6M
[INFO]


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



Re: Hibernate Archives (.har files) with Maven 2

2006-03-29 Thread ronnyg

I am able to create .har files with a plugin I create; however, when I add
the artifact as a dependency java cannot find the classes in the har file. I
added type=har to the dependency but it seems that java is not loading the
har into classpath.

Thanks,
Ronny
--
View this message in context: 
http://www.nabble.com/Hibernate-Archives-%28.har-files%29-with-Maven-2-t802758.html#a3659543
Sent from the Maven - Users forum at Nabble.com.


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



Re: Problems checking out with Continuum

2006-03-29 Thread Carlos Henriquez
Thanks for that. I even tried editing the DEFAULT_SCHEDULE changing the Cron
field but I don't know if that counts as a custom one. I'll be waiting for
1.0.3.

Thanks again!

On 3/29/06, dan tran <[EMAIL PROTECTED]> wrote:
>
> the is a bug in 1.0.2 that ignores user's custom schedule.   Wait a few
> more
> days to get 1.0.3
> or test out with 1.0.3 RC
>
> -D
>
>
> On 3/29/06, Carlos Henriquez <[EMAIL PROTECTED]> wrote:
> >
> > Hello,
> >
> > I'm trying to do a building through scheduling but i'm having troubles
> > checking out. I've got the following log
> >
> > INFO   | jvm 1| 2006/03/29 17:23:00 | 2006-03-29 17:23:00,054
> > [scheduler1_Worker-0] INFO  Continuum  - Enqueuing
> > 'Transacciones Basicas' (Build definition id=6).
> > INFO   | jvm 1| 2006/03/29 17:23:00 | 2006-03-29 17:23:00,210
> > [Thread-1]
> > INFO  ContinuumScm   - Updating project: id: '6', name
> > 'Transacciones Basicas'.
> > INFO   | jvm 1| 2006/03/29 17:23:00 | 2006-03-29 17:23:00,210
> > [Thread-1]
> > INFO  ScmManager - Working directory: C:\Program
> > Files\Apache Software Foundation\continuum-
> > 1.0.1\bin\win32\..\..\apps\continuum\working-directory\6
> > INFO   | jvm 1| 2006/03/29 17:23:00 | 2006-03-29 17:23:00,210
> > [Thread-1]
> > INFO  ScmManager - Command line: stcmd co -x -nologo
> > -stop -p "[EMAIL PROTECTED]:49201/Infinix
> >
> >
> Caribe/Desarrollo/AppSource/Taquilla/Servicios/TransaccionesBasicasService"
> > -fp "C:/Program Files/Apache Software
> > Foundation/continuum-1.0.1
> > /bin/win32/../../apps/continuum/working-directory/6"
> > -merge -neverprompt -is
> > INFO   | jvm 1| 2006/03/29 17:23:01 | 2006-03-29 17:23:01,710
> > [Thread-89] DEBUG ScmManager - Carpeta:
> > TransaccionesBasicasService  (directorio de trabajo: C:\Program
> > Files\Apache
> > Software Foundation\continuum-1.0.1\apps\continuum\working-directory\6)
> > INFO   | jvm 1| 2006/03/29 17:23:01 | 2006-03-29 17:23:01,710
> > [Thread-89] WARN  ScmManager - Unknown checkout
> ouput:
> > Carpeta: TransaccionesBasicasService  (directorio de trabajo: C:\Program
> > Files\Apache Software Foundation\continuum-
> > 1.0.1\apps\continuum\working-directory\6)
> > INFO   | jvm 1| 2006/03/29 17:23:01 | 2006-03-29 17:23:01,757
> > [Thread-89] DEBUG ScmManager - .classpath: omitido
> > INFO   | jvm 1| 2006/03/29 17:23:01 | 2006-03-29 17:23:01,757
> > [Thread-89] WARN  ScmManager - Unknown checkout
> ouput:
> > .classpath: omitido
> > INFO   | jvm 1| 2006/03/29 17:23:01 | 2006-03-29 17:23:01,757
> > [Thread-89] DEBUG ScmManager - .project: omitido
> > INFO   | jvm 1| 2006/03/29 17:23:01 | 2006-03-29 17:23:01,757
> > [Thread-89] WARN  ScmManager - Unknown checkout
> ouput:
> > .project: omitido
> >
> > .
> > .
> > .
> > and it goes like that for all the different files. At the end of the
> build
> > I
> > have this
> >
> > INFO   | jvm 1| 2006/03/29 17:24:02 | 2006-03-29 17:24:02,476
> > [Thread-1]
> > INFO  Action:update-project-from-working-directory - Updating project
> > 'Transacciones Basicas' from checkout.
> > INFO   | jvm 1| 2006/03/29 17:24:02 | 2006-03-29 17:24:02,585
> > [Thread-1]
> > INFO  Action:execute-builder - No files updated, not building.
> > Project id '6'.
> >
> > And it doesn't really make the building. I've tried changing file trying
> > to
> > make a difference but nothing happen. It may be a conf option or
> something
> > but I don't know.
> >
> > I hope you can help me with that.
> >
> > Once again, what I'm trying to do is make a "build" through a schedule,
> > doing a checkout before the "build"
> >
> > Thanks
> >
> >
>
>


Re: Problems checking out with Continuum

2006-03-29 Thread dan tran
the is a bug in 1.0.2 that ignores user's custom schedule.   Wait a few more
days to get 1.0.3
or test out with 1.0.3 RC

-D


On 3/29/06, Carlos Henriquez <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I'm trying to do a building through scheduling but i'm having troubles
> checking out. I've got the following log
>
> INFO   | jvm 1| 2006/03/29 17:23:00 | 2006-03-29 17:23:00,054
> [scheduler1_Worker-0] INFO  Continuum  - Enqueuing
> 'Transacciones Basicas' (Build definition id=6).
> INFO   | jvm 1| 2006/03/29 17:23:00 | 2006-03-29 17:23:00,210
> [Thread-1]
> INFO  ContinuumScm   - Updating project: id: '6', name
> 'Transacciones Basicas'.
> INFO   | jvm 1| 2006/03/29 17:23:00 | 2006-03-29 17:23:00,210
> [Thread-1]
> INFO  ScmManager - Working directory: C:\Program
> Files\Apache Software Foundation\continuum-
> 1.0.1\bin\win32\..\..\apps\continuum\working-directory\6
> INFO   | jvm 1| 2006/03/29 17:23:00 | 2006-03-29 17:23:00,210
> [Thread-1]
> INFO  ScmManager - Command line: stcmd co -x -nologo
> -stop -p "[EMAIL PROTECTED]:49201/Infinix
>
> Caribe/Desarrollo/AppSource/Taquilla/Servicios/TransaccionesBasicasService"
> -fp "C:/Program Files/Apache Software
> Foundation/continuum-1.0.1
> /bin/win32/../../apps/continuum/working-directory/6"
> -merge -neverprompt -is
> INFO   | jvm 1| 2006/03/29 17:23:01 | 2006-03-29 17:23:01,710
> [Thread-89] DEBUG ScmManager - Carpeta:
> TransaccionesBasicasService  (directorio de trabajo: C:\Program
> Files\Apache
> Software Foundation\continuum-1.0.1\apps\continuum\working-directory\6)
> INFO   | jvm 1| 2006/03/29 17:23:01 | 2006-03-29 17:23:01,710
> [Thread-89] WARN  ScmManager - Unknown checkout ouput:
> Carpeta: TransaccionesBasicasService  (directorio de trabajo: C:\Program
> Files\Apache Software Foundation\continuum-
> 1.0.1\apps\continuum\working-directory\6)
> INFO   | jvm 1| 2006/03/29 17:23:01 | 2006-03-29 17:23:01,757
> [Thread-89] DEBUG ScmManager - .classpath: omitido
> INFO   | jvm 1| 2006/03/29 17:23:01 | 2006-03-29 17:23:01,757
> [Thread-89] WARN  ScmManager - Unknown checkout ouput:
> .classpath: omitido
> INFO   | jvm 1| 2006/03/29 17:23:01 | 2006-03-29 17:23:01,757
> [Thread-89] DEBUG ScmManager - .project: omitido
> INFO   | jvm 1| 2006/03/29 17:23:01 | 2006-03-29 17:23:01,757
> [Thread-89] WARN  ScmManager - Unknown checkout ouput:
> .project: omitido
>
> .
> .
> .
> and it goes like that for all the different files. At the end of the build
> I
> have this
>
> INFO   | jvm 1| 2006/03/29 17:24:02 | 2006-03-29 17:24:02,476
> [Thread-1]
> INFO  Action:update-project-from-working-directory - Updating project
> 'Transacciones Basicas' from checkout.
> INFO   | jvm 1| 2006/03/29 17:24:02 | 2006-03-29 17:24:02,585
> [Thread-1]
> INFO  Action:execute-builder - No files updated, not building.
> Project id '6'.
>
> And it doesn't really make the building. I've tried changing file trying
> to
> make a difference but nothing happen. It may be a conf option or something
> but I don't know.
>
> I hope you can help me with that.
>
> Once again, what I'm trying to do is make a "build" through a schedule,
> doing a checkout before the "build"
>
> Thanks
>
>


Re: Multiple Project Builds

2006-03-29 Thread TJ Greenier
Thanks to all for your input.  I was able to get the multiple project build
working.  One key element I was missing was the  tag in my child
project poms.  one thing to note here is that when you add the 
nodes to the pom you need to run a "mvn install" on the parent project.
Otherwise, I was having problems getting the child projects to build
separately, because it was looking for the parent in the repository.  I am
not sure if I stated that clearly correct as I am still slightly confused,
but I was able to get the builds working doing that.

The using eclipse link also helped me understand how to structure my project
for use within eclipse and still fitting the maven structure needed.  Check
this link out for more information on that:
http://maven.apache.org/guides/mini/guide-ide-eclipse.html

Thanks again to all for their input.
TJ

On 3/25/06, Steven Coco <[EMAIL PROTECTED]> wrote:
>
> Hi.
>
> I have done multi-module POMs without any problem (Maven 2).
>
> The main POM excerpt you posted looks to be fine.  In the child POMs, be
> sure they refer to the parent:
>
> 
> ...
> ...
> ...
> 
>
> And be sure any dependency between one module and another is properly
> declared.
>
> Then if you are sure of the above, I would not know further.  I have
> done projects that all bundle into individual jars.  There may be
> another issue if one module is being jar'd and then that needs to be
> assembled into the war.  In theory, that all should work, but I don't
> actually have a specific example POM to show you.
>
> Good luck.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Problems checking out with Continuum

2006-03-29 Thread Carlos Henriquez
Hello,

I'm trying to do a building through scheduling but i'm having troubles
checking out. I've got the following log

INFO   | jvm 1| 2006/03/29 17:23:00 | 2006-03-29 17:23:00,054
[scheduler1_Worker-0] INFO  Continuum  - Enqueuing
'Transacciones Basicas' (Build definition id=6).
INFO   | jvm 1| 2006/03/29 17:23:00 | 2006-03-29 17:23:00,210 [Thread-1]
INFO  ContinuumScm   - Updating project: id: '6', name
'Transacciones Basicas'.
INFO   | jvm 1| 2006/03/29 17:23:00 | 2006-03-29 17:23:00,210 [Thread-1]
INFO  ScmManager - Working directory: C:\Program
Files\Apache Software Foundation\continuum-
1.0.1\bin\win32\..\..\apps\continuum\working-directory\6
INFO   | jvm 1| 2006/03/29 17:23:00 | 2006-03-29 17:23:00,210 [Thread-1]
INFO  ScmManager - Command line: stcmd co -x -nologo
-stop -p "[EMAIL PROTECTED]:49201/Infinix
Caribe/Desarrollo/AppSource/Taquilla/Servicios/TransaccionesBasicasService"
-fp "C:/Program Files/Apache Software
Foundation/continuum-1.0.1/bin/win32/../../apps/continuum/working-directory/6"
-merge -neverprompt -is
INFO   | jvm 1| 2006/03/29 17:23:01 | 2006-03-29 17:23:01,710
[Thread-89] DEBUG ScmManager - Carpeta:
TransaccionesBasicasService  (directorio de trabajo: C:\Program Files\Apache
Software Foundation\continuum-1.0.1\apps\continuum\working-directory\6)
INFO   | jvm 1| 2006/03/29 17:23:01 | 2006-03-29 17:23:01,710
[Thread-89] WARN  ScmManager - Unknown checkout ouput:
Carpeta: TransaccionesBasicasService  (directorio de trabajo: C:\Program
Files\Apache Software Foundation\continuum-
1.0.1\apps\continuum\working-directory\6)
INFO   | jvm 1| 2006/03/29 17:23:01 | 2006-03-29 17:23:01,757
[Thread-89] DEBUG ScmManager - .classpath: omitido
INFO   | jvm 1| 2006/03/29 17:23:01 | 2006-03-29 17:23:01,757
[Thread-89] WARN  ScmManager - Unknown checkout ouput:
.classpath: omitido
INFO   | jvm 1| 2006/03/29 17:23:01 | 2006-03-29 17:23:01,757
[Thread-89] DEBUG ScmManager - .project: omitido
INFO   | jvm 1| 2006/03/29 17:23:01 | 2006-03-29 17:23:01,757
[Thread-89] WARN  ScmManager - Unknown checkout ouput:
.project: omitido

.
.
.
and it goes like that for all the different files. At the end of the build I
have this

INFO   | jvm 1| 2006/03/29 17:24:02 | 2006-03-29 17:24:02,476 [Thread-1]
INFO  Action:update-project-from-working-directory - Updating project
'Transacciones Basicas' from checkout.
INFO   | jvm 1| 2006/03/29 17:24:02 | 2006-03-29 17:24:02,585 [Thread-1]
INFO  Action:execute-builder - No files updated, not building.
Project id '6'.

And it doesn't really make the building. I've tried changing file trying to
make a difference but nothing happen. It may be a conf option or something
but I don't know.

I hope you can help me with that.

Once again, what I'm trying to do is make a "build" through a schedule,
doing a checkout before the "build"

Thanks


RE: Perforce SCM fails when using URL with user id

2006-03-29 Thread Mike Perham
Jeff, your changelog plugin is not using Maven SCM.  It's using its own
Perforce code.  You might dig into the changelog plugin code to see if
there is a solution to your problem - I'm not familiar with that
codebase.

-Original Message-
From: Jeff Jensen [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 28, 2006 10:03 PM
To: 'Maven Users List'
Subject: Perforce SCM fails when using URL with user id

Hello,

I can't use the $P4USER setting for the machines, and need to use a
property for it/specify it to the Perforce SCM plugin.

The format on the docs (http://maven.apache.org/scm/perforce.html) says:
  scm:perforce:[EMAIL PROTECTED]:[port:]path_to_repository

If I use the SCM URL format that includes a username, this is the error
I
receive:

[echo] Generating the Change Log...
maven-changelog-plugin:report:
[echo] Generating the changelog report
SCM Working Directory: [snipped the path]
SCM Command Line[0]: p4
SCM Command Line[1]: -p
SCM Command Line[2]: [the user [EMAIL PROTECTED] ip]:[the port]
SCM Command Line[3]: filelog
SCM Command Line[4]: -tl
SCM Command Line[5]: //[depot name]/[path]/...
Perforce client error:
Connect to server failed; check $P4PORT.
TCP connect to [user [EMAIL PROTECTED] address] failed.
[user [EMAIL PROTECTED] address]: host unknown.
ChangeSet between 2006-02-26 and 2006-03-29: 0 entries

Is this working correctly?  What do I not understand about the SCM URL?


-
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 set up proxy password not in plain text?

2006-03-29 Thread Szczepan Faber
2 reasons:

1. Imagine *fun* IT society in open space... You just cannot get out
from your desk without locking the desktop :) If you happened to left
console unlocked, you would be jeopardized by prank makers. And you
can call yourself lucky if they only sent couple of e-mails from your
box:] What if they know where to find a password in plain text?
Usually people have one or at most couple of passwords for many of
services.

2. Development boxes. If I need to set up maven in dev box, where
everyone has access I must play with users / rights to have my
password secured and still root admins can see it.

Thanks, though. If I implement this, I'll submit a patch.

On 3/29/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> Never seen anyone ask about this before so if you've looked and can't
> find any info about this, I'd say its probably not supported. Check
> the source code. If you add this "feature" yourself, please contribute
> the patch back, in case someone else wants this same functionality.
>
> Not really sure why you'd need a non-plaintext m2 proxy password...
> What's the use case? Why doesn't your operating system's file security
> of your settings.xml file prevent someone from getting the password?
>
> Wayne
>
>
> On 3/29/06, Szczepan Faber <[EMAIL PROTECTED]> wrote:
> > How to set up maven 2 proxy password not in plain text (currently it
> > is configured in settings.xml)?
> >
> > -
> > 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: Spaces in -D?

2006-03-29 Thread Gordon Henriksen

On Mar 29, 2006, at 3:40 PM, Alex Shneyderman wrote:


On 3/29/06, Gordon Henriksen <[EMAIL PROTECTED]> wrote:

Even if I properly escape spaces in a path at the shell level,  
Maven seems to attempt to re-tokenize the command parameters. For  
instance, on Unix, the following seems as if it should run the  
compile goal with a "foo" parameter valued "bar baz":


 $ mvn compile "-Dfoo=bar baz"


should not it be like this:

mvn compile -Dfoo="bar baz"

?


The two forms are equivalent.

— G


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



Re: Spaces in -D?

2006-03-29 Thread Alex Shneyderman
should not it be like this:

mvn compile -Dfoo="bar baz"

?

On 3/29/06, Gordon Henriksen <[EMAIL PROTECTED]> wrote:
> Even if I properly escape spaces in a path at the shell level, Maven
> seems to attempt to re-tokenize the command parameters. For instance,
> on Unix, the following seems as if it should run the compile goal
> with a "foo" parameter valued "bar baz":
>
>  $ mvn compile "-Dfoo=bar baz"
>
> But in fact, it fails, complaining that "baz" is an invalid task:
>
>  [INFO] Scanning for projects...
>  [INFO]
> 
> 
>  [ERROR] BUILD FAILURE
>  [INFO]
> 
> 
>  [INFO] Invalid task 'baz': you must specify a valid lifecycle
> phase, or a goal in the format plugin:goal or
> pluginGroupId:pluginArtifactId:pluginVersion:goal
>  [INFO]
> 
> 
>  [INFO] For more information, run Maven with the -e switch
>  [INFO]
> 
> 
>  [INFO] Total time: < 1 second
>  [INFO] Finished at: Wed Mar 29 15:21:01 EST 2006
>  [INFO] Final Memory: 1M/2M
>  [INFO]
> 
> 
>
> This looks very much like a bug. Is this intended behavior? I was
> merely trying to run
>
>  mvn deploy:deploy-file "-Dfile=[path that happened to include
> spaces]" ...
>
> — G
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Alex.

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



Re: [m2] multiproject modules question

2006-03-29 Thread Alexandre Poitras
Oh great, didn't know that ;) Sometimes the answer is just too simple...

On 3/29/06, Konstantin Polyzois <[EMAIL PROTECTED]> wrote:
> Would not this work?
>
> Project pom
>
> components/Comp1
> ...
> components/CompN
>
> I have tried it, and it worked.
>
> /Konstantin
>
> On 3/29/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> >
> > Realize that if you go this route, you won't be able to go to the top
> > parent directory and issue a single "mvn install" type of command to
> > build and package each module in turn and install into your local
> > repo.
> >
> > But if you simply want to share the parent pom for
> > dependencyManagement and other general project reasons, then this
> > should be fine.
> >
> > Wayne
> >
> >
> > On 3/29/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote:
> > > Depends of what you want.
> > > If you want a multi-modules project then I think the answer is no.
> > > If you want to have a common parent pom, there is no problem, you can
> > > put it wherever you want. Just don't declare any modules in your pom.
> > >
> > > On 3/29/06, Dario Luis Coneglian Oliveros <[EMAIL PROTECTED]> wrote:
> > > > Hi there,
> > > >
> > > > Does anybody know if there's a way to create a multiproject by having
> > > > its modules in a different directory depth level ?
> > > > AFAIK, when setting up a multiproject, its respective modules must be
> > > > placed under it  as subdirectories.
> > > > I would like to have something as follows:
> > > >
> > > > + Project
> > > > - pom.xml
> > > > + components
> > > >+ Comp1
> > > >   - pom.xml
> > > >...
> > > >+ CompN
> > > >   - pom.xml
> > > >
> > > > Thanks,
> > > > Dário
> > > >
> > > >
> > > > -
> > > > 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]
> > >
> > >
> >
>
>


--
Alexandre Poitras
Québec, Canada

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



Spaces in -D?

2006-03-29 Thread Gordon Henriksen
Even if I properly escape spaces in a path at the shell level, Maven  
seems to attempt to re-tokenize the command parameters. For instance,  
on Unix, the following seems as if it should run the compile goal  
with a "foo" parameter valued "bar baz":


$ mvn compile "-Dfoo=bar baz"

But in fact, it fails, complaining that "baz" is an invalid task:

[INFO] Scanning for projects...
[INFO]  
 


[ERROR] BUILD FAILURE
[INFO]  
 

[INFO] Invalid task 'baz': you must specify a valid lifecycle  
phase, or a goal in the format plugin:goal or  
pluginGroupId:pluginArtifactId:pluginVersion:goal
[INFO]  
 


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


[INFO] Total time: < 1 second
[INFO] Finished at: Wed Mar 29 15:21:01 EST 2006
[INFO] Final Memory: 1M/2M
[INFO]  
 



This looks very much like a bug. Is this intended behavior? I was  
merely trying to run


mvn deploy:deploy-file "-Dfile=[path that happened to include  
spaces]" ...


— G

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



Re: jar packaging: how to include other jars?

2006-03-29 Thread Rob Dickens

On 29 Mar 2006, at 13:35, Emmanuel Venisse wrote:

You can use the assembly plugin (http://maven.apache.org/guides/ 
mini/guide-assemblies.html), it will be the best solution.
The preferred format is what you want ;-) (zip, tar, tar.gz,  
tar.bz2, jar...)


Emmanuel


Many thanks for this reply.

After some trial and error, I finally got it to work:

* mylib-dist packaging changed to pom

* the following added to mylib-dist/pom.xml (which must also specify  
the dependencies on the jar-files from the other two modules):

  

  
maven-assembly-plugin

  
src/main/assembly/whatever.xml
  

  

  

* added mylib-dist/src/main/assembly/whatever.xml:

  applet-jnlp
  
zip
  
  false
  

  src/main/resources
  /

  
  

  /
  false
  runtime

  


* from mylib/mylib-dist/ ran 'mvn assembly:assembly' to generate  
the .zip or 'mvn assembly:directory' to generate a directory  
containing the said files



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



[WARNING] Component returned which is not the same manager.

2006-03-29 Thread Gautham Pamu
Hi Everyone,

I received this message in my build report of continuum. When does this
warning happen ? Is something wrong with my configuration. Can we
just ignore this warning.

[WARNING] Component returned which is not the same manager. Ignored.
[EMAIL PROTECTED]

--
-Gautham Pamu


Re: [M2] another internal remote repository question

2006-03-29 Thread Wendy Smoak
On 3/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

> Having developed a new archetype for developers to use internally to build
> adaptors, I am also providing them with a pre-configured maven-2.0.2
> installation that contains a profile (activated by default - see below 
> section from
> settings.xml) which points to our internal remote repositories.
...
> Note that when users start to build these adaptors, they have no project
> (and therefore no pom.xml), hence to create an instance of the archetype,
> maven needs to download the archetype from our internal remote repositories

I think you're running into this problem:

* http://jira.codehaus.org/browse/ARCHETYPE-1
* 
http://www.nabble.com/How-to-install-use-a-third-party-archetype--t1024045.html

Quoting Jason, "The archetype plugin doesn't look at settings.xml. It
only looks in your POM but if you don't have a POM yet it's sort of
hard :-)"

There is a new attribute, -DremoteRepositories, but it isn't in a
released version of archetype yet.  Once that's out, (or if you're
comfortable building it from source,) you can point the archetype
plugin at the remote repository containing  your custom archetype, and
it should work.

HTH,
--
Wendy

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



RE: [M2] another internal remote repository question

2006-03-29 Thread Rollo, Dan
I don't have an answer, but I do have a question: I've seen this
"bootstrap" situation w/ internal repo's discussed before, and my
solution was to use a "common" (or "bootstrap") parent pom as the parent
for all our project poms. For example:

ParentPom:

...
org.mine
pomCommon
pom 
1.0-SNAPSHOT
Shared Maven settings - Parent pom ...


internal.repo.release
Release Repo
...


internal.repo.snapshot
Snapshot Repo
...



central
Maven Proxy of Central repo
http://...maven proxy box...:/repository






internal.repo.release
Release Repo
...


internal.repo.snapshot
Snapshot Repo
...



central
Maven Proxy of Central repo
http://...maven proxy box...:/repository


...
 

Then all Project POMS's have:


org.mine
pomCommon
1.0-SNAPSHOT


org.mine.proj
...
...


With this approach, a new machine need only get the pomCommon installed
in their local repo (could be done via a boostrap project, script, or
whatever). From then on, they always hit the internal remote repos. One
advantage here is updates to the pomCommon will automatically propogate
to users. Am I missing something fundamental here?

Dan


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 29, 2006 12:13 PM
To: Maven Users List
Subject: [M2] another internal remote repository question

Like many other posts on this mailing list, I'm currently struggling to
get my internal remote repository working correctly.

Having developed a new archetype for developers to use internally to
build adaptors, I am also providing them with a pre-configured
maven-2.0.2 installation that contains a profile (activated by default -
see below section from
settings.xml) which points to our internal remote repositories. If this
worked, it would prevent developers having to run 'maven install' on the
top level project to create, build and install all artifacts into their
local repository.

Note that when users start to build these adaptors, they have no project
(and therefore no pom.xml), hence to create an instance of the
archetype, maven needs to download the archetype from our internal
remote repositories (hence the below configuration in settings.xml).

Project artifacts are deployed to repository with
id='jpm-inhouse-release'
Project artifact dependencies are held in repository with id='
jpm-ibiblio-mirror'


 use-jpm-repositories
 
   true
 
 
   
 jpm-inhouse-release
 Corporate Internal release repository
 
http://corporate.domain.com/svn/repos/mavenRepository/trunk/m2repository
-jpm-release

 
   true
 
 
   false
 
   
   
 jpm-inhouse-snapshot
 Corporate Internal snapshot repository 
 
http://corporate.domain.com/svn/repos/mavenRepository/trunk/m2repository
-jpm-snapshot

 
   false
 
 
   true
 
   

 jpm-ibiblio-mirror
 Corporate Internal mirror of ibiblio repository
 
http://corporate.domain.com/svn/repos/mavenRepository/trunk/m2repository

 
   true
 
 
   false
 
   
 
   

When creating an adaptor instance using our archetype, maven never
attempts to retrieve the dependencies from 'jpm-ibiblio-mirror' even
though it exists and is configured in settings.xml.

C:\temp\ixgf>createAdapter TestAdaptor
ECHO is off.
"creating new adapter instance called 'TestAdaptor'"
ECHO is off.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] com.jpmorgan.adaptor: checking for updates from central [INFO]
org.apache.maven.plugins: checking for updates from central [INFO]
org.codehaus.mojo: checking for updates from central [INFO] artifact
org.apache.maven.plugins:maven-archetype-plugin: checking for up dates
from central
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archet
ype-plugin/1.0-alpha-3/maven-archetype-plugin-1.0-alpha-3.pom
1K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugin
-parent/2.0-beta-1/maven-plugin-parent-2.0-beta-1.pom
6K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archet
ype-plugin/1.0-alpha-3/maven-archetype-plugin-1.0-alpha-3.jar
6K downloaded

Does anyone know why maven is not trying to download these artifacts
from the repositories configured in the above profile within my
settings.xml?

Thanks,
John




This communication is for informational purposes only. It is not
intended as a

Re: [m2] multiproject modules question

2006-03-29 Thread Konstantin Polyzois
Would not this work?

Project pom

components/Comp1
...
components/CompN

I have tried it, and it worked.

/Konstantin

On 3/29/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
>
> Realize that if you go this route, you won't be able to go to the top
> parent directory and issue a single "mvn install" type of command to
> build and package each module in turn and install into your local
> repo.
>
> But if you simply want to share the parent pom for
> dependencyManagement and other general project reasons, then this
> should be fine.
>
> Wayne
>
>
> On 3/29/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote:
> > Depends of what you want.
> > If you want a multi-modules project then I think the answer is no.
> > If you want to have a common parent pom, there is no problem, you can
> > put it wherever you want. Just don't declare any modules in your pom.
> >
> > On 3/29/06, Dario Luis Coneglian Oliveros <[EMAIL PROTECTED]> wrote:
> > > Hi there,
> > >
> > > Does anybody know if there's a way to create a multiproject by having
> > > its modules in a different directory depth level ?
> > > AFAIK, when setting up a multiproject, its respective modules must be
> > > placed under it  as subdirectories.
> > > I would like to have something as follows:
> > >
> > > + Project
> > > - pom.xml
> > > + components
> > >+ Comp1
> > >   - pom.xml
> > >...
> > >+ CompN
> > >   - pom.xml
> > >
> > > Thanks,
> > > Dário
> > >
> > >
> > > -
> > > 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: Continuum and ClearCase

2006-03-29 Thread Emmanuel Venisse

your first url is correct, but i don't think the second is.

file protocol works only if you allow it in apps/continuum/conf/application.xml
You must restart continuum after the modification because the conf is loaded at 
startup.

I use every day file protocol with url similar to your first for continuum 
tests.

Emmanuel

Aaron Freeman a écrit :

I tried giving it something similar to Mark suggested:
file:///C:/path/to/pom/pom.xml

I also tried several other formats:
//path/to/pom/pom.xml
file:/path/to/pom/pom.xml
and several other that I can't even think of right now.

It always says "You must provide a valid URL"



On 3/29/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:


What is your url provided in add screen?

Emmanuel

Aaron Freeman a écrit :


Thanks for the reply! I uncommented the "allowedScheme" for the type
'file', and then tried the path the way you suggested (and any other
way I could think of), and it still says "You must provide a valid
URL". I'm not sure what I am doing wrong. Is there something I need to
do to make this change take affect?




On 3/24/06, Mark Reynolds <[EMAIL PROTECTED]> wrote:



See this:
http://maven.apache.org/continuum/faqs.html#can-i-use-file-protocol-in-add-project-view

Then add your POM URL like this: file:///C:/path/to/pom/pom.xml

Aaron Freeman wrote:



I am bran new to Continuum. I have been learning Maven over last few
weeks and have a decent understanding of it, now I'm trying to figure
out how to setup Continuum. We got it installed and running, and now
we are trying to get one of our Maven project to build under it. On
the Continuum page where you add a new POM it asks for the POM URL I'm
not sure what to enter. We are using ClearCase for our version control
(without the web interface), so all I have to give it is a path in the
file system to the POM. Everything we have tried to put in has come
back as invalid. I don't know what it is expecting.

Can anyone help?

















Re: Continuum and ClearCase

2006-03-29 Thread Aaron Freeman
I tried giving it something similar to Mark suggested:
file:///C:/path/to/pom/pom.xml

I also tried several other formats:
//path/to/pom/pom.xml
file:/path/to/pom/pom.xml
and several other that I can't even think of right now.

It always says "You must provide a valid URL"



On 3/29/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:
> What is your url provided in add screen?
>
> Emmanuel
>
> Aaron Freeman a écrit :
> > Thanks for the reply! I uncommented the "allowedScheme" for the type
> > 'file', and then tried the path the way you suggested (and any other
> > way I could think of), and it still says "You must provide a valid
> > URL". I'm not sure what I am doing wrong. Is there something I need to
> > do to make this change take affect?
> >
> >
> >
> >
> > On 3/24/06, Mark Reynolds <[EMAIL PROTECTED]> wrote:
> >
> >>See this:
> >>http://maven.apache.org/continuum/faqs.html#can-i-use-file-protocol-in-add-project-view
> >>
> >>Then add your POM URL like this: file:///C:/path/to/pom/pom.xml
> >>
> >>Aaron Freeman wrote:
> >>
> >>>I am bran new to Continuum. I have been learning Maven over last few
> >>>weeks and have a decent understanding of it, now I'm trying to figure
> >>>out how to setup Continuum. We got it installed and running, and now
> >>>we are trying to get one of our Maven project to build under it. On
> >>>the Continuum page where you add a new POM it asks for the POM URL I'm
> >>>not sure what to enter. We are using ClearCase for our version control
> >>>(without the web interface), so all I have to give it is a path in the
> >>>file system to the POM. Everything we have tried to put in has come
> >>>back as invalid. I don't know what it is expecting.
> >>>
> >>>Can anyone help?
> >>>
> >>
> >>
> >
> >
> >
>
>


Re: Group name is same

2006-03-29 Thread Emmanuel Venisse
I don't understand what's happen. If your projects list is empty, you can stop continuum and delete 
database directory in apps/continuum.


After the delete, if you add your project and you get always "Shoping-Modules", it's something wrong 
in your pom


Emmanuel

[EMAIL PROTECTED] a écrit :

in my old project i had my group name as "Shoping-Modules"

then i deleted all those projects everything clear

then added a new maven2 project which has it pom as
Root
Credit
 Credit Module

when i added this project in my continuum Group name i still see it as 
"Shoping-Modules"







Thanks,
Raghu 






Emmanuel Venisse <[EMAIL PROTECTED]>
03/29/2006 09:07 AM
Please respond to continuum-users

 
To: continuum-users@maven.apache.org
cc: 
Subject:Re: Group name is same



What is the the name in your pom and what is the group name that appears 
in summary?


Emmanuel

[EMAIL PROTECTED] a écrit :


Thanks for your reply,


But i deleted all the project was there in continuum and restarted the 
continuum then added a new project as fresh, but still it taking group 
name from whatever i deleted







Thanks,
Raghu 






Emmanuel Venisse <[EMAIL PROTECTED]>
03/29/2006 01:35 AM
Please respond to continuum-users


   To: continuum-users@maven.apache.org
   cc: 
   Subject:Re: Group name is same



It isn't possible to modify the group name for now. The group name is, 


for 

current project you add 
and subproject, the name of current project.


Emmanuel

[EMAIL PROTECTED] a écrit :



Hi All,

I had maven2, and continuum setup then i deleted all those projects.

then tried adding new projects, everything works fine, but the only 
problem is its having the group name from my old project and i dont want 






it that way is there a way to change it

Anyone please advice





Thanks,
Raghu 
















Re: [m2] multiproject modules question

2006-03-29 Thread Wayne Fay
Realize that if you go this route, you won't be able to go to the top
parent directory and issue a single "mvn install" type of command to
build and package each module in turn and install into your local
repo.

But if you simply want to share the parent pom for
dependencyManagement and other general project reasons, then this
should be fine.

Wayne


On 3/29/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote:
> Depends of what you want.
> If you want a multi-modules project then I think the answer is no.
> If you want to have a common parent pom, there is no problem, you can
> put it wherever you want. Just don't declare any modules in your pom.
>
> On 3/29/06, Dario Luis Coneglian Oliveros <[EMAIL PROTECTED]> wrote:
> > Hi there,
> >
> > Does anybody know if there's a way to create a multiproject by having
> > its modules in a different directory depth level ?
> > AFAIK, when setting up a multiproject, its respective modules must be
> > placed under it  as subdirectories.
> > I would like to have something as follows:
> >
> > + Project
> > - pom.xml
> > + components
> >+ Comp1
> >   - pom.xml
> >...
> >+ CompN
> >   - pom.xml
> >
> > Thanks,
> > Dário
> >
> >
> > -
> > 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: [m2] multiproject modules question

2006-03-29 Thread Alexandre Poitras
Depends of what you want.
If you want a multi-modules project then I think the answer is no.
If you want to have a common parent pom, there is no problem, you can
put it wherever you want. Just don't declare any modules in your pom.

On 3/29/06, Dario Luis Coneglian Oliveros <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> Does anybody know if there's a way to create a multiproject by having
> its modules in a different directory depth level ?
> AFAIK, when setting up a multiproject, its respective modules must be
> placed under it  as subdirectories.
> I would like to have something as follows:
>
> + Project
> - pom.xml
> + components
>+ Comp1
>   - pom.xml
>...
>+ CompN
>   - pom.xml
>
> Thanks,
> Dário
>
>
> -
> 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]



[m2] multiproject modules question

2006-03-29 Thread Dario Luis Coneglian Oliveros

Hi there,

Does anybody know if there's a way to create a multiproject by having 
its modules in a different directory depth level ?
AFAIK, when setting up a multiproject, its respective modules must be 
placed under it  as subdirectories.

I would like to have something as follows:

+ Project
   - pom.xml
   + components
  + Comp1
 - pom.xml
  ...
  + CompN
 - pom.xml

Thanks,
Dário


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



Re: Maven

2006-03-29 Thread Oleksa

Hi guys!

I have the same trouble after adding

 
org.apache.maven.plugins
maven-surefire-plugin

once|pertest   
   ${JAVA_HOME_1-5}\bin\java.exe


forkMode parameter.

I need to add this plugin configuration in order to make "mvn test" task use
JVM 5.0 instead of default for my machine - 1.4.

It must be simple, similar think I did to use 5.0 Java for the compilation.

org.apache.maven.plugins
maven-compiler-plugin

true
${JAVA_HOME_1-5}\bin\javac.exe
1.5
1.5
1.5

  


Any ideas? I'll highly appriciate any advice.

Full stack trace look like this:
[ERROR] BUILD ERROR
[INFO]
-
---
[INFO] There are some test failure.
[INFO]
-
---
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: There are some test
fail
ure.
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:556)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:485)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:455)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:303)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:270)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:139)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: There are some
test f
ailure.
at
org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:384)

at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:415)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:531)
... 16 more


Thanks in advance,
Oleksa Stelmakh
--
View this message in context: http://www.nabble.com/Maven-t1297723.html#a3654810
Sent from the Maven - Users forum at Nabble.com.


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



Re: Group name is same

2006-03-29 Thread raghurajan . x . gurunathan
in my old project i had my group name as "Shoping-Modules"

then i deleted all those projects everything clear

then added a new maven2 project which has it pom as
Root
Credit
 Credit Module

when i added this project in my continuum Group name i still see it as 
"Shoping-Modules"






Thanks,
Raghu 





Emmanuel Venisse <[EMAIL PROTECTED]>
03/29/2006 09:07 AM
Please respond to continuum-users

 
To: continuum-users@maven.apache.org
cc: 
Subject:Re: Group name is same


What is the the name in your pom and what is the group name that appears 
in summary?

Emmanuel

[EMAIL PROTECTED] a écrit :
> Thanks for your reply,
> 
> 
> But i deleted all the project was there in continuum and restarted the 
> continuum then added a new project as fresh, but still it taking group 
> name from whatever i deleted
> 
> 
> 
> 
> 
> 
> Thanks,
> Raghu 
> 
> 
> 
> 
> 
> Emmanuel Venisse <[EMAIL PROTECTED]>
> 03/29/2006 01:35 AM
> Please respond to continuum-users
> 
> 
> To: continuum-users@maven.apache.org
> cc: 
> Subject:Re: Group name is same
> 
> 
> It isn't possible to modify the group name for now. The group name is, 
for 
> current project you add 
> and subproject, the name of current project.
> 
> Emmanuel
> 
> [EMAIL PROTECTED] a écrit :
> 
>>Hi All,
>>
>>I had maven2, and continuum setup then i deleted all those projects.
>>
>>then tried adding new projects, everything works fine, but the only 
>>problem is its having the group name from my old project and i dont want 

> 
> 
>>it that way is there a way to change it
>>
>>Anyone please advice
>>
>>
>>
>>
>>
>>Thanks,
>>Raghu 
>>
> 
> 
> 
> 
> 





Repository Problem with Release Plugin

2006-03-29 Thread Allison, Bob
I am starting to try to use the release plugin to do releases, and I am
finding a problem.  I'm not sure if this is a bug with the release
plugin, some other part of Maven 2.0.3, or just a bad POM.

My original POM defined the deployment repository as:

  theid
  thename
  file:///the/url
  
true
  
  
true
daily
fail
  


When the release plugin gets done making the new POM, the , ,
and  get moved to the end of the  stanza and the
... lines are converted to "" (diff
attached below).  Once this happens, modules of this project are no
longer looking at any repositories other than "central" for releases.  I
discovered this when I upgraded from 2.0.2 to 2.0.3 and cleared my local
repository to ensure that I had the latest plugins; my released projects
failed to even parse because the released parent project could no longer
be found (those projects access the repository via http; the diff below
came from a sample I created to test the problem which accesses a
temporary repository via file).

Does anybody have a clue what might be wrong?

-- Diff of changes made by release plugin --

--- ../../save/parent-pom.xml.orig  2006-03-29 08:55:22.0
-0700
+++ pom.xml 2006-03-29 09:03:07.0 -0700
@@ -1,12 +1,11 @@
-
-
+
   4.0.0
   test
   parent
   pom
   Release Test Parent
-  1.0
-  http://www.home.com/
+  1.1-SNAPSHOT
+  http://www.home.com
   2004
   
 
@@ -43,94 +42,81 @@
   
   
 
-  dev
-  Test Development Repository
-  file:///tmp/snapshot
   
 false
   
   
-true
 daily
 fail
   
+  dev
+  Test Development Repository
+  file:///tmp/snapshot
 
 
-  rel
-  Test Release Repository
-  file:///tmp/release
-  
-true
-  
+  
   
 false
   
+  rel
+  Test Release Repository
+  file:///tmp/release
 
   
   
 
-  rel
-  Test Release Repository
-  file:///tmp/release
-  
-true
-  
+  
   
 false
   
+  rel
+  Test Release Repository
+  file:///tmp/release
 
 
-  dev
-  Test Development Repository
-  file:///tmp/snapshot
   
 false
   
   
-true
 daily
 fail
   
+  dev
+  Test Development Repository
+  file:///tmp/snapshot
 
 
-  codehaus-plugins
-  http://dist.codehaus.org/
+  
   
-true
 daily
 fail
   
-  
-true
-  
+  codehaus-plugins
+  http://dist.codehaus.org/
 
   
   
 
   
-org.codehaus.mojo
-surefire-report-maven-plugin
-  
-  
-org.apache.maven.plugins
-maven-project-info-reports-plugin
-  
-  
-org.apache.maven.plugins
 maven-checkstyle-plugin
   
   
-org.apache.maven.plugins
 maven-javadoc-plugin
   
   
-org.apache.maven.plugins
 maven-pmd-plugin
   
   
+maven-project-info-reports-plugin
+  
+  
 org.codehaus.mojo
 jxr-maven-plugin
   
+  
+org.codehaus.mojo
+surefire-report-maven-plugin
+  
 
   
   

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



[M2] another internal remote repository question

2006-03-29 Thread john . w . law
Like many other posts on this mailing list, I'm currently struggling to get
my internal remote repository working correctly.

Having developed a new archetype for developers to use internally to build
adaptors, I am also providing them with a pre-configured maven-2.0.2
installation
that contains a profile (activated by default - see below section from
settings.xml) which points to our internal remote repositories. If this
worked, it would prevent
developers having to run 'maven install' on the top level project to
create, build and install all artifacts into their local repository.

Note that when users start to build these adaptors, they have no project
(and therefore no pom.xml), hence to create an instance of the archetype,
maven needs
to download the archetype from our internal remote repositories (hence the
below configuration in settings.xml).

Project artifacts are deployed to repository with id='jpm-inhouse-release'
Project artifact dependencies are held in repository with id='
jpm-ibiblio-mirror'


 use-jpm-repositories
 
   true
 
 
   
 jpm-inhouse-release
 Corporate Internal release repository
 
http://corporate.domain.com/svn/repos/mavenRepository/trunk/m2repository-jpm-release

 
   true
 
 
   false
 
   
   
 jpm-inhouse-snapshot
 Corporate Internal snapshot repository 
 
http://corporate.domain.com/svn/repos/mavenRepository/trunk/m2repository-jpm-snapshot

 
   false
 
 
   true
 
   

 jpm-ibiblio-mirror
 Corporate Internal mirror of ibiblio repository
 
http://corporate.domain.com/svn/repos/mavenRepository/trunk/m2repository
 
   true
 
 
   false
 
   
 
   

When creating an adaptor instance using our archetype, maven never attempts
to retrieve the dependencies from 'jpm-ibiblio-mirror' even though it
exists
and is configured in settings.xml.

C:\temp\ixgf>createAdapter TestAdaptor
ECHO is off.
"creating new adapter instance called 'TestAdaptor'"
ECHO is off.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] com.jpmorgan.adaptor: checking for updates from central
[INFO] org.apache.maven.plugins: checking for updates from central
[INFO] org.codehaus.mojo: checking for updates from central
[INFO] artifact org.apache.maven.plugins:maven-archetype-plugin: checking
for up
dates from central
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archet
ype-plugin/1.0-alpha-3/maven-archetype-plugin-1.0-alpha-3.pom
1K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugin
-parent/2.0-beta-1/maven-plugin-parent-2.0-beta-1.pom
6K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archet
ype-plugin/1.0-alpha-3/maven-archetype-plugin-1.0-alpha-3.jar
6K downloaded

Does anyone know why maven is not trying to download these artifacts from
the repositories configured in the above profile within my settings.xml?

Thanks,
John




This communication is for informational purposes only. It is not intended
as an offer or solicitation for the purchase or sale of any financial
instrument or as an official confirmation of any transaction. All market prices,
data and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein 
do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries 
and affiliates.

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



[m2.0.3] Embedder - How to build transitive Dependency/Artifact graph

2006-03-29 Thread Rollo, Dan
I'm working on a CruiseControl SourceControl plugin for Maven2 Snapshots
using the Embedder.

First, apologies for mis-named api methods in the following description,
but I'm writing from foggy memory.

I can read the list of PluginDependencies using the MavenProject. I'd
like to build a full list of Artifacts that would include transitive
dependencies (in order to check and report on exactly what dependent
files have changed since the last build).

My current approach can only list the Artifacts specifically mentioned
in the pom.xml. The best I can do now is also run
ManvenProject.readProjectWithDependencies() to get the Embedder to
update all transitive dependencies, but I can't show a list of what was
updated.

Digging into the Embedder api, I can't see how to get a transitive
Artifact graph. Suggestions?

Finally, a simple question: If I have an Artifact object, is there an
easy way to query the Embedder to find the full path to that object in
the local repository? (Right now I'm just building the path using
groupID, artifactID, etc, but it feels like this should be exposed
somewhere by the Embedder.)

Sorry for the wandering description...need more sleep. ;)

Dan

--
This e-mail and any files transmitted with it may contain privileged or 
confidential information.
It is solely for use by the individual for whom it is intended, even if 
addressed incorrectly.
If you received this e-mail in error, please notify the sender; do not 
disclose, copy, distribute,
or take any action in reliance on the contents of this information; and delete 
it from
your system. Any other use of this e-mail is prohibited.

Thank you for your compliance.
--

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



Re: [M2] Compiling with JDK 1.4

2006-03-29 Thread Mang Jun Lau
I just tried using this method except with 
1.4 and without true since 
javac fails if I use fork (probably due to 
http://jira.codehaus.org/browse/MCOMPILER-22).

It doesn't work.  I'm still getting the "java.lang.NoSuchMethodError: 
java.math.BigDecimal: method (I)V not found" exception, meaning 
maven is still using the 1.5 JDK to compile despite those settings.  Is 
forking absolutely necessary to use an older JDK?

Using:


  1.4
  1.4
  
 
C:/j2sdk1.4.1/jre/lib/rt.jar;C:/j2sdk1.4.1/jre/lib/jce.jar
  


works well but seems like a hack.  Is this the proper way of using another 
JDK for compilation?


_Mang Lau





"Carlos Sanchez" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
03/28/2006 07:05 PM
Please respond to
"Maven Users List" 


To
"Maven Users List" 
cc

Subject
Re: [M2] Compiling with JDK 1.4






Check this out to actually use another JDK

  
org.apache.maven.plugins
maven-compiler-plugin

  true
  1.3
  C:/Program 
Files/Java/jdk1.3.1_18/bin/javac
  

  


On 3/28/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
>
> This should work better :
>
>   
> org.apache.maven.plugins
> maven-compiler-plugin
> 
>   1.3
>   1.3
>   1.3
>
> ${pom.getDependencyPath('jara:rt')}
> 
>   
> ...
>
> 
>   java
>   rt
>   1.3
>   system
> 
>
> Now, how to set the (computer specific) location of the "system" scoped
> dependency ?
>
> 
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html

> only says the dependency will not be looked-up from repository, but HOW
> to provide it ?
>
> Nico.
>
>
> Nicolas De Loof a écrit :
> >
> > Could it be possible to set this "rt.jar" as a (system ?) dependency,
> > something like this :
> >
> > ${getDependencyPath("java:rt:1.3")}
> >
> >
> > Siegmann Daniel, NY a écrit :
> >> I too have had to override the JAVA_HOME JDK, though in my case it
> >> was to
> >> compile for 1.3 rather than 1.4. What you seem to be missing is
> >> setting the
> >> bootclasspath to the correct Java runtime library. Below is the
> >> configuration I use. I hope this helps.
> >>
> >>   
> >> org.apache.maven.plugins
> >> maven-compiler-plugin
> >> 
> >>   1.3
> >>   1.3
> >>   
> >>
> >> 
..\..\tools\jdk\1.3.1_15\jre\lib\rt.jar
> >>   
> >> 
> >>   
> >>
> >> --
> >> Daniel Siegmann
> >> FJA-US, Inc.
> >> (212) 840-2618 ext. 139
> >>
> >>
> >>> -Original Message-
> >>> From: Mang Jun Lau [mailto:[EMAIL PROTECTED] Sent: Monday, March
> >>> 27, 2006 5:28 PM
> >>> To: users@maven.apache.org
> >>> Subject: [M2] Compiling with JDK 1.4
> >>>
> >>>
> >>> Hi,
> >>>
> >>> I've searched and tried the methods given before but things haven't
> >>> been working for me.  My JAVA_HOME points to the 1.5 JDK.  I would
> >>> like to compile my code to be able to run under JDK 1.4.  So, in my
> >> 
> >>
> >>> Hope someone has done this successfully before.  Thanks.
> >>>
> >>>
> >>> _Mang Lau
> >>>
> >>>
> >>
> >> -
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> > This message contains information that may be privileged or
> > confidential and is the property of the Capgemini Group. It is
> > intended only for the person to whom it is addressed. If you are not
> > the intended recipient,  you are not authorized to read, print,
> > retain, copy, disseminate,  distribute, or use this message or any
> > part thereof. If you receive this  message in error, please notify the
> > sender immediately and delete all  copies of this message.
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> This message contains information that may be privileged or confidential 
and is the property of the Capgemini Group. It is intended only for the 
person to whom it is addressed. If you are not the intended recipient, you 
are not authorized to read, print, retain, copy, disseminate,  distribute, 
or use this message or any part thereof. If you receive this  message in 
error, please notify the sender immediately and delete all  copies of this 
message.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

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




Re: POM interpolation problem in maven-2.0.3

2006-03-29 Thread dan tran
you are right about  mkdir, how ever

my surefire configuration the usage of ${project.build.directory}, so this
issue is valid

I am sure this issue will hit other usages

-D


On 3/29/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:
>
> ${project.build.directory} works fine, it's only the echo result that's
> strange.
>
> Add this after the echo :
>
> 
> 
>
> and create a child project of your pom with the same plugin execution, and
> your see that it create
> two txt files in correct directories (parent/target and child/target)
>
>
> D:\tmp\testmaven>mvn generate-sources
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   parent
> [INFO]   child
> [INFO]
> 
> [INFO] Building parent
> [INFO]task-segment: [generate-sources]
> [INFO]
> 
> [INFO] [antrun:run {execution: echo}]
> [INFO] Executing tasks
>  [echo] project.build.directory:target
> [mkdir] Created dir: D:\tmp\testmaven\target
> [touch] Creating D:\tmp\testmaven\target\parent.txt
> [INFO] Executed tasks
> [INFO]
> 
> [INFO] Building child
> [INFO]task-segment: [generate-sources]
> [INFO]
> 
> [INFO] [antrun:run {execution: echo}]
> [INFO] Executing tasks
>  [echo] project.build.directory:target
> [mkdir] Created dir: D:\tmp\testmaven\child\target
> [touch] Creating D:\tmp\testmaven\child\target\child.txt
> [INFO] Executed tasks
> [INFO] [antrun:run {execution: echo}]
> [INFO] Executing tasks
>  [echo] project.build.directory:target
> [INFO] Executed tasks
> [INFO]
> [INFO]
> [INFO]
> 
> [INFO] Reactor Summary:
> [INFO]
> 
> [INFO] parent  SUCCESS [
> 1.375s]
> [INFO] child . SUCCESS [
> 0.047s]
> [INFO]
> 
> [INFO]
> 
> [INFO] BUILD SUCCESSFUL
> [INFO]
> 
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Wed Mar 29 11:23:54 CEST 2006
> [INFO] Final Memory: 2M/4M
> [INFO]
> 
>
> So I think the issue can be closed
>
> Emmanuel
>
>
> dan tran a écrit :
> > here you go, single pom would do
> >
> >
> > 
> > 
> >
> >   4.0.0
> >
> >   
> >   jar
> >   test
> >   child
> >   1.0-SNAPSHOT
> >
> >   child
> >
> >   
> > 
> >   
> > maven-antrun-plugin
> > 
> >   
> > echo
> > generate-sources
> > 
> >   run
> > 
> > 
> >   
> > project.build.directory:${project.build.directory}
> > 
> >   
> > 
> >   
> > 
> >   
> > 
> >
> >   
> >
> > 
> >
> >
> >
> > On 3/28/06, Brett Porter <[EMAIL PROTECTED]> wrote:
> >
> >>If that is the case, that is certainly bad - but I know we've had that
> >>regression before, and I thought there were tests in to enforce it, so
> >>I'd like to see a test case...
> >>
> >>- Brett
> >>
> >>On 3/29/06, dan tran <[EMAIL PROTECTED]> wrote:
> >>
> >>>my maven-2.0.3 shows ${project.build.directory}=target.  Instead of the
> >>>fullpath
> >>>this surely breaks the reactor build/test.
> >>>
> >>>
> >>>Does any one encounter the same problem?
> >>>
> >>>-D
> >>>
> >>>
> >>
> >>-
> >>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: Help with multiproject site generation?

2006-03-29 Thread Wayne Fay
I'll agree it could/should/would be nice if Maven would support it in
the future.

Open a Jira enhancement and I'm sure it will be addressed at some point.

Wayne


On 3/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Wayne,
>Thanks for your reply.  I agree is not painful in anyway, my
> point is, its something that could easily be managed by Maven as many
> other parts of my build process are.  I'll look to see if there is a
> JIRA report opened yet.
>
> Thanks again,
> Brian
>
> -Original Message-
> From: Wayne Fay [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 28, 2006 2:21 PM
> To: Maven Users List
> Subject: Re: Help with multiproject site generation?
>
> As far as I'm aware, this is the only current solution. Its really not
> that painful, how often are you adding modules to your projects?
>
> This has been discussed several times on the user list. IIRC no one has
> mentioned another solution.
>
> Of course any user is welcome to contribute patches that add this
> functionality to the site plugins. Or file a JIRA report (if it hasn't
> already been filed) and get other users to vote on it, and then wait for
> someone else to write the code.
>
> Wayne
>
>
> On 3/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Daun,
> >Thanks for the possible solution.  I'm experiencing this issue
> > as well.  I was expecting an automated way of maintaining the site
> > structure.  It would be much nicer if the site and site-deploy goals
> > supported multiprojects in someway.  Does anyone else know if they do?
> > Are Kevin, Daun and I missing something.  I know for me, I'm new to
> > Maven 2.0 so its definitely possible that I didn't configure my POM
> > correctly.
> >
> > Thanks,
> > Brian
> >
> > -Original Message-
> > From: Daun DeFrance [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, March 28, 2006 1:52 PM
> > To: Maven Users List
> > Subject: RE: Help with multiproject site generation?
> >
> > -Original Message-
> > From: Wood, Kevin [mailto:[EMAIL PROTECTED]
> > Subject: Help with multiproject site generation?
> >
> > Does anyone have a working example of multiproject site generation
> > with Maven2?
> >
> > 
> >
> > Kevin,
> > In order to get my muliproject site documentation to be cohesive, I
> > performed the following:
> >
> > I have projects set up like this:
> > 
> >   + subproject1
> >   + subproject2
> >   + src
> >   |   + site
> >   |   |   site.xml
> >   pom.xml
> >
> > My parent's site.xml contains menu item links to the subprojects which
>
> > looks like:
> >
> > 
> >
> >
> > 
> >
> > I've been pretty happy with this arrangement except you have to
> > remember to update the parent's src/site directory for new sub
> > projects.  My parent's src directory is otherwise empty.
> >
> > Best,
> > D DeFrance
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > Visit our website at http://www.ubs.com
> >
> > This message contains confidential information and is intended only
> > for the individual named.  If you are not the named addressee you
> > should not disseminate, distribute or copy this e-mail.  Please notify
>
> > the sender immediately by e-mail if you have received this e-mail by
> > mistake and delete this e-mail from your system.
> >
> > E-mail transmission cannot be guaranteed to be secure or error-free as
>
> > information could be intercepted, corrupted, lost, destroyed, arrive
> > late or incomplete, or contain viruses.  The sender therefore does not
>
> > accept liability for any errors or omissions in the contents of this
> > message which arise as a result of e-mail transmission.  If
> > verification is required please request a hard-copy version.  This
> > message is provided for informational purposes and should not be
> > construed as a solicitation or offer to buy or sell any securities or
> > related financial instruments.
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> Visit our website at http://www.ubs.com
>
> This message contains confidential information and is intended only
> for the individual named.  If you are not the named addressee you
> should not disseminate, distribute or copy this e-mail.  Please
> notify the sender immediately by e-mail if you have received this
> e-mail by mistake and delete this e-mail from your system.
>
> E-mail transmission cannot be guaranteed to be secure or error-free
> as information could be intercepted, corrupted, lost, destroyed,
> arrive late or incomplete, or contain viruses.  The sender therefore
> does not accept liability for any errors or omissions in the contents
> of this message which arise as a result of e-mail transmission.  If
> verification is required please request a

Re: RE : [m2] Inter-project dependency question - forced to package sub-module dependencies manually?

2006-03-29 Thread Wayne Fay
This is exactly correct.

If you want to build and package *only* your submodule, then Maven
needs to have the other dependencies already installed in your local
repo... it won't go find them, build, and use them even if they share
a parent.

This will work if executed from the top/parent pom. Then all artifacts
will be built "in order" and you don't need to install the various
module/submodules.

Wayne


On 3/29/06, Chris Wall <[EMAIL PROTECTED]> wrote:
> Thanks Gareth.
>
> It sounds as if Maven doesn't have the ability to determine and resolve
> inter-project dependencies when packaging a child.
>
> If a sub-module-A has a dependency on a module-B and module-B isn't
> package, Maven will not package module-B prior to packaging
> sub-module-A.  Again, this is if Maven is executed from sub-module-A.  I
> figured that since the pom.xmls were linked via parent, artifactIds, and
> module names, that Maven would have the information needed to resolve
> the dependency.
>
> Instead, from what I understand, you have to build all your dependency
> modules first, prior to packaging your sub-modules.  From the root
> pom.xml everything works well, but if I just want to work with a
> sub-module, than extra steps are required.
>
> -Chris
>
> -Original Message-
> From: Gareth Western [mailto:[EMAIL PROTECTED]
> Sent: March 28, 2006 2:50 PM
> To: Maven Users List
> Subject: Re: RE : [m2] Inter-project dependency question
>
> Hi Chris,
>
> I'm not sure if this is the BEST way to do it, but what I do is create a
> parent pom.xml in the root directory. Then add commons, web-app, and
> stand-alone app as modules in that parent POM. Maven should figure out
> that
> since webapp and standalone app are dependent on the commons module then
> that's what needs to be built first. Then when you call "mvn package"
> (or
> whatever your goal is) on the parent pom, maven will first do the
> commons
> module before anything else. You'll also need to add  tags to
> your
> sub-project (commons, web-app, and stand-alone app).
>
> See the example in the documentation at
> http://maven.apache.org/guides/getting-started/index.html#How%20do%20I%2
> 0build%20more%20than%20one%20project%20at%20once
> ?
> for more details
>
> Hope that helps!
>
> ~Gareth
>
> On 3/28/06, Chris Wall <[EMAIL PROTECTED]> wrote:
> >
> > Thanks Olivier.
> >
> > How do I represent this dependency in my webapp pom.xml?  I have the
> > following dependency declaration, but M2 tries to download the jar
> instead
> > of resolving that this is internally provided dependency.
> >
> >
> > 
> >   my-common
> >my-common
> >   1.0-SNAPSHOT
> > 
> >
> >
> ___
> Notice:  This email message, together with any attachments, may contain
> information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
> entities,  that may be confidential,  proprietary,  copyrighted  and/or
> legally privileged, and is intended solely for the use of the individual
> or entity named in this message. If you are not the intended recipient,
> and have received this message in error, please immediately return this
> by email and then delete it.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: [M2] how to set up proxy password not in plain text?

2006-03-29 Thread Wayne Fay
Never seen anyone ask about this before so if you've looked and can't
find any info about this, I'd say its probably not supported. Check
the source code. If you add this "feature" yourself, please contribute
the patch back, in case someone else wants this same functionality.

Not really sure why you'd need a non-plaintext m2 proxy password...
What's the use case? Why doesn't your operating system's file security
of your settings.xml file prevent someone from getting the password?

Wayne


On 3/29/06, Szczepan Faber <[EMAIL PROTECTED]> wrote:
> How to set up maven 2 proxy password not in plain text (currently it
> is configured in settings.xml)?
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: Using maven1 dependencies with m2?

2006-03-29 Thread Wayne Fay
I could be wrong, but I believe that's just a WARNING... It will still
use the dependency, just ignores the v3 pom.

I've seen that on a couple projects I'm involved in and it never broke
the build, so I believe the dependencies must be consumed/used during
the build process (or else it would throw ERROR about not finding a
dependency) and its just letting you know that v3 pom data is going to
be ignored. So it encourages you to upgrade all your poms and your
dependency poms to v4. ;-)

Wayne


On 3/29/06, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> is there any way to use maven1 dependencies with m2? Specifically, I (i.e. my 
> plugin) would like to depend on:
>
> https://maven-repository.dev.java.net/nonav/repository/javanettasks/poms/
>
> but when I try to do so, mvn is obviously complaining:
>
> [INFO] Using default encoding to copy filtered resources.
> [WARNING] POM for: 'javanettasks:javanettasks:pom:1.0.8' does not appear to 
> be valid. Its will be ig
> nored for artifact resolution.
>
> Reason: Invalid POM (not v4.0.0 modelVersion)
>
> Can i do anything about it, or only the developers of javanettasks?
>
> Andreas Ebbert-Karroum
>  Software Design Engineer - Nokia Networks Services / Middleware
>  phone: +49-211-94123928, fax: +49-211-94123838
>  Heltorfer Straße 1, 40472 Düsseldorf, Germany
>
>
> 
>
> This message is confidential. If you have received this message in error, 
> please delete it from your system. You should not copy it for any purpose, or 
> disclose its contents to any other person. Internet communications are not 
> secure and therefore Nokia GmbH does not accept legal responsibility for the 
> contents of this message as it has been transmitted over a public network. 
> Thank you.
>
> Nokia GmbH, Nokia Networks is a German Company. Further information about the 
> Company is available from its principal offices at Heltorferstrasse 1, 
> D-40472, Düsseldorf, Germany and from the website at http://www.nokia.com/
> 
>
>
>
>


Re: [m2] maven-checkstyle-plugin

2006-03-29 Thread Wayne Fay
Sure, just grab the Checkstyle plugin source code and hack away until
you're happy with the ouput...

Wayne

On 3/29/06, SiD  <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Is it possible to modify the checkstyle model result file
> (target/site/checkstyle.html) generated by checkstyle when i do "mvn site" ?
>
> I want just to simplify it to make a summary ...
>
> Thanks.
>
>


wsdl2java-maven-plugin users

2006-03-29 Thread Jesse McConnell
A while back I stated that I was going to be removing this plugin from the
mojo project as all functionality of it has been replaced by the
axistools-maven-plugin.

the time has come I think where I'll be removing it from the mojo project
soon so I wanted to send out one last mail explaining that :)

the axistools plugin has been released with version 1.0 and there are a
number of fixes applied on the 1.1-SNAPSHOT

cheers, and any questions or concerns regarding this can be address to me
directly or simply respond to this email!

thanks!

jesse

--
jesse mcconnell
jesse DOT mcconnell AT gmail DOT com


[M2] Is FTP maven2 site deploy supported?

2006-03-29 Thread Jens Riboe
I have FTP download (depends) and upload (deploy) working. /Thanks

However, here's next problem: Is FTP supported for site:deploy?
[INFO] [site:deploy]
[INFO] Wagon protocol 'ftp' doesn't support directory copying

Am I missing some additional setups?
(I have distributionManagement/site configured in my pom)

Thanks in advance,
/jens

-Original Message-
From: Jens Riboe [mailto:[EMAIL PROTECTED] 
Sent: 29 March 2006 15:26
To: Maven Users List
Cc: [EMAIL PROTECTED]
Subject: RE: [M2] Is FTP maven2 repository supported?

>> It is supported but there some *undocumented* steps to perform,
Will it be documented?

>> I can give you the complete listing
Yes, please!

I have copied wagon-ftp-1.0-alpha-6.jar into the maven\lib, but I guess its 
transitive depend set need to be there as well?

/Jens



-Original Message-
From: Alexandre Poitras [mailto:[EMAIL PROTECTED] 
Sent: 29 March 2006 13:21
To: Maven Users List
Subject: Re: [M2] Is FTP maven2 repository supported?

It is supported but there some *undocumented* steps to perform, ie
copying some libs in maven\lib directory. I can give you the complete
listing in like two hours once I am at my job.

On 3/29/06, Jens Riboe <[EMAIL PROTECTED]> wrote:
> I have succeed with FTP upload (deploy), but was surprised to find out
> that FTP download (repo/depends) failed.
>
> [WARNING] repository metadata for: 'artifact
> org.apache.maven.wagon:wagon-ftp' could not be retrieved from
> repository: myFTPsite due to an error: Unsupported Protocol: 'ftp':
> Cannot find wagon which supports the requested protocol: ftp
>
> Am I missing something?
> Or, is ftp m2 repo not supported? If not, will it be supported soon?
>
> Thanks for your help.
>
>
> -
> 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]


-
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: maven multiproject requirements????

2006-03-29 Thread Trent Rosenbaum
Hi there,

I have notice another email to the mailing list that is very similar to
yours.  The email is titled

"Creating an ear file"

I put some links on a reply to help getting started.
I was wondering if it is best to join this email and then questions might be
answered in 1 space.

Trent


On 29/03/06, raja bangaru <[EMAIL PROTECTED]> wrote:
>
> HI
> i'm goint to start a maven project in Eclipse IDE...
>
> i've 4 projects which share the jar and ear files
>
>
> How can i start the application???/
>
>
> Any guidance from people who have implemented multiprojects with maven???
>
>
> Help pls
>
>


[solved] Re: [m2] compiler has no effect ?

2006-03-29 Thread Nicolas De Loof


Reading plexus-compiler-javac source I discoverd 
1.3  was the problem :


This property seems to force the javac version, and 1.3 doesn't support 
-source option


Nicolas De Loof a écrit :


I've set debug on and it seems source is correclty set for 
compiler-plugin. Maybe a plexus-compiler-javac bug ?


It may be interesting to get the full compiler process command line in 
debug.


[DEBUG]   (f) compilerId = javac
[DEBUG]   (f) compilerVersion = 1.3
[DEBUG]   (f) debug = true
[DEBUG]   (f) encoding = ISO-8859-1
[DEBUG]   (f) fork = false
[DEBUG]   (f) optimize = false
[DEBUG]   (f) outputDirectory = 
D:\commons\platina\platina-remoting\target\classes

[DEBUG]   (f) outputFileName = platina-remoting-0.1-SNAPSHOT
[DEBUG]   (f) projectArtifact = 
com.capgemini.platina:platina-remoting:jar:0.1-SNAPSHOT

**[DEBUG]   (f) source = 1.3
[DEBUG]   (f) staleMillis = 0
**[DEBUG]   (f) target = 1.3
[DEBUG]   (f) verbose = false
[DEBUG] -- end configuration --


Nicolas De Loof a écrit :


Hello,

I've setup maven-compiler-plugin to be 1.3 compliant :

   org.apache.maven.plugins
   maven-compiler-plugin
   
 1.3
 1.3
 1.3
   


Running maven using JDK 1.5 I get :
"Failure executing javac, but could not parse the error:
javac: target release 1.3 conflicts with default source release 1.5"

This sounds like javac gets the "-target" option but not the "-source".

Is this a know bug ?

Nico.



This message contains information that may be privileged or 
confidential and is the property of the Capgemini Group. It is 
intended only for the person to whom it is addressed. If you are not 
the intended recipient,  you are not authorized to read, print, 
retain, copy, disseminate,  distribute, or use this message or any 
part thereof. If you receive this  message in error, please notify 
the sender immediately and delete all  copies of this message.



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



This message contains information that may be privileged or 
confidential and is the property of the Capgemini Group. It is 
intended only for the person to whom it is addressed. If you are not 
the intended recipient,  you are not authorized to read, print, 
retain, copy, disseminate,  distribute, or use this message or any 
part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.



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



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


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



Re: [M2] Creating an ear file

2006-03-29 Thread Trent Rosenbaum
Hi there Gerard,

Yes the same result can be achived within Maven.  I have found the best way
to work with this would be to setup a multi project structure.


my-root-proj
-pom.xml
-my-ear-proj
--standard folder structure
--pom.xml, (EAR output)
-my-web-proj
--standard folder structure
--pom.xml, (WAR output)
-my-core-proj
--standard folder structure
--pom.xml, (JAR output)


The following can be used to try and get an understanding multi project
setup and building WAR and EAR deployment files.

http://maven.apache.org/guides/mini/guide-webapp.html
http://maven.apache.org/guides/mini/guide-ide-eclipse.html
http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html
http://maven.apache.org/plugins/maven-ear-plugin/

I have included the link to the standard structure layout because you will
then be able to see what is similar in you ANT build files/existing project
structures.

Hope this helps you to get started.
Trent

On 29/03/06, Gerard Garrigan <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
>
>
> I've been asked to convert a project over to Maven. Currently the
> project uses ant. When it is built first it builds a number of jars and
> then these jars are included in the final ear file.
>
>
>
> How can the same result be achieved in Maven?
>
>
>
> Thanks very much,
>
>
>
> Ger
>
>
>
>
>


RE : [m2] Inter-project dependency question - forced to package sub-module dependencies manually?

2006-03-29 Thread Chris Wall
Thanks Gareth.

It sounds as if Maven doesn't have the ability to determine and resolve
inter-project dependencies when packaging a child.

If a sub-module-A has a dependency on a module-B and module-B isn't
package, Maven will not package module-B prior to packaging
sub-module-A.  Again, this is if Maven is executed from sub-module-A.  I
figured that since the pom.xmls were linked via parent, artifactIds, and
module names, that Maven would have the information needed to resolve
the dependency.

Instead, from what I understand, you have to build all your dependency
modules first, prior to packaging your sub-modules.  From the root
pom.xml everything works well, but if I just want to work with a
sub-module, than extra steps are required.

-Chris

-Original Message-
From: Gareth Western [mailto:[EMAIL PROTECTED] 
Sent: March 28, 2006 2:50 PM
To: Maven Users List
Subject: Re: RE : [m2] Inter-project dependency question

Hi Chris,

I'm not sure if this is the BEST way to do it, but what I do is create a
parent pom.xml in the root directory. Then add commons, web-app, and
stand-alone app as modules in that parent POM. Maven should figure out
that
since webapp and standalone app are dependent on the commons module then
that's what needs to be built first. Then when you call "mvn package"
(or
whatever your goal is) on the parent pom, maven will first do the
commons
module before anything else. You'll also need to add  tags to
your
sub-project (commons, web-app, and stand-alone app).

See the example in the documentation at
http://maven.apache.org/guides/getting-started/index.html#How%20do%20I%2
0build%20more%20than%20one%20project%20at%20once
?
for more details

Hope that helps!

~Gareth

On 3/28/06, Chris Wall <[EMAIL PROTECTED]> wrote:
>
> Thanks Olivier.
>
> How do I represent this dependency in my webapp pom.xml?  I have the
> following dependency declaration, but M2 tries to download the jar
instead
> of resolving that this is internally provided dependency.
>
>
> 
>   my-common
>my-common
>   1.0-SNAPSHOT
> 
>
>
___
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

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



Re: [m2] compiler has no effect ?

2006-03-29 Thread Nicolas De Loof


I've set debug on and it seems source is correclty set for 
compiler-plugin. Maybe a plexus-compiler-javac bug ?


It may be interesting to get the full compiler process command line in 
debug.


[DEBUG]   (f) compilerId = javac
[DEBUG]   (f) compilerVersion = 1.3
[DEBUG]   (f) debug = true
[DEBUG]   (f) encoding = ISO-8859-1
[DEBUG]   (f) fork = false
[DEBUG]   (f) optimize = false
[DEBUG]   (f) outputDirectory = 
D:\commons\platina\platina-remoting\target\classes

[DEBUG]   (f) outputFileName = platina-remoting-0.1-SNAPSHOT
[DEBUG]   (f) projectArtifact = 
com.capgemini.platina:platina-remoting:jar:0.1-SNAPSHOT

**[DEBUG]   (f) source = 1.3
[DEBUG]   (f) staleMillis = 0
**[DEBUG]   (f) target = 1.3
[DEBUG]   (f) verbose = false
[DEBUG] -- end configuration --


Nicolas De Loof a écrit :


Hello,

I've setup maven-compiler-plugin to be 1.3 compliant :

   org.apache.maven.plugins
   maven-compiler-plugin
   
 1.3
 1.3
 1.3
   


Running maven using JDK 1.5 I get :
"Failure executing javac, but could not parse the error:
javac: target release 1.3 conflicts with default source release 1.5"

This sounds like javac gets the "-target" option but not the "-source".

Is this a know bug ?

Nico.



This message contains information that may be privileged or 
confidential and is the property of the Capgemini Group. It is 
intended only for the person to whom it is addressed. If you are not 
the intended recipient,  you are not authorized to read, print, 
retain, copy, disseminate,  distribute, or use this message or any 
part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.



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



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


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



[m2] compiler has no effect ?

2006-03-29 Thread Nicolas De Loof


Hello,

I've setup maven-compiler-plugin to be 1.3 compliant :

   org.apache.maven.plugins
   maven-compiler-plugin
   
 1.3
 1.3
 1.3
   


Running maven using JDK 1.5 I get :
"Failure executing javac, but could not parse the error:
javac: target release 1.3 conflicts with default source release 1.5"

This sounds like javac gets the "-target" option but not the "-source".

Is this a know bug ?

Nico.



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


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



Re: Group name is same

2006-03-29 Thread Emmanuel Venisse

What is the the name in your pom and what is the group name that appears in 
summary?

Emmanuel

[EMAIL PROTECTED] a écrit :

Thanks for your reply,


But i deleted all the project was there in continuum and restarted the 
continuum then added a new project as fresh, but still it taking group 
name from whatever i deleted







Thanks,
Raghu 






Emmanuel Venisse <[EMAIL PROTECTED]>
03/29/2006 01:35 AM
Please respond to continuum-users

 
To: continuum-users@maven.apache.org
cc: 
Subject:Re: Group name is same



It isn't possible to modify the group name for now. The group name is, for 
current project you add 
and subproject, the name of current project.


Emmanuel

[EMAIL PROTECTED] a écrit :


Hi All,

I had maven2, and continuum setup then i deleted all those projects.

then tried adding new projects, everything works fine, but the only 
problem is its having the group name from my old project and i dont want 




it that way is there a way to change it

Anyone please advice





Thanks,
Raghu 











Re: Group name is same

2006-03-29 Thread raghurajan . x . gurunathan
Thanks for your reply,


But i deleted all the project was there in continuum and restarted the 
continuum then added a new project as fresh, but still it taking group 
name from whatever i deleted






Thanks,
Raghu 





Emmanuel Venisse <[EMAIL PROTECTED]>
03/29/2006 01:35 AM
Please respond to continuum-users

 
To: continuum-users@maven.apache.org
cc: 
Subject:Re: Group name is same


It isn't possible to modify the group name for now. The group name is, for 
current project you add 
and subproject, the name of current project.

Emmanuel

[EMAIL PROTECTED] a écrit :
> Hi All,
> 
> I had maven2, and continuum setup then i deleted all those projects.
> 
> then tried adding new projects, everything works fine, but the only 
> problem is its having the group name from my old project and i dont want 

> it that way is there a way to change it
> 
> Anyone please advice
> 
> 
> 
> 
> 
> Thanks,
> Raghu 
> 





Re: [M2]How to use own jars

2006-03-29 Thread Tom Joad
Hello,
install plugin will achieve it.
Please see
http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.html

you run command
maven -e -X install:installfile -DartifactId=yourownjar.jar
-DgroupId=yourgroupId (eg com.company.project) -DgeneratePom=TRUE
-Dpackaging=jar -Dversion=yourversion

This installs jar on your local repository.
You add inside your pom.xml

   yourgroupId 
  yourownjar
 yourversion



Tom

2006/3/29, Venkatagopalaraju <[EMAIL PROTECTED]>:
> Hi,
>
>  I am working on multiple projects. I need to use our own jars as a 
> dependencies. Could you please let me know, How can I use our own jars as 
> dependencies in my local repository...?
>
>
> Thanks & Regards
>Raju
>
>

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



Re: [M2]How to use own jars

2006-03-29 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

> I am working on multiple projects. I need to use our own jars as a
> dependencies. Could you please let me know, How can I use our own
> jars as dependencies in my local repository...?

http://maven.apache.org/guides/mini/guide-deploying-3rd-party-jars.html
http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html

And don't forget:
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html


HTH

Thorsten
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (MingW32)

iD8DBQFEKp5jQvObkgCcDe0RAoDPAJ0YDw2Z0loJ7x3CvDFpyjdbZEy0JwCfXX6W
OzoVjkYqYczSgkYFxrpiWgA=
=3Wpi
-END PGP SIGNATURE-

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



[M2]How to use own jars

2006-03-29 Thread Venkatagopalaraju
Hi,

 I am working on multiple projects. I need to use our own jars as a 
dependencies. Could you please let me know, How can I use our own jars as 
dependencies in my local repository...?


Thanks & Regards
   Raju


[m2] maven-checkstyle-plugin

2006-03-29 Thread SiD
Hi all,

Is it possible to modify the checkstyle model result file
(target/site/checkstyle.html) generated by checkstyle when i do "mvn site" ?

I want just to simplify it to make a summary ...

Thanks.


Using maven1 dependencies with m2?

2006-03-29 Thread andreas.ebbert-karroum
Hi,
 
is there any way to use maven1 dependencies with m2? Specifically, I (i.e. my 
plugin) would like to depend on:
 
https://maven-repository.dev.java.net/nonav/repository/javanettasks/poms/
 
but when I try to do so, mvn is obviously complaining:
 
[INFO] Using default encoding to copy filtered resources.
[WARNING] POM for: 'javanettasks:javanettasks:pom:1.0.8' does not appear to be 
valid. Its will be ig
nored for artifact resolution.
 
Reason: Invalid POM (not v4.0.0 modelVersion)

Can i do anything about it, or only the developers of javanettasks?
 
Andreas Ebbert-Karroum 
  Software Design Engineer - Nokia Networks Services / Middleware 
  phone: +49-211-94123928, fax: +49-211-94123838 
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia GmbH does not accept legal responsibility for the 
contents of this message as it has been transmitted over a public network. 
Thank you. 

Nokia GmbH, Nokia Networks is a German Company. Further information about the 
Company is available from its principal offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nokia.com/ 





RE: Help with multiproject site generation?

2006-03-29 Thread Brian-R . Jackson
Wayne,
Thanks for your reply.  I agree is not painful in anyway, my
point is, its something that could easily be managed by Maven as many
other parts of my build process are.  I'll look to see if there is a
JIRA report opened yet.

Thanks again,
Brian 

-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 28, 2006 2:21 PM
To: Maven Users List
Subject: Re: Help with multiproject site generation?

As far as I'm aware, this is the only current solution. Its really not
that painful, how often are you adding modules to your projects?

This has been discussed several times on the user list. IIRC no one has
mentioned another solution.

Of course any user is welcome to contribute patches that add this
functionality to the site plugins. Or file a JIRA report (if it hasn't
already been filed) and get other users to vote on it, and then wait for
someone else to write the code.

Wayne


On 3/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Daun,
>Thanks for the possible solution.  I'm experiencing this issue 
> as well.  I was expecting an automated way of maintaining the site 
> structure.  It would be much nicer if the site and site-deploy goals 
> supported multiprojects in someway.  Does anyone else know if they do?
> Are Kevin, Daun and I missing something.  I know for me, I'm new to 
> Maven 2.0 so its definitely possible that I didn't configure my POM 
> correctly.
>
> Thanks,
> Brian
>
> -Original Message-
> From: Daun DeFrance [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 28, 2006 1:52 PM
> To: Maven Users List
> Subject: RE: Help with multiproject site generation?
>
> -Original Message-
> From: Wood, Kevin [mailto:[EMAIL PROTECTED]
> Subject: Help with multiproject site generation?
>
> Does anyone have a working example of multiproject site generation 
> with Maven2?
>
> 
>
> Kevin,
> In order to get my muliproject site documentation to be cohesive, I 
> performed the following:
>
> I have projects set up like this:
> 
>   + subproject1
>   + subproject2
>   + src
>   |   + site
>   |   |   site.xml
>   pom.xml
>
> My parent's site.xml contains menu item links to the subprojects which

> looks like:
>
> 
>
> 
> 
>
> I've been pretty happy with this arrangement except you have to 
> remember to update the parent's src/site directory for new sub 
> projects.  My parent's src directory is otherwise empty.
>
> Best,
> D DeFrance
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> Visit our website at http://www.ubs.com
>
> This message contains confidential information and is intended only 
> for the individual named.  If you are not the named addressee you 
> should not disseminate, distribute or copy this e-mail.  Please notify

> the sender immediately by e-mail if you have received this e-mail by 
> mistake and delete this e-mail from your system.
>
> E-mail transmission cannot be guaranteed to be secure or error-free as

> information could be intercepted, corrupted, lost, destroyed, arrive 
> late or incomplete, or contain viruses.  The sender therefore does not

> accept liability for any errors or omissions in the contents of this 
> message which arise as a result of e-mail transmission.  If 
> verification is required please request a hard-copy version.  This 
> message is provided for informational purposes and should not be 
> construed as a solicitation or offer to buy or sell any securities or 
> related financial instruments.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



RE: [M2] Is FTP maven2 repository supported?

2006-03-29 Thread Jens Riboe
>> It is supported but there some *undocumented* steps to perform,
Will it be documented?

>> I can give you the complete listing
Yes, please!

I have copied wagon-ftp-1.0-alpha-6.jar into the maven\lib, but I guess its 
transitive depend set need to be there as well?

/Jens



-Original Message-
From: Alexandre Poitras [mailto:[EMAIL PROTECTED] 
Sent: 29 March 2006 13:21
To: Maven Users List
Subject: Re: [M2] Is FTP maven2 repository supported?

It is supported but there some *undocumented* steps to perform, ie
copying some libs in maven\lib directory. I can give you the complete
listing in like two hours once I am at my job.

On 3/29/06, Jens Riboe <[EMAIL PROTECTED]> wrote:
> I have succeed with FTP upload (deploy), but was surprised to find out
> that FTP download (repo/depends) failed.
>
> [WARNING] repository metadata for: 'artifact
> org.apache.maven.wagon:wagon-ftp' could not be retrieved from
> repository: myFTPsite due to an error: Unsupported Protocol: 'ftp':
> Cannot find wagon which supports the requested protocol: ftp
>
> Am I missing something?
> Or, is ftp m2 repo not supported? If not, will it be supported soon?
>
> Thanks for your help.
>
>
> -
> 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]


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



Re: [m2] mvn 2.0.3 eclipse:eclipse not working anymore

2006-03-29 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Stefan,

> My pom is valid and has no duplicate tags! Seems to be a problem with
> plexus.
> Any inpput welcome! ;-)

Hm, strange, on my machine everything works fine as it did with Maven
2.0.2. Before I restarted a new full build of my project, I cleaned my
local repository cache and everything that was downloaded from
ibiblio.org on my Maven proxy. Perhaps you should give this a try...?


HTH

Thorsten
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (MingW32)

iD8DBQFEKoVRQvObkgCcDe0RAse2AKDTnaR7U7wFxI0/GKrgH/Q2+FAuKQCaAspk
3I3awn3LMGhbx2NQE5GJz3s=
=tuy7
-END PGP SIGNATURE-

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



Re: [m2] Internal Repositories

2006-03-29 Thread mawi

Hi all,

I also tried to setup a company repsitory the same way Khin tried and
encountered exactly the same problems.
I then followed Alexandre's advice and installed and configured the
Maven-Standalone-Proxy (maven-proxy-standalone-0.2-app.jar). After deleting
my local repo and starting the proxy, I called maven on a project. First
result:  I got the same problems as without the proxy (plugins could not be
found).
BUT: The proxy-error message was verry helpfull. It said that the
maven-metadata.xml for the plugin which should be retrieved from the mirror
could not be found. This file was in fact not there. I only had a
maven-metadata-central.xml in the plugin root dir. After renaming all
maven-metadata-central.xml files in my own remote repo to maven-metadata.xml
everything worked fine. After that, I turned off the proxy, deleted my local
repo again, removed the proxy from settings.xml and called maven again.
Result: the plugins were downloaded from my own remote repo without any
problems - you see - it works without proxy.

Cheers,

Markus


lso did not work at firstAs the proxy error messages are much more
informative compared to maven, I found out, that the 
--
View this message in context: 
http://www.nabble.com/-m2-Internal-Repositories-t1258457.html#a3649303
Sent from the Maven - Users forum at Nabble.com.


Re: Mail notification should be configurable to notify on every build

2006-03-29 Thread Emmanuel Venisse

You can keep the database and eventually working-directory/build-outputdirectory

- install 1.0.3
- copy your database directory under apps/continuum
- configure eventually apps/continuum/conf/application.xml if you have modified 
it in 1.0.2
- start continuum 1.0.3

These steps keep working-directory/build-outputdirectory in their old place, if you want to use new 
directories, modify them in configuration screen.

If you want to use the internal snapshot repository, you must configure it in 
configuration screen too.

Emmanuel

Gautham Pamu a écrit :

Hi Emmanuel,

To upgrade rom 1.0.2 to 1.0.3 do I need to uninstall 1.0.2 and reinstall
1.0.3 and configure it again or is it possible to retain the configuration ?

Thanks
Gautham Pamu

On 3/29/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:


1.0.3 will be release in few days, i don't know exactly when.
This fix is included in 1.0.3. You ca&n configure it in 
application.xml(alwaysSend parameter in
each notifiers)
It isn't possible to use it in 1.0.2

Emmanuel

Gautham Pamu a écrit :


Hi Everyone,
http://jira.codehaus.org/browse/CONTINUUM-446?page=comments#action_57203

When are they releasing continuum 1.0.3. Will this fix be included in


1.0.3.


For 1.0.2, do we need to follow the above instructions
to have this feature.

--
-Gautham Pamu







--
-Gautham Pamu





Re: jar packaging: how to include other jars?

2006-03-29 Thread Emmanuel Venisse



Rob Dickens a écrit :

Dear Maven Users,

My project contains three sub-projects as follows:

mylib
|
+-mylib-core (jar packaging)
|
+-mylib-demo (jar packaging)
|
+-mylib-dist (jar packaging)

I want the last sub-project to produce a jar-file containing the  
following:


index.html
demo.html
demo.jnlp
juice-core-.jar
juice-demo-.jar

So I put the first three files into mylib/mylib-dist/src/main/ 
resources/. The question is, how do I get the jarfiles copied?


Should I be using the assembly plugin perhaps? If so, would the  
preferred format be zip?


You can use the assembly plugin (http://maven.apache.org/guides/mini/guide-assemblies.html), it will 
be the best solution.

The preferred format is what you want ;-) (zip, tar, tar.gz, tar.bz2, jar...)

Emmanuel



Thanks,

Rob

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



jar packaging: how to include other jars?

2006-03-29 Thread Rob Dickens

Dear Maven Users,

My project contains three sub-projects as follows:

mylib
|
+-mylib-core (jar packaging)
|
+-mylib-demo (jar packaging)
|
+-mylib-dist (jar packaging)

I want the last sub-project to produce a jar-file containing the  
following:


index.html
demo.html
demo.jnlp
juice-core-.jar
juice-demo-.jar

So I put the first three files into mylib/mylib-dist/src/main/ 
resources/. The question is, how do I get the jarfiles copied?


Should I be using the assembly plugin perhaps? If so, would the  
preferred format be zip?


Thanks,

Rob

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



[m2] mvn 2.0.3 eclipse:eclipse not working anymore

2006-03-29 Thread Stefan Fritz

Hi,

I'm running maven 2.0.3.
I have created a new project and wanted to enable eclipse support with 
eclipse:eclispe but I get the following error:


C:\dev\trunk\connect>mvn -e eclipse:eclipse
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] 


[ERROR] FATAL ERROR
[INFO] 


[INFO] Error building POM (may not be this project's POM).


Project ID: sonic.dev:esb
POM Location: C:\dev\trunk\connect\pom.xml

Reason: Parse error reading POM. Reason: Duplicated tag: 'artifactId' 
(position: START_TAG seen ...<

/version>\r\n\t\t\t\t... @39:17)


[INFO] 


[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Parse error reading 
POM. Reason: Duplicated tag: '
artifactId' (position: START_TAG seen 
...\r\n\t\t\t\t... @39:17)

   at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

   at java.lang.reflect.Method.invoke(Method.java:324)
   at 
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

   at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
   at 
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

   at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.InvalidProjectModelException: Parse 
error reading POM. Reason: D
uplicated tag: 'artifactId' (position: START_TAG seen 
...\r\n\t\t\t\t... @39:1

7)
   at 
org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.

java:1290)
   at 
org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.

java:1250)
   at 
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBu

ilder.java:1067)
   at 
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBu

ilder.java:1155)
   at 
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBu

ilder.java:1155)
   at 
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuil

der.java:672)
   at 
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMa

venProjectBuilder.java:414)
   at 
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java

:190)
   at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515)
   at 
org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:447)

   at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351)
   ... 11 more
Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: 
Duplicated tag: 'artifactId' (p

osition: START_TAG seen ...\r\n\t\t\t\t... @39:17)
   at 
org.apache.maven.model.io.xpp3.MavenXpp3Reader.parsePlugin(MavenXpp3Reader.java:2865)
   at 
org.apache.maven.model.io.xpp3.MavenXpp3Reader.parseBuild(MavenXpp3Reader.java:753)
   at 
org.apache.maven.model.io.xpp3.MavenXpp3Reader.parseModel(MavenXpp3Reader.java:2224)
   at 
org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.java:4422)
   at 
org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.

java:1286)
   ... 21 more
[INFO] 


[INFO] Total time: < 1 second
[INFO] Finished at: Wed Mar 29 09:35:10 CEST 2006
[INFO] Final Memory: 1M/2M
[INFO] 



My pom is valid and has no duplicate tags! Seems to be a problem with 
plexus.

Any inpput welcome! ;-)

Cheers
Stefan



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



Re: Mail notification should be configurable to notify on every build

2006-03-29 Thread Gautham Pamu
Hi Emmanuel,

To upgrade rom 1.0.2 to 1.0.3 do I need to uninstall 1.0.2 and reinstall
1.0.3 and configure it again or is it possible to retain the configuration ?

Thanks
Gautham Pamu

On 3/29/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:
>
> 1.0.3 will be release in few days, i don't know exactly when.
> This fix is included in 1.0.3. You ca&n configure it in 
> application.xml(alwaysSend parameter in
> each notifiers)
> It isn't possible to use it in 1.0.2
>
> Emmanuel
>
> Gautham Pamu a écrit :
> > Hi Everyone,
> > http://jira.codehaus.org/browse/CONTINUUM-446?page=comments#action_57203
> >
> > When are they releasing continuum 1.0.3. Will this fix be included in
> 1.0.3.
> > For 1.0.2, do we need to follow the above instructions
> > to have this feature.
> >
> > --
> > -Gautham Pamu
> >
>
>


--
-Gautham Pamu


[m2] eclipse plugin source download

2006-03-29 Thread Nicolas De Loof


I'm using eclipse source-download facility and it's great to get sources 
or javadoc attached in Eclipse classpath.


Now my project uses oracle JDBC driver and some IBM classes, and I would 
like to mark those dependencies so that eclipse plugin doesn't try to 
get sources : it checks ibiblio and codehaus, and this takes time, so I 
cannot change quickly my classpath.


I'm using a maven-proxy, but it doesn't seem to keep in cache failed 
request.


Is there a way to exclude some dependencies for source-donwload ?

Is there also a way to exclude a dependency from eclipse generated 
classpath ? I've added Sun JRE rt.jar to compile for Java1.3, but don't 
wan't eclipse classpath to get a duplicated rt.jar entry.


Nico.


This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


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



[m2] Need help with Building eclipse plugins

2006-03-29 Thread Gautham Pamu
Hi Everyone,

I need to build eclipse plugins, are there any existing plugins for it which
simplies this task. Usually eclipse plugins has dependencies on many jars
packaged in the eclipse plugins, so do I need to deploy these jars in my
local/remote repository ? Is there simpler way to define the dependencies.

--
-Gautham Pamu


Re: How to pack two jars in one project?

2006-03-29 Thread Alex Brussee
Dennis,

When you want to package something in the jar this can be done using
the tags provided in your project.xml (assuming u use maven 1.x) i
guess there must be something similair in maven 2


   
  ...
  jar file description needed
  ...
   


Regards,
Alex

On 3/29/06, Simon Kitching <[EMAIL PROTECTED]> wrote:
> On Wed, 2006-03-29 at 13:32 +0200, Dennis Kempin wrote:
> > Hello,
> >
> > I just discovered maven and I am really impressed by this project!
> > To migrate my project to maven I am searching for a way to create two jar
> > files in one project.
> >
> > I would like to have a "./src/main/api" folder besides "./src/main/java"
> > and pack them into two different jars, to provide a single jar that only
> > contains the API that is needed to use my library.
> >
> > For now I use two seperated projects "core" and "core-api" while "core"
> > depends on "core-api". This also works great, but I think it would be more
> > elegant to have the API in the same project that will create a
> > "core-api-version.jar" besides the "core-version.jar".
> >
> > Do you think that it is possible? Or do you think I should stay at the
> > seperated projects due to some reasons (Maybe because implementation
> > versions can change while API versions stay at a specific version).
>
> I think you'll find it very difficult to have one maven project for
> this. Maven really is designed for one project --> one output artefact.
>
> Anyway, you must have had a reason for separating api from core in the
> first place, yes? Presumably you either expect multiple implementations
> of the api or multiple releases of the implementation without changing
> the api. In either case, having separate projects seems to me to be much
> *better* than having one project.
>
> Regards,
>
> Simon
>
>
> -
> 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: Maven && CVS

2006-03-29 Thread Emmanuel Venisse

You can use m2 scm plugin for each your project to checkout

mvn -DconnectionUrl=scm:cvs:... -DcheckoutDirectory=/file/BRANCH001/project001_version_2.0.0 
scm:checkout


Emmanuel


SiD  a écrit :

Hi all,

I have to run, each day, formating and ckecking source code errors for all
my projects. To do that i will use Maven (and Jalopy, and Checkstyle) but
the problem is that i have to ckeckout au-to-ma-ti-ca-ly all my lastest
projects in all my branches on my cvs server.

I have :

BRANCH001 -
project001_version_2.0.0
project001_version_1.0.0
project002_version_2.0.0
project002_version_1.0.0

BRANCH002 -
project003_version_2.0.0
project003_version_1.0.0
project004_version_2.0.0
project004_version_1.0.0

BRANCH003 -
project005_version_2.0.0
project005_version_1.0.0
project006_version_2.0.0
project006_version_1.0.0

I want :

/file/

/file/BRANCH001
/file/BRANCH001/project001_version_2.0.0
/file/BRANCH001/project002_version_2.0.0

/file/BRANCH002
/file/BRANCH002/project003_version_2.0.0
/file/BRANCH002/project004_version_2.0.0

/file/BRANCH003
/file/BRANCH003/project005_version_2.0.0
/file/BRANCH003/project006_version_2.0.0

I don't see anywhere in cvs documentation a command to retrieve a list of
branches, but i think it is possible because the CVS Repository Explorer for
Eclipse (for example) do that.

Any Maven user has already tried to do that ?

Thanks for help.

Sid




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



Re: How to pack two jars in one project?

2006-03-29 Thread David Delbecq
If what you want is simply coherence in release version, use maven
multiproject.
You can have the 2 sub projects (api and core) inherit the version of
parent project :)
You can even have core depende on api with same version
I have the case here with a realm-impl and a realm-api, here is the api
dependency in impl:


${pom.groupId}
Realms-api
${pom.currentVersion}
jar



quite simple :)
as both api and impl inherit currentVersion from parent root project,
all goes well :)
I then simply go to root project and type
maven multiproject:install

it will build both jars in correct order :)
Dennis Kempin a écrit :

> Hello,
>
> I just discovered maven and I am really impressed by this project!
> To migrate my project to maven I am searching for a way to create two
> jar  files in one project.
>
> I would like to have a "./src/main/api" folder besides
> "./src/main/java"  and pack them into two different jars, to provide a
> single jar that only  contains the API that is needed to use my library.
>
> For now I use two seperated projects "core" and "core-api" while
> "core"  depends on "core-api". This also works great, but I think it
> would be more  elegant to have the API in the same project that will
> create a  "core-api-version.jar" besides the "core-version.jar".
>
> Do you think that it is possible? Or do you think I should stay at
> the  seperated projects due to some reasons (Maybe because
> implementation  versions can change while API versions stay at a
> specific version).
>
> Thanks and greetings
> Dennis Kempin
>
> PS: please pardon me. My english is bad.
>
> -
> 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 get the plugin's root path

2006-03-29 Thread Kevin Wang
Hi, 
  I think it's better using relative path, or a property variable in 
settings.xml

Thanks,
--
Qiang Wang [Kevin]

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Herscu
Sent: 2006年3月20日 4:01
To: users@maven.apache.org
Subject: [m2] How to get the plugin's root path

Hi all,

I am writing an ANT-based plugin which needs to validate a set of XML
files. I would like to have the schema files packaged inside the plugin
JAR and wondered how to reference those files.

Please help,
Adrian.


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



___
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

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



Maven && CVS

2006-03-29 Thread SiD
Hi all,

I have to run, each day, formating and ckecking source code errors for all
my projects. To do that i will use Maven (and Jalopy, and Checkstyle) but
the problem is that i have to ckeckout au-to-ma-ti-ca-ly all my lastest
projects in all my branches on my cvs server.

I have :

BRANCH001 -
project001_version_2.0.0
project001_version_1.0.0
project002_version_2.0.0
project002_version_1.0.0

BRANCH002 -
project003_version_2.0.0
project003_version_1.0.0
project004_version_2.0.0
project004_version_1.0.0

BRANCH003 -
project005_version_2.0.0
project005_version_1.0.0
project006_version_2.0.0
project006_version_1.0.0

I want :

/file/

/file/BRANCH001
/file/BRANCH001/project001_version_2.0.0
/file/BRANCH001/project002_version_2.0.0

/file/BRANCH002
/file/BRANCH002/project003_version_2.0.0
/file/BRANCH002/project004_version_2.0.0

/file/BRANCH003
/file/BRANCH003/project005_version_2.0.0
/file/BRANCH003/project006_version_2.0.0

I don't see anywhere in cvs documentation a command to retrieve a list of
branches, but i think it is possible because the CVS Repository Explorer for
Eclipse (for example) do that.

Any Maven user has already tried to do that ?

Thanks for help.

Sid


Re: How to pack two jars in one project?

2006-03-29 Thread Simon Kitching
On Wed, 2006-03-29 at 13:32 +0200, Dennis Kempin wrote:
> Hello,
> 
> I just discovered maven and I am really impressed by this project!
> To migrate my project to maven I am searching for a way to create two jar  
> files in one project.
> 
> I would like to have a "./src/main/api" folder besides "./src/main/java"  
> and pack them into two different jars, to provide a single jar that only  
> contains the API that is needed to use my library.
> 
> For now I use two seperated projects "core" and "core-api" while "core"  
> depends on "core-api". This also works great, but I think it would be more  
> elegant to have the API in the same project that will create a  
> "core-api-version.jar" besides the "core-version.jar".
> 
> Do you think that it is possible? Or do you think I should stay at the  
> seperated projects due to some reasons (Maybe because implementation  
> versions can change while API versions stay at a specific version).

I think you'll find it very difficult to have one maven project for
this. Maven really is designed for one project --> one output artefact.

Anyway, you must have had a reason for separating api from core in the
first place, yes? Presumably you either expect multiple implementations
of the api or multiple releases of the implementation without changing
the api. In either case, having separate projects seems to me to be much
*better* than having one project.

Regards,

Simon


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



[m2] maven2, CruiseControl 2.4.1 and bests practices

2006-03-29 Thread COUVREUR jacques
Hello,


We have been working with Maven and CruiseControl for several years.

We are testing m2 and CruiseControl 2.4.1. In the config.xml
(CruiseControl's configuration file) we are using the 'maven2' element
and its 'goal' attribute with the following value: 
'clean scm:update | package site tomcat:undeploy tomcat:deploy'


As we are having problems with tomcat's plugin we often
modify/add/delete/etc... this goals sequence. However, the sources of
this project have a remote access as they are in a Subversion
repository, but the config.xml has no remote access. So a config.xml
modification needs time.
Moreover, I am not satisfied satisfy that the knowledge of how to build
a project is out of the project itself.


With maven 1, we would use an "integration-maven-goal" in the
CruiseControl's config.xml (re)defined as we want in the maven.xml of
the project.


What is the best practice for solving this problem in maven2?

Thanks a lot!


Jacques




--
Ce message est protege par les regles relatives au secret des correspondances ; 
il peut en outre contenir des informations a caractere confidentiel ou 
protegees par differentes regles et notamment le secret des affaires ; il est 
etabli a destination exclusive de son destinataire. Toute divulgation, 
utilisation, diffusion ou reproduction (totale ou partielle) de ce message, ou 
des informations qu'il contient, doit etre prealablement autorisee. 
Tout message electronique est susceptible d'alteration et son integrite ne peut 
etre assuree. Les AGF declinent toute responsabilite au titre de ce message 
s'il a ete modifie ou falsifie. 
Si vous n'etes pas destinataire de ce message, merci de le detruire 
immediatement et d'avertir l'expediteur de l'erreur de distribution et de la 
destruction du message.
This message is protected by the secrecy of correspondence rules ; furthermore 
it may contain privileged or confidential information that is protected by law, 
notably by the secrecy of business relations rule ; it is intended solely for 
the attention of   the addressee . Any disclosure, use, dissemination or 
reproduction (either whole or  partial) of this message or the information 
contained herein is strictly prohibited without prior consent.
Any electronic message  is susceptible to alteration  and  its integrity can 
not be assured.  AGF declines any  responsibility for  this message in the 
event of  alteration  or falsification..
If you are not the intended  recipient, please destroy it immediately and  
notify the sender of the wrong delivery and the mail deletion. 
--


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



Re: Maven 1.0.2 test problem

2006-03-29 Thread Alex Brussee
Arnoud,

Thank you for the reply. I did not receive mail in my mailbox so i
switched to gmail. I hope to reply in the same thread next time.

I set the property
maven.junit.fork=true
I also tried without forking

Earlier, the junit report showed an error concerning something to do
with xmltransformerfactory.

Right now, no report is generated by the junit-report. The
target/test-reports dir contains emty xml files (corrupted ?)

I inverstigated the xml problem and tried tried the next properties:
maven.junit.sysproperties=javax.xml.transform.TransformerFactory
javax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl
Did not help.

When I call
maven:clean
maven:site,
All the tests fail and then this is printed (for all tests)

   [junitreport] The file
C:\mysourcepath\Sources\ebo-model-fase1\target\test-reports\TEST-package.name.MockAankoop.xml
is not a valid XML document. It is possibly corrupted.

Kind Regards,
Alex Brussee

>Did you take a look at the reports in target/test-reports ?
>Do you fork your tests ?
>
>Arnaud
>
>On 3/29/06, Brussee, Alex <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hello maven gurus,
>>
>> I am trying to solve a problem concerning my maven junit test.
>> They work fine in eclipse, they compile both in eclipse and with maven.
>> They all FAIL in maven (while they succeed in eclipse)
>> I get the next error:
>> [junit] java.lang.ClassNotFoundException: null
>>
>>
>> my dir structure
>>
>> basedir\sourcedir\src
>> basedir\junittestdir\src
>>
>> Is there a solution ? Is there a way to get a stack trace on the failure ?
>> I used -X and got no stack trace concerning an error.  I am very curious to
>> what class can't be found.
>>
>> Any help would be much appreciated
>>
>> Kind Regarrds,
>> Alex Brussee
>>
>> When i run test:ui I get the next error
>>
>> warning(junit.framework.TestSuite$1): Cannot instantiate test case:
>> testFondsCode (java.lang.InstantiationException at
>> sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(
>> InstantiationExceptionConstructorAccessorImpl.java:30) at
>> java.lang.reflect.Constructor.newInstance(Constructor.java:274) at
>> junit.framework.TestSuite.createTest(TestSuite.java:131) at
>> junit.framework.TestSuite.addTestMethod(TestSuite.java:114) at
>> junit.framework.TestSuite.(TestSuite.java:75) at
>> junit.runner.BaseTestRunner.getTest(BaseTestRunner.java:103) at
>> junit.swingui.TestRunner.runSuite(TestRunner.java:591) at
>> junit.swingui.TestRunner$9.actionPerformed(TestRunner.java:283) at
>> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
>> at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(
>> AbstractButton.java:1839) at
>> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
>> at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
>> at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(
>> BasicButtonListener.java:245) at java.awt.Component.processMouseEvent(
>> Component.java:5100) at java.awt.Component.processEvent(Component.java:4897)
>> at java.awt.Container.processEvent(Container.java:1569) at
>> java.awt.Component.dispatchEventImpl(Component.java:3615) at
>> java.awt.Container.dispatchEventImpl(Container.java:1627) at
>> java.awt.Component.dispatchEvent(Component.java:3477) at
>> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483) at
>> java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198) at
>> java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128) at
>> java.awt.Container.dispatchEventImpl(Container.java:1613) at
>> java.awt.Window.dispatchEventImpl(Window.java:1606) at
>> java.awt.Component.dispatchEvent(Component.java:3477) at
>> java.awt.EventQueue.dispatchEvent(EventQueue.java:480) at
>> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread..java:201)
>> at java.awt.EventDispatchThread.pumpEventsForHierarchy(
>> EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEvents(
>> EventDispatchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(
>> EventDispatchThread.java:137) at java.awt.EventDispatchThread.run(
>> EventDispatchThread.java:100) )
>>
>>
>>
>> This message contains information that may be privileged or confidential
>> and is the property of the Capgemini Group. It is intended only for the
>> person to whom it is addressed. If you are not the intended recipient,  you
>> are not authorized to read, print, retain, copy, disseminate,  distribute,
>> or use this message or any part thereof. If you receive this  message in
>> error, please notify the sender immediately and delete all  copies of this
>> message.
>>
>>

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



Re: How to pack two jars in one project?

2006-03-29 Thread Jochen Wiedmann
On 3/29/06, Dennis Kempin <[EMAIL PROTECTED]> wrote:

> I would like to have a "./src/main/api" folder besides "./src/main/java"
> and pack them into two different jars, to provide a single jar that only
> contains the API that is needed to use my library.

Typically you would create a parent project with two subprojects: api
and core, for example. In other words, your directories would become

api/src/main/java

and

core/src/main/java


Jochen
--
Whenever you find yourself on the side of the
majority, it is time to pause and reflect.
(Mark Twain)

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



How to pack two jars in one project?

2006-03-29 Thread Dennis Kempin

Hello,

I just discovered maven and I am really impressed by this project!
To migrate my project to maven I am searching for a way to create two jar  
files in one project.


I would like to have a "./src/main/api" folder besides "./src/main/java"  
and pack them into two different jars, to provide a single jar that only  
contains the API that is needed to use my library.


For now I use two seperated projects "core" and "core-api" while "core"  
depends on "core-api". This also works great, but I think it would be more  
elegant to have the API in the same project that will create a  
"core-api-version.jar" besides the "core-version.jar".


Do you think that it is possible? Or do you think I should stay at the  
seperated projects due to some reasons (Maybe because implementation  
versions can change while API versions stay at a specific version).


Thanks and greetings
Dennis Kempin

PS: please pardon me. My english is bad.

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



Re: [M2] Is FTP maven2 repository supported?

2006-03-29 Thread Alexandre Poitras
It is supported but there some *undocumented* steps to perform, ie
copying some libs in maven\lib directory. I can give you the complete
listing in like two hours once I am at my job.

On 3/29/06, Jens Riboe <[EMAIL PROTECTED]> wrote:
> I have succeed with FTP upload (deploy), but was surprised to find out
> that FTP download (repo/depends) failed.
>
> [WARNING] repository metadata for: 'artifact
> org.apache.maven.wagon:wagon-ftp' could not be retrieved from
> repository: myFTPsite due to an error: Unsupported Protocol: 'ftp':
> Cannot find wagon which supports the requested protocol: ftp
>
> Am I missing something?
> Or, is ftp m2 repo not supported? If not, will it be supported soon?
>
> Thanks for your help.
>
>
> -
> 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]



[M2] Is FTP maven2 repository supported?

2006-03-29 Thread Jens Riboe
I have succeed with FTP upload (deploy), but was surprised to find out
that FTP download (repo/depends) failed.

[WARNING] repository metadata for: 'artifact
org.apache.maven.wagon:wagon-ftp' could not be retrieved from
repository: myFTPsite due to an error: Unsupported Protocol: 'ftp':
Cannot find wagon which supports the requested protocol: ftp

Am I missing something? 
Or, is ftp m2 repo not supported? If not, will it be supported soon?

Thanks for your help.


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



[M2] Creating an ear file

2006-03-29 Thread Gerard Garrigan
Hello,

 

I've been asked to convert a project over to Maven. Currently the
project uses ant. When it is built first it builds a number of jars and
then these jars are included in the final ear file. 

 

How can the same result be achieved in Maven?

 

Thanks very much,

 

Ger 

 



Re: Mail notification should be configurable to notify on every build

2006-03-29 Thread Emmanuel Venisse

1.0.3 will be release in few days, i don't know exactly when.
This fix is included in 1.0.3. You ca&n configure it in application.xml (alwaysSend parameter in 
each notifiers)

It isn't possible to use it in 1.0.2

Emmanuel

Gautham Pamu a écrit :

Hi Everyone,
http://jira.codehaus.org/browse/CONTINUUM-446?page=comments#action_57203

When are they releasing continuum 1.0.3. Will this fix be included in 1.0.3.
For 1.0.2, do we need to follow the above instructions
to have this feature.

--
-Gautham Pamu





Mail notification should be configurable to notify on every build

2006-03-29 Thread Gautham Pamu
Hi Everyone,
http://jira.codehaus.org/browse/CONTINUUM-446?page=comments#action_57203

When are they releasing continuum 1.0.3. Will this fix be included in 1.0.3.
For 1.0.2, do we need to follow the above instructions
to have this feature.

--
-Gautham Pamu


Could not create task or type of type: antlib:org.apache.maven.artifact.ant:pom

2006-03-29 Thread michael-meyer
Hi,
the attached project produces the following error message:
Could not create task or type of type: antlib:org.apache.maven.artifact.ant:pom.

It's a simple project. The project should only demonstrate my problem.
It seems that maven-plugin-plugin can't find org.apache although 
maven-artifact-ant-2.0.x
is on the classpath.
If anybody could please take a look at it?

Cheers, michael


For building and running the attached project execute:
mvn install
mvn org.myproject.plugins:test-plugin:test

File structure:
TestPlugin
|- pom.xml
|- src
|- main
|- scripts
|- test.build.xml
|- test.mojos.xml


  4.0.0

  org.myproject.plugins
  test-plugin
  1.0-SNAPSHOT

  maven-plugin
  
  Test Plugin
  

  

maven-plugin-plugin



  
org.apache.maven
maven-plugin-tools-ant
2.0.1
  

   



  test

  

  
  

  org.apache.maven
  maven-artifact-ant
  2.0.3
  runtime


  org.apache.maven
  maven-script-ant
  2.0.1
  runtime







	
	
	
	

	
	
		
	
  
	
	
		Found org.apache.maven.artifact.ant.Pom on the classpath
		
		
	



  

  test

  
  test
  true
  
Task that unfortunately fails.
  

  

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

[M2] how to set up proxy password not in plain text?

2006-03-29 Thread Szczepan Faber
How to set up maven 2 proxy password not in plain text (currently it
is configured in settings.xml)?

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



Problem with own jar as dependencies

2006-03-29 Thread Venkatagopalaraju
Dear Maven Users,

  I am using our own jars as dependencies in my pom.xml. In this task, 
I used command line options as 

set -Dversion=1.0
set -Dartifactid=struts
set -DgroupId=localjars
set -Dpackaging=jar  -Dgeneratepom=true

and I created my own jar directory structure as 

C:\Documents and 
Settings\xmraju\.m2\repository\localjars\struts\1.0\struts-1.0.jar

and my pom.xml is...

http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
  4.0.0
  citistreet.id.util
  cs-struts-base
  jar
  1.0
  Maven Quick Start Archetype
  http://maven.apache.org 

  classes
  classes
  ${artifactId}-${version}  
  src  
  

 org.apache.maven.plugins
 maven-compiler-plugin
 
   1.5
1.5


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

  
attach-sources

  jar

  

  
  
   
   
   
   citistreet.id.util
   cs-util
   1.0
 
 
  localjars 
  struts 
  1.0 
  
 
   
   target/site
   


When I try to run this pom.xml by using "mvn clean package", I found below 
error as Unable to get resource from repository central...But I am getting 
build successful. Could you please let me know, What I need to do...and where I 
did mistake...?
 Help me Please


[INFO] Using default encoding to copy filtered resources.
Downloading: http://repo1.maven.org/maven2/localjars/struts/1.0/struts-1.0.pom
[WARNING] Unable to get resource from repository central (http://repo1.maven.org
/maven2)


Re: Maven 1.0.2 test problem

2006-03-29 Thread Arnaud HERITIER
Did you take a look at the reports in target/test-reports ?
Do you fork your tests ?

Arnaud

On 3/29/06, Brussee, Alex <[EMAIL PROTECTED]> wrote:
>
>
> Hello maven gurus,
>
> I am trying to solve a problem concerning my maven junit test.
> They work fine in eclipse, they compile both in eclipse and with maven.
> They all FAIL in maven (while they succeed in eclipse)
> I get the next error:
> [junit] java.lang.ClassNotFoundException: null
>
>
> my dir structure
>
> basedir\sourcedir\src
> basedir\junittestdir\src
>
> Is there a solution ? Is there a way to get a stack trace on the failure ?
> I used -X and got no stack trace concerning an error.  I am very curious to
> what class can't be found.
>
> Any help would be much appreciated
>
> Kind Regarrds,
> Alex Brussee
>
> When i run test:ui I get the next error
>
> warning(junit.framework.TestSuite$1): Cannot instantiate test case:
> testFondsCode (java.lang.InstantiationException at
> sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(
> InstantiationExceptionConstructorAccessorImpl.java:30) at
> java.lang.reflect.Constructor.newInstance(Constructor.java:274) at
> junit.framework.TestSuite.createTest(TestSuite.java:131) at
> junit.framework.TestSuite.addTestMethod(TestSuite.java:114) at
> junit.framework.TestSuite.(TestSuite.java:75) at
> junit.runner.BaseTestRunner.getTest(BaseTestRunner.java:103) at
> junit.swingui.TestRunner.runSuite(TestRunner.java:591) at
> junit.swingui.TestRunner$9.actionPerformed(TestRunner.java:283) at
> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
> at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(
> AbstractButton.java:1839) at
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
> at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
> at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(
> BasicButtonListener.java:245) at java.awt.Component.processMouseEvent(
> Component.java:5100) at java.awt.Component.processEvent(Component.java:4897)
> at java.awt.Container.processEvent(Container.java:1569) at
> java.awt.Component.dispatchEventImpl(Component.java:3615) at
> java.awt.Container.dispatchEventImpl(Container.java:1627) at
> java.awt.Component.dispatchEvent(Component.java:3477) at
> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483) at
> java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198) at
> java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128) at
> java.awt.Container.dispatchEventImpl(Container.java:1613) at
> java.awt.Window.dispatchEventImpl(Window.java:1606) at
> java.awt.Component.dispatchEvent(Component.java:3477) at
> java.awt.EventQueue.dispatchEvent(EventQueue.java:480) at
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread..java:201)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(
> EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEvents(
> EventDispatchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(
> EventDispatchThread.java:137) at java.awt.EventDispatchThread.run(
> EventDispatchThread.java:100) )
>
>
>
> This message contains information that may be privileged or confidential
> and is the property of the Capgemini Group. It is intended only for the
> person to whom it is addressed. If you are not the intended recipient,  you
> are not authorized to read, print, retain, copy, disseminate,  distribute,
> or use this message or any part thereof. If you receive this  message in
> error, please notify the sender immediately and delete all  copies of this
> message.
>
>


Re: POM interpolation problem in maven-2.0.3

2006-03-29 Thread Emmanuel Venisse

${project.build.directory} works fine, it's only the echo result that's strange.

Add this after the echo :




and create a child project of your pom with the same plugin execution, and your see that it create 
two txt files in correct directories (parent/target and child/target)



D:\tmp\testmaven>mvn generate-sources
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   parent
[INFO]   child
[INFO] 

[INFO] Building parent
[INFO]task-segment: [generate-sources]
[INFO] 

[INFO] [antrun:run {execution: echo}]
[INFO] Executing tasks
 [echo] project.build.directory:target
[mkdir] Created dir: D:\tmp\testmaven\target
[touch] Creating D:\tmp\testmaven\target\parent.txt
[INFO] Executed tasks
[INFO] 

[INFO] Building child
[INFO]task-segment: [generate-sources]
[INFO] 

[INFO] [antrun:run {execution: echo}]
[INFO] Executing tasks
 [echo] project.build.directory:target
[mkdir] Created dir: D:\tmp\testmaven\child\target
[touch] Creating D:\tmp\testmaven\child\target\child.txt
[INFO] Executed tasks
[INFO] [antrun:run {execution: echo}]
[INFO] Executing tasks
 [echo] project.build.directory:target
[INFO] Executed tasks
[INFO]
[INFO]
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] parent  SUCCESS [1.375s]
[INFO] child . SUCCESS [0.047s]
[INFO] 
[INFO] 
[INFO] BUILD SUCCESSFUL
[INFO] 
[INFO] Total time: 2 seconds
[INFO] Finished at: Wed Mar 29 11:23:54 CEST 2006
[INFO] Final Memory: 2M/4M
[INFO] 

So I think the issue can be closed

Emmanuel


dan tran a écrit :

here you go, single pom would do





  4.0.0

  
  jar
  test
  child
  1.0-SNAPSHOT

  child

  

  
maven-antrun-plugin

  
echo
generate-sources

  run


  
project.build.directory:${project.build.directory}

  

  

  


  





On 3/28/06, Brett Porter <[EMAIL PROTECTED]> wrote:


If that is the case, that is certainly bad - but I know we've had that
regression before, and I thought there were tests in to enforce it, so
I'd like to see a test case...

- Brett

On 3/29/06, dan tran <[EMAIL PROTECTED]> wrote:


my maven-2.0.3 shows ${project.build.directory}=target.  Instead of the
fullpath
this surely breaks the reactor build/test.


Does any one encounter the same problem?

-D




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



Maven 1.0.2 test problem

2006-03-29 Thread Brussee, Alex

Hello maven gurus,

I am trying to solve a problem concerning my maven junit test.
They work fine in eclipse, they compile both in eclipse and with maven.
They all FAIL in maven (while they succeed in eclipse)
I get the next error:
 [junit] java.lang.ClassNotFoundException: null


my dir structure

basedir\sourcedir\src
basedir\junittestdir\src

Is there a solution ? Is there a way to get a stack trace on the failure ? I 
used -X and got no stack trace concerning an error.  I am very curious to what 
class can't be found.

Any help would be much appreciated

Kind Regarrds,
Alex Brussee

When i run test:ui I get the next error

warning(junit.framework.TestSuite$1): Cannot instantiate test case: 
testFondsCode (java.lang.InstantiationException at 
sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at 
junit.framework.TestSuite.createTest(TestSuite.java:131) at 
junit.framework.TestSuite.addTestMethod(TestSuite.java:114) at 
junit.framework.TestSuite.(TestSuite.java:75) at 
junit.runner.BaseTestRunner.getTest(BaseTestRunner.java:103) at 
junit.swingui.TestRunner.runSuite(TestRunner.java:591) at 
junit.swingui.TestRunner$9.actionPerformed(TestRunner.java:283) at 
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786) at 
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
 at 
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) 
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at 
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
 at java.awt.Component.processMouseEvent(Component.java:5100) at 
java.awt.Component.processEvent(Component.java:4897) at 
java.awt.Container.processEvent(Container.java:1569) at 
java.awt.Component.dispatchEventImpl(Component.java:3615) at 
java.awt.Container.dispatchEventImpl(Container.java:1627) at 
java.awt.Component.dispatchEvent(Component.java:3477) at 
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483) at 
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198) at 
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128) at 
java.awt.Container.dispatchEventImpl(Container.java:1613) at 
java.awt.Window.dispatchEventImpl(Window.java:1606) at 
java.awt.Component.dispatchEvent(Component.java:3477) at 
java.awt.EventQueue.dispatchEvent(EventQueue.java:480) at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread..java:201)
 at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) at 
java.awt.EventDispatchThread.run(EventDispatchThread.java:100) )



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


Continuum compiler problem

2006-03-29 Thread graham

OK, wierd problem with my Continuum setup that hopefully someone can help me 
with. I've tried with both 1.0.2 and the 1.0.3 RC with no luck.

I've unzipped the application, installed the service (running on windows, BTW), 
and done the minimal config (admin user, directories, etc.). All I've changed 
directly in the Continuum directory is uncomment the config to allow file: as a 
possible url for specifying Maven 2 projects.

So far, so good, and I can upload my (very simple) multi-module Maven 2 project 
fine. It builds the two simple, non-Java containing projects without error (the 
master project, and one containing only a 'site').

However, the two projects that do contain Java source both fail, as it is 
unable to download the maven-compiler-plugin (2.0.1-SNAPSHOT). It says it is 
trying to download from http://repo1.maven.org/maven2 - I've looked at the 
Continuum config, and it appears to specify the snapshot repositiories 
correctly, and I can browse them from the machine continuum is installed on and 
see the correct compiler plugin (so it's not a proxy / http access issue).

So, any ideas what is going on and how I can fix it?

Thanks,
G
This email has been scanned by Postini.
For more information please visit http://www.postini.com



Re: POM interpolation problem in maven-2.0.3

2006-03-29 Thread Emmanuel Venisse

it0088 test ${project.build.directory} and it works fine

Emmanuel

dan tran a écrit :

http://jira.codehaus.org/browse/MNG-2186

On 3/28/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote:


Confirmed :(

2.0.3 = project.build.directory:target
2.0.2 = project.build.directory:C:\Documents and
Settings\csanchez\Local Settings\Temp\target

You know what to do next, don't you? ;)

On 3/29/06, dan tran <[EMAIL PROTECTED]> wrote:


here you go, single pom would do





 4.0.0

 
 jar
 test
 child
 1.0-SNAPSHOT

 child

 
   
 
   maven-antrun-plugin
   
 
   echo
   generate-sources
   
 run
   
   
 
   project.build.directory:${project.build.directory}

 
   
 
   
 
   

 





On 3/28/06, Brett Porter <[EMAIL PROTECTED]> wrote:


If that is the case, that is certainly bad - but I know we've had that
regression before, and I thought there were tests in to enforce it, so
I'd like to see a test case...

- Brett

On 3/29/06, dan tran <[EMAIL PROTECTED]> wrote:


my maven-2.0.3 shows ${project.build.directory}=target.  Instead of


the


fullpath
this surely breaks the reactor build/test.


Does any one encounter the same problem?

-D




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







--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
   -- The Princess Bride

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



Maven test plugin

2006-03-29 Thread Brussee, Alex

Hi there maven-gurus !

I really hope someone can help me on this one:

I am trying to run some tests, I keep getting :
[junit] java.lang.ClassNotFoundException: null

As a result, all my tests fail

This is where my tests are located:


${basedir}/../testdir/src
  


   **/PolisImplTest.java
  


directory structure
basedir\sourcedir\src
basedir\unittestdir\src

The tests run in Eclipse and they compile in maven.
On other projects the test

Is there a solution to this problem or a way to add some extensive logging ?
I am using the -X option, but I can't get a stack trace on the failed test.

When more information is needed I will provide it.

Kind regards,
Alex Brussee


When I run test:ui, I get the next error
warning(junit.framework.TestSuite$1): Cannot instantiate test case: 
testFondsCode (java.lang.InstantiationException at 
sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at 
junit.framework.TestSuite.createTest(TestSuite.java:131) at 
junit.framework.TestSuite.addTestMethod(TestSuite.java:114) at 
junit.framework.TestSuite.(TestSuite.java:75) at 
junit.runner.BaseTestRunner.getTest(BaseTestRunner.java:103) at 
junit.swingui.TestRunner.runSuite(TestRunner.java:591) at 
junit.swingui.TestRunner$9.actionPerformed(TestRunner.java:283) at 
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786) at 
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
 at 
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) 
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at 
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
 at java.awt.Component.processMouseEvent(Component.java:5100) at 
java.awt.Component.processEvent(Component.java:4897) at 
java.awt.Container.processEvent(Container.java:1569) at 
java.awt.Component.dispatchEventImpl(Component.java:3615) at 
java.awt.Container.dispatchEventImpl(Container.java:1627) at 
java.awt.Component.dispatchEvent(Component.java:3477) at 
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483) at 
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198) at 
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128) at 
java.awt.Container.dispatchEventImpl(Container.java:1613) at 
java.awt.Window.dispatchEventImpl(Window.java:1606) at 
java.awt.Component.dispatchEvent(Component.java:3477) at 
java.awt.EventQueue.dispatchEvent(EventQueue.java:480) at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread..java:201)
 at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) at 
java.awt.EventDispatchThread.run(EventDispatchThread.java:100) )



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


Re: [m2] use of systemPath (was Compiling with JDK 1.4)

2006-03-29 Thread Carlos Sanchez
I prefer com.sun, if they want to mantain a repo I'm ok with them
relocating it ;)

On 3/29/06, dan tran <[EMAIL PROTECTED]> wrote:
> wonder if it makes more sense to name the group com.sun.jre?
>
> -D
>
>
> On 3/29/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
> >
> >
> > I've created http://jira.codehaus.org/browse/MAVENUPLOAD-802
> > and attached POMs for com.sun:rt:1.3.1_08 / 1.4.1_06 / 1.5.0_06
> >
> > dan tran a écrit :
> > > please do create standard pom.
> > >
> > > -D
> > >
> > >
> > > On 3/28/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
> > >
> > >> I would say com.sun
> > >> Also if you want to make poms i'm open to put them in ibiblio for
> > >> better consistency.
> > >>
> > >> On 3/29/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
> > >>
> > >>> I also have considered adding it to my private repository.
> > >>> Would you consider using "java" groupId a good practice (according to
> > >>> SUN jar conventions), or may I use "com.sun" to put SUN JRE jars
> > >>> in my repo ?
> > >>>
> > >>> Carlos Sanchez a écrit :
> > >>>
> >  ${java.home}/../rt.jar
> > 
> >  That's how it's supposed to work.
> > 
> >  in my opinion it'd probably be better in the repository also, but
> >  anyway it's not redistributable.
> > 
> >  On 3/29/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
> > 
> > 
> > > I'd like to add JRE "rt.jar" as a dependency to my POM, so that I
> > can
> > > use it in compiler plugin configuration :
> > >
> > > ${pom.getDependencyPath('jara:rt')}
> > >
> > > As this jar should be devivered on the system, I've set scope to
> > >
> > >> "system" :
> > >>
> > > 
> > >   java
> > >   rt
> > >   1.3
> > >   system
> > > 
> > >
> > >
> > > How to configure maven so that it founds where the expected jar is
> > on
> > >
> > >> my
> > >>
> > > systme ? I can't find info about "system" scope in maven doc. Some
> > >
> > >> use
> > >>
> > > the  to set the jar location, but this will may not be
> > > portable !
> > >
> > > Any suggestion is welcome.
> > > Nico.
> > >
> > > This message contains information that may be privileged or
> > >
> > >> confidential and is the property of the Capgemini Group. It is intended
> > only
> > >> for the person to whom it is addressed. If you are not the intended
> > >> recipient,  you are not authorized to read, print, retain, copy,
> > >> disseminate,  distribute, or use this message or any part thereof. If
> > you
> > >> receive this  message in error, please notify the sender immediately
> > and
> > >> delete all  copies of this message.
> > >>
> > >
> > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> > >
> >  --
> >  I could give you my word as a Spaniard.
> >  No good. I've known too many Spaniards.
> >   -- The Princess Bride
> > 
> >  -
> >  To unsubscribe, e-mail: [EMAIL PROTECTED]
> >  For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> > 
> > 
> > >>> This message contains information that may be privileged or
> > confidential
> > >>>
> > >> and is the property of the Capgemini Group. It is intended only for the
> > >> person to whom it is addressed. If you are not the intended
> > recipient,  you
> > >> are not authorized to read, print, retain, copy,
> > disseminate,  distribute,
> > >> or use this message or any part thereof. If you receive this  message
> > in
> > >> error, please notify the sender immediately and delete all  copies of
> > this
> > >> message.
> > >>
> > >>> -
> > >>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >>> For additional commands, e-mail: [EMAIL PROTECTED]
> > >>>
> > >>>
> > >>>
> > >> --
> > >> I could give you my word as a Spaniard.
> > >> No good. I've known too many Spaniards.
> > >> -- The Princess Bride
> > >>
> > >> -
> > >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >> For additional commands, e-mail: [EMAIL PROTECTED]
> > >>
> > >>
> > >>
> > >
> > >
> >
> > This message contains information that may be privileged or confidential
> > and is the property of the Capgemini Group. It is intended only for the
> > person to whom it is addressed. If you are not the intended recipient,  you
> > are not authorized to read, print, retain, copy, disseminate,  distribute,
> > or use this message or any part thereof. If you receive this  message in
> > error, please notify the sender immediately and delete all  copies of this
> > message.
> >
> >
> > ---

Re: [m2] use of systemPath (was Compiling with JDK 1.4)

2006-03-29 Thread dan tran
wonder if it makes more sense to name the group com.sun.jre?

-D


On 3/29/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
>
>
> I've created http://jira.codehaus.org/browse/MAVENUPLOAD-802
> and attached POMs for com.sun:rt:1.3.1_08 / 1.4.1_06 / 1.5.0_06
>
> dan tran a écrit :
> > please do create standard pom.
> >
> > -D
> >
> >
> > On 3/28/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
> >
> >> I would say com.sun
> >> Also if you want to make poms i'm open to put them in ibiblio for
> >> better consistency.
> >>
> >> On 3/29/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
> >>
> >>> I also have considered adding it to my private repository.
> >>> Would you consider using "java" groupId a good practice (according to
> >>> SUN jar conventions), or may I use "com.sun" to put SUN JRE jars
> >>> in my repo ?
> >>>
> >>> Carlos Sanchez a écrit :
> >>>
>  ${java.home}/../rt.jar
> 
>  That's how it's supposed to work.
> 
>  in my opinion it'd probably be better in the repository also, but
>  anyway it's not redistributable.
> 
>  On 3/29/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
> 
> 
> > I'd like to add JRE "rt.jar" as a dependency to my POM, so that I
> can
> > use it in compiler plugin configuration :
> >
> > ${pom.getDependencyPath('jara:rt')}
> >
> > As this jar should be devivered on the system, I've set scope to
> >
> >> "system" :
> >>
> > 
> >   java
> >   rt
> >   1.3
> >   system
> > 
> >
> >
> > How to configure maven so that it founds where the expected jar is
> on
> >
> >> my
> >>
> > systme ? I can't find info about "system" scope in maven doc. Some
> >
> >> use
> >>
> > the  to set the jar location, but this will may not be
> > portable !
> >
> > Any suggestion is welcome.
> > Nico.
> >
> > This message contains information that may be privileged or
> >
> >> confidential and is the property of the Capgemini Group. It is intended
> only
> >> for the person to whom it is addressed. If you are not the intended
> >> recipient,  you are not authorized to read, print, retain, copy,
> >> disseminate,  distribute, or use this message or any part thereof. If
> you
> >> receive this  message in error, please notify the sender immediately
> and
> >> delete all  copies of this message.
> >>
> >
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
>  --
>  I could give you my word as a Spaniard.
>  No good. I've known too many Spaniards.
>   -- The Princess Bride
> 
>  -
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> >>> This message contains information that may be privileged or
> confidential
> >>>
> >> and is the property of the Capgemini Group. It is intended only for the
> >> person to whom it is addressed. If you are not the intended
> recipient,  you
> >> are not authorized to read, print, retain, copy,
> disseminate,  distribute,
> >> or use this message or any part thereof. If you receive this  message
> in
> >> error, please notify the sender immediately and delete all  copies of
> this
> >> message.
> >>
> >>> -
> >>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>> For additional commands, e-mail: [EMAIL PROTECTED]
> >>>
> >>>
> >>>
> >> --
> >> I could give you my word as a Spaniard.
> >> No good. I've known too many Spaniards.
> >> -- The Princess Bride
> >>
> >> -
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>
> >
> >
>
> This message contains information that may be privileged or confidential
> and is the property of the Capgemini Group. It is intended only for the
> person to whom it is addressed. If you are not the intended recipient,  you
> are not authorized to read, print, retain, copy, disseminate,  distribute,
> or use this message or any part thereof. If you receive this  message in
> error, please notify the sender immediately and delete all  copies of this
> message.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


  1   2   >