Serving static content

2007-08-01 Thread Dmitriy Voloshchuk
Hello,

 

I'd like to share  test results which start with continuum by using
jetty web server in continuum.

Is it possible to configure jetty to server static content like
http://docs.codehaus.org/display/JETTY/Static+Content  ?

 

Regards,

D.

 



RE: can not add installations (jdk/maven/ant versions) on profile

2007-08-01 Thread LAMY Olivier
Hi,
The scenario looks good (have you looked at the profile list page ? )
Something in the logs (maybe an error) ? 

--
Olivier

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 1 août 2007 15:08
À : continuum-users@maven.apache.org
Cc : continuum-users@maven.apache.org
Objet : can not add installations (jdk/maven/ant versions) on profile

Hi,
I'm happy with the new features in Continuum 1.1 beta about configurations of 
different jdk/maven/ant versions and environment variables definition, but I 
have a problem: I can't add any installation on a profile.
I created two installations, I can create a profile, I see the combo-box where 
appear my two installations but when I click on the add-button, nothing happens!
Do I forget something? (I was on the admin account for all of these
operations)

Regards,
Rémi.
+-+
Combining consulting and technology solutions offers enables Devoteam to 
provide its customers with independent advice and effective solutions that meet 
their strategic objectives (IT performance and optimisation) in complementary 
areas: networks, systems infrastructure, security and e-business applications.
Created in 1995, Devoteam achieved in 2005 a turnover of 199 million euros and 
an operating margin of 7%. The group counts 2,400 employees through sixteen 
countries in Europe, the Middle East and North Africa.
Listed on Euronext (Eurolist B compartment) since October 28, 1999.
Part of the Nexteconomy, CAC SMALL 90, IT CAC 50, SBF 250 index of Euronext 
Paris
ISIN: FR 07379 3, Reuters: DVTM.LM, Bloomberg: DEVO FP
+-+


This e-mail, any attachments and the information contained therein (this 
message) are confidential and intended solely for the use of the addressee(s). 
If you have received this message in error please send it back to the sender 
and delete it. Unauthorized publication, use, dissemination or disclosure of 
this message, either in whole or in part is strictly prohibited.
--
Ce message électronique et tous les fichiers joints ainsi que  les informations 
contenues dans ce message ( ci après le message ), sont confidentiels et 
destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. 
Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur 
et de le détruire. Toutes diffusion, publication, totale ou partielle ou 
divulgation sous quelque forme que se soit non expressément autorisées de ce 
message, sont interdites.
-



RE: can not add installations (jdk/maven/ant versions) on profile

2007-08-01 Thread remi . chevalier
On the profile list page there is the name of my profile but nothing in 
the Installations field.

I found a warning in the logs :
INFO   | jvm 1| 2007/08/01 15:27:56 | 2007-08-01 15:27:56,009 
[SocketListener0-1] WARN  ConfigurationFactory   - No 
configuration found. Configuring ehcache from ehcache-failsafe.xml  found 
in the classpath: jar:file:/D:/TEST CONTINUUM 1.1 
beta/continuum-1.1-beta-1/apps/continuum/webapp/WEB-INF/lib/ehcache-1.2.4.jar!/ehcache-failsafe.xml

Does this functionality work for you?

Thanks,
Rémi.




LAMY Olivier [EMAIL PROTECTED] 
01/08/2007 15:19
Veuillez répondre à
continuum-users@maven.apache.org


A
continuum-users@maven.apache.org
cc

Objet
RE: can not add installations (jdk/maven/ant versions) on profile






Hi,
The scenario looks good (have you looked at the profile list page ? )
Something in the logs (maybe an error) ? 

--
Olivier

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 1 août 2007 15:08
À : continuum-users@maven.apache.org
Cc : continuum-users@maven.apache.org
Objet : can not add installations (jdk/maven/ant versions) on profile

Hi,
I'm happy with the new features in Continuum 1.1 beta about configurations 
of different jdk/maven/ant versions and environment variables definition, 
but I have a problem: I can't add any installation on a profile.
I created two installations, I can create a profile, I see the combo-box 
where appear my two installations but when I click on the add-button, 
nothing happens!
Do I forget something? (I was on the admin account for all of these
operations)

Regards,
Rémi.
+-+
Combining consulting and technology solutions offers enables Devoteam to 
provide its customers with independent advice and effective solutions that 
meet their strategic objectives (IT performance and optimisation) in 
complementary areas: networks, systems infrastructure, security and 
e-business applications.
Created in 1995, Devoteam achieved in 2005 a turnover of 199 million euros 
and an operating margin of 7%. The group counts 2,400 employees through 
sixteen countries in Europe, the Middle East and North Africa.
Listed on Euronext (Eurolist B compartment) since October 28, 1999.
Part of the Nexteconomy, CAC SMALL 90, IT CAC 50, SBF 250 index of 
Euronext Paris
ISIN: FR 07379 3, Reuters: DVTM.LM, Bloomberg: DEVO FP
+-+


This e-mail, any attachments and the information contained therein (this 
message) are confidential and intended solely for the use of the 
addressee(s). If you have received this message in error please send it 
back to the sender and delete it. Unauthorized publication, use, 
dissemination or disclosure of this message, either in whole or in part is 
strictly prohibited.
--
Ce message électronique et tous les fichiers joints ainsi que  les 
informations contenues dans ce message ( ci après le message ), sont 
confidentiels et destinés exclusivement à l'usage de la  personne à 
laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci 
 de le renvoyer à son émetteur et de le détruire. Toutes diffusion, 
publication, totale ou partielle ou divulgation sous quelque forme que se 
soit non expressément autorisées de ce message, sont interdites.
-



+-+
Combining consulting and technology solutions offers enables Devoteam
to provide its customers with independent advice and effective solutions
that meet their strategic objectives (IT performance and optimisation)
in complementary areas: networks, systems infrastructure, security
and e-business applications.
Created in 1995, Devoteam achieved in 2005 a turnover of 199 million euros
and an operating margin of 7%. The group counts 2,400 employees through
sixteen countries in Europe, the Middle East and North Africa.
Listed on Euronext (Eurolist B compartment) since October 28, 1999.
Part of the Nexteconomy, CAC SMALL 90, IT CAC 50, SBF 250 index of
Euronext Paris
ISIN: FR 07379 3, Reuters: DVTM.LM, Bloomberg: DEVO FP
+-+


RE: First build errors

2007-08-01 Thread Randall Fidler
Jesse,

Thanks, I'll change over to the version you specified and see
what I get there.

Regards,

Randall

-Original Message-
From: Jesse McConnell [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 31, 2007 1:28 PM
To: continuum-users@maven.apache.org
Subject: Re: First build errors

I would recommend trying out the continuum 1.1-beta-1, there as been a
lot of work all across continuum since the version you are using.

log file and configuration would help, if the log file is too big just
post a link to it and we can take a peek.

I would recommend changing your mail configuration back and seeing if
the problem persists, just so we can isolate the issue a bit more :)

cheers

jesse

On 7/30/07, Randall Fidler [EMAIL PROTECTED] wrote:
 Hello,



I'm running Continuum v1.0.3 on Ubuntu Linux with Maven
 2.0.7 and Java 1.5.0_011.   The web service comes up, I can login and
 upload a POM but when I run it, all I end up with is Exception:
 Null for the build status.  I've increased the logging to DEBUG for
all
 the default categories in the config but nothing stands out in the log
 file.  It appears to be working with Derby fine and there isn't an
error
 with a huge stack trace so I don't really see what's null.  Can
somebody
 point me in the right direction?  Would the log file help?

 Regards,

 Randall



 p.s. Other than the log files, the only other configuration change I
 made was to the mail setup.




-- 
jesse mcconnell
[EMAIL PROTECTED]


can not add installations (jdk/maven/ant versions) on profile

2007-08-01 Thread remi . chevalier
Hi,
I'm happy with the new features in Continuum 1.1 beta about configurations 
of different jdk/maven/ant versions and environment variables definition, 
but I have a problem: I can't add any installation on a profile.
I created two installations, I can create a profile, I see the combo-box 
where appear my two installations but when I click on the add-button, 
nothing happens!
Do I forget something? (I was on the admin account for all of these 
operations)

Regards,
Rémi.
+-+
Combining consulting and technology solutions offers enables Devoteam
to provide its customers with independent advice and effective solutions
that meet their strategic objectives (IT performance and optimisation)
in complementary areas: networks, systems infrastructure, security
and e-business applications.
Created in 1995, Devoteam achieved in 2005 a turnover of 199 million euros
and an operating margin of 7%. The group counts 2,400 employees through
sixteen countries in Europe, the Middle East and North Africa.
Listed on Euronext (Eurolist B compartment) since October 28, 1999.
Part of the Nexteconomy, CAC SMALL 90, IT CAC 50, SBF 250 index of
Euronext Paris
ISIN: FR 07379 3, Reuters: DVTM.LM, Bloomberg: DEVO FP
+-+


What name use for search the submodules in the repository?

2007-08-01 Thread Martin Alejandro Villalobos

Hello, I've a question.
I've a project with a set of submodules.
When I add the projects adding the pom's URL, Contiuum add all 
submodules together.
Wich is the name that use continuum for search in SVN repository and add 
submodules? May be the name that there is in artifactIdartifactId


Re: Very odd central maven repo problem

2007-08-01 Thread Paul Smith


On 01/08/2007, at 4:01 PM, Milos Kleint wrote:

AFAIK that's intentional. To avoid people downloading the whole  
repo through wget. rsynch is the preferred method I think.




Then why is curl not rejected?  Why is Archiva failing?  Why is my  
local mvn retrieval also failing?


I'm happy to rsync, but I don't understand why I have to do this,  
given it should be one of the initial things that a fresh maven  
install would need to pull down?


cheers,

Paul


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



Re: Very odd central maven repo problem

2007-08-01 Thread Wayne Fay
Others have reported similar problems with wget. Without knowing this
for certain, I would assume that the repo1 owners simply do not like
people using wget to pull their entire repo down, so they might be
blocking it somehow. I believe the Maven website instructs people to
use rsync if they want to pull down their own copy of the repo (its
well over 10gb at this point, I'm sure).

It looks like your running a *nix, but can you tell us specifically
what OS, JDK version, Maven version, etc? We've had Windows users run
into similar problems who were having troubles due to overzealous
antivirus software, etc.

Wayne

On 8/1/07, Paul Smith [EMAIL PROTECTED] wrote:
 This has happened before, and then appeared to magically resolve
 itself, but it's quite sticky at the moment.

 It seems to stem from this weirdness. Given a URL on the central Repo:

 http://repo1.maven.org/maven2/org/apache/maven/maven/2.0.6/
 maven-2.0.6.pom

 1) I can browse using Firefox - OK
 2) I can use command line 'curl' to view (curl http://repo1.maven.org/
 maven2/org/apache/maven/maven/2.0.6/maven-2.0.6.pom)
 3) I CANNOT use 'wget' to retrieve it (wget http://repo1.maven.org/
 maven2/org/apache/maven/maven/2.0.6/maven-2.0.6.pom)


 wget reports 403 Forbidden:

 [EMAIL PROTECTED] tmp]$ wget http://repo1.maven.org/maven2/org/apache/
 maven/maven/2.0.4/maven-2.0.4.pom-2.0.4.pom
 --15:37:16--  http://repo1.maven.org/maven2/org/apache/maven/maven/
 2.0.4/maven-2.0.4.pom
= `maven-2.0.4.pom'
 Resolving repo1.maven.org... 63.246.20.112
 Connecting to repo1.maven.org|63.246.20.112|:80... connected.
 HTTP request sent, awaiting response... 403 Forbidden
 15:37:18 ERROR 403: Forbidden.

 [EMAIL PROTECTED] tmp]$ wget http://repo1.maven.org/maven2/org/apache/
 maven/maven/2.0.6/maven-2.0.6.pom
 --15:38:22--  http://repo1.maven.org/maven2/org/apache/maven/maven/
 2.0.6/maven-2.0.6.pom
= `maven-2.0.6.pom'
 Resolving repo1.maven.org... 63.246.20.112
 Connecting to repo1.maven.org|63.246.20.112|:80... connected.
 HTTP request sent, awaiting response... 403 Forbidden
 15:38:22 ERROR 403: Forbidden.

 [

 I think this is why our Archiva repo says this:

 337271615 [SocketListener0-0] ERROR
 org.apache.maven.archiva.policies.PreDownloadPolicy:cache-failures -
 Unknown checksum policyCode [cache]
 337271615 [SocketListener0-0] INFO
 org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default -
 Failed pre-download policies - /volume2/maven2/org/apache/maven/maven/
 2.0.6/maven-2.0.6.pom
 337273843 [SocketListener0-0] WARN
 org.apache.maven.archiva.policies.PostDownloadPolicy:checksum - SHA1
 is incorrect for /volume2/maven2/org/apache/maven/maven/2.0.6/
 maven-2.0.6.pom
 337273843 [SocketListener0-0] WARN
 org.apache.maven.archiva.policies.PostDownloadPolicy:checksum - MD5
 is incorrect for /volume2/maven2/org/apache/maven/maven/2.0.6/
 maven-2.0.6.pom
 337273843 [SocketListener0-0] INFO
 org.apache.maven.archiva.proxy.RepositoryProxyConnectors:default -
 Failed post-download policies - /volume2/maven2/org/apache/maven/
 maven/2.0.6/maven-2.0.6.pom


 And why when I temporarily remove the mirror settings to archiva and
 manually move an originally downloaded 2.0.6 set of pom details, I
 still get this:
 
 [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
 '1991be0ed3e1820e135201406d5acabf8c08d426'; remote =
 '218016709d90d14b64bfb1de3a86a2247e8873db' - RETRYING
 Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven/
 2.0.6/maven-2.0.6.pom
 8K downloaded
 [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
 '1991be0ed3e1820e135201406d5acabf8c08d426'; remote =
 '218016709d90d14b64bfb1de3a86a2247e8873db' - IGNORING



 Is there something wacky with the repository?  It seems to eventually
 go away.

 Paul Smith
 Core Engineering Manager

 Aconex
 The easy way to save time and money on your project

 696 Bourke Street, Melbourne,
 VIC 3000, Australia
 Tel: +61 3 9240 0200  Fax: +61 3 9240 0299
 Email: [EMAIL PROTECTED]  www.aconex.com

 This email and any attachments are intended solely for the addressee.
 The contents may be privileged, confidential and/or subject to
 copyright or other applicable law. No confidentiality or privilege is
 lost by an erroneous transmission. If you have received this e-mail
 in error, please let us know by reply e-mail and delete or destroy
 this mail and all copies. If you are not the intended recipient of
 this message you must not disseminate, copy or take any action in
 reliance on it. The sender takes no responsibility for the effect of
 this message upon the recipient's computer system.





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



Re: Very odd central maven repo problem

2007-08-01 Thread Paul Smith



It looks like your running a *nix, but can you tell us specifically
what OS, JDK version, Maven version, etc? We've had Windows users run
into similar problems who were having troubles due to overzealous
antivirus software, etc.

maven 2.0.6 running on both OSX and RedHat EL3 (happens across  
everything at the moment).


If I manually install that 2.0.6 pom from the one copy I have locally  
(I must have retrieved it successfully through maven at one point) it  
works fine, obviously because it doesn't have to download it.


Can someone please try moving aside their 2.0.6 maven plugin pom  
directory and seeing if they get the same thing?


Paul

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



Re: repository with latest hibernate jars ?

2007-08-01 Thread Christopher Kolstad
Have you looked at the 
http://repo1.maven.org/maven2/org/hibernate/hibernate repo.
They've got both the 3.2.4ga and 3.2.4sp1, but no 3.2.5 yet.

Christopher

On 8/1/07, nicolas de loof [EMAIL PROTECTED] wrote:

 Is there a maven repository with latest hibernate jars ?
 I've looked at http://repository.jboss.org/ but is doesn't contain the
 latest 3.2.5, neither 3.2.4.ga. Does anybody at jboss use maven ?




-- 
Regards,
Christopher Kolstad
E-mail: [EMAIL PROTECTED] (University)
[EMAIL PROTECTED] (Home)
[EMAIL PROTECTED] (Job)


repository with latest hibernate jars ?

2007-08-01 Thread nicolas de loof
Is there a maven repository with latest hibernate jars ?
I've looked at http://repository.jboss.org/ but is doesn't contain the
latest 3.2.5, neither 3.2.4.ga. Does anybody at jboss use maven ?


Re: repository with latest hibernate jars ?

2007-08-01 Thread Geoffrey De Smet
Carlos (or someone else?) used to take care of high-quality hibernate 
poms (but not for validator etc).


I believe the hibernate guys are writing a maven poc,
when I looked last at their svn.
I also send a mail with some pointers on their pom.xml's (such as plugin 
version lock down, use of dependencyManagement, ...)


However, meanwhile until they release that, some of the latest 
hibernate-validator/annotions/entitymanager deployments didn't play well 
with each other's transitive deps IIRC...
I remember having to grab hibernate-commons-annotations or something 
from the jboss repo in order to get it to work :/


With kind regards,
Geoffrey De Smet

nicolas de loof schreef:

Sure, I allready searched the maven public repo. But none of the latests
hibernate jars are available there.

So I'm just curious if jboss/hibernate developers use a custom maven repo to
deploy latest artifacts (and maybe snapshots), like spring does.

2007/8/1, Christopher Kolstad [EMAIL PROTECTED]:

Have you looked at the 
http://repo1.maven.org/maven2/org/hibernate/hibernate repo.
They've got both the 3.2.4ga and 3.2.4sp1, but no 3.2.5 yet.

Christopher

On 8/1/07, nicolas de loof [EMAIL PROTECTED] wrote:

Is there a maven repository with latest hibernate jars ?
I've looked at http://repository.jboss.org/ but is doesn't contain the
latest 3.2.5, neither 3.2.4.ga. Does anybody at jboss use maven ?




--
Regards,
Christopher Kolstad
E-mail: [EMAIL PROTECTED] (University)
[EMAIL PROTECTED] (Home)
[EMAIL PROTECTED] (Job)






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



Re: repository with latest hibernate jars ?

2007-08-01 Thread nicolas de loof
Sure, I allready searched the maven public repo. But none of the latests
hibernate jars are available there.

So I'm just curious if jboss/hibernate developers use a custom maven repo to
deploy latest artifacts (and maybe snapshots), like spring does.

2007/8/1, Christopher Kolstad [EMAIL PROTECTED]:

 Have you looked at the 
 http://repo1.maven.org/maven2/org/hibernate/hibernate repo.
 They've got both the 3.2.4ga and 3.2.4sp1, but no 3.2.5 yet.

 Christopher

 On 8/1/07, nicolas de loof [EMAIL PROTECTED] wrote:
 
  Is there a maven repository with latest hibernate jars ?
  I've looked at http://repository.jboss.org/ but is doesn't contain the
  latest 3.2.5, neither 3.2.4.ga. Does anybody at jboss use maven ?
 



 --
 Regards,
 Christopher Kolstad
 E-mail: [EMAIL PROTECTED] (University)
 [EMAIL PROTECTED] (Home)
 [EMAIL PROTECTED] (Job)



Re: List dependencies NOT used

2007-08-01 Thread Marcel Schutte
Take a look at the dependency plugin. It has a goal analyze-dependencies.

- Original Message 
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To: users@maven.apache.org
Sent: Wednesday, August 1, 2007 10:30:03 AM
Subject: List dependencies NOT used

Hi,

Is it possible to get a list of decencies that are defined in the
pom.xml file 
but are NOT used anymore in the module/project?

I'm using mvn 2.0.7.

Regards
Gunnar

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






   

Be a better Globetrotter. Get better travel answers from someone who knows. 
Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=listsid=396545469

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



List dependencies NOT used

2007-08-01 Thread Gunnar.Bostrom
Hi,

Is it possible to get a list of decencies that are defined in the
pom.xml file 
but are NOT used anymore in the module/project?

I'm using mvn 2.0.7.

Regards
Gunnar

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



RE: continuum 1.0.3 build errors but mvn fine

2007-08-01 Thread John Coleman
This is on Windows Server 2003. As continuum runs as a service it uses
the Local System profile. Perhaps there is an issue there.

As a long shot, I provided the proxy server settings and it works now,
even though all dependencies were already in the local repo?!

Maybe I should switch maven to offline mode as well, but I still don't
understand why it was okay on the command line.

John

-Original Message-
From: Jesse McConnell [mailto:[EMAIL PROTECTED] 
Sent: 31 July 2007 21:30
To: [EMAIL PROTECTED]
Subject: Re: continuum 1.0.3 build errors but mvn fine

these are generally environment issues yes..though your saying that
you can run it fine from the working directory is generally the first
time to suggest trying :)

what o/s

and you are running it in that working directory as the same user that
is running continuum, right? :)

jesse

On 7/31/07, John Coleman [EMAIL PROTECTED]
wrote:
 My continuum builds continue to spew this message out...



 [INFO] artifact com.eurobase.maven.plugins:web-flavour: checking for
 updates from central [WARNING] repository metadata for: 'artifact
 com.eurobase.maven.plugins:web-flavour' could not be retrieved from
 repository: central due to an error: Error transferring file [INFO]
 Repository 'central' will be blacklisted [INFO]



 [ERROR] BUILD ERROR

 [INFO]



 [INFO] The plugin 'com.eurobase.maven.plugins:web-flavour' does not
 exist or no valid version could be found [INFO]



 However, if I go into the continuum working-dir and type mvn package
off
 the command line, the build is fine. So what goes? Some kind of
 environment configuration difference perhaps?



 TIA

 John


 Eurobase International Limited and its subsidiaries (Eurobase) are
unable to exercise control over the content of information in E-Mails.
Any views and opinions expressed may be personal to the sender and are
not necessarily those of Eurobase. Eurobase will not enter into any
contractual obligations in respect of any part of its business in any
E-mail.

 Privileged / confidential information may be contained in this message
and /or any attachments. This E-mail is intended for the use of the
addressee(s) only and may contain confidential information. If you are
not the / an intended recipient, you are hereby notified that any use or
dissemination of this communication is strictly prohibited.  If you
receive this transmission in error, please notify us immediately, and
then delete this E-mail.

 Neither the sender nor Eurobase accepts any liability whatsoever for
any defects of any kind either in or arising from this E-mail
transmission. E-Mail transmission cannot be guaranteed to be secure or
error-free, as messages can be intercepted, lost, corrupted, destroyed,
contain viruses, or arrive late or incomplete. Eurobase does not accept
any responsibility for viruses and it is your responsibility to scan any
attachments.

 Eurobase Systems Limited is the main trading company in the Eurobase
International Group; registered in England and Wales as company number
02251162; registered address: Essex House, 2 County Place, Chelmsford,
Essex CM2 0RE, UK.




-- 
jesse mcconnell
[EMAIL PROTECTED]


WebLogic Deployment - class not found error

2007-08-01 Thread Anton Schoultz
Hi all,

I am trying to get deployment to a WebLogic Server (9.2.x) working.
Deployment will be to local box (win xp) or to a remote server so I am
trying to do this as a remote deployment - with the local box as the
target (if that makes sense?) so retargeting the deployment should be
simple (just change adminServerHostName etc. (probably with profiles).

I have a war file on my box at D:\build\child\target\child.war
Within the child project I have the following pom (some bits omitted
here)

?xml version=1.0?
project
  
  dependencies
...
  /dependencies
  
  build
plugins

  plugin!-- Plugin for deploy to weblogic 9.2.x --
groupIdorg.codehaus.mojo/groupId
artifactIdweblogic-maven-plugin/artifactId
version2.9.0-SNAPSHOT/version
configuration
  adminServerHostNamelocalhost/adminServerHostName
  adminServerPort7001/adminServerPort
  adminServerProtocolhttp/adminServerProtocol
  userIduserid/userId
  passwordpassword/password
  uploadtrue/upload
  remotetrue/remote
  verbosetrue/verbose
  debugfalse/debug
  targetNamesservicingserver/targetNames
  
  artifactPathD:\build\child\target\child.war/artifactPath
  nameDeployName/name
  projectPackagingwar/projectPackaging
  
/configuration
  /plugin
  
/plugins
  /build
  
/project

I have the following in my repository and repository is configured ok.
...repository\org\codehaus\mojo\weblogic-maven-plugin\2.9.0-SNAPSHOT
...repository\weblogic\weblogic\9.2
...repository\weblogic\webservices\9.2
(these folders have both the jar and the pom)

Running from within the child project, I kick off with
 mvn weblogic:deploy

I get the following trace which indicates a NoClassDefFoundError :-

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'weblogic'.
Downloading:
http://repo1.maven.org/maven2/org/codehaus/mojo/mojo/13/mojo-13.pom
8K downloaded
[INFO]


[INFO] Building child
[INFO]task-segment: [weblogic:deploy]
[INFO]


[INFO] [weblogic:deploy]
[INFO] Weblogic Deployment beginning with parameters
DeployMojoBase[adminServerHostName = localhost, adminServerProtocol =
http, adminServerPort = 7001, userId = userid, password = password,
artifactPath = D:\build\child\target\child.war, projectPackaging = war,
name = DeployName, targetNames = servicingserver, remote = true]
[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO] weblogic/Deployer
[INFO]

[INFO] Trace
java.lang.NoClassDefFoundError: weblogic/Deployer
at
org.codehaus.mojo.weblogic.DeployMojo.execute(DeployMojo.java:56)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:443)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa
l(DefaultLifecycleExecutor.java:493)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:463)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:143)
at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
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)
[INFO]

[INFO] Total time: 7 seconds
[INFO] Finished at: Wed Aug 01 10:44:13 CAT 2007
[INFO] Final Memory: 2M/4M
[INFO]



What have I missed out ?

Many Thanks in advance

Anton 

Executable jar : lib inclusion

2007-08-01 Thread CARUANA JEAN-PHILIPPE
Hi,

I try to write a small swing client to test our EJB. The Ejb is deployed
on a Weblogic 8.1 server.
I made an executable jar file (thanks to
http://maven.apache.org/plugins/maven-jar-plugin/examples/executable-ja
r.html) so when I run java -jar myJar.jar, it works fine. But the
generated jar file is very lightweight and doesn't include needed jar
(commons-lang, weblogic-8.1.jar). How can I do that ?

The generated manifest file tells that the classpath is easy (as if all
jar files were in the current directory, witch is not true : all jar are
in the repository)

-- 
Jean-Philippe CARUANA
site http://perso.enstimac.fr/~caruana/
blog http://demostene.tumblr.com/

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



SV: List dependencies NOT used

2007-08-01 Thread Gunnar.Bostrom
Hi,
Thanks, that was what I was looking for.

Some unused compile dependencies, like javax.mail, it was complaining for are 
actually used in runtime, 
but that is of cause not possible to check for, and I should change the scope 
to runtime.

Regards
Gunnar


 -Ursprungligt meddelande-
 Från: Marcel Schutte [mailto:[EMAIL PROTECTED] 
 Skickat: den 1 augusti 2007 10:54
 Till: Maven Users List
 Ämne: Re: List dependencies NOT used
 
 Take a look at the dependency plugin. It has a goal 
 analyze-dependencies.
 
 - Original Message 
 From: [EMAIL PROTECTED] 
 [EMAIL PROTECTED]
 To: users@maven.apache.org
 Sent: Wednesday, August 1, 2007 10:30:03 AM
 Subject: List dependencies NOT used
 
 Hi,
 
 Is it possible to get a list of decencies that are defined in 
 the pom.xml file but are NOT used anymore in the module/project?
 
 I'm using mvn 2.0.7.
 
 Regards
 Gunnar
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 

 __
 __
 Be a better Globetrotter. Get better travel answers from 
 someone who knows. Yahoo! Answers - Check it out.
 http://answers.yahoo.com/dir/?link=listsid=396545469
 
 -
 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: FEST - Fixtures for Easy Software Testing - in a Maven repository?

2007-08-01 Thread Jeff Jensen
Search here: http://www.mvnrepository.com/


-Original Message-
From: Vihung Marathe [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 01, 2007 7:07 AM
To: Maven User Group
Subject: FEST - Fixtures for Easy Software Testing - in a Maven repository?

Can anyone here tell me if the released JARs for FEST - Fixtures for
Easy Software Testing (http://code.google.com/p/fest/) - are available
through the central repository (or any other Maven accessible
repository)? The currently released version is 0.4

_

This e-mail may contain confidential information and/or copyright material.
This e-mail is intended for the use of the addressee only. Any unauthorised
use may be unlawful.

If you receive this e-mail by mistake please advise the sender immediately
by using the reply facility in your e-mail software.

The Friends Provident group of companies includes these Friends Provident
plc subsidiary companies:

Friends Provident Life and Pensions Limited. Registered number 4096141.
Friends Provident Life Assurance Limited. Registered number 782698.
Friends Provident Pensions Limited. Registered number 475201.
Friends Provident Marketing Limited. Registered number 5059179.

Each of the above subsidiary companies is authorised and regulated by the
Financial Services Authority.

Friends Provident Management Services Limited. Registered number 983330

The ultimate holding company is Friends Provident plc. Registered number
4113107.

All are incorporated companies limited by shares and registered in England.
Registered and Head Office: Pixham End, Dorking, Surrey RH4 1QA.

www.friendsprovident.com

_

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





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



FEST - Fixtures for Easy Software Testing - in a Maven repository?

2007-08-01 Thread Vihung Marathe
Can anyone here tell me if the released JARs for FEST - Fixtures for
Easy Software Testing (http://code.google.com/p/fest/) - are available
through the central repository (or any other Maven accessible
repository)? The currently released version is 0.4

_

This e-mail may contain confidential information and/or copyright material. 
This e-mail is intended for the use of the addressee only. Any unauthorised use 
may be unlawful.

If you receive this e-mail by mistake please advise the sender immediately by 
using the reply facility in your e-mail software.

The Friends Provident group of companies includes these Friends Provident plc 
subsidiary companies:

Friends Provident Life and Pensions Limited. Registered number 4096141.
Friends Provident Life Assurance Limited. Registered number 782698.
Friends Provident Pensions Limited. Registered number 475201.
Friends Provident Marketing Limited. Registered number 5059179.

Each of the above subsidiary companies is authorised and regulated by the 
Financial Services Authority.

Friends Provident Management Services Limited. Registered number 983330

The ultimate holding company is Friends Provident plc. Registered number 
4113107.

All are incorporated companies limited by shares and registered in England.
Registered and Head Office: Pixham End, Dorking, Surrey RH4 1QA.

www.friendsprovident.com

_

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



Re: Multi-level project directories hierarchy

2007-08-01 Thread DCVer

Still noone? %-|


DCVer wrote:
 
 Hi all
 
 I am thinking about such a problem:
 
 I add a multi-level project to Continuum by choosing path to main (root)
 project pom.xml file on the svn. Continuum automatically adds all
 subprojects of the main project.
 
 I would like to build any of the subproject individually, but Continuum
 destroys the hierarchy of the projects and the parent project is no longer
 parent for any of the subproject. This cause such an annoying problem:
 
 Few of the subprojects point on the file (build.properties), which is
 global to the whole project and is stored in one of the parent project's
 directories. But in Continuum all projects are in separate directories
 named with numbers. This heads to the error:
 
 Error loading property file
 '/opt/xxx/continuum-working-directory/74/../src/filters/build.properties'
 
 I changed the arguments of the root project (deleted --non-recursive) and
 then it's quite fine, but I would like to build single subproject without
 compiling the whole, global project. Imagine that the global project is
 compiling let's say 10 minutes and you only want to check if you small
 package is done wright (which compiles in few seconds)
 
 Thanks in advance for any help.
 

-- 
View this message in context: 
http://www.nabble.com/Multi-level-project-directories-hierarchy-tf4111727.html#a11944353
Sent from the Continuum - Users mailing list archive at Nabble.com.



RE: FEST - Fixtures for Easy Software Testing - in a Maven repository?

2007-08-01 Thread nick_stolwijk
I don't see the jars in the central repository (Checked through 
www.mvnrepository.com), but I do see other google code projects releases in the 
repository. If you want them in the repository, you can have a look at [1]

Hth,

Nick Stolwijk

[1] http://maven.apache.org/guides/mini/guide-central-repository-upload.html


-Original Message-
From: Vihung Marathe [mailto:[EMAIL PROTECTED]
Sent: Wed 8/1/2007 2:07 PM
To: Maven User Group
Subject: FEST - Fixtures for Easy Software Testing - in a Maven repository?
 
Can anyone here tell me if the released JARs for FEST - Fixtures for
Easy Software Testing (http://code.google.com/p/fest/) - are available
through the central repository (or any other Maven accessible
repository)? The currently released version is 0.4

_

This e-mail may contain confidential information and/or copyright material. 
This e-mail is intended for the use of the addressee only. Any unauthorised use 
may be unlawful.

If you receive this e-mail by mistake please advise the sender immediately by 
using the reply facility in your e-mail software.

The Friends Provident group of companies includes these Friends Provident plc 
subsidiary companies:

Friends Provident Life and Pensions Limited. Registered number 4096141.
Friends Provident Life Assurance Limited. Registered number 782698.
Friends Provident Pensions Limited. Registered number 475201.
Friends Provident Marketing Limited. Registered number 5059179.

Each of the above subsidiary companies is authorised and regulated by the 
Financial Services Authority.

Friends Provident Management Services Limited. Registered number 983330

The ultimate holding company is Friends Provident plc. Registered number 
4113107.

All are incorporated companies limited by shares and registered in England.
Registered and Head Office: Pixham End, Dorking, Surrey RH4 1QA.

www.friendsprovident.com

_

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




RE: FEST - Fixtures for Easy Software Testing - in a Maven repository?

2007-08-01 Thread Vihung Marathe
Thanks all. I notice that at there is a Maven 2 repository in the
projects SVN trunk
http://fest.googlecode.com/svn/trunk/fest/m2/repository/.

I am not sure if it is a good idea to use the SVN trunk as a
repository, but it works

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 01, 2007 1:17 PM
To: Maven Users List; Maven User Group
Subject: RE: FEST - Fixtures for Easy Software Testing - in a Maven
repository?


I don't see the jars in the central repository (Checked through
www.mvnrepository.com), but I do see other google code projects
releases in the repository. If you want them in the repository, you
can have a look at [1]

Hth,

Nick Stolwijk

[1]
http://maven.apache.org/guides/mini/guide-central-repository-upload.ht
ml
_

This e-mail may contain confidential information and/or copyright material. 
This e-mail is intended for the use of the addressee only. Any unauthorised use 
may be unlawful.

If you receive this e-mail by mistake please advise the sender immediately by 
using the reply facility in your e-mail software.

The Friends Provident group of companies includes these Friends Provident plc 
subsidiary companies:

Friends Provident Life and Pensions Limited. Registered number 4096141.
Friends Provident Life Assurance Limited. Registered number 782698.
Friends Provident Pensions Limited. Registered number 475201.
Friends Provident Marketing Limited. Registered number 5059179.

Each of the above subsidiary companies is authorised and regulated by the 
Financial Services Authority.

Friends Provident Management Services Limited. Registered number 983330

The ultimate holding company is Friends Provident plc. Registered number 
4113107.

All are incorporated companies limited by shares and registered in England.
Registered and Head Office: Pixham End, Dorking, Surrey RH4 1QA.

www.friendsprovident.com

_

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



Re: continuum 1.0.3 build errors but mvn fine

2007-08-01 Thread Jesse McConnell
ah, if I remember right there was something that needed to be done to make
that work right for windows...but danged if I remember what...I just don't
do windows much.

glad you got it working :)

jesse

On 8/1/07, John Coleman [EMAIL PROTECTED] wrote:

 This is on Windows Server 2003. As continuum runs as a service it uses
 the Local System profile. Perhaps there is an issue there.

 As a long shot, I provided the proxy server settings and it works now,
 even though all dependencies were already in the local repo?!

 Maybe I should switch maven to offline mode as well, but I still don't
 understand why it was okay on the command line.

 John

 -Original Message-
 From: Jesse McConnell [mailto:[EMAIL PROTECTED]
 Sent: 31 July 2007 21:30
 To: [EMAIL PROTECTED]
 Subject: Re: continuum 1.0.3 build errors but mvn fine

 these are generally environment issues yes..though your saying that
 you can run it fine from the working directory is generally the first
 time to suggest trying :)

 what o/s

 and you are running it in that working directory as the same user that
 is running continuum, right? :)

 jesse

 On 7/31/07, John Coleman [EMAIL PROTECTED]
 wrote:
  My continuum builds continue to spew this message out...
 
 
 
  [INFO] artifact com.eurobase.maven.plugins:web-flavour: checking for
  updates from central [WARNING] repository metadata for: 'artifact
  com.eurobase.maven.plugins:web-flavour' could not be retrieved from
  repository: central due to an error: Error transferring file [INFO]
  Repository 'central' will be blacklisted [INFO]
 
 
 
  [ERROR] BUILD ERROR
 
  [INFO]
 
 
 
  [INFO] The plugin 'com.eurobase.maven.plugins:web-flavour' does not
  exist or no valid version could be found [INFO]
 
 
 
  However, if I go into the continuum working-dir and type mvn package
 off
  the command line, the build is fine. So what goes? Some kind of
  environment configuration difference perhaps?
 
 
 
  TIA
 
  John
 
 
  Eurobase International Limited and its subsidiaries (Eurobase) are
 unable to exercise control over the content of information in E-Mails.
 Any views and opinions expressed may be personal to the sender and are
 not necessarily those of Eurobase. Eurobase will not enter into any
 contractual obligations in respect of any part of its business in any
 E-mail.
 
  Privileged / confidential information may be contained in this message
 and /or any attachments. This E-mail is intended for the use of the
 addressee(s) only and may contain confidential information. If you are
 not the / an intended recipient, you are hereby notified that any use or
 dissemination of this communication is strictly prohibited.  If you
 receive this transmission in error, please notify us immediately, and
 then delete this E-mail.
 
  Neither the sender nor Eurobase accepts any liability whatsoever for
 any defects of any kind either in or arising from this E-mail
 transmission. E-Mail transmission cannot be guaranteed to be secure or
 error-free, as messages can be intercepted, lost, corrupted, destroyed,
 contain viruses, or arrive late or incomplete. Eurobase does not accept
 any responsibility for viruses and it is your responsibility to scan any
 attachments.
 
  Eurobase Systems Limited is the main trading company in the Eurobase
 International Group; registered in England and Wales as company number
 02251162; registered address: Essex House, 2 County Place, Chelmsford,
 Essex CM2 0RE, UK.
 
 


 --
 jesse mcconnell
 [EMAIL PROTECTED]




-- 
jesse mcconnell
[EMAIL PROTECTED]


Re: WebLogic Deployment - class not found error

2007-08-01 Thread Scott Ryan
I would crack open the weblogic.jar to make sure that class is in the  
jar that you have labeled weblogic-9.2.jar in your repository.  Since  
the system is not complaining about not being able to find the jar it  
must be there but I have seen many people mislabeling the jars or  
sending empty jars to the repository.


Scott Ryan
On Aug 1, 2007, at 3:03 AM, Anton Schoultz wrote:


Hi all,

I am trying to get deployment to a WebLogic Server (9.2.x) working.
Deployment will be to local box (win xp) or to a remote server so I am
trying to do this as a remote deployment - with the local box as the
target (if that makes sense?) so retargeting the deployment should be
simple (just change adminServerHostName etc. (probably with profiles).

I have a war file on my box at D:\build\child\target\child.war
Within the child project I have the following pom (some bits omitted
here)

?xml version=1.0?
project

  dependencies
...
  /dependencies

  build
plugins

  plugin!-- Plugin for deploy to weblogic 9.2.x --
groupIdorg.codehaus.mojo/groupId
artifactIdweblogic-maven-plugin/artifactId
version2.9.0-SNAPSHOT/version
configuration
  adminServerHostNamelocalhost/adminServerHostName
  adminServerPort7001/adminServerPort
  adminServerProtocolhttp/adminServerProtocol
  userIduserid/userId
  passwordpassword/password
  uploadtrue/upload
  remotetrue/remote
  verbosetrue/verbose
  debugfalse/debug
  targetNamesservicingserver/targetNames

  artifactPathD:\build\child\target\child.war/artifactPath
  nameDeployName/name
  projectPackagingwar/projectPackaging

/configuration
  /plugin

/plugins
  /build

/project

I have the following in my repository and repository is configured ok.
...repository\org\codehaus\mojo\weblogic-maven-plugin\2.9.0-SNAPSHOT
...repository\weblogic\weblogic\9.2
...repository\weblogic\webservices\9.2
(these folders have both the jar and the pom)

Running from within the child project, I kick off with

mvn weblogic:deploy


I get the following trace which indicates a NoClassDefFoundError :-

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'weblogic'.
Downloading:
http://repo1.maven.org/maven2/org/codehaus/mojo/mojo/13/mojo-13.pom
8K downloaded
[INFO]
-- 
--


[INFO] Building child
[INFO]task-segment: [weblogic:deploy]
[INFO]
-- 
--


[INFO] [weblogic:deploy]
[INFO] Weblogic Deployment beginning with parameters
DeployMojoBase[adminServerHostName = localhost, adminServerProtocol =
http, adminServerPort = 7001, userId = userid, password = password,
artifactPath = D:\build\child\target\child.war, projectPackaging =  
war,

name = DeployName, targetNames = servicingserver, remote = true]
[INFO]
-- 
--

[ERROR] FATAL ERROR
[INFO]
-- 
--

[INFO] weblogic/Deployer
[INFO]
-- 
--

[INFO] Trace
java.lang.NoClassDefFoundError: weblogic/Deployer
at
org.codehaus.mojo.weblogic.DeployMojo.execute(DeployMojo.java:56)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo 
(DefaultPluginMa

nager.java:443)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals 
(Default

LifecycleExecutor.java:539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneG 
oa

l(DefaultLifecycleExecutor.java:493)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal 
(DefaultL

ifecycleExecutor.java:463)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHand 
le

Failures(DefaultLifecycleExecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegment 
s(

DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute 
(DefaultLifec

ycleExecutor.java:143)
at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java: 
125)

at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
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

Maven Wagon

2007-08-01 Thread robert . egan
Is there additional information on Wagon besides 
http://maven.apache.org/wagon ?


This email message and any attachments may contain confidential, 
proprietary or non-public information.  The information is intended solely 
for the designated recipient(s).  If an addressing or transmission error 
has misdirected this email, please notify the sender immediately and 
destroy this email.  Any review, dissemination, use or reliance upon this 
information by unintended recipients is prohibited.  Any opinions 
expressed in this email are those of the author personally.

Tests fail (class not found) when running against non-standard local repository location

2007-08-01 Thread Vihung Marathe
When running maven with a non standard location for the local
repository, it seems that maven cannot find the JUnit classes.

As soon as I use the default repository location, everything works
fine.

The contents of both local repositories are identical. I have ensured
this by deleting and copying from one to the other (both ways) and
also by deleting and getting a forcing a fresh set of dependencies -
once from repo1 and once from ibiblio.

I am using Maven 2.0.7 with JDK 1.5.0_12 on Windows XP, primarily

mvn -version results in
Maven version: 2.0.7
Java version: 1.5.0_12
OS name: windows xp version: 5.1 arch: x86

But it happens regardless of which version of JUnit I use (I have used
3.8.1 and 4.3), and regardless of which JDK I use (I have used both
1.4.2 and 1.5.0).

It happens on my colleague's Windows 2000 machine as well

The only factor that affects it is whether I am using a custom
repository location or the default one.

I set the repository location by putting 
localRepositorysupport\build\repository/localRepository
in my settings.xml

With that line in the settings.xml, I can reproduce the error every
time with
mvn clean test

Every time that line is commented out, the error does not occur.

I have looked at the resulting forked command, and the only difference
I can see is the location of the JARs. Nothing else.

Any ideas what is causing this?

The exception and stack trace is

org.apache.maven.surefire.booter.SurefireExecutionException:
junit/framework/TestCase; nested exception is
java.lang.NoClassDefFoundError: junit/framework/TestCase
java.lang.NoClassDefFoundError: junit/framework/TestCase
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124
)
at
java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(Isolate
dClassLoader.java:103)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestS
ets(AbstractDirectoryTestSuite.java:87)
at
org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.
java:150)
at org.apache.maven.surefire.Surefire.run(Surefire.java:111)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
ava:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
orImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Sur
efireBooter.java:290)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.ja
va:818)



With mvn -X , I get

... snip ...
[INFO] Surefire report directory:
D:\workspace\OfflineServices\offline-client\target\surefire-reports
Forking command line:
D:\workspace\OfflineServices\support\build\jdk1.5.0_12\jre\bin\java
-classpath
D:\workspace\OfflineServices\support\build\repository\org\codehaus\ple
xus\plexus-archiver\1.0-alpha-7\plexus-archiver-1.0-alpha-7.jar;D:\wor
kspace\OfflineServices\support\build\repository\junit\junit\3.8.1\juni
t-3.8.1.jar;D:\workspace\OfflineServices\support\build\repository\org\
apache\maven\surefire\surefire-api\2.3\surefire-api-2.3.jar;D:\workspa
ce\OfflineServices\support\build\repository\org\codehaus\plexus\plexus
-container-default\1.0-alpha-8\plexus-container-default-1.0-alpha-8.ja
r;D:\workspace\OfflineServices\support\build\repository\classworlds\cl
assworlds\1.1-alpha-2\classworlds-1.1-alpha-2.jar;D:\workspace\Offline
Services\support\build\repository\org\codehaus\plexus\plexus-utils\1.1
\plexus-utils-1.1.jar;D:\workspace\OfflineServices\support\build\repos
itory\commons-lang\commons-lang\2.1\commons-lang-2.1.jar;D:\workspace\
OfflineServices\support\build\repository\org\apache\maven\surefire\sur
efire-booter\2.3\surefire-booter-2.3.jar
org.apache.maven.surefire.booter.SurefireBooter
C:\DOCUME~1\MARATV1\LOCALS~1\Temp\surefire55254tmp
C:\DOCUME~1\MARATV1\LOCALS~1\Temp\surefire55255tmp
org.apache.maven.surefire.booter.SurefireExecutionException:
junit/framework/TestCase; nested exception is
java.lang.NoClassDefFoundError: junit/framework/TestCase
java.lang.NoClassDefFoundError: junit/framework/TestCase
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at

Re: repository with latest hibernate jars ?

2007-08-01 Thread Wayne Fay
As (nearly) always, if artifacts are not available in Maven repo,
blame the vendor. ;-)

But seriously, if enough customers of JBoss/Hibernate ask for Maven
support, eventually it will become part of their normal release cycle.
At that point, the latest and greatest hibernate jars will (should)
always appear in the Maven repo whenever a new release is produced.

Wayne

On 8/1/07, Geoffrey De Smet [EMAIL PROTECTED] wrote:
 Carlos (or someone else?) used to take care of high-quality hibernate
 poms (but not for validator etc).

 I believe the hibernate guys are writing a maven poc,
 when I looked last at their svn.
 I also send a mail with some pointers on their pom.xml's (such as plugin
 version lock down, use of dependencyManagement, ...)

 However, meanwhile until they release that, some of the latest
 hibernate-validator/annotions/entitymanager deployments didn't play well
 with each other's transitive deps IIRC...
 I remember having to grab hibernate-commons-annotations or something
 from the jboss repo in order to get it to work :/

 With kind regards,
 Geoffrey De Smet

 nicolas de loof schreef:
  Sure, I allready searched the maven public repo. But none of the latests
  hibernate jars are available there.
 
  So I'm just curious if jboss/hibernate developers use a custom maven repo to
  deploy latest artifacts (and maybe snapshots), like spring does.
 
  2007/8/1, Christopher Kolstad [EMAIL PROTECTED]:
  Have you looked at the 
  http://repo1.maven.org/maven2/org/hibernate/hibernate repo.
  They've got both the 3.2.4ga and 3.2.4sp1, but no 3.2.5 yet.
 
  Christopher
 
  On 8/1/07, nicolas de loof [EMAIL PROTECTED] wrote:
  Is there a maven repository with latest hibernate jars ?
  I've looked at http://repository.jboss.org/ but is doesn't contain the
  latest 3.2.5, neither 3.2.4.ga. Does anybody at jboss use maven ?
 
 
 
  --
  Regards,
  Christopher Kolstad
  E-mail: [EMAIL PROTECTED] (University)
  [EMAIL PROTECTED] (Home)
  [EMAIL PROTECTED] (Job)
 
 


 -
 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] Trying to create archetype...

2007-08-01 Thread Mick Knutson
I have a mock module that I want to make into an archetype.

I have my pom.xml:

project xmlns=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;
modelVersion4.0.0/modelVersion

groupIdorg.delta.esp.dap.tools.archetypes/groupId
artifactIdc2-bpel-archetype/artifactId
version1.0.0.0/version
packagingmaven-plugin/packaging

parent
groupIdorg.delta.esp.dap.tools/groupId
artifactIdarchetypes/artifactId
version1.0.0.0/version
/parent
/project


Then my mock structure:

C:\viewstore\esp_lynx_dap\esp\dap\tools\archetypes\c2-bpel-archetype\src\main\resources\archetype-resources\pom.xml

project xmlns=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;
modelVersion4.0.0/modelVersion


groupId${groupId}/groupId
version${version}/version
artifactId${artifactId}/artifactId
packagingjar/packaging

build
/build
/project




I get this error when I run this command:
mvn archetype:create
-DgroupId=org.delta.esp.dap.tools.archetypes-DartifactId=c2-bpel-archetype
-DarchetypeArtifactId=maven-archetype-archetype



C:\viewstore\esp_lynx_dap\esp\dap\tools\archetypes\c2-bpel-archetypemvn
archetype:create
-DgroupId=org.delta.esp.dap.tools.archetypes-DartifactId=c2-bpel
-archetype  -DarchetypeArtifactId=maven-archetype-archetype
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO]

[INFO] Building Unnamed -
org.delta.esp.dap.tools.archetypes:c2-bpel-archetype:maven-plugin:1.0.0.0
[INFO]task-segment: [archetype:create] (aggregator-style)
[INFO]

[INFO] Setting property: classpath.resource.loader.class = '
org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on = 'false'.
[INFO] Setting property: resource.loader = 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound = 'false'.
[INFO] **
[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File:
org\apache\velocity\runtime\defaults\velocity.properties
[INFO] Default ResourceManager initializing. (class
org.apache.velocity.runtime.resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated:
org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class
org.apache.velocity.runtime.resource.ResourceCacheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Literal
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Foreach
[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template :
VM_global_library.vm
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in
any resource loader.
[INFO] Velocimacro : error using  VM library template VM_global_library.vm :
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resour
ce 'VM_global_library.vm'
[INFO] Velocimacro :  VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in
templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may
NOT replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be
global in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [archetype:create]
[INFO] Defaulting package to group ID: org.delta.esp.dap.tools.archetypes
[INFO]

[INFO] Using following parameters for creating Archetype:
maven-archetype-archetype:RELEASE
[INFO]

[INFO] Parameter: groupId, Value: org.delta.esp.dap.tools.archetypes
[INFO] Parameter: packageName, Value: org.delta.esp.dap.tools.archetypes
[INFO] Parameter: basedir, Value:
C:\viewstore\esp_lynx_dap\esp\dap\tools\archetypes\c2-bpel-archetype
[INFO] Parameter: package, Value: org.delta.esp.dap.tools.archetypes

Re: Tests fail (class not found) when running against non-standard local repository location

2007-08-01 Thread Wayne Fay
Off the top of my head, the only thing I could think would be if, by
redirecting the localRepo, you're running into max lengths of paths on
Windows, or maxing out the -classpath argument length.

It is certainly an odd problem, and I've never seen it myself, nor
seen it reported on this list. In fact, I know many people are using
localRepo setting to utilize a different location very successfully.
So I'd expect the problem is specific to your environment somehow.

Wayne

On 8/1/07, Vihung Marathe [EMAIL PROTECTED] wrote:
 When running maven with a non standard location for the local
 repository, it seems that maven cannot find the JUnit classes.

 As soon as I use the default repository location, everything works
 fine.

 The contents of both local repositories are identical. I have ensured
 this by deleting and copying from one to the other (both ways) and
 also by deleting and getting a forcing a fresh set of dependencies -
 once from repo1 and once from ibiblio.

 I am using Maven 2.0.7 with JDK 1.5.0_12 on Windows XP, primarily

 mvn -version results in
Maven version: 2.0.7
Java version: 1.5.0_12
OS name: windows xp version: 5.1 arch: x86

 But it happens regardless of which version of JUnit I use (I have used
 3.8.1 and 4.3), and regardless of which JDK I use (I have used both
 1.4.2 and 1.5.0).

 It happens on my colleague's Windows 2000 machine as well

 The only factor that affects it is whether I am using a custom
 repository location or the default one.

 I set the repository location by putting
localRepositorysupport\build\repository/localRepository
 in my settings.xml

 With that line in the settings.xml, I can reproduce the error every
 time with
mvn clean test

 Every time that line is commented out, the error does not occur.

 I have looked at the resulting forked command, and the only difference
 I can see is the location of the JARs. Nothing else.

 Any ideas what is causing this?

 The exception and stack trace is

 org.apache.maven.surefire.booter.SurefireExecutionException:
 junit/framework/TestCase; nested exception is
 java.lang.NoClassDefFoundError: junit/framework/TestCase
 java.lang.NoClassDefFoundError: junit/framework/TestCase
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at
 java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124
 )
at
 java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
 org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(Isolate
 dClassLoader.java:103)
at
 org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestS
 ets(AbstractDirectoryTestSuite.java:87)
at
 org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.
 java:150)
at org.apache.maven.surefire.Surefire.run(Surefire.java:111)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
 ava:39)
at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
 orImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
 org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Sur
 efireBooter.java:290)
at
 org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.ja
 va:818)



 With mvn -X , I get

 ... snip ...
 [INFO] Surefire report directory:
 D:\workspace\OfflineServices\offline-client\target\surefire-reports
 Forking command line:
 D:\workspace\OfflineServices\support\build\jdk1.5.0_12\jre\bin\java
 -classpath
 D:\workspace\OfflineServices\support\build\repository\org\codehaus\ple
 xus\plexus-archiver\1.0-alpha-7\plexus-archiver-1.0-alpha-7.jar;D:\wor
 kspace\OfflineServices\support\build\repository\junit\junit\3.8.1\juni
 t-3.8.1.jar;D:\workspace\OfflineServices\support\build\repository\org\
 apache\maven\surefire\surefire-api\2.3\surefire-api-2.3.jar;D:\workspa
 ce\OfflineServices\support\build\repository\org\codehaus\plexus\plexus
 -container-default\1.0-alpha-8\plexus-container-default-1.0-alpha-8.ja
 r;D:\workspace\OfflineServices\support\build\repository\classworlds\cl
 assworlds\1.1-alpha-2\classworlds-1.1-alpha-2.jar;D:\workspace\Offline
 Services\support\build\repository\org\codehaus\plexus\plexus-utils\1.1
 \plexus-utils-1.1.jar;D:\workspace\OfflineServices\support\build\repos
 itory\commons-lang\commons-lang\2.1\commons-lang-2.1.jar;D:\workspace\
 

RE: Tests fail (class not found) when running against non-standard local repository location

2007-08-01 Thread Vihung Marathe
No. 

Actually in the case that works, the command line is longer (because
the default repository location includes the Documents and Settings
directory on Windows).

-- Vihung

-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 01, 2007 4:47 PM
To: Maven Users List
Subject: Re: Tests fail (class not found) when running against
non-standard local repository location


Off the top of my head, the only thing I could think would be if, by
redirecting the localRepo, you're running into max lengths of paths on
Windows, or maxing out the -classpath argument length.

It is certainly an odd problem, and I've never seen it myself, nor
seen it reported on this list. In fact, I know many people are using
localRepo setting to utilize a different location very successfully.
So I'd expect the problem is specific to your environment somehow.

Wayne
_

This e-mail may contain confidential information and/or copyright material. 
This e-mail is intended for the use of the addressee only. Any unauthorised use 
may be unlawful.

If you receive this e-mail by mistake please advise the sender immediately by 
using the reply facility in your e-mail software.

The Friends Provident group of companies includes these Friends Provident plc 
subsidiary companies:

Friends Provident Life and Pensions Limited. Registered number 4096141.
Friends Provident Life Assurance Limited. Registered number 782698.
Friends Provident Pensions Limited. Registered number 475201.
Friends Provident Marketing Limited. Registered number 5059179.

Each of the above subsidiary companies is authorised and regulated by the 
Financial Services Authority.

Friends Provident Management Services Limited. Registered number 983330

The ultimate holding company is Friends Provident plc. Registered number 
4113107.

All are incorporated companies limited by shares and registered in England.
Registered and Head Office: Pixham End, Dorking, Surrey RH4 1QA.

www.friendsprovident.com

_

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



RE: Deploying EAR project to Weblogic

2007-08-01 Thread Vaidya, Supriya A (US - Chicago)
Yup... confirmed this: I switched to JDK 1.5 and was able to run the
appc command successfully. Looks like the weblogic-maven plugin is not
compatible with the JDK1.6, or additional libraries/changes are needed
that I missed... ideas??



From: Vaidya, Supriya A (US - Chicago) 
Sent: Tuesday, July 31, 2007 2:42 PM
To: 'Scott Ryan'; Maven Users List
Subject: RE: Deploying EAR project to Weblogic


Does this latter error have anything to do withteh fact that I am using
JDK 1.6 Update 2?



From: Vaidya, Supriya A (US - Chicago) 
Sent: Tuesday, July 31, 2007 1:19 PM
To: 'Scott Ryan'
Subject: RE: Deploying EAR project to Weblogic


Hi Scott:
 
I have 4 directories that I deal with: 
 
1. The parent directory - containing the parent POM.xml: this is the
file that contains all the dependencies
2. The EAR directory - containign teh EAR POM.xml - references teh
Parent POM.
3. The EJB directory - containing the EJB POM.xml - references the
Parent POM
4. The WAR directory - containing teh WAR POM.xml - references teh
Parent POM.
 
In order to build my EAR (which contains the WAR, and the JAR) - I do a
mvn clean install in my parent directory.
 
The mvn weblogic:appc command fails at the same directory, with the
error mentioned below. From what you seem to be telling me, it appears
that weblogic:appc needs the EAR packaging type to initialize
successfully. So here is what I did.
1. Open the parent directory - run the mvn clean install command
2. cd-ed to the EAR directory
3. ran teh mvn weblogic:appc comand. 
 
Here is the eror that I now get - 
--- nested within: --
weblogic.utils.compiler.ToolFailureException: Provider
javax.xml.stream.XMLInputFactory could not be instantiated:
java.lang.InstantiationException - with nested exception:
[javax.xml.stream.FactoryConfigurationError: Provider
javax.xml.stream.XMLInputF
actory could not be instantiated: java.lang.InstantiationException]
at
weblogic.application.compiler.FlowDriver.handleStateChangeException(F
lowDriver.java:53)
at
weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:37
)
 
Did I fail to include the right dependencies in teh parent POM? Attached
here again for your referrence...
 
Thank you for taking the time to look into this!!
Regard,
Supriya
 



From: Scott Ryan [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 31, 2007 1:04 PM
To: Vaidya, Supriya A (US - Chicago)
Subject: Re: Deploying EAR project to Weblogic


Not sure what you mean by that but if the ear is valid and the ear pom
has the other pom as its parent then all is fine.  I have hundreds of
projects set up this way and they all work fine.  Let me know more
details and I can walk you though the best practices. 

Scott Ryan

On Jul 31, 2007, at 11:58 AM, Vaidya, Supriya A (US - Chicago) wrote:


Hi:
 
But if I do try running the command from the EAR directory, then
all the dependencies would have to be transferred to the EAR POM.xml...
which would be rather inconvenient 



From: Scott Ryan [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 31, 2007 12:57 PM
To: Maven Users List
Cc: Vaidya, Supriya A (US - Chicago)
Subject: Re: Deploying EAR project to Weblogic


Try running the deploy mojo from the ear directory.  It is
reading the project type to figure out what to deploy and it is confused
since your pom.xml seems to have project type of pom rather than ear.
You can also set the parameters manually and it will not try to guess
but it will need help in determining the project type and location of
the deployable. 

Scott

On Jul 31, 2007, at 10:21 AM, Vaidya, Supriya A ((US - Chicago))
wrote:



Sorry - wrong POMs were attached previously - here are
the right ones, that generate the error
 



From: Vaidya, Supriya A (US - Chicago) 
Sent: Tuesday, July 31, 2007 11:11 AM
To: 'Maven Users List'
Subject: Deploying EAR project to Weblogic


Hi:
 
I have a project structure such that an EAR is created
containing a WAR, and an EJB JAR. Thus, each module has its own
directory and its own pom. THe parent directory (say projectOverAll) has
a pom with packaging = pom.
 
Now, the project packages successfully - mvn clean
install works fine. I get my .ear file. I now want to deploy this to
weblogic. I understand that I have to use the maven-weblogic plugin. I
tried adding/installing all the dependencies into the parent POM as
required for teh plugin. and then did a mvn weblogic:appc on the parent
directory. However, this throws teh following error - 
 

Cargo local deployer context name

2007-08-01 Thread Aaron Zeckoski
I am trying to use the documentation at
http://cargo.codehaus.org/Maven2+Plugin+Reference+Guide
to deploy a WAR file (using the StalledLocalDeployer) via
the filesystem into a Tomcat container (which may not be
currently running).

By my reading, the following plugin configuration

plugin
   groupIdorg.codehaus.cargo/groupId
   artifactIdcargo-maven2-plugin/artifactId
   configuration
 container
   containerId${appserver.id}/containerId
 /container
 configuration
   home${appserver.home}/home
   deployables
 deployable
   properties
 context${pom.artifactId}/context
   /properties
 /deployable
   /deployables
 /configuration
   /configuration
 /plugin

should allow me to change the target context name for the
deployment - unfortunately the context parameter is
ignored, and the WAR file is copied without renaming -
that is, the target for the copy still retains the
version number.
Can anyone explain what is the correct configuration?

-AZ


-- 
Aaron Zeckoski ([EMAIL PROTECTED])
Senior Research Engineer - CARET - Cambridge University
[http://bugs.sakaiproject.org/confluence/display/~aaronz/]
Sakai Fellow - [http://aaronz-sakai.blogspot.com/]

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



Re: Parent POM, properties and scm problem

2007-08-01 Thread Oscar Picasso
The current Maven behaviour is fine for multimodule projects.

However I am trying to write a organizational POM that all my projets would
inherited and wanted to avoid duplication of the scm section.

So in case of independent projects it does not make sense to put all them
inside the same trunk.

I guess currently I cannot avoid this duplication.

On 7/31/07, Eric Redmond [EMAIL PROTECTED] wrote:

 Maven does this so that child module's scm can be defined once in the
 parent.

 scm
   connectionscm:svn:https://url/project/trunk
 /scm

 modules
   moduleChild

 Then the Child module's scm url is automatically set as:

 scm
   connectionscm:svn:https://url/project/trunk/Child
 /scm

 Which is the convention for a multi-module project.

 If your Child project has to be seperate, with it's own trunk, etc. I
 would suggest (if svn) using svn:externals to access the child under the
 parent project. Since it ownly appends the name on a multi-module project,
 I'm trying to figure out how you locally check out your project... perhaps
 create a trunks-style setup in your version control would be best?

 Eric

 On 7/30/07, Oscar Picasso [EMAIL PROTECTED] wrote:
 
  I have also noticed the same behavior with the project url, the sit url
  and
  the scm url even if in the effective the corresponding properties are
  correct (without the artifactId appended).
 
  On 7/30/07, Oscar Picasso [EMAIL PROTECTED] wrote:
  
   Hi,
  
   In the parent POM I have the following:
   [...]
 properties
   scmConnection
  http://localhost/repos/repo/${groupId}/${artifactId}/trunk
   http://localhost/repos/repo/$%7BgroupId%7D/$%7BartifactId%7D/trunk
   /scmConnection
 /properties
  
  
 scm
   connection${scmConnection}/connection
   developerConnection${scmConnection}/developerConnection
 /scm
   [...]
  
   The child POM has nothing expect mandatory elements and the reference
 to
   the parent POM. Both the child and the parent are snapshots. The
 parent
  POM
   has been deployed to the remote repository.
  
   When I run mvn help:effective-pom on the child project, I get:
   [...]
 scm
   connection
  http://localhost/repos/repo/com.opicasso/Child/trunk/Child
   /connection
   developerConnection
   http://localhost/repos/repo/com.opicasso/Child/trunk/Child
   /developerConnection
 /scm
   [..]
  
   I would have expected:
   [...]
 scm
   connectionhttp://localhost/repos/repo/com.opicasso/Child/trunk
   /connection
   developerConnection
   http://localhost/repos/repo/com.opicasso/Child/trunk
  /developerConnection
 /scm
   [..]
  
   Why does maven happen the child artifactId to the connections? Does
  maven
   merge the parent scm connections with the children ones ? But in the
  current
   case the child has no scm connections defined in its pom.
  
   How to get rid of this extra artifactId?
  
   Thanks
  
   Oscar
  
  
  
 



 --
 Eric Redmond
 http://blog.propellors.net



Re: [m2] Trying to create archetype...

2007-08-01 Thread Raphaël Piéroni
This is because you did mvn archetype:create in a directory containing a
project.
And that project has its packaging different from 'pom'.

Considering a directory tree of projects, projects descriptors (pom.xmlfiles)
located in the leaves of that tree are not constrained but descriptors
located
at root or junctions must have packagingpom/packaging.

I'm not sure of this his the correct maven behaviour, but it is the
behaviour assumed by the archetype plugin.

Hope this help

Raphaël


2007/8/1, Mick Knutson [EMAIL PROTECTED]:

 I have a mock module that I want to make into an archetype.

 I have my pom.xml:

 project xmlns=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;
 modelVersion4.0.0/modelVersion

 groupIdorg.delta.esp.dap.tools.archetypes/groupId
 artifactIdc2-bpel-archetype/artifactId
 version1.0.0.0/version
 packagingmaven-plugin/packaging

 parent
 groupIdorg.delta.esp.dap.tools/groupId
 artifactIdarchetypes/artifactId
 version1.0.0.0/version
 /parent
 /project


 Then my mock structure:


 C:\viewstore\esp_lynx_dap\esp\dap\tools\archetypes\c2-bpel-archetype\src\main\resources\archetype-resources\pom.xml

 project xmlns=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;
 modelVersion4.0.0/modelVersion


 groupId${groupId}/groupId
 version${version}/version
 artifactId${artifactId}/artifactId
 packagingjar/packaging

 build
 /build
 /project




 I get this error when I run this command:
 mvn archetype:create
 -DgroupId=org.delta.esp.dap.tools.archetypes-DartifactId=c2-bpel-archetype
 -DarchetypeArtifactId=maven-archetype-archetype



 C:\viewstore\esp_lynx_dap\esp\dap\tools\archetypes\c2-bpel-archetypemvn
 archetype:create
 -DgroupId=org.delta.esp.dap.tools.archetypes-DartifactId=c2-bpel
 -archetype  -DarchetypeArtifactId=maven-archetype-archetype
 [INFO] Scanning for projects...
 [INFO] Searching repository for plugin with prefix: 'archetype'.
 [INFO]

 
 [INFO] Building Unnamed -
 org.delta.esp.dap.tools.archetypes:c2-bpel-archetype:maven-plugin:1.0.0.0
 [INFO]task-segment: [archetype:create] (aggregator-style)
 [INFO]

 
 [INFO] Setting property: classpath.resource.loader.class = '
 org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
 [INFO] Setting property: velocimacro.messages.on = 'false'.
 [INFO] Setting property: resource.loader = 'classpath'.
 [INFO] Setting property: resource.manager.logwhenfound = 'false'.
 [INFO] **
 [INFO] Starting Jakarta Velocity v1.4
 [INFO] RuntimeInstance initializing.
 [INFO] Default Properties File:
 org\apache\velocity\runtime\defaults\velocity.properties
 [INFO] Default ResourceManager initializing. (class
 org.apache.velocity.runtime.resource.ResourceManagerImpl)
 [INFO] Resource Loader Instantiated:
 org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
 [INFO] ClasspathResourceLoader : initialization starting.
 [INFO] ClasspathResourceLoader : initialization complete.
 [INFO] ResourceCache : initialized. (class
 org.apache.velocity.runtime.resource.ResourceCacheImpl)
 [INFO] Default ResourceManager initialization complete.
 [INFO] Loaded System Directive:
 org.apache.velocity.runtime.directive.Literal
 [INFO] Loaded System Directive:
 org.apache.velocity.runtime.directive.Macro
 [INFO] Loaded System Directive:
 org.apache.velocity.runtime.directive.Parse
 [INFO] Loaded System Directive:
 org.apache.velocity.runtime.directive.Include
 [INFO] Loaded System Directive:
 org.apache.velocity.runtime.directive.Foreach
 [INFO] Created: 20 parsers.
 [INFO] Velocimacro : initialization starting.
 [INFO] Velocimacro : adding VMs from VM library template :
 VM_global_library.vm
 [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
 in
 any resource loader.
 [INFO] Velocimacro : error using  VM library template VM_global_library.vm
 :
 org.apache.velocity.exception.ResourceNotFoundException: Unable to find
 resour
 ce 'VM_global_library.vm'
 [INFO] Velocimacro :  VM library template macro registration complete.
 [INFO] Velocimacro : allowInline = true : VMs can be defined inline in
 templates
 [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline
 may
 NOT replace previous VM definitions
 [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be
 global in scope if allowed.
 [INFO] Velocimacro : initialization complete.
 [INFO] Velocity successfully started.
 [INFO] [archetype:create]
 [INFO] 

Re: [m2] Trying to create archetype...

2007-08-01 Thread Mick Knutson
SO how can I create an archetype from an existing module I have?




On 8/1/07, Raphaël Piéroni [EMAIL PROTECTED] wrote:

 This is because you did mvn archetype:create in a directory containing a
 project.
 And that project has its packaging different from 'pom'.

 Considering a directory tree of projects, projects descriptors (
 pom.xmlfiles)
 located in the leaves of that tree are not constrained but descriptors
 located
 at root or junctions must have packagingpom/packaging.

 I'm not sure of this his the correct maven behaviour, but it is the
 behaviour assumed by the archetype plugin.

 Hope this help

 Raphaël


 2007/8/1, Mick Knutson [EMAIL PROTECTED]:
 
  I have a mock module that I want to make into an archetype.
 
  I have my pom.xml:
 
  project xmlns=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;
  modelVersion4.0.0/modelVersion
 
  groupIdorg.delta.esp.dap.tools.archetypes/groupId
  artifactIdc2-bpel-archetype/artifactId
  version1.0.0.0/version
  packagingmaven-plugin/packaging
 
  parent
  groupIdorg.delta.esp.dap.tools/groupId
  artifactIdarchetypes/artifactId
  version1.0.0.0/version
  /parent
  /project
 
 
  Then my mock structure:
 
 
 
 C:\viewstore\esp_lynx_dap\esp\dap\tools\archetypes\c2-bpel-archetype\src\main\resources\archetype-resources\pom.xml
 
  project xmlns=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;
  modelVersion4.0.0/modelVersion
 
 
  groupId${groupId}/groupId
  version${version}/version
  artifactId${artifactId}/artifactId
  packagingjar/packaging
 
  build
  /build
  /project
 
 
 
 
  I get this error when I run this command:
  mvn archetype:create
  -DgroupId=
 org.delta.esp.dap.tools.archetypes-DartifactId=c2-bpel-archetype
  -DarchetypeArtifactId=maven-archetype-archetype
 
 
 
  C:\viewstore\esp_lynx_dap\esp\dap\tools\archetypes\c2-bpel-archetypemvn
  archetype:create
  -DgroupId=org.delta.esp.dap.tools.archetypes-DartifactId=c2-bpel
  -archetype  -DarchetypeArtifactId=maven-archetype-archetype
  [INFO] Scanning for projects...
  [INFO] Searching repository for plugin with prefix: 'archetype'.
  [INFO]
 
 
 
  [INFO] Building Unnamed -
 
 org.delta.esp.dap.tools.archetypes:c2-bpel-archetype:maven-plugin:1.0.0.0
  [INFO]task-segment: [archetype:create] (aggregator-style)
  [INFO]
 
 
 
  [INFO] Setting property: classpath.resource.loader.class = '
  org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
  [INFO] Setting property: velocimacro.messages.on = 'false'.
  [INFO] Setting property: resource.loader = 'classpath'.
  [INFO] Setting property: resource.manager.logwhenfound = 'false'.
  [INFO] **
  [INFO] Starting Jakarta Velocity v1.4
  [INFO] RuntimeInstance initializing.
  [INFO] Default Properties File:
  org\apache\velocity\runtime\defaults\velocity.properties
  [INFO] Default ResourceManager initializing. (class
  org.apache.velocity.runtime.resource.ResourceManagerImpl)
  [INFO] Resource Loader Instantiated:
  org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
  [INFO] ClasspathResourceLoader : initialization starting.
  [INFO] ClasspathResourceLoader : initialization complete.
  [INFO] ResourceCache : initialized. (class
  org.apache.velocity.runtime.resource.ResourceCacheImpl)
  [INFO] Default ResourceManager initialization complete.
  [INFO] Loaded System Directive:
  org.apache.velocity.runtime.directive.Literal
  [INFO] Loaded System Directive:
  org.apache.velocity.runtime.directive.Macro
  [INFO] Loaded System Directive:
  org.apache.velocity.runtime.directive.Parse
  [INFO] Loaded System Directive:
  org.apache.velocity.runtime.directive.Include
  [INFO] Loaded System Directive:
  org.apache.velocity.runtime.directive.Foreach
  [INFO] Created: 20 parsers.
  [INFO] Velocimacro : initialization starting.
  [INFO] Velocimacro : adding VMs from VM library template :
  VM_global_library.vm
  [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
  in
  any resource loader.
  [INFO] Velocimacro : error using  VM library template
 VM_global_library.vm
  :
  org.apache.velocity.exception.ResourceNotFoundException: Unable to find
  resour
  ce 'VM_global_library.vm'
  [INFO] Velocimacro :  VM library template macro registration complete.
  [INFO] Velocimacro : allowInline = true : VMs can be defined inline in
  templates
  [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline
  may
  NOT 

Re: [m2] Trying to create archetype...

2007-08-01 Thread Raphaël Piéroni
archetype:create purpose is to create a project from a defined archetype

to create an archetype, you have the archetype:create-from-project goal

Raphaêl

2007/8/1, Mick Knutson [EMAIL PROTECTED]:

 SO how can I create an archetype from an existing module I have?




 On 8/1/07, Raphaël Piéroni [EMAIL PROTECTED] wrote:
 
  This is because you did mvn archetype:create in a directory containing a
  project.
  And that project has its packaging different from 'pom'.
 
  Considering a directory tree of projects, projects descriptors (
  pom.xmlfiles)
  located in the leaves of that tree are not constrained but descriptors
  located
  at root or junctions must have packagingpom/packaging.
 
  I'm not sure of this his the correct maven behaviour, but it is the
  behaviour assumed by the archetype plugin.
 
  Hope this help
 
  Raphaël
 
 
  2007/8/1, Mick Knutson [EMAIL PROTECTED]:
  
   I have a mock module that I want to make into an archetype.
  
   I have my pom.xml:
  
   project xmlns=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;
   modelVersion4.0.0/modelVersion
  
   groupIdorg.delta.esp.dap.tools.archetypes/groupId
   artifactIdc2-bpel-archetype/artifactId
   version1.0.0.0/version
   packagingmaven-plugin/packaging
  
   parent
   groupIdorg.delta.esp.dap.tools/groupId
   artifactIdarchetypes/artifactId
   version1.0.0.0/version
   /parent
   /project
  
  
   Then my mock structure:
  
  
  
 
 C:\viewstore\esp_lynx_dap\esp\dap\tools\archetypes\c2-bpel-archetype\src\main\resources\archetype-resources\pom.xml
  
   project xmlns=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;
   modelVersion4.0.0/modelVersion
  
  
   groupId${groupId}/groupId
   version${version}/version
   artifactId${artifactId}/artifactId
   packagingjar/packaging
  
   build
   /build
   /project
  
  
  
  
   I get this error when I run this command:
   mvn archetype:create
   -DgroupId=
  org.delta.esp.dap.tools.archetypes-DartifactId=c2-bpel-archetype
   -DarchetypeArtifactId=maven-archetype-archetype
  
  
  
  
 C:\viewstore\esp_lynx_dap\esp\dap\tools\archetypes\c2-bpel-archetypemvn
   archetype:create
   -DgroupId=org.delta.esp.dap.tools.archetypes-DartifactId=c2-bpel
   -archetype  -DarchetypeArtifactId=maven-archetype-archetype
   [INFO] Scanning for projects...
   [INFO] Searching repository for plugin with prefix: 'archetype'.
   [INFO]
  
  
 
 
   [INFO] Building Unnamed -
  
 
 org.delta.esp.dap.tools.archetypes:c2-bpel-archetype:maven-plugin:1.0.0.0
   [INFO]task-segment: [archetype:create] (aggregator-style)
   [INFO]
  
  
 
 
   [INFO] Setting property: classpath.resource.loader.class = '
   org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
   [INFO] Setting property: velocimacro.messages.on = 'false'.
   [INFO] Setting property: resource.loader = 'classpath'.
   [INFO] Setting property: resource.manager.logwhenfound = 'false'.
   [INFO] **
   [INFO] Starting Jakarta Velocity v1.4
   [INFO] RuntimeInstance initializing.
   [INFO] Default Properties File:
   org\apache\velocity\runtime\defaults\velocity.properties
   [INFO] Default ResourceManager initializing. (class
   org.apache.velocity.runtime.resource.ResourceManagerImpl)
   [INFO] Resource Loader Instantiated:
   org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
   [INFO] ClasspathResourceLoader : initialization starting.
   [INFO] ClasspathResourceLoader : initialization complete.
   [INFO] ResourceCache : initialized. (class
   org.apache.velocity.runtime.resource.ResourceCacheImpl)
   [INFO] Default ResourceManager initialization complete.
   [INFO] Loaded System Directive:
   org.apache.velocity.runtime.directive.Literal
   [INFO] Loaded System Directive:
   org.apache.velocity.runtime.directive.Macro
   [INFO] Loaded System Directive:
   org.apache.velocity.runtime.directive.Parse
   [INFO] Loaded System Directive:
   org.apache.velocity.runtime.directive.Include
   [INFO] Loaded System Directive:
   org.apache.velocity.runtime.directive.Foreach
   [INFO] Created: 20 parsers.
   [INFO] Velocimacro : initialization starting.
   [INFO] Velocimacro : adding VMs from VM library template :
   VM_global_library.vm
   [ERROR] ResourceManager : unable to find resource
 'VM_global_library.vm'
   in
   any resource loader.
   [INFO] Velocimacro : error using  VM library template
  VM_global_library.vm
   :
   

Eclipse plugin

2007-08-01 Thread Lautaro Brasseur
  Hi, I'm using eclipse:eclipse target in order to build Eclipse files form a 
multilevel Maven 2 project.

   

  The problem is that I have some artifacts that have the same ID (but 
different group). Eclipse plugin creates them with the same name.

   

  I looked at the source code of org.apache.maven.plugin.eclipse.EclipsePlugin 
class and I found the following lines:

 

  // TODO: add mojo param 'addVersionToProjectName' and if set append

  // -version to the project name.

  config.setEclipseProjectName( project.getArtifactId() );

   

  I guess that currently there is no way to change the generated eclipse 
project name to one different from project ID. Is there any solution?


  Thanks in advance.

   

  Lautaro

  





  

¡Sé un mejor besador!
Compartí todo lo que sabés sobre besos.   
http://ar.yahoo.com/promos/mejorbesador.html

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



Re: Cargo local deployer context name

2007-08-01 Thread Wayne Fay
Cargo questions should generally be sent to the Cargo Users list:
[EMAIL PROTECTED]

Wayne

On 8/1/07, Aaron Zeckoski [EMAIL PROTECTED] wrote:
 I am trying to use the documentation at
 http://cargo.codehaus.org/Maven2+Plugin+Reference+Guide
 to deploy a WAR file (using the StalledLocalDeployer) via
 the filesystem into a Tomcat container (which may not be
 currently running).

 By my reading, the following plugin configuration

plugin
   groupIdorg.codehaus.cargo/groupId
   artifactIdcargo-maven2-plugin/artifactId
   configuration
 container
   containerId${appserver.id}/containerId
 /container
 configuration
   home${appserver.home}/home
   deployables
 deployable
   properties
 context${pom.artifactId}/context
   /properties
 /deployable
   /deployables
 /configuration
   /configuration
 /plugin

 should allow me to change the target context name for the
 deployment - unfortunately the context parameter is
 ignored, and the WAR file is copied without renaming -
 that is, the target for the copy still retains the
 version number.
 Can anyone explain what is the correct configuration?

 -AZ


 --
 Aaron Zeckoski ([EMAIL PROTECTED])
 Senior Research Engineer - CARET - Cambridge University
 [http://bugs.sakaiproject.org/confluence/display/~aaronz/]
 Sakai Fellow - [http://aaronz-sakai.blogspot.com/]

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



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



Maven-Weblogic: NoClassDefFoundError for JAR in an EAR

2007-08-01 Thread Vaidya, Supriya A \(US - Chicago\)
Hi:
 
I have been able to successfully run a mvn weblogic:appc on my EAR file
which contains:
 
1. the EJB-JAR.jar
2. the web .war file
3. and a lib/genericPOJO.jar file - that is used by boththe EJB-JAR and
the Web files.
 
However, on executing the mvn weblogic:deploy command, I immediately get
a NoClassDefFoundError:
com/something/credit/else/application/MyException. This class is
contained in the POJO.jar, and I can clearly see the POJO being included
in teh lib/ directory of the EAR, and I can see that the class file is
contained in this jar.
 
What am I doing wrong? Shoudl I be setting the path somewhere?
 
 
 

Supriya A Vaidya 
Technology Integration 
Deloitte Consulting LLP 
Tel: +1 312 486 4835 
Fax: +1 312 247 4835
Mobile: + 1 414 736 8157 
www.deloitte.com http://www.deloitte.com/ 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Re: Eclipse plugin

2007-08-01 Thread Heinrich Nirschl
On 8/1/07, Lautaro Brasseur [EMAIL PROTECTED] wrote:
   Hi, I'm using eclipse:eclipse target in order to build Eclipse files form a 
 multilevel Maven 2 project.



   The problem is that I have some artifacts that have the same ID (but 
 different group). Eclipse plugin creates them with the same name.

[[ snip ]]

   I guess that currently there is no way to change the generated eclipse 
 project name to one different from project ID. Is there any solution?


I don't know if it is possible to work around that, but I don't think so.

I avoid using the same artifact name in one multi-module project not
only for this reason. The generated jars have the same name (unless
one changes it in the configuration) which makes it difficult to use
them in one project.

- Henry

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



Is it possible to chain builds?

2007-08-01 Thread mstepanenko

Is there ANY way to chain projects so that a successful build of one project
kicks off a build of another project? I am using maven if that heps at all.
I am open to any suggestions.

Thanks! 
-- 
View this message in context: 
http://www.nabble.com/Is-it-possible-to-chain-builds--tf4202251.html#a11952419
Sent from the Continuum - Users mailing list archive at Nabble.com.



permissions on a file after assemby...

2007-08-01 Thread Bob Aiello
I have a file that ends up being created with some 
permissions that are not what I expected. Is this 
a (known) maven bug or does anyone have a suggestion 
on how I can debug this.

ls -lt
total 4
---x-wx---  1 user user 125 Aug  1  2007 myfile.xml


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



[M2] How to get the manifest configuration

2007-08-01 Thread Yann Albou

Hello,

I am writting a M2 plugin in which I need to access to The Manifest 
Information.


Based on the Maven Project (MavenProject project) I was expected to get 
a method like project.getManifestConfiguration() but it doesn't exist.


I have also tried to play with the MavenArchiver component but without 
succes.


Can someone help me on how to get the Manifest configuration of a M2 
project ?


Thanks
Yann.


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



Re: Maven tries to resolve artifact in the reactor to SNAPSHOT version in Apache Tuscany build

2007-08-01 Thread Luciano Resende
Just trying to give some updates here... looks like this recent build
issues we are having might be a side effect of the fix for Maven JIRA
MNG-1577 [1], some more details are available here [2] and [3].

While we investigate the issue further, a possible workaround (that
worked for me) is to move back to maven 2.0.5 client [4].

Please let me know if this works for you as a temporary workaround.

And many thanks to brett_ and others for helping on IRC.


[1] http://jira.codehaus.org/browse/MNG-1577
[2] http://maven.apache.org/release-notes.html
[3] 
http://maven.apache.org/plugins/maven-dependency-plugin/examples/preparing-dependencies.html
[4] http://archive.apache.org/dist/maven/binaries/maven-2.0.5-bin.zip

On 7/27/07, Luciano Resende [EMAIL PROTECTED] wrote:
 Hi Guys

We are experiencing some issues in Apache Tuscany build recently as
 described on this thread [1]. Basically, anyone starting with a clean
 local maven repo are seeing the artifacts that are supposed to be
 built in the reactor, to be resolved to a published SNAPSHOT version,
 and thus, the build is failing if any of the problematic artifacts
 doesn't have a published snapshot. This only started recently, around
 July 24th or 25th, and looks like people that have an old maven
 repository can build things OK. Could someone please give us some
 help, or guidance on how to investigate the issue. If you need any
 other information, please let us know, and our source code is
 available at [2] and we are trying to build [3].

 BTW, could you please post a response to both lists.


 [1] http://www.mail-archive.com/tuscany-dev%40ws.apache.org/msg20739.html
 [2] https://svn.apache.org/repos/asf/incubator/tuscany/java/
 [3] https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/

 --
 Luciano Resende
 Apache Tuscany Committer
 http://people.apache.org/~lresende
 http://lresende.blogspot.com/



-- 
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/

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



Re: Attempting to use continuum-1.1-beta1

2007-08-01 Thread Jesse McConnell
looks like the scheduleId wasn't set on the build definition...

could you by chance replicate exactly what you did to reproduce this and
give us a step by step flow wise?

jesse

On 8/1/07, Eric Miles [EMAIL PROTECTED] wrote:

  I am a current user of continuum 1.0.3 and am evaluating 1.1beta1.  I am
 having difficulties setting up project builds.  I have loaded up the maven2
 project by pointing to a valid url for the parent pom and can see the
 project group and all the sub-projects.  When I select a module to view, the
 build definition part of the UI says Component can not be built or
 something of that nature.  When I attempt to add a build definition, I click
 save and am taken back to the module screen with the same can not be built
 message.  I look at the log files and see a null pointer exception.

 Any help on what's going on?  I have setup an installation for the JDK, M2
 and created a profile.  These were all referenced in the build defintion
 before clicking save.






-- 
jesse mcconnell
[EMAIL PROTECTED]


Re: Is it possible to chain builds?

2007-08-01 Thread Jesse McConnell
via the dependency mechanism...

if one project is dependent upon another and the dependency builds, then the
dependent should then build..

past that, no not in 1.1 that I can think of

jesse

On 8/1/07, mstepanenko [EMAIL PROTECTED] wrote:


 Is there ANY way to chain projects so that a successful build of one
 project
 kicks off a build of another project? I am using maven if that heps at
 all.
 I am open to any suggestions.

 Thanks!
 --
 View this message in context:
 http://www.nabble.com/Is-it-possible-to-chain-builds--tf4202251.html#a11952419
 Sent from the Continuum - Users mailing list archive at Nabble.com.




-- 
jesse mcconnell
[EMAIL PROTECTED]


Re: How to add an extra process step prior to war target Q

2007-08-01 Thread Dan Tran
http://mojo.codehaus.org/retrotranslator-maven-plugin/

On 8/1/07, fmuhlenberg [EMAIL PROTECTED] wrote:


 I have a process question

 My project develops and compiles using Java 1.5.

 However, we deploy to an application server (Oracle) that accepts only
 Java
 1.4 classes.

 I use a tool,  http://retroweaver.sourceforge.net/ Retroweaver , to manage
 the down-conversion of our code. It works flawlessly and we get the 1.5
 benefits (like generics) and meet the deployment constraints.

 Currently everything is managed through an Ant build but I am
 contemplating
 a migration to Maven.
 (I already use Mavens site target for project documentation)

 How would I add an extra step that applies Retroweaver at the appropriate
 time?  I think a pre-war action is preferred as all my unit tests are also
 1.5.

 -Fred

 --
 View this message in context:
 http://www.nabble.com/How-to-add-an-extra-process-step-prior-to-war-target-Q-tf4202691s177.html#a11953829
 Sent from the Maven - Users mailing list archive at Nabble.com.


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




Re: How to add an extra process step prior to war target Q

2007-08-01 Thread fmuhlenberg

Naturally, now I find this: 
http://mojo.codehaus.org/retrotranslator-maven-plugin/ Retrotranslator Maven
Plugin 


-- 
View this message in context: 
http://www.nabble.com/How-to-add-an-extra-process-step-prior-to-war-target-Q-tf4202691s177.html#a11954149
Sent from the Maven - Users mailing list archive at Nabble.com.


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



RE: First build errors

2007-08-01 Thread Randall Fidler
Hello,

I've got 1.1-beta-1 running now and now I don't find as many
configuration options in the /apps/continuum/conf/application.xml.  I
have started and then restarted the service but it doesn't seem to
unpack the system, as detailed here
(http://maven.apache.org/continuum/guides/mini/guide-configuration.html)
so I'm wondering if the change of versions corrupted something?  Is
there a way to force the new version to unpack?  Note: The only entry
is the file is for Jetty.

I've ensured that the old version was removed and the web app seems to
run fine (not building yet but I can navigate the site) so I'm wondering
what happened the IM configs that were in the same config file under the
old version?  Are these removed in the new default application.xml?

Thanks!

Randall

-Original Message-
From: Jesse McConnell [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 31, 2007 1:28 PM
To: [EMAIL PROTECTED]
Subject: Re: First build errors

I would recommend trying out the continuum 1.1-beta-1, there as been a
lot of work all across continuum since the version you are using.

log file and configuration would help, if the log file is too big just
post a link to it and we can take a peek.

I would recommend changing your mail configuration back and seeing if
the problem persists, just so we can isolate the issue a bit more :)

cheers

jesse

On 7/30/07, Randall Fidler [EMAIL PROTECTED] wrote:
 Hello,



I'm running Continuum v1.0.3 on Ubuntu Linux with Maven
 2.0.7 and Java 1.5.0_011.   The web service comes up, I can login and
 upload a POM but when I run it, all I end up with is Exception:
 Null for the build status.  I've increased the logging to DEBUG for
all
 the default categories in the config but nothing stands out in the log
 file.  It appears to be working with Derby fine and there isn't an
error
 with a huge stack trace so I don't really see what's null.  Can
somebody
 point me in the right direction?  Would the log file help?

 Regards,

 Randall



 p.s. Other than the log files, the only other configuration change I
 made was to the mail setup.




-- 
jesse mcconnell
[EMAIL PROTECTED]


Re: JAXP DocumentBuilderFactory not found by maven-antrun-plugin initiated Ant

2007-08-01 Thread Sahoo

Hi Abe,

Thanks, that worked.
Why is it not able to load 
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl.class 
which is actually present in jre/lib/rt.jar? Is this a known bug in 
maven or ant? If yes, what's the bug number?


Thanks,
Sahoo

Developer Abe wrote:

Hi Sahoo,
 
I had a similar problem.
 
There are the dependecies that I had to provide to get rid of those 
exceptions:
 
dependency

groupIdxerces/groupId
artifactIdxercesImpl/artifactId
version2.8.0/version
/dependency
dependency
groupIdjdom/groupId
artifactIdjdom/artifactId
version1.0/version
/dependency
dependency
groupIdxml-apis/groupId
artifactIdxml-apis/artifactId
version2.0.2/version
/dependency
 
Also clean out your repository after adding these dependencies (delete 
the xerces, xml-apis, and jdom directories in your .m2 repository).
 
Let me know if this works for you.
 
Regards,

Abe

 
On 7/30/07, *Sahoo* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:


(I have not subscribed to users alias, so please copy a reply directly
to my email)

Hi,

I get /javax.xml.parsers.FactoryConfigurationError: Provider
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
could
not be instantiated: java.lang.NullPointerException/ when I call
an Ant
script from maven using maven-antrun-plugin. I have tried using
fork =
true as well as false, but same result. Maven version is 2.0.7 and JDK
version is 1.5.0_06. I don't understand why Ant is not finding this
class, which is actually present in jre/lib/rt.jar. I get the
following
output while running with -X option:

[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
[DEBUG] getProperty(ns=null, name=ant.reuse.loader, user=false)
[DEBUG] getProperty(ns=null, name=ant.executor.class , user=false)
[DEBUG] getProperty(ns=null, name=ant.file, user=false)
test:
[echo] Generating Java classes from SDO Types
5  INFO   [main] openjpa.MetaData - Parsing XML Schema
META-INF/po.xsd
[java] javax.xml.parsers.FactoryConfigurationError: Provider
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
could
not be instantiated: java.lang.NullPointerException
[java] at
javax.xml.parsers.DocumentBuilderFactory.newInstance
(DocumentBuilderFactory.java:104)
[java] at

org.eclipse.xsd.util.DefaultJAXPConfiguration.createDocumentBuilder(DefaultJAXPConfiguration.java:94)
[java] at
org.eclipse.xsd.util.XSDResourceImpl.getDocument
(XSDResourceImpl.java:334)
[java] at
org.eclipse.xsd.util.XSDResourceImpl.getDocument(XSDResourceImpl.java:372)
[java] at
org.eclipse.xsd.util.XSDResourceImpl.doLoad (XSDResourceImpl.java:680)
[java] at
org.eclipse.xsd.util.XSDResourceImpl.load(XSDResourceImpl.java:617)
[java] at
org.apache.tuscany.sdo.helper.XSDHelperImpl.define(XSDHelperImpl.java:197)
[java] at
org.apache.tuscany.sdo.helper.XSDHelperImpl.define
(XSDHelperImpl.java:188)
[java] at

org.apache.openjpa.sdo.SDO2POJOGenerator.findTypes(SDO2POJOGenerator.java:126)
[java] at
org.apache.openjpa.sdo.SDO2POJOGenerator.run(SDO2POJOGenerator.java:246)

[java] at
org.apache.openjpa.sdo.SDO2POJOGenerator.main(SDO2POJOGenerator.java:282)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native
Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
[java] at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at
org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:202)
[java] at
org.apache.tools.ant.taskdefs.ExecuteJava.execute
(ExecuteJava.java:134)
[java] at org.apache.tools.ant.taskdefs.Java.run
(Java.java:710)
[java] at
org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:178)
[java] at org.apache.tools.ant.taskdefs.Java.execute
(Java.java:84)
[java] at
org.apache.tools.ant.UnknownElement.execute (UnknownElement.java:275)
[java] at org.apache.tools.ant.Task.perform(Task.java:364)
[java] at org.apache.tools.ant.Target.execute
(Target.java:341)
[java] at org.apache.tools.ant.Target.performTasks
(Target.java:369)
[java] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[java] at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets
(SingleCheckExecutor.java :37)
[java] at

Re: Executable jar : lib inclusion

2007-08-01 Thread Jo Vandermeeren
Hi Jean-Philippe,

Of course the dependencies are not packaged with your jar.
What do you expect? An executable jar is simply a jar with a Main-Class
property in its manifest.
In fact, a jar can not include other jars, unless you supply a custom jar
classloader to actually load the resources inside those jars.

If you want to include jar files in a jar file, there is a workaround
though.. Classworlds provides a custom classloader (which is used in
maven1's uberjar).

If you just want all classes of your dependencies, along with your own code
in a single jar, without providing a custom classloader.. You have to unpack
all dependencies and create a new jar file that wraps them all up.
The maven-assembly-plugin can do this for you, cf.
http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.html#jar-with-dependencies

Cheers
Jo

On 8/1/07, CARUANA JEAN-PHILIPPE [EMAIL PROTECTED]
wrote:

 Hi,

 I try to write a small swing client to test our EJB. The Ejb is deployed
 on a Weblogic 8.1 server.
 I made an executable jar file (thanks to
 http://maven.apache.org/plugins/maven-jar-plugin/examples/executable-ja
 r.html) so when I run java -jar myJar.jar, it works fine. But the
 generated jar file is very lightweight and doesn't include needed jar
 (commons-lang, weblogic-8.1.jar). How can I do that ?

 The generated manifest file tells that the classpath is easy (as if all
 jar files were in the current directory, witch is not true : all jar are
 in the repository)

 --
 Jean-Philippe CARUANA
 site http://perso.enstimac.fr/~caruana/
 blog http://demostene.tumblr.com/

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




How to add an extra process step prior to war target Q

2007-08-01 Thread fmuhlenberg

I have a process question

My project develops and compiles using Java 1.5.

However, we deploy to an application server (Oracle) that accepts only Java
1.4 classes.

I use a tool,  http://retroweaver.sourceforge.net/ Retroweaver , to manage
the down-conversion of our code. It works flawlessly and we get the 1.5
benefits (like generics) and meet the deployment constraints. 

Currently everything is managed through an Ant build but I am contemplating
a migration to Maven.
(I already use Mavens site target for project documentation)

How would I add an extra step that applies Retroweaver at the appropriate
time?  I think a pre-war action is preferred as all my unit tests are also
1.5.

-Fred

-- 
View this message in context: 
http://www.nabble.com/How-to-add-an-extra-process-step-prior-to-war-target-Q-tf4202691s177.html#a11953829
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: First build errors

2007-08-01 Thread Emmanuel Venisse

The documentation is out of date and we must fix it asap.

The conf file is now under 
apps/continuum/webapps/WEB-INF/classes/META-INF/plexus/

Emmanuel

Randall Fidler a écrit :

Hello,

I've got 1.1-beta-1 running now and now I don't find as many
configuration options in the /apps/continuum/conf/application.xml.  I
have started and then restarted the service but it doesn't seem to
unpack the system, as detailed here
(http://maven.apache.org/continuum/guides/mini/guide-configuration.html)
so I'm wondering if the change of versions corrupted something?  Is
there a way to force the new version to unpack?  Note: The only entry
is the file is for Jetty.

I've ensured that the old version was removed and the web app seems to
run fine (not building yet but I can navigate the site) so I'm wondering
what happened the IM configs that were in the same config file under the
old version?  Are these removed in the new default application.xml?

Thanks!

Randall

-Original Message-
From: Jesse McConnell [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 31, 2007 1:28 PM

To: [EMAIL PROTECTED]
Subject: Re: First build errors

I would recommend trying out the continuum 1.1-beta-1, there as been a
lot of work all across continuum since the version you are using.

log file and configuration would help, if the log file is too big just
post a link to it and we can take a peek.

I would recommend changing your mail configuration back and seeing if
the problem persists, just so we can isolate the issue a bit more :)

cheers

jesse

On 7/30/07, Randall Fidler [EMAIL PROTECTED] wrote:

Hello,



   I'm running Continuum v1.0.3 on Ubuntu Linux with Maven
2.0.7 and Java 1.5.0_011.   The web service comes up, I can login and
upload a POM but when I run it, all I end up with is Exception:
Null for the build status.  I've increased the logging to DEBUG for

all

the default categories in the config but nothing stands out in the log
file.  It appears to be working with Derby fine and there isn't an

error

with a huge stack trace so I don't really see what's null.  Can

somebody

point me in the right direction?  Would the log file help?

Regards,

Randall



p.s. Other than the log files, the only other configuration change I
made was to the mail setup.









tomcat-maven-plugin

2007-08-01 Thread nmall

Hi,

  Can you start two web applications using the same tomcat plugin. My
tomcat-maven-plugin works for starting ONE web application.  But when I
specify two apps, it ignores the application which is not being built in the
current directory but whose path I have given as follows in the 

 plugin
groupIdorg.codehaus.mojo/groupId
artifactIdtomcat-maven-plugin/artifactId
version1.0-SNAPSHOT/version
configuration
warFilec:/apache-tomcat-6.0.10/webapps/cas.war/warFile
 warFile./target/SAWebapp.war/warFile
  servertomcat/server
  updatetrue/update
/configuration

Thanks for your help!
N
-- 
View this message in context: 
http://www.nabble.com/tomcat-maven-plugin-tf4203051s177.html#a11954897
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: tomcat-maven-plugin

2007-08-01 Thread ben short
Hi,

I don't think this will work to be honest

You might be better off running an instance of tomcat on your machine
and using the mvn tomcat:deploy goal to deploy the wars to it. But
you'll have to do them one by one.

There is a tomcat:exploded goal also that you could use. I think this
one will allow you to edit the jsp pages and refresh your browser to
see the changes.

Ben

On 8/1/07, nmall [EMAIL PROTECTED] wrote:

 Hi,

   Can you start two web applications using the same tomcat plugin. My
 tomcat-maven-plugin works for starting ONE web application.  But when I
 specify two apps, it ignores the application which is not being built in the
 current directory but whose path I have given as follows in the

  plugin
 groupIdorg.codehaus.mojo/groupId
 artifactIdtomcat-maven-plugin/artifactId
 version1.0-SNAPSHOT/version
 configuration
 warFilec:/apache-tomcat-6.0.10/webapps/cas.war/warFile
  warFile./target/SAWebapp.war/warFile
   servertomcat/server
   updatetrue/update
 /configuration

 Thanks for your help!
 N
 --
 View this message in context: 
 http://www.nabble.com/tomcat-maven-plugin-tf4203051s177.html#a11954897
 Sent from the Maven - Users mailing list archive at Nabble.com.


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



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



checkstyle version

2007-08-01 Thread Ahmed Ashour
Dear all,
 
By using Maven 1 and 2, with their latest checkstyle plugin, both retrieve 
checkstyle version 4.1, however checkstyle 4.3 is already released.
 
How to configure/update the plugin to use the latest version?
 
Many thanks,
Ahmed


   

Sick sense of humor? Visit Yahoo! TV's 
Comedy with an Edge to see what's on, when. 
http://tv.yahoo.com/collections/222

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



RE: Parent POM, properties and scm problem

2007-08-01 Thread Bryan Loofbourrow
I'm wondering if the following would work:

- Make your organizational pom project. Don't define any module entries in
it.  
- Have all of your projects depend on it as a parent
- Build and install your organizational pom to a central repository
accessible to all of your projects.

I'm thinking that you can then independently build and deploy your
organizational pom by itself, and have your projects use it, from the
repository, as a parent for definition purposes, though not build purposes.

I'd be interested to know whether this works. It seems useful.

-- Bryan

-Original Message-
From: Oscar Picasso [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 01, 2007 10:31 AM
To: Maven Users List
Subject: Re: Parent POM, properties and scm problem

The current Maven behaviour is fine for multimodule projects.

However I am trying to write a organizational POM that all my projets would
inherited and wanted to avoid duplication of the scm section.

So in case of independent projects it does not make sense to put all them
inside the same trunk.

I guess currently I cannot avoid this duplication.

On 7/31/07, Eric Redmond [EMAIL PROTECTED] wrote:

 Maven does this so that child module's scm can be defined once in the
 parent.

 scm
   connectionscm:svn:https://url/project/trunk
 /scm

 modules
   moduleChild

 Then the Child module's scm url is automatically set as:

 scm
   connectionscm:svn:https://url/project/trunk/Child
 /scm

 Which is the convention for a multi-module project.

 If your Child project has to be seperate, with it's own trunk, etc. I
 would suggest (if svn) using svn:externals to access the child under the
 parent project. Since it ownly appends the name on a multi-module project,
 I'm trying to figure out how you locally check out your project... perhaps
 create a trunks-style setup in your version control would be best?

 Eric

 On 7/30/07, Oscar Picasso [EMAIL PROTECTED] wrote:
 
  I have also noticed the same behavior with the project url, the sit url
  and
  the scm url even if in the effective the corresponding properties are
  correct (without the artifactId appended).
 
  On 7/30/07, Oscar Picasso [EMAIL PROTECTED] wrote:
  
   Hi,
  
   In the parent POM I have the following:
   [...]
 properties
   scmConnection
  http://localhost/repos/repo/${groupId}/${artifactId}/trunk
   http://localhost/repos/repo/$%7BgroupId%7D/$%7BartifactId%7D/trunk
   /scmConnection
 /properties
  
  
 scm
   connection${scmConnection}/connection
   developerConnection${scmConnection}/developerConnection
 /scm
   [...]
  
   The child POM has nothing expect mandatory elements and the reference
 to
   the parent POM. Both the child and the parent are snapshots. The
 parent
  POM
   has been deployed to the remote repository.
  
   When I run mvn help:effective-pom on the child project, I get:
   [...]
 scm
   connection
  http://localhost/repos/repo/com.opicasso/Child/trunk/Child
   /connection
   developerConnection
   http://localhost/repos/repo/com.opicasso/Child/trunk/Child
   /developerConnection
 /scm
   [..]
  
   I would have expected:
   [...]
 scm
   connectionhttp://localhost/repos/repo/com.opicasso/Child/trunk
   /connection
   developerConnection
   http://localhost/repos/repo/com.opicasso/Child/trunk
  /developerConnection
 /scm
   [..]
  
   Why does maven happen the child artifactId to the connections? Does
  maven
   merge the parent scm connections with the children ones ? But in the
  current
   case the child has no scm connections defined in its pom.
  
   How to get rid of this extra artifactId?
  
   Thanks
  
   Oscar
  
  
  
 



 --
 Eric Redmond
 http://blog.propellors.net



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



Re: checkstyle version

2007-08-01 Thread Dennis Lundberg

Ahmed Ashour wrote:

Dear all,
 
By using Maven 1 and 2, with their latest checkstyle plugin, both retrieve checkstyle version 4.1, however checkstyle 4.3 is already released.
 
How to configure/update the plugin to use the latest version?
 
Many thanks,

Ahmed


For now you need to run the latest SNAPSHOT version of each plugin. See
http://jira.codehaus.org/browse/MCHECKSTYLE-68 and 
http://jira.codehaus.org/browse/MPCHECKSTYLE-56


--
Dennis Lundberg

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



Re: Maven-Weblogic: NoClassDefFoundError for JAR in an EAR

2007-08-01 Thread Scott Ryan
Does the same ear deploy using the console manually?  Please send me  
the detailed log from the mvn -X weblogic:deploy so I can debug with  
you.  It is not clear what the error is indicating.  It looks like  
the ear is looking for one of your classes and not finding it but  
help me understand.


Scott
On Aug 1, 2007, at 1:27 PM, Vaidya, Supriya A ((US - Chicago)) wrote:


Hi:

I have been able to successfully run a mvn weblogic:appc on my EAR  
file

which contains:

1. the EJB-JAR.jar
2. the web .war file
3. and a lib/genericPOJO.jar file - that is used by boththe EJB-JAR  
and

the Web files.

However, on executing the mvn weblogic:deploy command, I  
immediately get

a NoClassDefFoundError:
com/something/credit/else/application/MyException. This class is
contained in the POJO.jar, and I can clearly see the POJO being  
included

in teh lib/ directory of the EAR, and I can see that the class file is
contained in this jar.

What am I doing wrong? Shoudl I be setting the path somewhere?




Supriya A Vaidya
Technology Integration
Deloitte Consulting LLP
Tel: +1 312 486 4835
Fax: +1 312 247 4835
Mobile: + 1 414 736 8157
www.deloitte.com http://www.deloitte.com/


This message (including any attachments) contains confidential  
information intended for a specific individual and purpose, and is  
protected by law.  If you are not the intended recipient, you  
should delete this message.



Any disclosure, copying, or distribution of this message, or the  
taking of any action based on it, is strictly prohibited. [v.E.1]


Scott Ryan
CTO Soaring Eagle L.L.C.
Denver, Co. 80129
www.soaringeagleco.com
www.theryansplace.com
(303) 263-3044
[EMAIL PROTECTED]




Re: JAXP DocumentBuilderFactory not found by maven-antrun-plugin initiated Ant

2007-08-01 Thread Developer Abe
You know.  I am really confused about the dependency stuff myself.

I am finding weird things happening, like moving the dependencies some where
else and back causes the problem again.

I looked at the output from mvn -X and noticed xerces 1.2.3 being referenced
by apache commons configuration.  I put the following to get rid of the
error:

dependency
groupIdcommons-configuration/groupId
artifactIdcommons-configuration/artifactId
version1.4/version
exclusions
exclusion
groupIdxerces/groupId
artifactIdxerces/artifactId
/exclusion
/exclusions
/dependency

The dependency behavior is not consistent.

Regards,
Abe


On 8/1/07, Sahoo [EMAIL PROTECTED] wrote:

 Hi Abe,

 Thanks, that worked.
 Why is it not able to load
 com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl.class
 which is actually present in jre/lib/rt.jar? Is this a known bug in
 maven or ant? If yes, what's the bug number?

 Thanks,
 Sahoo

 Developer Abe wrote:
  Hi Sahoo,
 
  I had a similar problem.
 
  There are the dependecies that I had to provide to get rid of those
  exceptions:
 
  dependency
  groupIdxerces/groupId
  artifactIdxercesImpl/artifactId
  version2.8.0/version
  /dependency
  dependency
  groupIdjdom/groupId
  artifactIdjdom/artifactId
  version1.0/version
  /dependency
  dependency
  groupIdxml-apis/groupId
  artifactIdxml-apis/artifactId
  version2.0.2/version
  /dependency
 
  Also clean out your repository after adding these dependencies (delete
  the xerces, xml-apis, and jdom directories in your .m2 repository).
 
  Let me know if this works for you.
 
  Regards,
  Abe
 
 
  On 7/30/07, *Sahoo* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
 
  (I have not subscribed to users alias, so please copy a reply
 directly
  to my email)
 
  Hi,
 
  I get /javax.xml.parsers.FactoryConfigurationError: Provider
  com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
  could
  not be instantiated: java.lang.NullPointerException/ when I call
  an Ant
  script from maven using maven-antrun-plugin. I have tried using
  fork =
  true as well as false, but same result. Maven version is 2.0.7 and
 JDK
  version is 1.5.0_06. I don't understand why Ant is not finding this
  class, which is actually present in jre/lib/rt.jar. I get the
  following
  output while running with -X option:
 
  [INFO] [antrun:run {execution: default}]
  [INFO] Executing tasks
  [DEBUG] getProperty(ns=null, name=ant.reuse.loader, user=false)
  [DEBUG] getProperty(ns=null, name=ant.executor.class , user=false)
  [DEBUG] getProperty(ns=null, name=ant.file, user=false)
  test:
  [echo] Generating Java classes from SDO Types
  5  INFO   [main] openjpa.MetaData - Parsing XML Schema
  META-INF/po.xsd
  [java] javax.xml.parsers.FactoryConfigurationError: Provider
  com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
  could
  not be instantiated: java.lang.NullPointerException
  [java] at
  javax.xml.parsers.DocumentBuilderFactory.newInstance
  (DocumentBuilderFactory.java:104)
  [java] at
  org.eclipse.xsd.util.DefaultJAXPConfiguration.createDocumentBuilder(
 DefaultJAXPConfiguration.java:94)
  [java] at
  org.eclipse.xsd.util.XSDResourceImpl.getDocument
  (XSDResourceImpl.java:334)
  [java] at
  org.eclipse.xsd.util.XSDResourceImpl.getDocument(
 XSDResourceImpl.java:372)
  [java] at
  org.eclipse.xsd.util.XSDResourceImpl.doLoad (XSDResourceImpl.java
 :680)
  [java] at
  org.eclipse.xsd.util.XSDResourceImpl.load(XSDResourceImpl.java:617)
  [java] at
  org.apache.tuscany.sdo.helper.XSDHelperImpl.define(
 XSDHelperImpl.java:197)
  [java] at
  org.apache.tuscany.sdo.helper.XSDHelperImpl.define
  (XSDHelperImpl.java:188)
  [java] at
  org.apache.openjpa.sdo.SDO2POJOGenerator.findTypes(
 SDO2POJOGenerator.java:126)
  [java] at
  org.apache.openjpa.sdo.SDO2POJOGenerator.run(SDO2POJOGenerator.java
 :246)
 
  [java] at
  org.apache.openjpa.sdo.SDO2POJOGenerator.main(SDO2POJOGenerator.java
 :282)
  [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
  Method)
  [java] at
  sun.reflect.NativeMethodAccessorImpl.invoke
  (NativeMethodAccessorImpl.java:39)
  [java] at
  sun.reflect.DelegatingMethodAccessorImpl.invoke(
 DelegatingMethodAccessorImpl.java
  :25)
  [java] at java.lang.reflect.Method.invoke(Method.java:585)
  [java] at
  

RE: Maven tries to resolve artifact in the reactor to SNAPSHOT version in Apache Tuscany build

2007-08-01 Thread Brian E. Fox
Are you using the enforcer? If so, it could be MENFORCER-11, if not
enforcer then possibly some other plugin is causing the same core bug to
occur (it's linked to MENFORCER-11)

-Original Message-
From: Luciano Resende [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 01, 2007 3:02 PM
To: tuscany-dev
Cc: Maven Users List
Subject: Re: Maven tries to resolve artifact in the reactor to SNAPSHOT
version in Apache Tuscany build

Just trying to give some updates here... looks like this recent build
issues we are having might be a side effect of the fix for Maven JIRA
MNG-1577 [1], some more details are available here [2] and [3].

While we investigate the issue further, a possible workaround (that
worked for me) is to move back to maven 2.0.5 client [4].

Please let me know if this works for you as a temporary workaround.

And many thanks to brett_ and others for helping on IRC.


[1] http://jira.codehaus.org/browse/MNG-1577
[2] http://maven.apache.org/release-notes.html
[3]
http://maven.apache.org/plugins/maven-dependency-plugin/examples/prepari
ng-dependencies.html
[4] http://archive.apache.org/dist/maven/binaries/maven-2.0.5-bin.zip

On 7/27/07, Luciano Resende [EMAIL PROTECTED] wrote:
 Hi Guys

We are experiencing some issues in Apache Tuscany build recently as
 described on this thread [1]. Basically, anyone starting with a clean
 local maven repo are seeing the artifacts that are supposed to be
 built in the reactor, to be resolved to a published SNAPSHOT version,
 and thus, the build is failing if any of the problematic artifacts
 doesn't have a published snapshot. This only started recently, around
 July 24th or 25th, and looks like people that have an old maven
 repository can build things OK. Could someone please give us some
 help, or guidance on how to investigate the issue. If you need any
 other information, please let us know, and our source code is
 available at [2] and we are trying to build [3].

 BTW, could you please post a response to both lists.


 [1]
http://www.mail-archive.com/tuscany-dev%40ws.apache.org/msg20739.html
 [2] https://svn.apache.org/repos/asf/incubator/tuscany/java/
 [3] https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/

 --
 Luciano Resende
 Apache Tuscany Committer
 http://people.apache.org/~lresende
 http://lresende.blogspot.com/



-- 
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/

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


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



RE: First build errors

2007-08-01 Thread Randall Fidler
Found it, thanks.

On another note, can anybody provide example config for mail notifier with SMTP 
authorization?  I tried with username and password setup in addition to the 
information from the continuum mini guide but the application doesn't run (web 
app doesn't come up) with those settings.  Is there a valid example somewhere 
on the net?

Thanks,

Randall

-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 01, 2007 2:54 PM
To: [EMAIL PROTECTED]
Subject: Re: First build errors

The documentation is out of date and we must fix it asap.

The conf file is now under 
apps/continuum/webapps/WEB-INF/classes/META-INF/plexus/

Emmanuel

Randall Fidler a écrit :
 Hello,
 
   I've got 1.1-beta-1 running now and now I don't find as many
 configuration options in the /apps/continuum/conf/application.xml.  I
 have started and then restarted the service but it doesn't seem to
 unpack the system, as detailed here
 (http://maven.apache.org/continuum/guides/mini/guide-configuration.html)
 so I'm wondering if the change of versions corrupted something?  Is
 there a way to force the new version to unpack?  Note: The only entry
 is the file is for Jetty.
 
 I've ensured that the old version was removed and the web app seems to
 run fine (not building yet but I can navigate the site) so I'm wondering
 what happened the IM configs that were in the same config file under the
 old version?  Are these removed in the new default application.xml?
 
 Thanks!
 
 Randall
 
 -Original Message-
 From: Jesse McConnell [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, July 31, 2007 1:28 PM
 To: [EMAIL PROTECTED]
 Subject: Re: First build errors
 
 I would recommend trying out the continuum 1.1-beta-1, there as been a
 lot of work all across continuum since the version you are using.
 
 log file and configuration would help, if the log file is too big just
 post a link to it and we can take a peek.
 
 I would recommend changing your mail configuration back and seeing if
 the problem persists, just so we can isolate the issue a bit more :)
 
 cheers
 
 jesse
 
 On 7/30/07, Randall Fidler [EMAIL PROTECTED] wrote:
 Hello,



I'm running Continuum v1.0.3 on Ubuntu Linux with Maven
 2.0.7 and Java 1.5.0_011.   The web service comes up, I can login and
 upload a POM but when I run it, all I end up with is Exception:
 Null for the build status.  I've increased the logging to DEBUG for
 all
 the default categories in the config but nothing stands out in the log
 file.  It appears to be working with Derby fine and there isn't an
 error
 with a huge stack trace so I don't really see what's null.  Can
 somebody
 point me in the right direction?  Would the log file help?

 Regards,

 Randall



 p.s. Other than the log files, the only other configuration change I
 made was to the mail setup.


 
 



How to set the outputDirectory from command line for assembly plugin.

2007-08-01 Thread Lara Brian

Hi All,
I tried,
mvn package assembly:assembly -DoutputDirectory=.
-Ddescriptor=cmp-server.xml -Dmaven.test.skip=true

expecting the assembly to be generated at the directory i issued the
command, but the assembly is getting generated inside the TARGET directory.
How to make it generate in the directory iam issuing the command?

Thanks a lot for any help/suggestions.
-- 
View this message in context: 
http://www.nabble.com/How-to-set-the-outputDirectory-from-command-line-for-assembly-plugin.-tf4203478s177.html#a11956482
Sent from the Maven - Users mailing list archive at Nabble.com.


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



how to specify multiple descriptors on the command-line

2007-08-01 Thread Lara Brian

Hi All,
How to specify multiple descriptors on the command line when invoking
assebly plugin? What is the separator for the descriptors. I tried
comma/colan but ended up unsuccessful.

I tried,
mvn package assembly:assembly -Ddescriptors=cmp-server.xml,cmp-client.xml
-Dmaven.test.skip=true

but getting,
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error reading assemblies: No assembly descriptors found.

[INFO]


thanks a lot.
-- 
View this message in context: 
http://www.nabble.com/how-to-specify-multiple-descriptors-on-the-command-line-tf4203464s177.html#a11956422
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Perforce SCM

2007-08-01 Thread Randall Fidler
Hello,

 

Is anybody using Perforce as their SCM?  Upgraded to version
'1.1-beta-1' and the log file only tells me that it was unable to check
out the files; it does show the command being issued which appears
correct (p4 -d [working dir] client -i).  Is there somewhere else I can
look for scm error other than the general log?  

 

Additionally, is there any way to test the scm setup independently of
Continuum?

 

Thanks!!

 

Randall 



Re: how to specify multiple descriptors on the command-line

2007-08-01 Thread Maria Odea Ching

Hi,

Try configuring these descriptors in the pom (shown below) instead of 
setting it at the command-line. Also, I think the path to the 
descriptors should be included instead of just the descriptor filename.


plugins
 plugin
   artifactIdmaven-assembly-plugin/artifactId
   configuration
 descriptors
   descriptorpath/to/cmp-server.xml/descriptor
   descriptorpath/to/cmp-client.xml/descriptor
 /descriptors
   /configuration
 /plugin
/plugins


HTH,
Deng

Lara Brian wrote:

Hi All,
How to specify multiple descriptors on the command line when invoking
assebly plugin? What is the separator for the descriptors. I tried
comma/colan but ended up unsuccessful.

I tried,
mvn package assembly:assembly -Ddescriptors=cmp-server.xml,cmp-client.xml
-Dmaven.test.skip=true

but getting,
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error reading assemblies: No assembly descriptors found.

[INFO]


thanks a lot.
  



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



Re: whats going wrong with my build?

2007-08-01 Thread Antony Stubbs

I have the same problem. The ear project seems to look for a jar of my war,
instead of the war...
did you get anywhere?
 foo.bar:FOOBARWebApp:jar:1.0-SNAPSHOT

note the jar, not war...?



teknokrat wrote:
 
 I have a multiproject that builds an ear file out of a war and a sar. It 
 is virtually identical to the j2ee project in the book. I have gone into 
 each directory and called mvn install. This has worked in the sar and 
 web directories. I checked my local repository and both the war and the 
 sar files are there. When i run it in the ear directory I get
 
 [INFO] Scanning for projects...
 [INFO] 
 
 [INFO] Building Provisioning System Enterprise Application
 [INFO]task-segment: [install]
 [INFO] 
 
 Downloading: 
 http://repo1.maven.org/maven2/provisioning/provisioning-sar/1.0/provisioning-sar-1.0.sar
 [WARNING] Unable to get resource from repository central 
 (http://repo1.maven.org/maven2)
 [INFO] 
 
 [ERROR] BUILD ERROR
 [INFO] 
 
 [INFO] Failed to resolve artifact.
 
 Missing:
 --
 1) provisioning:provisioning-sar:sar:1.0
 
Try downloading the file manually from the project website.
 
Then, install it using the command:
mvn install:install-file -DgroupId=com.mfuse.novo.provisioning 
 -DartifactId=provisioning-sar \
-Dversion=1.0 -Dpackaging=sar -Dfile=/path/to/file
 
Path to dependency:
  1) provisioning:provisioning-ear:ear:1.0
  2) provisioning:provisioning-sar:sar:1.0
 
 --
 1 required artifact is missing.
 
 for artifact:
provisioning:provisioning-ear:ear:1.0
 
 from the specified remote repositories:
central (http://repo1.maven.org/maven2)
 
 Whats going on here? The POM for my ear file is
 
 project
   modelVersion4.0.0/modelVersion
   parent
   groupIdprovisioning/groupId
   artifactIdprovisioning/artifactId
   version1.0/version
   /parent
   artifactIdprovisioning-ear/artifactId
   nameProvisioning System Enterprise Application/name
   description
   The EAR package
   /description
   packagingear/packaging
   dependencies
 
   dependency
   groupIdprovisioning/groupId
   artifactIdprovisioning-sar/artifactId
   version1.0/version
   typesar/type
   /dependency
   dependency
   groupIdprovisioning/groupId
   artifactIdprovisioning-war/artifactId
   version1.0/version
   typewar/type
   /dependency
 
   /dependencies
   build
  plugins
plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-ear-plugin/artifactId
  configuration
displayNameProvisioning/displayName
descriptionProvisioning System/description
version1.0/version
modules
  javaModule
   groupIdprovisioning/groupId
   artifactIdprovisioning-sar/artifactId
   /javaModule
  webModule
groupIdprovisioning/groupId
artifactIdprovisioning-war/artifactId
contextRoot/provisioning/contextRoot
  /webModule
/modules
  /configuration
/plugin
   /plugins
   /build
   
 /project
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/whats-going-wrong-with-my-build--tf1786087s177.html#a11956861
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Julia Vilke/Moscow/Canon/FI is out of the office.

2007-08-01 Thread Julia . Vilke

I will be out of the office starting  16.05.2007 and will not return until
08.01.2008.

I'm on maternity leave till January 2008.
In case of Canon Consumable business, please contact Mikhail Popov, in case
of Paper business - Maria Bondarenko.


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



Re: whats going wrong with my build?

2007-08-01 Thread Antony Stubbs

Nearly two seconds after I posted this, I took a closer look at the j2ee
archetype - maven-archetype-j2ee-simple

and found the type/type config param for dependancies, and thus modified
my EAR pom to show:
dependencies
dependency
groupIdfoo.bar/groupId
artifactIdFOOBARWebApp/artifactId
version1.0-SNAPSHOT/version
typewar/type
/dependency
/dependencies

I don't think the better builds with maven actually explicitly talks about
adding the type parameter.


Antony Stubbs wrote:
 
 I have the same problem. The ear project seems to look for a jar of my
 war, instead of the war...
 did you get anywhere?
  foo.bar:FOOBARWebApp:jar:1.0-SNAPSHOT
 
 note the jar, not war...?
 
 
 
 teknokrat wrote:
 
 I have a multiproject that builds an ear file out of a war and a sar. It 
 is virtually identical to the j2ee project in the book. I have gone into 
 each directory and called mvn install. This has worked in the sar and 
 web directories. I checked my local repository and both the war and the 
 sar files are there. When i run it in the ear directory I get
 
 [INFO] Scanning for projects...
 [INFO] 
 
 [INFO] Building Provisioning System Enterprise Application
 [INFO]task-segment: [install]
 [INFO] 
 
 Downloading: 
 http://repo1.maven.org/maven2/provisioning/provisioning-sar/1.0/provisioning-sar-1.0.sar
 [WARNING] Unable to get resource from repository central 
 (http://repo1.maven.org/maven2)
 [INFO] 
 
 [ERROR] BUILD ERROR
 [INFO] 
 
 [INFO] Failed to resolve artifact.
 
 Missing:
 --
 1) provisioning:provisioning-sar:sar:1.0
 
Try downloading the file manually from the project website.
 
Then, install it using the command:
mvn install:install-file -DgroupId=com.mfuse.novo.provisioning 
 -DartifactId=provisioning-sar \
-Dversion=1.0 -Dpackaging=sar -Dfile=/path/to/file
 
Path to dependency:
  1) provisioning:provisioning-ear:ear:1.0
  2) provisioning:provisioning-sar:sar:1.0
 
 --
 1 required artifact is missing.
 
 for artifact:
provisioning:provisioning-ear:ear:1.0
 
 from the specified remote repositories:
central (http://repo1.maven.org/maven2)
 
 Whats going on here? The POM for my ear file is
 
 project
  modelVersion4.0.0/modelVersion
  parent
  groupIdprovisioning/groupId
  artifactIdprovisioning/artifactId
  version1.0/version
  /parent
  artifactIdprovisioning-ear/artifactId
  nameProvisioning System Enterprise Application/name
  description
  The EAR package
  /description
  packagingear/packaging
  dependencies
 
  dependency
  groupIdprovisioning/groupId
  artifactIdprovisioning-sar/artifactId
  version1.0/version
  typesar/type
  /dependency
  dependency
  groupIdprovisioning/groupId
  artifactIdprovisioning-war/artifactId
  version1.0/version
  typewar/type
  /dependency
 
  /dependencies
  build
  plugins
plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-ear-plugin/artifactId
  configuration
displayNameProvisioning/displayName
descriptionProvisioning System/description
version1.0/version
modules
  javaModule
  groupIdprovisioning/groupId
  artifactIdprovisioning-sar/artifactId
   /javaModule
  webModule
groupIdprovisioning/groupId
artifactIdprovisioning-war/artifactId
contextRoot/provisioning/contextRoot
  /webModule
/modules
  /configuration
/plugin
  /plugins
  /build
  
 /project
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/whats-going-wrong-with-my-build--tf1786087s177.html#a11956964
Sent from the Maven - Users mailing list archive at Nabble.com.


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



RE: Maven Wagon

2007-08-01 Thread Timothy Reilly

 
 Is there additional information on Wagon besides 
 http://maven.apache.org/wagon ?

I have been working with wagon for the last couple of days. The best
I've personally have found is to read the code:
http://svn.apache.org/viewvc/maven/wagon/trunk/

If you have specific questions, maybe myself or other's can answer?

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



Re: Maven Wagon

2007-08-01 Thread Wayne Fay
There's probably some info in the free PDF e-books from Devzuz and
Sonatype, and of course in the source code itself.

Wayne

On 8/1/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Is there additional information on Wagon besides
 http://maven.apache.org/wagon ?


 This email message and any attachments may contain confidential,
 proprietary or non-public information.  The information is intended solely
 for the designated recipient(s).  If an addressing or transmission error
 has misdirected this email, please notify the sender immediately and
 destroy this email.  Any review, dissemination, use or reliance upon this
 information by unintended recipients is prohibited.  Any opinions
 expressed in this email are those of the author personally.

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



Database administration

2007-08-01 Thread Victor Bendig
Hi,

Have a couple of questions around databases and maven,

1. Does Maven create standards for database development?
2. Is there a plugin that handles the lifecycle of the database (create,
drop, etc)

I found a sql-maven-plugin but this forces me to bind sql files to code
phases.  While this might be good when testing, I find it might be heavy if
I bind the install of my project with the dbcreation.

Any ideas where I can look for this?

Regards,

-- 
Victor Bendig