Maven 2.x Plug-in for Eclipse- internal repositories

2006-04-11 Thread Stefan Fritz

Hi all,

When I try to add a new dependency in Eclipse, it searches my local 
repository and the remote Maven repositories but not our internal 
(remote) repositories.

I have configured our internal repositories in the parent pom.xml:

repository
   !-- internal snapshot repository --
   idinhouse_snapshot/id
   nameInhouse Snapshot Repository/name
   
urlscp://myserver/data/maven/repositories/inhouse_snapshot/url

   releases
   enabledfalse/enabled
   /releases
   snapshots
   enabledtrue/enabled
   updatePolicyalways/updatePolicy
   /snapshots
   /repository

The credentials for scp are defined in my settings.xml.
The repositories work with the mvn command line.

Does the Maven 2.x Plug-in for Eclipse support searching internal 
repositories?


Regards
Stefan



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



Re: surefire-report : characters problem

2006-04-11 Thread Pierre Jacquot
i m using the surefire-report Beta 2-SNAPSHOT versions

2006/4/10, Carlos Sanchez [EMAIL PROTECTED]:

 if the problem is in the xml report that's generated by the surefire
 plugin, what version you use?

 On 4/10/06, Pierre Jacquot [EMAIL PROTECTED] wrote:
  characters problem is the xml reports and in the html reports. I use the
  beta 2.0-SNAPSHOT versions for Maven 2.
 
  2006/4/7, Carlos Sanchez [EMAIL PROTECTED]:
  
   Are you talking about the web page, the txt report, the xml report,
 ???
   what versions are you using?
  
   On 4/7/06, Pierre Jacquot [EMAIL PROTECTED] wrote:
this is a copy from my last surefire-report :
   
testAdd
junit.framework.AssertionFailedError: resultat renvoyé non attenndu
expected:lt;102gt; but was:lt;98gt;
junit.framework.AssertionFailedError: resultat renvoyé non attenndu
expected:102 but was:98 at junit.framework.Assert.fail(
 Assert.java
   :47)
at The character  became lt and the character  became
 gt.
How to have the usual characters.
   
   
  
  
   --
   I could give you my word as a Spaniard.
   No good. I've known too many Spaniards.
-- The Princess Bride
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 


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

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




RE: [M2] How to ensure reproducible releases?

2006-04-11 Thread Jörg Schaible
Hi Brett,

Brett Porter wrote on Monday, April 10, 2006 10:53 PM:

 I'm working on the release plugin this week so that it is a bit
 friendlier with rewriting, and so that it does a better job of
 populating versions for you. 

This sounds good.

 As for the pertest thing, that's a regression that should be filed and
 fixed (I guess by making both valid now). There is an open bug to
 rename pertest - please add a comment to that and we'll give it a
 sensible name + the old options.

This was just an example from my side. I am working currently on the trunk, so 
it is not a problem, but any release would have been broken, without freezing 
the according plugin versions for that release.
Nevertheless: http://jira.codehaus.org/browse/MSUREFIRE-56

- Jörg

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



Re: m2.0.3 - aggregated reports at top-level...

2006-04-11 Thread John Casey
I ran into something similar to this earlier...if you want to pickup a
snapshot version of a plugin from the ASF snapshots repo without specifying
the snapshot version in your POM, you will have to leave off the:

releases
  enabledfalse/enabled
/releases

as the LATEST and RELEASE metadata (used to resolve a plugin without
specifying a version) will keep Maven from checking any repository marked as
not storing releases.

HTH,

John

On 4/10/06, Jules Gosnell [EMAIL PROTECTED] wrote:

 Brett Porter wrote:

 2.0-20060330.003327-1 from cvs.apache.org/maven-snapshot-repository
 
 Add aggregatetrue/aggregate to the configuration in the root project.
 
 
 
 Brett,

 Thanks for this - unfortunately - no dice :-(.

 Adding :

   pluginRepositories
 pluginRepository
   idmaven-snapshot-repository/id
   nameMaven Snapshot Repository/name
   urlhttp://cvs.apache.org/maven-snapshot-repository/url
   snapshots
 enabledfalse/enabled
   /snapshots
 /pluginRepository
   /pluginRepositories

 to my top-level pom breaks my build immediately:

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


 Project ID: org.apache.maven.plugins:maven-site-plugin

 Reason: Error getting POM for
 'org.apache.maven.plugins:maven-site-plugin' from the repository: Failed
 to resolve artifact, possibly due to a repository list that is not
 appropriately equipped for this artifact's metadata.
   org.apache.maven.plugins:maven-site-plugin:pom:2.0-SNAPSHOT

 from the specified remote repositories:
   central (http://repo1.maven.org/maven2),
   maven-snapshot-repository
 (http://cvs.apache.org/maven-snapshot-repository)

 I make no explicit reference to the site-plugin in my pom.

 If I enable snapshots, mvn happily goes off and upgrades every plugin -
 but this is a little too bleeding edge for my build...

 Is there a way to specify a plugin-repo on a per-plugin basis - I could
 not find one :-(

 Apologies for failing to follow simple instructions...

 Jules

 - Brett
 
 On 4/11/06, Jules Gosnell [EMAIL PROTECTED] wrote:
 
 
 Brett Porter wrote:
 
 
 
 Surefire - no, there is no mechanism for this currently.
 
 
 
 
 any plans ?
 
 
 
 Javadoc - only in the next release of the Javadoc plugin.
 
 
 
 
 is there a snapshot that I can pull down from somewhere ? If someone
 could point me to the correct repo and an example pom, I would be very
 grateful.
 
 Thanks again,
 
 Jules
 
 
 
 - Brett
 
 On 4/11/06, Mike Perham [EMAIL PROTECTED] wrote:
 
 
 
 
 Jules, I had it working last week.  Something changed when I tried to
 reproduce it from scratch this morning and now I can't get it working.
 
 -Original Message-
 From: Jules Gosnell [mailto:[EMAIL PROTECTED]
 Sent: Monday, April 10, 2006 2:03 PM
 To: Maven Users List
 Subject: m2.0.3 - aggregated reports at top-level...
 
 After much googling and gnashing of teeth I gave up on trying to
 integrate an aggregated clover report with my site build. I spent less
 time on surefire and javadoc reports.
 
 Does aggregation of any of these reports work in 2.0.3 ? If so, can
 anyone please point me at a concrete example of a working top-level
 pom.
 
 Thanks, Guys,
 
 
 Jules
 
 --
 Open Source is a self-assembling organism. You dangle a piece of
 string
 into a super-saturated solution and a whole operating-system
 crystallises out around it.
 
 /**
 * Jules Gosnell
 * Partner
 * Core Developers Network (Europe)
 *
 *www.coredevelopers.net
 *
 * Open Source Training  Support.
 **/
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 --
 Open Source is a self-assembling organism. You dangle a piece of
 string into a super-saturated solution and a whole operating-system
 crystallises out around it.
 
 /**
  * Jules Gosnell
  * Partner
  * Core Developers Network (Europe)
  *
  *www.coredevelopers.net
  *
  * Open Source Training  Support.
  **/
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: 

Re: surefire-report : characters problem

2006-04-11 Thread Carlos Sanchez
I repeat
if the problem is in the xml report that's generated by the surefire
plugin

surefire-plugin, not surefire-report-plugin, one generates xml and the
other transforms it to html

On 4/11/06, Pierre Jacquot [EMAIL PROTECTED] wrote:
 i m using the surefire-report Beta 2-SNAPSHOT versions

 2006/4/10, Carlos Sanchez [EMAIL PROTECTED]:
 
  if the problem is in the xml report that's generated by the surefire
  plugin, what version you use?
 
  On 4/10/06, Pierre Jacquot [EMAIL PROTECTED] wrote:
   characters problem is the xml reports and in the html reports. I use the
   beta 2.0-SNAPSHOT versions for Maven 2.
  
   2006/4/7, Carlos Sanchez [EMAIL PROTECTED]:
   
Are you talking about the web page, the txt report, the xml report,
  ???
what versions are you using?
   
On 4/7/06, Pierre Jacquot [EMAIL PROTECTED] wrote:
 this is a copy from my last surefire-report :

 testAdd
 junit.framework.AssertionFailedError: resultat renvoyé non attenndu
 expected:lt;102gt; but was:lt;98gt;
 junit.framework.AssertionFailedError: resultat renvoyé non attenndu
 expected:102 but was:98 at junit.framework.Assert.fail(
  Assert.java
:47)
 at The character  became lt and the character  became
  gt.
 How to have the usual characters.


   
   
--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride
   
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
   
  
  
 
 
  --
  I could give you my word as a Spaniard.
  No good. I've known too many Spaniards.
   -- The Princess Bride
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 




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

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



[m2] maven.plugin.classpath works different in reactor build?

2006-04-11 Thread Peschier J. \(Jeroen\)
I am observing weird behaviour when using maven-antrun-plugin 1.1 with
Maven 2.0.3. Given the following POM fragment:

plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-antrun-plugin/artifactId
  executions
execution
  phaseinstall/phase
  goals
goalrun/goal
  /goals
  configuration
tasks
  taskdef resource=net/sf/antcontrib/antcontrib.properties
classpath refid=maven.plugin.classpath/
  /taskdef
 
  property name=ant.regexp.regexpimpl
value=org.apache.tools.ant.util.regexp.JakartaRegexpRegexp /
  
  propertyregex property=strippedLocalRepository
input=${localRepository} regexp=^\[local\] - file:\/\/ replace=
/
  
  copy
file=${project.build.directory}/${project.build.finalName}.sar
tofile=${strippedLocalRepository}\com\logibar\framework\${artifactId}\$
{version}\${project.build.finalName}.jar /
/tasks
  /configuration
/execution
  /executions
  dependencies
dependency
  groupIdant-contrib/groupId
  artifactIdant-contrib/artifactId
  version1.0b2/version
/dependency
dependency
  groupIdant/groupId
  artifactIdant-apache-regexp/artifactId
  version1.6.5/version
/dependency
dependency
  groupIdjakarta-regexp/groupId
  artifactIdjakarta-regexp/artifactId
  version1.4/version
/dependency
  /dependencies
/plugin


Observed behaviour:

- The above fragment works when building the child POM standalone.

- The above fragment does not work when invoked from a reactor build.
The message given is:

[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
  [taskdef] Could not load definitions from resource
net/sf/antcontrib/antcontrib.properties. It could not be found.
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error executing ant tasks

- I checked the ant-conrib-1.0b2 jar in my repository and
net/sf/antcontrib/antcontrib.properties is in there.


What causes this? Is the maven.plugin.classpath somehow resolved
differently in a reactor build?


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



Re: How to start maven scm

2006-04-11 Thread Emmanuel Venisse

You don't have maven-scm-manager-plexus in your classpath.

Emmanuel

Zsolt a écrit :

Hi,

I compiled the sources (from the HEAD of the scm repository) using eclipse
(I just set the build path variables) and the code attached below tries to
start maven-scm but I get an exception (attached at the and). How can I fix
that?

Zsolt

plexus = new Embedder();

plexus.start();

scmManager = (ScmManager) plexus.lookup( ScmManager.ROLE );



Error while starting Maven Scm.
org.codehaus.plexus.component.repository.exception.ComponentLookupException:
Component descriptor cannot be found in the component repository:
org.apache.maven.scm.manager.ScmManager.
at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.jav
a:323)
at org.codehaus.plexus.embed.Embedder.lookup(Embedder.java:78)










Re: Is scm-maven thread safe?

2006-04-11 Thread Trygve Laugstøl
On Tue, 2006-04-11 at 07:38, Zsolt wrote: 
 Hi,
 
 we plan to use scm-maven from tomcat. Are scm-maven and maven thread safe?

The short answer is: no. Maven SCM is not thread safe, most of Maven *should* 
be, but there's no real guarantee for that. In particular the plug-ins might 
not be thread safe.

If you want to embed Maven SCM and/or Maven itself I would recommend that you 
write a simple thread that takes commands from a servlet/jsp/web action and 
builds stuff in a serial ordering.

Continuum does this all over the place so you can take a look at how it does 
the queuing and execution.

--
Trygve



Re: Is scm-maven thread safe?

2006-04-11 Thread Emmanuel Venisse

I'm not totally sure but i know that some user use maven-scm in a servlet 
environment.

Emmanuel

Zsolt a écrit :

Hi,

we plan to use scm-maven from tomcat. Are scm-maven and maven thread safe?

Zsolt










Re: surefire-report : characters problem

2006-04-11 Thread Pierre Jacquot
sorry, i m using the 2.1.3 versions.

2006/4/11, Carlos Sanchez [EMAIL PROTECTED]:

 I repeat
 if the problem is in the xml report that's generated by the surefire
 plugin

 surefire-plugin, not surefire-report-plugin, one generates xml and the
 other transforms it to html

 On 4/11/06, Pierre Jacquot [EMAIL PROTECTED] wrote:
  i m using the surefire-report Beta 2-SNAPSHOT versions
 
  2006/4/10, Carlos Sanchez [EMAIL PROTECTED]:
  
   if the problem is in the xml report that's generated by the surefire
   plugin, what version you use?
  
   On 4/10/06, Pierre Jacquot [EMAIL PROTECTED] wrote:
characters problem is the xml reports and in the html reports. I use
 the
beta 2.0-SNAPSHOT versions for Maven 2.
   
2006/4/7, Carlos Sanchez [EMAIL PROTECTED]:

 Are you talking about the web page, the txt report, the xml
 report,
   ???
 what versions are you using?

 On 4/7/06, Pierre Jacquot [EMAIL PROTECTED] wrote:
  this is a copy from my last surefire-report :
 
  testAdd
  junit.framework.AssertionFailedError: resultat renvoyé non
 attenndu
  expected:lt;102gt; but was:lt;98gt;
  junit.framework.AssertionFailedError: resultat renvoyé non
 attenndu
  expected:102 but was:98 at junit.framework.Assert.fail(
   Assert.java
 :47)
  at The character  became lt and the character  became
   gt.
  How to have the usual characters.
 
 


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


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


   
   
  
  
   --
   I could give you my word as a Spaniard.
   No good. I've known too many Spaniards.
-- The Princess Bride
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 


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

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




Problem with eclipse plugin

2006-04-11 Thread hermod.opstvedt
Hi

When I try to use the eclipse plugin, I am getting an error that prevents me 
from using it. Noboby else here is able to run it either.

E:\IT-01 Mavenmvn -U eclipse:eclipse
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'eclipse'.
[INFO] no.dnbnor.it01.plugins: checking for updates from central
[INFO] org.apache.maven.plugins: checking for updates from central
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '0ef900db5a
850e0cd09cc19309cbb8fba969ec82'; remote = '93cdb51bd390398811529269b9d7f3a0b73b2
c71' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '0ef900db5a
850e0cd09cc19309cbb8fba969ec82'; remote = '93cdb51bd390398811529269b9d7f3a0b73b2
c71' - IGNORING
[INFO] org.codehaus.mojo: checking for updates from central
[INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin: checking for upda
tes from central
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.maven.plugins:maven-eclipse-plugin

Reason: Error getting POM for 'org.apache.maven.plugins:maven-eclipse-plugin' fr
om the repository: Failed to resolve artifact, possibly due to a repository list
 that is not appropriately equipped for this artifact's metadata.
  org.apache.maven.plugins:maven-eclipse-plugin:pom:2.2-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)



[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 48 seconds
[INFO] Finished at: Tue Apr 11 10:15:55 CEST 2006
[INFO] Final Memory: 1M/3M
[INFO] 

Hermod


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that DnB NOR cannot
accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


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



RE: Is scm-maven thread safe?

2006-04-11 Thread Zsolt
Does that mean that only one checkout can be running? What happens if a
checkout takes for example hours?

Zsolt

-Original Message-
From: Trygve Laugstøl [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 11, 2006 9:58 AM
To: scm-users@maven.apache.org
Subject: Re: Is scm-maven thread safe?

On Tue, 2006-04-11 at 07:38, Zsolt wrote:
 Hi,

 we plan to use scm-maven from tomcat. Are scm-maven and maven thread
safe?

The short answer is: no. Maven SCM is not thread safe, most of Maven
*should* be, but there's no real guarantee for that. In particular the
plug-ins might not be thread safe.

If you want to embed Maven SCM and/or Maven itself I would recommend that
you write a simple thread that takes commands from a servlet/jsp/web action
and builds stuff in a serial ordering.

Continuum does this all over the place so you can take a look at how it
does the queuing and execution.

--
Trygve



Re: Problem with eclipse plugin

2006-04-11 Thread Kenney Westerhof
On Tue, 11 Apr 2006 [EMAIL PROTECTED] wrote:

Hi,

Maven tries to download a SNAPSHOT of the eclipse plugin from
the central repository. The central repository does not contain any
snapshots.

Either add a snapshot repository 'snapshots.maven.codehaus.org', id
'snapshots', with snapshots enabled, or check your pom files to see if
they specify a version for the eclipse plugin.

-- Kenney


 Hi

 When I try to use the eclipse plugin, I am getting an error that prevents me 
 from using it. Noboby else here is able to run it either.

 E:\IT-01 Mavenmvn -U eclipse:eclipse
 [INFO] Scanning for projects...
 [INFO] Searching repository for plugin with prefix: 'eclipse'.
 [INFO] no.dnbnor.it01.plugins: checking for updates from central
 [INFO] org.apache.maven.plugins: checking for updates from central
 [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
 '0ef900db5a
 850e0cd09cc19309cbb8fba969ec82'; remote = 
 '93cdb51bd390398811529269b9d7f3a0b73b2
 c71' - RETRYING
 [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
 '0ef900db5a
 850e0cd09cc19309cbb8fba969ec82'; remote = 
 '93cdb51bd390398811529269b9d7f3a0b73b2
 c71' - IGNORING
 [INFO] org.codehaus.mojo: checking for updates from central
 [INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin: checking for 
 upda
 tes from central
 [INFO] 
 
 [ERROR] BUILD ERROR
 [INFO] 
 
 [INFO] Error building POM (may not be this project's POM).


 Project ID: org.apache.maven.plugins:maven-eclipse-plugin

 Reason: Error getting POM for 'org.apache.maven.plugins:maven-eclipse-plugin' 
 fr
 om the repository: Failed to resolve artifact, possibly due to a repository 
 list
  that is not appropriately equipped for this artifact's metadata.
   org.apache.maven.plugins:maven-eclipse-plugin:pom:2.2-SNAPSHOT

 from the specified remote repositories:
   central (http://repo1.maven.org/maven2)



 [INFO] 
 
 [INFO] For more information, run Maven with the -e switch
 [INFO] 
 
 [INFO] Total time: 48 seconds
 [INFO] Finished at: Tue Apr 11 10:15:55 CEST 2006
 [INFO] Final Memory: 1M/3M
 [INFO] 
 

 Hermod


 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

 This email with attachments is solely for the use of the individual or
 entity to whom it is addressed. Please also be aware that DnB NOR cannot
 accept any payment orders or other legally binding correspondence with
 customers as a part of an email.

 This email message has been virus checked by the virus programs used
 in the DnB NOR Group.

 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


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



--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

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



RE : wrong file permissions with scp deploy

2006-04-11 Thread Olivier Lamy
Hi,
I don't see Fix Version on it
http://jira.codehaus.org/browse/WAGONSSH-44.
Do you have any ideas on the release which will include this issue fix
which has included patch ?
Note, It's difficult to work in a multi user environnement with this
issue (I'm sure you know this ;-))
In fact no problem for release deploy because normally the deployed
artifacts won't be touch. 
But for a snapshot repository It's a little bit hard.
Thanks
Olivier

Thanks,

- Olivier


-Message d'origine-
De : Brett Porter [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 10 avril 2006 22:13
À : Maven Users List
Objet : Re: wrong file permissions with scp deploy


The scpexe version is fixed in SVN.

- Brett

On 4/11/06, Kathryn Huxtable [EMAIL PROTECTED] wrote:
 I have the same problem. It works for me with scp and fails with 
 scpexe through openssh on Mac OS X.

 -K


 On 4/10/06 11:18 AM, Olivier Lamy [EMAIL PROTECTED] wrote:

  Hi,
  I have a trouble with scp deploy (from solaris/cygwin to a solaris 
  machine). My settings.xml contains :
  filePermissions775/filePermissions
  directoryPermissions775/directoryPermissions
 
  ls -lrt says :
  -rwxr-xr-x 1 olamy staff 365 Apr 10 17:48 maven-metadata.xml
 
  Trouble : an other user can't deploy without a manual chmod from the

  first user.
 
  I have recorded the issue : 
  http://jira.codehaus.org/browse/MDEPLOY-29
  Can someone give more informations (maybe I have a bad configuration
??)
 
  - Olivier
 
 
 
  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 electronique et tous les fichiers joints ainsi que  les
  informations contenues dans ce message ( ci apres le message ),
sont
  confidentiels et destines exclusivement a l'usage de la  personne a
laquelle
  ils sont adresses. Si vous avez recu ce message par erreur, merci
de le
  renvoyer a son emetteur et de le detruire. Toutes diffusion,
publication,
  totale ou partielle ou divulgation sous quelque forme que se soit
non
  expressement autorisees de ce message, sont interdites.
 
**
 
 
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 

 --
 Kathryn Huxtable
 Middleware Architect
 Core Middleware
 Information Technology, a division of Information Services The 
 University of Kansas


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



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


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



RE : Problem with eclipse plugin

2006-04-11 Thread Olivier Lamy
The last eclipse plugin snapshot looks to here
 
http://cvs.apache.org/maven-snapshot-repository/org/apache/maven/plugins
/maven-eclipse-plugin/2.2-SNAPSHOT/

Add a pluginRepo pointed  :
http://cvs.apache.org/maven-snapshot-repository
And it works fine (very fine ;-).
Thaks for all fixes.

- Olivier

-Message d'origine-
De : Kenney Westerhof [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 11 avril 2006 11:46
À : Maven Users List
Objet : Re: Problem with eclipse plugin


On Tue, 11 Apr 2006 [EMAIL PROTECTED] wrote:

Hi,

Maven tries to download a SNAPSHOT of the eclipse plugin from the
central repository. The central repository does not contain any
snapshots.

Either add a snapshot repository 'snapshots.maven.codehaus.org', id
'snapshots', with snapshots enabled, or check your pom files to see if
they specify a version for the eclipse plugin.

-- Kenney


 Hi

 When I try to use the eclipse plugin, I am getting an error that 
 prevents me from using it. Noboby else here is able to run it either.

 E:\IT-01 Mavenmvn -U eclipse:eclipse
 [INFO] Scanning for projects...
 [INFO] Searching repository for plugin with prefix: 'eclipse'. [INFO] 
 no.dnbnor.it01.plugins: checking for updates from central [INFO] 
 org.apache.maven.plugins: checking for updates from central [WARNING] 
 *** CHECKSUM FAILED - Checksum failed on download: local = '0ef900db5a

 850e0cd09cc19309cbb8fba969ec82'; remote = 
 '93cdb51bd390398811529269b9d7f3a0b73b2
 c71' - RETRYING
 [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'0ef900db5a
 850e0cd09cc19309cbb8fba969ec82'; remote =
'93cdb51bd390398811529269b9d7f3a0b73b2
 c71' - IGNORING
 [INFO] org.codehaus.mojo: checking for updates from central
 [INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin:
checking for upda
 tes from central
 [INFO]

 [ERROR] BUILD ERROR
 [INFO]

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


 Project ID: org.apache.maven.plugins:maven-eclipse-plugin

 Reason: Error getting POM for 
 'org.apache.maven.plugins:maven-eclipse-plugin' fr om the repository: 
 Failed to resolve artifact, possibly due to a repository list  that is
not appropriately equipped for this artifact's metadata.
   org.apache.maven.plugins:maven-eclipse-plugin:pom:2.2-SNAPSHOT

 from the specified remote repositories:
   central (http://repo1.maven.org/maven2)



 [INFO] 


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

 [INFO] Total time: 48 seconds
 [INFO] Finished at: Tue Apr 11 10:15:55 CEST 2006
 [INFO] Final Memory: 1M/3M
 [INFO]


 Hermod


 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 * * *

 This email with attachments is solely for the use of the individual or

 entity to whom it is addressed. Please also be aware that DnB NOR 
 cannot accept any payment orders or other legally binding 
 correspondence with customers as a part of an email.

 This email message has been virus checked by the virus programs used 
 in the DnB NOR Group.

 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 * * *


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



--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

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



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: Problem with eclipse plugin

2006-04-11 Thread hermod.opstvedt
Hi

I think this has something to do with our maven2-proxy. I disabled the proxy in 
settings.xml file and it ran OK. I'll look into this.

Hermod

-Original Message-
From: Kenney Westerhof [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 11, 2006 11:46 AM
To: Maven Users List
Subject: Re: Problem with eclipse plugin


On Tue, 11 Apr 2006 [EMAIL PROTECTED] wrote:

Hi,

Maven tries to download a SNAPSHOT of the eclipse plugin from
the central repository. The central repository does not contain any
snapshots.

Either add a snapshot repository 'snapshots.maven.codehaus.org', id
'snapshots', with snapshots enabled, or check your pom files to see if
they specify a version for the eclipse plugin.

-- Kenney


 Hi

 When I try to use the eclipse plugin, I am getting an error that prevents me 
 from using it. Noboby else here is able to run it either.

 E:\IT-01 Mavenmvn -U eclipse:eclipse
 [INFO] Scanning for projects...
 [INFO] Searching repository for plugin with prefix: 'eclipse'.
 [INFO] no.dnbnor.it01.plugins: checking for updates from central
 [INFO] org.apache.maven.plugins: checking for updates from central
 [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
 '0ef900db5a
 850e0cd09cc19309cbb8fba969ec82'; remote = 
 '93cdb51bd390398811529269b9d7f3a0b73b2
 c71' - RETRYING
 [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
 '0ef900db5a
 850e0cd09cc19309cbb8fba969ec82'; remote = 
 '93cdb51bd390398811529269b9d7f3a0b73b2
 c71' - IGNORING
 [INFO] org.codehaus.mojo: checking for updates from central
 [INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin: checking for 
 upda
 tes from central
 [INFO] 
 
 [ERROR] BUILD ERROR
 [INFO] 
 
 [INFO] Error building POM (may not be this project's POM).


 Project ID: org.apache.maven.plugins:maven-eclipse-plugin

 Reason: Error getting POM for 'org.apache.maven.plugins:maven-eclipse-plugin' 
 fr
 om the repository: Failed to resolve artifact, possibly due to a repository 
 list
  that is not appropriately equipped for this artifact's metadata.
   org.apache.maven.plugins:maven-eclipse-plugin:pom:2.2-SNAPSHOT

 from the specified remote repositories:
   central (http://repo1.maven.org/maven2)



 [INFO] 
 
 [INFO] For more information, run Maven with the -e switch
 [INFO] 
 
 [INFO] Total time: 48 seconds
 [INFO] Finished at: Tue Apr 11 10:15:55 CEST 2006
 [INFO] Final Memory: 1M/3M
 [INFO] 
 

 Hermod


 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

 This email with attachments is solely for the use of the individual or
 entity to whom it is addressed. Please also be aware that DnB NOR cannot
 accept any payment orders or other legally binding correspondence with
 customers as a part of an email.

 This email message has been virus checked by the virus programs used
 in the DnB NOR Group.

 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


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



--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

-
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: Is scm-maven thread safe?

2006-04-11 Thread Zsolt
Trygve,

Are you sure? In this case maven-scm is not an option for us. After spending
some days on maven-scm and implementing ScmProvider.listTask I really like
this API and even plan to add CM-Synergy support, but we are going to use
this API from servlets, thus it must be thread safe. You might know
javaforge.com that is based on our software with hundreds of projects and
thousands of users. Serializing the request is just not acceptable for us
(for the users) because it is very probably that more than one user want to
browse repositories.

Zsolt

-Original Message-
From: Trygve Laugstøl [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 11, 2006 9:58 AM
To: scm-users@maven.apache.org
Subject: Re: Is scm-maven thread safe?

On Tue, 2006-04-11 at 07:38, Zsolt wrote:
 Hi,

 we plan to use scm-maven from tomcat. Are scm-maven and maven thread
safe?

The short answer is: no. Maven SCM is not thread safe, most of Maven
*should* be, but there's no real guarantee for that. In particular the
plug-ins might not be thread safe.

If you want to embed Maven SCM and/or Maven itself I would recommend that
you write a simple thread that takes commands from a servlet/jsp/web action
and builds stuff in a serial ordering.

Continuum does this all over the place so you can take a look at how it
does the queuing and execution.

--
Trygve



Re: Setting up complex webapp

2006-04-11 Thread Eric S.


Martin Cooper-2 wrote:
 
 On 4/10/06, Eric S. [EMAIL PROTECTED] wrote:


 Hi,

 you can use the war dependency like this :

 web framework POM :
 project
 groupIdsample/groupId
 modelVersion4.0.0/modelVersion
 artifactIdweb-fwk/artifactId
 packagingwar/packaging
 version0.9-SNAPSHOT/version
 nameWeb Framework/name
 /project

 web final POM
 project
 groupIdsample/groupId
 modelVersion4.0.0/modelVersion
 artifactIdweb/artifactId
 packagingwar/packaging
 version0.9-SNAPSHOT/version
 nameWeb/name
 dependencies
 dependency
 groupIdsample/groupId
 artifactIdweb-fwk/artifactId
 version0.9-SNAPSHOT/version
 typewar/type
 scopecompile/scope
 /dependency
 
 
 Does this really work? Maven will compile against all the jars in
 WEB-INF/lib and the classes in WEB-INF/classes? Is this documented
 somewhere?
 
 This will copy the classes of web-fwk in the target/web/WEB-INF/classes
 directory.
 All the dependent lib (depend of the scope) in the target/web/WEB-INF/lib
 directory.
 
 /dependencies
 build
 finalName${project.artifactId}/finalName
   plugins
 plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-war-plugin/artifactId
   version2.0-beta-3-SNAPSHOT/version
   executions
 execution
   phasegenerate-sources/phase
   goals
 goalexploded/goal
 
 
 The 'exploded' goal will try to *build* the exploded war, though, not just
 explode it. I doubt that's what you'd want. More likely, you'd want to use
 the dependency plugin to unpack the war. See:
 
 http://mojo.codehaus.org/dependency-maven-plugin/unpack-mojo.html
 
 --
 Martin Cooper
 
 
   /goals
 /execution
   /executions
 /plugin
   /plugins
   /build
 /project

 This will exploded all war dependencies into your target directory and
 classes of all war will be in the classpath.

 Eric

 --
 View this message in context:
 http://www.nabble.com/Setting-up-complex-webapp-t1425211.html#a3844842
 Sent from the Maven - Users forum at Nabble.com.


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


 
 
--
View this message in context: 
http://www.nabble.com/Setting-up-complex-webapp-t1425211.html#a3858770
Sent from the Maven - Users forum at Nabble.com.


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



Deploying 3rd Party Libraries with sources

2006-04-11 Thread Roland Asmann
Hi,

I was wondering if it is possible (and how) to deploy 3rd party Libraries with 
a source-jar into our company's central repository.
We are using the maven-proxy tool to retrieve libraries from ibiblio and 
codehaus repositories, but as we all know there are some libs that can't be 
found on there. Now I know how to install the Libs themself into our 
repository, but since we somtimes need to debug through those libs, we would 
like to have the source-code that goes with them as well.

Roland


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



Re: Assembly Plugin Changes

2006-04-11 Thread Stephen Duncan
Thanks.  I had briefly considered it yesterday, but promptly forgot
about as I attempted to remember everything else I wanted to say.

I suppose this will be a chance to test out pluginManagement in the
parent POM, as the current configuration for this is in several
projects...

-Stephen

On 4/11/06, Wayne Fay [EMAIL PROTECTED] wrote:
 I don't know much about these assembly changes etc so I can't comment
 on any of that. Perhaps search the dev@ list to find more details.

 Here's another idea you might not have considered... You could find
 out the version number for the old (working) assembly plugin and
 specify it directly in your pom.xml as a plugin dependency... This
 would allow you to keep using your old mvn assembly etc as you are
 used to, without these recent changes affecting your build process.

 Not saying this is a great solution, but it might make you happier for
 the short term, until these issues with assembly are worked out in a
 new release.

 Wayne

 On 4/10/06, Stephen Duncan [EMAIL PROTECTED] wrote:
  I know I'm a bit slow here, as it appears these changes were released
  quite a while ago.  But still, I've just noticed today the issue
  (discussed before, but since I didn't realize it was affecting ME, I
  didn't pay attention!) regarding the assembly plugin forking the
  lifecycle, causing my existing setup to run everything twice because I
  have assembly attached to the package phase.
 
  I really don't get that decision.  What I think I understand is that
  now you can run mvn assembly:assembly, and you get the same behavior
  you would have gotten before running mvn package assembly:assembly?
  Was this gain really worth breaking existing builds, and now
  requiring features for the ability to run assembly:assembly and
  assembly:directory in non-lifecycle-forking mode?
 
  Also, it's really hard to tell what's going on, because the site for
  the assembly plugin doesn't seem to have been updated for quite some
  time (in fact, it still has m2 as the Maven command, not mvn).
  Also, shouldn't there be somewhere in the site that states the version
  number the site is associated with?  (Please indicate if these are
  known issues, or I'll plan to put them in JIRA tomorrow).
 
  My use case for the assembly plugin is this:
 
  1) I want to be able to generate the whole thing easily in one command.
  2) I want to use assembly:assembly to create a zip of my source.
  3) I want to do assembly:directory to create a directory of files I
  will then upload into a another system where my file releases go.
  4) In that directory I want the sources and javadoc jars included, as
  well as the src zip.
 
  I see where forking the lifecycle fulfills item #1 but it makes it
  very confusing for users of my project that, instead of running mvn
  with a lifecycle phase to do a release, run assembly:assembly.  I
  think this breaks the normal usage model.
 
  I haven't tested how the forking of the lifecycle works.  I get the
  javadoc and sources jars to be created by passing
  -DperformRelease=true.  If I run mvn -DperformRelease=true
  assembly:assembly will the property be passed along, causing
  javadoc:jar and source:jar to be run?  If so, then that could solve 4.
 
  My solution prior to these changes in the plugin was to put
  configuration for execution of assembly:assembly and
  assembly:directory attached to the package phase into a profile
  activated by performRelease=true, and simply have the assembly be run
  when a user ran mvn -DperformRelease=true package.
 
  What would be the right way now?  Since I would need two
  configurations of the assembly plugin, I would have to have all the
  configuration on the command-line and run two separate commands.  And
  how do you specify multiple descriptors on the command-line?  Are
  lists comma-separated, or what?
 
  Or I guess I have to wait for another release of the assembly plugin.
  In that case would I just use newly created goals that avoid the
  forked-lifecycle and go back to how it was before, or would I only use
  the non-forking assembly:assembly in a profile, and then run
  assembly:directory from the command-line?  What exactly is the new
  use-case idea here?
 
  I apologize for the lengthe here, but I found the experience quite
  frustrating.  I know I saw several e-mails about either infinite-loops
  or just the repeated-builds after these changes were released, but did
  I just miss my opportunity (here or on the dev list) to comment on
  these changes before they were made?
 
  --
  Stephen Duncan Jr
  www.stephenduncanjr.com
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 



--
Stephen Duncan Jr
www.stephenduncanjr.com

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



Re: Deploying 3rd Party Libraries with sources

2006-04-11 Thread Kenney Westerhof
On Tue, 11 Apr 2006, Roland Asmann wrote:

I assume you have the source jars present, and you install the
files with mvn install:install-file or mvn deploy:deploy-file ?

If so, you can deploy/install the source jars too, by specifying
-Dpackaging=java-source.

-- Kenney

 Hi,

 I was wondering if it is possible (and how) to deploy 3rd party Libraries with
 a source-jar into our company's central repository.
 We are using the maven-proxy tool to retrieve libraries from ibiblio and
 codehaus repositories, but as we all know there are some libs that can't be
 found on there. Now I know how to install the Libs themself into our
 repository, but since we somtimes need to debug through those libs, we would
 like to have the source-code that goes with them as well.

 Roland


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


--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

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



Re: Deploying 3rd Party Libraries with sources

2006-04-11 Thread Roland Asmann
Thanks!
This seems to have done the trick... Although I think it's better to use the 
'-DgeneratePom=false' on this, otherwise it will rewrite the POM to packaging 
'java-source'.

Roland



On Tuesday 11 April 2006 12:25, Kenney Westerhof wrote:
 On Tue, 11 Apr 2006, Roland Asmann wrote:

 I assume you have the source jars present, and you install the
 files with mvn install:install-file or mvn deploy:deploy-file ?

 If so, you can deploy/install the source jars too, by specifying
 -Dpackaging=java-source.

 -- Kenney

  Hi,
 
  I was wondering if it is possible (and how) to deploy 3rd party Libraries
  with a source-jar into our company's central repository.
  We are using the maven-proxy tool to retrieve libraries from ibiblio and
  codehaus repositories, but as we all know there are some libs that can't
  be found on there. Now I know how to install the Libs themself into our
  repository, but since we somtimes need to debug through those libs, we
  would like to have the source-code that goes with them as well.
 
  Roland
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]

 --
 Kenney Westerhof
 http://www.neonics.com
 GPG public key: http://www.gods.nl/~forge/kenneyw.key

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



Please unsubscribe me

2006-04-11 Thread Venkatagopalaraju
Dear Maven Users,

Thank you very much for your coperation. I have successfully finished my 
tasks due to your help. I would like to take this opportunity to thank each one.


Could you please unsubscribe me. 


Thanks  Regards
  Gopal


 


Re: Deploying 3rd Party Libraries with sources

2006-04-11 Thread Kenney Westerhof
On Tue, 11 Apr 2006, Roland Asmann wrote:

 Thanks!
 This seems to have done the trick... Although I think it's better to use the
 '-DgeneratePom=false' on this, otherwise it will rewrite the POM to packaging
 'java-source'.

Ah, I didn't know that was on by default now. Thanks for the update ;)

-- Kenney


 Roland



 On Tuesday 11 April 2006 12:25, Kenney Westerhof wrote:
  On Tue, 11 Apr 2006, Roland Asmann wrote:
 
  I assume you have the source jars present, and you install the
  files with mvn install:install-file or mvn deploy:deploy-file ?
 
  If so, you can deploy/install the source jars too, by specifying
  -Dpackaging=java-source.
 
  -- Kenney
 
   Hi,
  
   I was wondering if it is possible (and how) to deploy 3rd party Libraries
   with a source-jar into our company's central repository.
   We are using the maven-proxy tool to retrieve libraries from ibiblio and
   codehaus repositories, but as we all know there are some libs that can't
   be found on there. Now I know how to install the Libs themself into our
   repository, but since we somtimes need to debug through those libs, we
   would like to have the source-code that goes with them as well.
  
   Roland
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
 
  --
  Kenney Westerhof
  http://www.neonics.com
  GPG public key: http://www.gods.nl/~forge/kenneyw.key
 
  -
  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]


--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

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



RE: Is scm-maven thread safe?

2006-04-11 Thread Trygve Laugstøl
On Tue, 2006-04-11 at 12:10, Zsolt wrote:
 Trygve,
 
 Are you sure? In this case maven-scm is not an option for us. After spending
 some days on maven-scm and implementing ScmProvider.listTask I really like
 this API and even plan to add CM-Synergy support, but we are going to use
 this API from servlets, thus it must be thread safe. You might know
 javaforge.com that is based on our software with hundreds of projects and
 thousands of users. Serializing the request is just not acceptable for us
 (for the users) because it is very probably that more than one user want to
 browse repositories.

If something isn't thread safe just means that you'll have to use more 
instances of the thing in question.

But, if this is something that's really important it wouldn't be hard to ensure 
(and keep) the core thread safe, and if the providers are used on a per 
lookup-basis you should be home safe. For all I know the core is practically 
thread safe already.

I think the solution I've outlined above is the easiest solution (keeping the 
core thread safe, and just instantiate the providers per usage. The biggest 
issue with this is that the user of the provider will have to return/dispose 
the instance once it's done with it.

--
Trygve



Using the m2Eclipse plugin with IRAD

2006-04-11 Thread Pierre Jacquot
I want to use the M2Eclipse plugin with IRAD (IBM Rational Software
Development Platform Version : 6.0.0), this IDE is based on Eclipse 3.0.
When i use the M2Eclipse plugin, i have an error :

Une erreur interne s'est produite pendant : Indexing local.
java.lang.NoClassDefFoundError: org.apache.lucene.index.MultiReader
at java.lang.Class.verifyImpl(Native Method)
at java.lang.Class.verify(Class.java:253)
at java.lang.Class.initialize(Class.java:315)
at org.maven.ide.eclipse.Maven2Plugin$IndexerJob.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
How to use this plugin ?
Why i have this error ?

Thanks, Pierre


Re: Please unsubscribe me

2006-04-11 Thread Gareth Western
To unsubscribe, e-mail: [EMAIL PROTECTED]

On 4/11/06, Venkatagopalaraju [EMAIL PROTECTED]
wrote:

 Dear Maven Users,

 Thank you very much for your coperation. I have successfully finished
 my tasks due to your help. I would like to take this opportunity to thank
 each one.


 Could you please unsubscribe me.


 Thanks  Regards
   Gopal







RE: Is scm-maven thread safe?

2006-04-11 Thread Zsolt
I have viewed a lot of maven-scm source code (but not maven core) and find
the structure clean and I didn't see anything I would consider this API as
NOT thread safe.

But it is very important to know from beginning what is NOT thread safe. I
understand that also this API has probably bugs (like our software) but I
need more understanding the multi thread problems we can have or how they
can be prevented (I'm sure you understand, that sometime it is really hard
to reproduce and fix a multi-thread related bug).

As I described below serialization of the request is not an option because
one user can checkout and a second view resource history the same time.

Trygve, if I understand you correctly I should somehow assure that I create
a new provider instance for each request.

I don't know how to do that but think it must be simple.

If that is the only limitation, that is absolutely fine for me.

Zsolt


-Original Message-
From: Trygve Laugstøl [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 11, 2006 1:33 PM
To: scm-users@maven.apache.org
Subject: RE: Is scm-maven thread safe?

On Tue, 2006-04-11 at 12:10, Zsolt wrote:
 Trygve,

 Are you sure? In this case maven-scm is not an option for us. After
spending
 some days on maven-scm and implementing ScmProvider.listTask I really
like
 this API and even plan to add CM-Synergy support, but we are going to use
 this API from servlets, thus it must be thread safe. You might know
 javaforge.com that is based on our software with hundreds of projects and
 thousands of users. Serializing the request is just not acceptable for us
 (for the users) because it is very probably that more than one user want
to
 browse repositories.

If something isn't thread safe just means that you'll have to use more
instances of the thing in question.

But, if this is something that's really important it wouldn't be hard to
ensure (and keep) the core thread safe, and if the providers are used on a
per lookup-basis you should be home safe. For all I know the core is
practically thread safe already.

I think the solution I've outlined above is the easiest solution (keeping
the core thread safe, and just instantiate the providers per usage. The
biggest issue with this is that the user of the provider will have to
return/dispose the instance once it's done with it.

--
Trygve



Re: Setting up complex webapp

2006-04-11 Thread Julien Henry


Hi,

Thanks for your responses. The first solution (only 2 war) didn't work. 
Compile failed for the final web application, as framework classes were 
not found.


I tried to break framework in 2 modules :
my_apps
--pom.xml
--framework-classes/
---|--pom.xml
--framework-webapp/
---|--pom.xml
--isf/
---|--pom.xml

isf depends on framework-webapp and framework-classes.

isf and framework-webapp are war projects. framework-classes is a jar. 
Finally, I obtain a isf.war with all that is needed. So I think it's a 
working solution, even if it's a bit messy to break framework in 2 
parts. I will take a look at the dependency plugin now.


Thanks again.

Julien


On 4/10/06, Eric S. [EMAIL PROTECTED] wrote:
  

Hi,

you can use the war dependency like this :

web framework POM :
project
groupIdsample/groupId
modelVersion4.0.0/modelVersion
artifactIdweb-fwk/artifactId
packagingwar/packaging
version0.9-SNAPSHOT/version
nameWeb Framework/name
/project

web final POM



  

project
groupIdsample/groupId
modelVersion4.0.0/modelVersion
artifactIdweb/artifactId
packagingwar/packaging
version0.9-SNAPSHOT/version
nameWeb/name
dependencies
dependency
groupIdsample/groupId
artifactIdweb-fwk/artifactId
version0.9-SNAPSHOT/version
typewar/type
scopecompile/scope
/dependency




Does this really work? Maven will compile against all the jars in
WEB-INF/lib and the classes in WEB-INF/classes? Is this documented
somewhere?

/dependencies
  

build
finalName${project.artifactId}/finalName
  plugins
plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-war-plugin/artifactId
  version2.0-beta-3-SNAPSHOT/version
  executions
execution
  phasegenerate-sources/phase
  goals
goalexploded/goal




The 'exploded' goal will try to *build* the exploded war, though, not just
explode it. I doubt that's what you'd want. More likely, you'd want to use
the dependency plugin to unpack the war. See:

http://mojo.codehaus.org/dependency-maven-plugin/unpack-mojo.html

--
Martin Cooper


  /goals
  

/execution
  /executions
/plugin
  /plugins
  /build
/project

This will exploded all war dependencies into your target directory and
classes of all war will be in the classpath.

Eric

--
View this message in context:
http://www.nabble.com/Setting-up-complex-webapp-t1425211.html#a3844842
Sent from the Maven - Users forum at Nabble.com.


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







  


--

_

Julien HENRY | **Capgemini Sud **| Nice

www.fr.capgemini.com http://www.capgemini.com/

Porte de l’Arénas – Entrée B | 455 Promenade des Anglais | 06200 Nice

**Join the Collaborative Business Experience **
_


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


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



RE: Is scm-maven thread safe?

2006-04-11 Thread Zsolt
I gladly add new functionality or providers to the API but I would be
definitely not the right person to make such modifications in the core API.

Can somebody make some suggestions? I really have to make a decision:
maven-scm or not.

Our internal API supports cvs, svn, vss, pvcs and cm-synergy but maven-scm
has much more functionally thus I would love to replace our API but I need a
solution that can be used in a environment with lot of parallel users.

Zsolt

-Original Message-
From: Trygve Laugstøl [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 11, 2006 2:23 PM
To: scm-users@maven.apache.org
Subject: RE: Is scm-maven thread safe?

On Tue, 2006-04-11 at 14:07, Zsolt wrote:
 I have viewed a lot of maven-scm source code (but not maven core) and
find
 the structure clean and I didn't see anything I would consider this API
as
 NOT thread safe.

 But it is very important to know from beginning what is NOT thread safe.
I
 understand that also this API has probably bugs (like our software) but I
 need more understanding the multi thread problems we can have or how they
 can be prevented (I'm sure you understand, that sometime it is really
hard
 to reproduce and fix a multi-thread related bug).

 As I described below serialization of the request is not an option
because
 one user can checkout and a second view resource history the same time.

 Trygve, if I understand you correctly I should somehow assure that I
create
 a new provider instance for each request.

Either that or ensure that all of the providers are thread safe.

 I don't know how to do that but think it must be simple.

It boils down to either making the providers have this stanza in
components.xml:

  instatiation-strategyper-lookup/instatiation-strategy

and then have _each client return the instance_ back to the container so
that all requirements can be properly released.

The alternative is to make the providers thread safe too which might not be
too hard, and the API would be easier to use for the client.

I'm not entirely sure what the best way is but I would suggest that one
look into making the providers thread safe because that keeps the API
simple and easier to use for the clients. Easier to use usually means less
buggy client code which is good :) It *might* make the provider a bit
harder but I hope the cleaner/easier API should out weight the more complex
code.

 If that is the only limitation, that is absolutely fine for me.

It's not a big requirement, but it might still be a hard one if there is an
issue. The core API is really simple and should indeed be pretty much
thread safe, but the providers might not be as they run processes etc which
they might have to keep track on over time etc.

--
Trygve



Re: Is scm-maven thread safe?

2006-04-11 Thread Emmanuel Venisse
Personally, I think it would be better to use maven-scm, not because it's our project, but because 
it's open source and used by a large comunity with maven, so all commands are tested in different 
environment.


We have perhaps some bugs in Maven-SCM core or in providers, but when a bug is found in them, we try 
to fix it asap. So I think you can migrate to maven-scm, bormally all will be ok.


Emmanuel

Zsolt a écrit :

I gladly add new functionality or providers to the API but I would be
definitely not the right person to make such modifications in the core API.

Can somebody make some suggestions? I really have to make a decision:
maven-scm or not.

Our internal API supports cvs, svn, vss, pvcs and cm-synergy but maven-scm
has much more functionally thus I would love to replace our API but I need a
solution that can be used in a environment with lot of parallel users.

Zsolt



-Original Message-
From: Trygve Laugstøl [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 11, 2006 2:23 PM
To: scm-users@maven.apache.org
Subject: RE: Is scm-maven thread safe?

On Tue, 2006-04-11 at 14:07, Zsolt wrote:


I have viewed a lot of maven-scm source code (but not maven core) and


find


the structure clean and I didn't see anything I would consider this API


as


NOT thread safe.

But it is very important to know from beginning what is NOT thread safe.


I


understand that also this API has probably bugs (like our software) but I
need more understanding the multi thread problems we can have or how they
can be prevented (I'm sure you understand, that sometime it is really


hard


to reproduce and fix a multi-thread related bug).

As I described below serialization of the request is not an option


because


one user can checkout and a second view resource history the same time.

Trygve, if I understand you correctly I should somehow assure that I


create


a new provider instance for each request.


Either that or ensure that all of the providers are thread safe.



I don't know how to do that but think it must be simple.


It boils down to either making the providers have this stanza in
components.xml:

instatiation-strategyper-lookup/instatiation-strategy

and then have _each client return the instance_ back to the container so
that all requirements can be properly released.

The alternative is to make the providers thread safe too which might not be
too hard, and the API would be easier to use for the client.

I'm not entirely sure what the best way is but I would suggest that one
look into making the providers thread safe because that keeps the API
simple and easier to use for the clients. Easier to use usually means less
buggy client code which is good :) It *might* make the provider a bit
harder but I hope the cleaner/easier API should out weight the more complex
code.



If that is the only limitation, that is absolutely fine for me.


It's not a big requirement, but it might still be a hard one if there is an
issue. The core API is really simple and should indeed be pretty much
thread safe, but the providers might not be as they run processes etc which
they might have to keep track on over time etc.

--
Trygve










Re: [m2] - WAR file generation

2006-04-11 Thread Pat Turner

Hi Karthik,

I'm also integrating Maven2 into our WSAD projects and I've hit the same
problem as you. The root cause is that the WebContent folder already has the
dependencies in the WEB-INF/lib folder. So when it is copied into place, all
the libraries come with it.

WSAD treats WebContent as a src directory *and* a target directory so that
the embedded test environment will work. Its a pain in the backside to work
around, and I've had to write a small plugin to sync up the maven
dependencies into WEB-INF/lib as an additional step after running the
eclipse plugin.

The solution is to add an excludes section in your war plugin config. You'll
probably end up with something like this:
plugin
artifactIdmaven-war-plugin/artifactId
configuration
warSourceDirectoryWebContent/warSourceDirectory
excludes**/WEB-INF/lib/*/excludes
/configuration
/plugin

Note that the excludes tag currently only allows a single entry, so you
can't add '**/WEB-INF/classes/*' as well. This probably means that you'll
get your test classes copied across, unless you've configured WSAD away from
its default 'single output location'.

Hope this helps.
Pat
--
View this message in context: 
http://www.nabble.com/-m2---WAR-file-generation-t778773.html#a3861722
Sent from the Maven - Users forum at Nabble.com.


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



RE: Is scm-maven thread safe?

2006-04-11 Thread Trygve Laugstøl
On Tue, 2006-04-11 at 14:57, Zsolt wrote:
 I gladly add new functionality or providers to the API but I would be
 definitely not the right person to make such modifications in the core API.

Oh, I think you do after all the time you've spend looking into the core by now 
:) I promise that if you look into the core, find any isses and create a patch 
I will take a look into the patches and apply them if they're good.

 Can somebody make some suggestions? I really have to make a decision:
 maven-scm or not.

It's up to you to select Maven SCM or not, but I agree with the arguments that 
Emmanuel had.

 Our internal API supports cvs, svn, vss, pvcs and cm-synergy but maven-scm
 has much more functionally thus I would love to replace our API but I need a
 solution that can be used in a environment with lot of parallel users.

It is definitely possible to get that going with Maven SCM, at least it would 
be easier to add that feature to Maven SCM that to re-implement Maven in your 
code.

Remember that you can always start using Maven SCM's API and then later change 
(or even re-implement) the providers. You are under no obligation to give the 
code back (although we would love it! See also Emmanuel's answer)

--
Trygve



Re: [m2] IncompatibleClassChangeError using maven-surefire-plugin 2.1.3

2006-04-11 Thread Jim Christenson

Here is a brief update -- the problem has been solved.

To solve this I took the latest distribution of xalan and installed it to my
local repository as version 2.7.0.1.jim and updated dependencies.  Note:  I
also did this for xml-apis, xerces-impl, and I added the serializer.jar  

Note:  It looks like the central repository has a bad version (2.7.0) of
xalan and not the real 2.7.0 release.

Anyhow, by having the right jar files in my local repository and having them
in the jdk endorsed folder I was able to get everything working.

Jim
--
View this message in context: 
http://www.nabble.com/-m2-IncompatibleClassChangeError-using-maven-surefire-plugin-2.1.3-t1412704.html#a3862223
Sent from the Maven - Users forum at Nabble.com.


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



RE: Maven and IRAD (WSAD)

2006-04-11 Thread Vijay Shanker
Hi Sanjay,
 
I am also working on WSAD builds with maven so please let me know if you write 
article about it. My maven project has to build about 80 projects through root 
maven.
 
Thanking you.
 
Vijay
 



From: Sanjay Choudhary [mailto:[EMAIL PROTECTED]
Sent: Mon 4/10/2006 6:42 PM
To: Maven Users List
Subject: Re: Maven and IRAD (WSAD)



I have done this for our company.  It was a challenge in begining but now
things are very smooth.

It is not easy as saying do this and do that. If you give me your project
structure, I can give you some advice and RAD6 maven plugins.

I also plan to write an article on How to work on RAD6 using maven?

-Sanjay


On 4/10/06, Pierre Jacquot [EMAIL PROTECTED] wrote:

 I wan to create J2EE project on maven, moreover the project must work on
 the
 IDE IRAD( or websphere). I don't how to do this, and i would like to build
 a
 project from existing soures or from existing JAR or EAR files.
 Thanks for your help





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

Maven site javadoc problem

2006-04-11 Thread Bratek

Hi,

I have a Maven project that contains several modules (separate directories
and pom files). When I run site goal Javadocs are generated in each module's
directory. The problem is that the main project knows nothing about those
docs - there is no link to any of the modules.
I tried to search the Internet but I couldn't find any comprehensive
documentation on the subject - just some bits and ends. If you know how to
make this work, please let me know. Thank you,

Bratek
--
View this message in context: 
http://www.nabble.com/Maven-site-javadoc-problem-t1431946.html#a3862183
Sent from the Maven - Users forum at Nabble.com.


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



Re: [m2] - WAR file generation

2006-04-11 Thread Wayne Fay
Have you tried:

excludes
exclude**/WEB-INF/lib/*/exclude
exclude**/WEB-INF/classes/*/exclude
/excludes

This is how excludes should work. If it doesn't, then you might want
to file a JIRA Enhancement request for this plugin.

Wayne

On 4/11/06, Pat Turner [EMAIL PROTECTED] wrote:

 Hi Karthik,

 I'm also integrating Maven2 into our WSAD projects and I've hit the same
 problem as you. The root cause is that the WebContent folder already has the
 dependencies in the WEB-INF/lib folder. So when it is copied into place, all
 the libraries come with it.

 WSAD treats WebContent as a src directory *and* a target directory so that
 the embedded test environment will work. Its a pain in the backside to work
 around, and I've had to write a small plugin to sync up the maven
 dependencies into WEB-INF/lib as an additional step after running the
 eclipse plugin.

 The solution is to add an excludes section in your war plugin config. You'll
 probably end up with something like this:
 plugin
artifactIdmaven-war-plugin/artifactId
configuration
warSourceDirectoryWebContent/warSourceDirectory
excludes**/WEB-INF/lib/*/excludes
/configuration
 /plugin

 Note that the excludes tag currently only allows a single entry, so you
 can't add '**/WEB-INF/classes/*' as well. This probably means that you'll
 get your test classes copied across, unless you've configured WSAD away from
 its default 'single output location'.

 Hope this helps.
 Pat
 --
 View this message in context: 
 http://www.nabble.com/-m2---WAR-file-generation-t778773.html#a3861722
 Sent from the Maven - Users forum at Nabble.com.


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




Where can I find list of properties?

2006-04-11 Thread dileeph

Hi,
Going through the Maven2 docs, I came across several properties like
${user.home}, ${pom.name} etc.
Where can I find a list of all the available properties? 

ThanksRegards,
Dileep Hareendran
--
View this message in context: 
http://www.nabble.com/Where-can-I-find-list-of-properties--t1432052.html#a3862582
Sent from the Maven - Users forum at Nabble.com.


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



Missing 2.0.4 release notes

2006-04-11 Thread Howard Lewis Ship
Yes, a 2.0.4 release is now available.  I'm sure there's some
differences between 2.0.3 and 2.0.4 but I can't find any documentation
about what those are.  Why sould I upgrade?

--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

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



RE: Internal (intranet) repositories

2006-04-11 Thread EJ Ciramella
Still - I have:


repositories
repository
idcentral/id
namelocal-repository/name
layoutdefault/layout

urlhttp://build.corp.upromise.com/mavenrepository/url
/repository
repository
idlty-local/id
namelocal-repository/name
urlfile:thirdparty/repository/url
/repository
/repositories


(I tried the reversing the order to no avail)

And I see - 

E:\work\foxboro\modelmvn process-resources -P foxboro,model-base
[INFO] Scanning for projects...
[INFO] 

[INFO] Building LtyModel
[INFO]task-segment: [process-resources]
[INFO] 

Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0/maven-plugin-parent-2.0.pom
 

But I can see this:

http://build.corp.upromise.com/mavenrepository/org/apache/maven/plugins/maven-plugin-parent/2.0/maven-plugin-parent-2.0.pom


What am I doing wrong?

-Original Message-
From: Gunther Popp [mailto:[EMAIL PROTECTED] 
Sent: Saturday, April 08, 2006 7:29 AM
To: Maven Users List
Subject: Re: Internal (intranet) repositories

I´m by far any expert in the Maven source code, but as far as I 
understand the implementation the repos
defined in your pom will be checked first. If your pom contains no repo 
with the id central, the default repos
defined in the Super-POM pom-4.0.0.xml will be searched next. Then all 
repos defined in parent-poms
are considered.

Additionally, the repos are searched in the order you define them in 
your pom.xml.

This should be true for resolving dependencies. I´m not sure, if 
parent-poms and poms in general are resolved
the same way. So maybe this explains the problems described in the other 
mails.

Gunther


 I think there's a basic misunderstanding here... As far as I know it,
 Maven *always* checks Central first. Even if you define another repo
 somewhere else.

 One way people prevent this is by setting up Maven proxy and then
 setting that proxy as a mirror of Central in their settings.xml file.
 Then instead of Central, it checks your proxy for the files, and if
 your proxy doesn't have it, it goes out to Central on its own and
 retrieves them, and then provides them to your Maven process.

 Wayne

 On 4/7/06, EJ Ciramella [EMAIL PROTECTED] wrote:
   
 Yeah, something else is wrong then, I have apache running on another
 machine and I have this:

repositories
repository
idlty-local/id
namelocal-repository/name

 urlhttp://build.corp.upromise.com/mavenrepository//url
/repository
/repositories

 And I STILL see it pulling from:

 Downloading:
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-javadoc-plu
 gin/2.0-beta-3/maven-javadoc-plugin-2.0-beta-3.pom
 1K downloaded

 I'm able to view this directory from firefox on a different machine (and
 I tried with out that trailing / and no luck).

 How does this work folks?  Nothing seems to work like the documentation
 says it does (sorry, but this is getting really frustrating).


 -Original Message-
 From: dan tran [mailto:[EMAIL PROTECTED]
 Sent: Friday, April 07, 2006 1:55 PM
 To: Maven Users List
 Subject: Re: Internal (intranet) repositories

 sounds like a bug to me, since I also try to reproduce it and mvn -X
 does
 not give any
 indication that it references the configured repo before falling back to
 to
 the default ones

 Perhaps, you can create a small test case and submit a jira.

 -Dan



 On 4/7/06, EJ Ciramella [EMAIL PROTECTED] wrote:
 
 Yup - and I like the idea, but haven't gotten that far yet.

 I'm still disappointed that the file:/// syntax doesn't work.

 I _just_ finished installing apache 2 and will try with http:// syntax
 now.

 When I'm satisfied with these developments, I'll move on to trying out
 the proxy part of this.



 -Original Message-
 From: Rollo, Dan [mailto:[EMAIL PROTECTED]
 Sent: Friday, April 07, 2006 1:29 PM
 To: EJ Ciramella; Maven Users List
 Subject: RE: Internal (intranet) repositories

 Sorry if this have already been suggested and rejected, but: Have you
 considered using the maven-proxy to cache the ibiblio repo stuff on an
 internal machine?

 Dan

 -Original Message-
 From: EJ Ciramella [mailto:[EMAIL PROTECTED]
 Sent: Friday, April 07, 2006 10:32 AM
 To: Maven Users List
 Subject: RE: Internal (intranet) repositories

 Bummer about the potential for a bug.  I know that the group working
   
 on
 
 maven 2 things have submitted a repository directory in the perforce
 project (kinda exactly the opposite to what this feature in maven is
 supposed to provide).

 But 

Re: Where can I find list of properties?

2006-04-11 Thread Arik Kfir
hi dileeph

Maven makes a special object (of class MavenProject) available in the
context. When you write ${pom.name}, what happens behind the scenes is a
call to theMavenProject.getName() - therefor all the JavaBeans-style
properties of the MavenProject instance (each pom.xml creates one) are
available for you to use.

Maven translates your pom.xml into that MavenProject object - so basically
all the information you enter in your pom.xml (including the default values
you don't specify) are available. For example, if you specified a
description element, you can access it using ${pom.description}!

Therefor the best reference to the available properties would be to simply
look at the source code of that class (see
http://svn.apache.org/viewcvs.cgi/maven/components/branches/maven-2.0.x/maven-project/src/main/java/org/apache/maven/project/MavenProject.java?rev=391163view=markupfor
the latest current version) and look for javabeans-style properties
like
getName() or getDescription()

Hope this helps,
  Arik.

I don't think there's a comprehensive list of properties.

On 4/11/06, dileeph [EMAIL PROTECTED] wrote:


 Hi,
 Going through the Maven2 docs, I came across several properties like
 ${user.home}, ${pom.name} etc.
 Where can I find a list of all the available properties?

 ThanksRegards,
 Dileep Hareendran
 --
 View this message in context:
 http://www.nabble.com/Where-can-I-find-list-of-properties--t1432052.html#a3862582
 Sent from the Maven - Users forum at Nabble.com.


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




Re: Missing 2.0.4 release notes

2006-04-11 Thread Howard Lewis Ship
Found it:

http://mail-archives.apache.org/mod_mbox/maven-announce/200604.mbox/browser

Would it be too hard to include this information on the web site as well?

On 4/11/06, Howard Lewis Ship [EMAIL PROTECTED] wrote:
 Yes, a 2.0.4 release is now available.  I'm sure there's some
 differences between 2.0.3 and 2.0.4 but I can't find any documentation
 about what those are.  Why sould I upgrade?

 --
 Howard M. Lewis Ship
 Independent J2EE / Open-Source Java Consultant
 Creator, Jakarta Tapestry
 Creator, Jakarta HiveMind

 Professional Tapestry training, mentoring, support
 and project work.  http://howardlewisship.com



--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

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



Re: Missing 2.0.4 release notes

2006-04-11 Thread Arik Kfir
Hi Howard,

The 2.0.4 is mainly a bug-fix release - see
http://jira.codehaus.org/secure/ReleaseNote.jspa?version=12527styleName=HtmlprojectId=10500Create=Createfor
a list of the bugs and issues fixed.

HTH,
  Arik.

On 4/11/06, Howard Lewis Ship [EMAIL PROTECTED] wrote:

 Yes, a 2.0.4 release is now available.  I'm sure there's some
 differences between 2.0.3 and 2.0.4 but I can't find any documentation
 about what those are.  Why sould I upgrade?

 --
 Howard M. Lewis Ship
 Independent J2EE / Open-Source Java Consultant
 Creator, Jakarta Tapestry
 Creator, Jakarta HiveMind

 Professional Tapestry training, mentoring, support
 and project work.  http://howardlewisship.com

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




pom file for jaser-runtime and jasper-compiler

2006-04-11 Thread Tom Joad
Hi all,
Could someone upload pom file for /tomcat/jasper-runtime/5.5.15 and
tomcat/jasper-compiler/5.5.15  to central repository.  Mojo plugin
jspc-maven-mlugin
has two artifacts as compile scope dependency and download processing
, and so builld fails without pom files and sha1 or md5 files on the
repository.

Thanks,

Tom.

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



help whit site-deploy

2006-04-11 Thread Chucho
I'm using site-deploy on maven whit continuum and its work fine, but when
I'm do it again and the folder already exits, the site can be deploy, I'll
use clean, but don't clean the deploy site. if a change the POM
distributionManagement
section then it would make the deploy whit out problem, but i want the
deploy overwrites the file or delete the site deploy folder and deploy
again. i have check the permissions on the folder and have write
permissions.

the command its:
clean install site-deploy
and the arguments:
--batch-mode --non-recursive

How can i do to make site-deploy once and again on the same folder?


POM.xml

distributionManagement
site
  idWNserver/id
  urlfile:C:\Inetpub\wwwroot\continuum\prueba2/url
/site
  /distributionManagement


Re: help whit site-deploy

2006-04-11 Thread John Casey
Are you wondering why the deployment target location isn't removed before
re-deploying the site? That operates on the assumption that all the content
in or under that remote location is published by the current project, or
that you will be fine with redeploying all of the content when you do this
site-deploy...which IMO is dangerous.

For example, Maven itself publishes site content to multiple locations, with
the topmost being the main site project. Modules publish their reports, etc.
into subdirectories of the remote location referenced by the site
project...if we removed this top directory, we'd not only lose all of the
reports published by the modules, but all of the historical versions of
these reports too. This is a lot to republish.

Perhaps an optional clean parameter would help, but I'm not sure whether the
underlying APIs currently support it.

HTH,

John

On 4/11/06, Chucho [EMAIL PROTECTED] wrote:

 I'm using site-deploy on maven whit continuum and its work fine, but when
 I'm do it again and the folder already exits, the site can be deploy, I'll
 use clean, but don't clean the deploy site. if a change the POM
 distributionManagement
 section then it would make the deploy whit out problem, but i want the
 deploy overwrites the file or delete the site deploy folder and deploy
 again. i have check the permissions on the folder and have write
 permissions.

 the command its:
 clean install site-deploy
 and the arguments:
 --batch-mode --non-recursive

 How can i do to make site-deploy once and again on the same folder?


 POM.xml

 distributionManagement
 site
   idWNserver/id
   urlfile:C:\Inetpub\wwwroot\continuum\prueba2/url
 /site
   /distributionManagement




Re: help whit site-deploy

2006-04-11 Thread Kenney Westerhof
On Tue, 11 Apr 2006, John Casey wrote:

Another way would be to record what files constituted the last site
deployment. IIRC a 'deploy.zip' is uploaded and then unpacked. A list
of files in that zip could be recorded. Your proposal for a new
clean flag would then take this list into account and only delete
the files for that project. This might be safe enough?

-- Kenney

 Are you wondering why the deployment target location isn't removed before
 re-deploying the site? That operates on the assumption that all the content
 in or under that remote location is published by the current project, or
 that you will be fine with redeploying all of the content when you do this
 site-deploy...which IMO is dangerous.

 For example, Maven itself publishes site content to multiple locations, with
 the topmost being the main site project. Modules publish their reports, etc.
 into subdirectories of the remote location referenced by the site
 project...if we removed this top directory, we'd not only lose all of the
 reports published by the modules, but all of the historical versions of
 these reports too. This is a lot to republish.

 Perhaps an optional clean parameter would help, but I'm not sure whether the
 underlying APIs currently support it.

 HTH,

 John

 On 4/11/06, Chucho [EMAIL PROTECTED] wrote:
 
  I'm using site-deploy on maven whit continuum and its work fine, but when
  I'm do it again and the folder already exits, the site can be deploy, I'll
  use clean, but don't clean the deploy site. if a change the POM
  distributionManagement
  section then it would make the deploy whit out problem, but i want the
  deploy overwrites the file or delete the site deploy folder and deploy
  again. i have check the permissions on the folder and have write
  permissions.
 
  the command its:
  clean install site-deploy
  and the arguments:
  --batch-mode --non-recursive
 
  How can i do to make site-deploy once and again on the same folder?
 
 
  POM.xml
 
  distributionManagement
  site
idWNserver/id
urlfile:C:\Inetpub\wwwroot\continuum\prueba2/url
  /site
/distributionManagement
 
 


--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

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



m2 site and skins info sought

2006-04-11 Thread Mikael Andersson
Hi,
I would like to know how to get started using the updated site plug in and
the skins feature, I have read a couple of posts about it but I can't get it
to work properly ( can't get m2 to find the snapshot verison of the site
plugin).
I tried with todays SVN version of the maven-site-plugin but It didn't
compile :( , thinking I would install the plugin into may local repository
that way.

If someone could post the pom settings to get the snapshot and the
site.xmlsettings to get the skins stuff working, I would be thankful.

Another thing, when I try to deploy my site I get this error:
[ERROR] FATAL ERROR
[INFO]

[INFO] org/apache/maven/wagon/providers/ssh/SshCommandExecutor
[INFO]

[INFO] Trace
java.lang.NoClassDefFoundError:
org/apache/maven/wagon/providers/ssh/SshCommandExecutor
at org.apache.maven.doxia.ScpSiteDeployMojo.execute(
ScpSiteDeployMojo.java:133)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:412)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:534)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(
DefaultLifecycleExecutor.java:488)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:458)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:273)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.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)

I have this in my pom:
distributionManagement
site
idpublic_html/id
urlscp:/homes/mikael/public_html/docs//url
/site
/distributionManagement

and I have username and password setup in settings.xml for that server id.

Thanks,
 Micke


Re: m2 site and skins info sought

2006-04-11 Thread Mikael Andersson
Just deleted the site plugin in my local repository and re-downloaded it and
got a different error message regarding the deploy issue I had, have to
catch a bus now but will have a look later on.



On 11/04/06, Mikael Andersson [EMAIL PROTECTED] wrote:

 Hi,
 I would like to know how to get started using the updated site plug in and
 the skins feature, I have read a couple of posts about it but I can't get it
 to work properly ( can't get m2 to find the snapshot verison of the site
 plugin).
 I tried with todays SVN version of the maven-site-plugin but It didn't
 compile :( , thinking I would install the plugin into may local repository
 that way.

 If someone could post the pom settings to get the snapshot and the
 site.xml settings to get the skins stuff working, I would be thankful.

 Another thing, when I try to deploy my site I get this error:
 [ERROR] FATAL ERROR
 [INFO]
 
 [INFO] org/apache/maven/wagon/providers/ssh/SshCommandExecutor
 [INFO]
 
 [INFO] Trace
 java.lang.NoClassDefFoundError:
 org/apache/maven/wagon/providers/ssh/SshCommandExecutor
 at org.apache.maven.doxia.ScpSiteDeployMojo.execute(
 ScpSiteDeployMojo.java:133)
 at org.apache.maven.plugin.DefaultPluginManager.executeMojo (
 DefaultPluginManager.java:412)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
 DefaultLifecycleExecutor.java:534)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(
 DefaultLifecycleExecutor.java:488)
 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
 (DefaultLifecycleExecutor.java:458)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(
 DefaultLifecycleExecutor.java:306)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
 DefaultLifecycleExecutor.java:273)
 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute (
 DefaultLifecycleExecutor.java:140)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
 at org.apache.maven.cli.MavenCli.main (MavenCli.java:256)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(
 NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke (
 DelegatingMethodAccessorImpl.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)

 I have this in my pom:
 distributionManagement
 site
 idpublic_html/id
 urlscp:/homes/mikael/public_html/docs//url
 /site
 /distributionManagement

 and I have username and password setup in settings.xml for that server id.

 Thanks,
  Micke




RE: Missing 2.0.4 release notes

2006-04-11 Thread Andreas Guther
Thanks for the link!

I was facing the same problem last night when I visited the Maven site
and noticed the new release.  I was hunting for the release notes as
well but I gave up.  

I forgot about the Announcement mailing list and I will subscribe to it
but I agree with Howard that it would be user friendly to have a link to
the release notes on the website, probably in that download box.

Andreas


-Original Message-
From: Howard Lewis Ship [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 11, 2006 7:46 AM
To: Maven Users List
Subject: Re: Missing 2.0.4 release notes

Found it:

http://mail-archives.apache.org/mod_mbox/maven-announce/200604.mbox/brow
ser

Would it be too hard to include this information on the web site as
well?

On 4/11/06, Howard Lewis Ship [EMAIL PROTECTED] wrote:
 Yes, a 2.0.4 release is now available.  I'm sure there's some
 differences between 2.0.3 and 2.0.4 but I can't find any documentation
 about what those are.  Why sould I upgrade?

 --
 Howard M. Lewis Ship
 Independent J2EE / Open-Source Java Consultant
 Creator, Jakarta Tapestry
 Creator, Jakarta HiveMind

 Professional Tapestry training, mentoring, support
 and project work.  http://howardlewisship.com



--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.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: help whit site-deploy

2006-04-11 Thread Chucho
Thanks John, But the problem is that when I'm want to redeploy the site,
cause has changed. I cant because the folder already exist and don't
overwrite it, so I'm having an old-date site publish on my web server.. so
how do i make site-deploy again to get the latest site on my web-server?
automatically whit out doing any administrative work as (move the folder, or
change the POM.xml) cause I'm using continuum and the idea its let it
running the build at night and get the site every day update.

Hope explain better my problem.
And thanks for any help

On 4/11/06, John Casey [EMAIL PROTECTED] wrote:

 Are you wondering why the deployment target location isn't removed before
 re-deploying the site? That operates on the assumption that all the
 content
 in or under that remote location is published by the current project, or
 that you will be fine with redeploying all of the content when you do this
 site-deploy...which IMO is dangerous.

 For example, Maven itself publishes site content to multiple locations,
 with
 the topmost being the main site project. Modules publish their reports,
 etc.
 into subdirectories of the remote location referenced by the site
 project...if we removed this top directory, we'd not only lose all of the
 reports published by the modules, but all of the historical versions of
 these reports too. This is a lot to republish.

 Perhaps an optional clean parameter would help, but I'm not sure whether
 the
 underlying APIs currently support it.

 HTH,

 John

 On 4/11/06, Chucho  [EMAIL PROTECTED] wrote:
 
  I'm using site-deploy on maven whit continuum and its work fine, but
 when
  I'm do it again and the folder already exits, the site can be deploy,
 I'll
  use clean, but don't clean the deploy site. if a change the POM
  distributionManagement
  section then it would make the deploy whit out problem, but i want the
  deploy overwrites the file or delete the site deploy folder and deploy
  again. i have check the permissions on the folder and have write
  permissions.
 
  the command its:
  clean install site-deploy
  and the arguments:
  --batch-mode --non-recursive
 
  How can i do to make site-deploy once and again on the same folder?
 
 
  POM.xml
 
  distributionManagement
  site
idWNserver/id
urlfile:C:\Inetpub\wwwroot\continuum\prueba2/url
  /site
/distributionManagement
 
 




last doxia siterenderer snapshot failed (NoSuchMethodError)

2006-04-11 Thread Olivier Lamy
Hi,
I run mvn -U clean site site:deploy.
Artifact : doxia-site-renderer-1.0-alpha-8-20060411.133534-1.jar
downloaded.
Stack trace says :
pshots-apache
[INFO]

[ERROR] FATAL ERROR
[INFO]

[INFO]
org.apache.maven.doxia.siterenderer.Renderer.render(Ljava/util/Collectio
n;Lorg/apache/maven/d
oxia/siterenderer/SiteRenderingContext;Ljava/io/File;Ljava/lang/String;)
V
[INFO]

[INFO] Trace
java.lang.NoSuchMethodError:
org.apache.maven.doxia.siterenderer.Renderer.render(Ljava/util/Collecti
on;Lorg/apache/maven/doxia/siterenderer/SiteRenderingContext;Ljava/io/Fi
le;Ljava/lang/String;)V
at
org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:121)
at
org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:92)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:412)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor
.java:534)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
ycle(DefaultLifec
ycleExecutor.java:475)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.
java:454)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(Default

Glursp ;-)

- Olivier



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 electronique et tous les fichiers joints ainsi que  les informations 
contenues dans ce message ( ci apres le message ), sont confidentiels et 
destines exclusivement a l'usage de la  personne a laquelle ils sont adresses. 
Si vous avez recu ce message par erreur, merci  de le renvoyer a son emetteur 
et de le detruire. Toutes diffusion, publication, totale ou partielle ou 
divulgation sous quelque forme que se soit non expressement autorisees de ce 
message, sont interdites.
** 


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



RE: Missing 2.0.4 release notes

2006-04-11 Thread Andreas Guther
Oops, it is already there!  Someone was fast!

Andreas


-Original Message-
From: Andreas Guther 
Sent: Tuesday, April 11, 2006 9:22 AM
To: Maven Users List
Subject: RE: Missing 2.0.4 release notes

Thanks for the link!

I was facing the same problem last night when I visited the Maven site
and noticed the new release.  I was hunting for the release notes as
well but I gave up.  

I forgot about the Announcement mailing list and I will subscribe to it
but I agree with Howard that it would be user friendly to have a link to
the release notes on the website, probably in that download box.

Andreas


-Original Message-
From: Howard Lewis Ship [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 11, 2006 7:46 AM
To: Maven Users List
Subject: Re: Missing 2.0.4 release notes

Found it:

http://mail-archives.apache.org/mod_mbox/maven-announce/200604.mbox/brow
ser

Would it be too hard to include this information on the web site as
well?

On 4/11/06, Howard Lewis Ship [EMAIL PROTECTED] wrote:
 Yes, a 2.0.4 release is now available.  I'm sure there's some
 differences between 2.0.3 and 2.0.4 but I can't find any documentation
 about what those are.  Why sould I upgrade?

 --
 Howard M. Lewis Ship
 Independent J2EE / Open-Source Java Consultant
 Creator, Jakarta Tapestry
 Creator, Jakarta HiveMind

 Professional Tapestry training, mentoring, support
 and project work.  http://howardlewisship.com



--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

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



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



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



Re: Missing 2.0.4 release notes

2006-04-11 Thread John Casey
I've modified http://maven.apache.org/release-notes.html to reflect all
releases.

Good point Howard.

Enjoy,

John

On 4/11/06, Arik Kfir [EMAIL PROTECTED] wrote:

 Hi Howard,

 The 2.0.4 is mainly a bug-fix release - see

 http://jira.codehaus.org/secure/ReleaseNote.jspa?version=12527styleName=HtmlprojectId=10500Create=Createfor
 a list of the bugs and issues fixed.

 HTH,
   Arik.

 On 4/11/06, Howard Lewis Ship [EMAIL PROTECTED] wrote:
 
  Yes, a 2.0.4 release is now available.  I'm sure there's some
  differences between 2.0.3 and 2.0.4 but I can't find any documentation
  about what those are.  Why sould I upgrade?
 
  --
  Howard M. Lewis Ship
  Independent J2EE / Open-Source Java Consultant
  Creator, Jakarta Tapestry
  Creator, Jakarta HiveMind
 
  Professional Tapestry training, mentoring, support
  and project work.  http://howardlewisship.com
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 



Re: help whit site-deploy

2006-04-11 Thread John Casey
That would probably work pretty well, but I was just talking about a flag
you could set in the plugin config to say it's OK to blow away that
directory before deploying or else something like a site:remote-clean that
could be bound to the phase ahead of site-deploy.

-j

On 4/11/06, Kenney Westerhof [EMAIL PROTECTED] wrote:

 On Tue, 11 Apr 2006, John Casey wrote:

 Another way would be to record what files constituted the last site
 deployment. IIRC a 'deploy.zip' is uploaded and then unpacked. A list
 of files in that zip could be recorded. Your proposal for a new
 clean flag would then take this list into account and only delete
 the files for that project. This might be safe enough?

 -- Kenney

  Are you wondering why the deployment target location isn't removed
 before
  re-deploying the site? That operates on the assumption that all the
 content
  in or under that remote location is published by the current project, or
  that you will be fine with redeploying all of the content when you do
 this
  site-deploy...which IMO is dangerous.
 
  For example, Maven itself publishes site content to multiple locations,
 with
  the topmost being the main site project. Modules publish their reports,
 etc.
  into subdirectories of the remote location referenced by the site
  project...if we removed this top directory, we'd not only lose all of
 the
  reports published by the modules, but all of the historical versions of
  these reports too. This is a lot to republish.
 
  Perhaps an optional clean parameter would help, but I'm not sure whether
 the
  underlying APIs currently support it.
 
  HTH,
 
  John
 
  On 4/11/06, Chucho [EMAIL PROTECTED] wrote:
  
   I'm using site-deploy on maven whit continuum and its work fine, but
 when
   I'm do it again and the folder already exits, the site can be deploy,
 I'll
   use clean, but don't clean the deploy site. if a change the POM
   distributionManagement
   section then it would make the deploy whit out problem, but i want the
   deploy overwrites the file or delete the site deploy folder and deploy
   again. i have check the permissions on the folder and have write
   permissions.
  
   the command its:
   clean install site-deploy
   and the arguments:
   --batch-mode --non-recursive
  
   How can i do to make site-deploy once and again on the same folder?
  
  
   POM.xml
  
   distributionManagement
   site
 idWNserver/id
 urlfile:C:\Inetpub\wwwroot\continuum\prueba2/url
   /site
 /distributionManagement
  
  
 

 --
 Kenney Westerhof
 http://www.neonics.com
 GPG public key: http://www.gods.nl/~forge/kenneyw.key

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




Re: Multimodule import with StarTeam SCM fails

2006-04-11 Thread dan tran
I never try to import maven2 project  with multiple module  using
continuum's maven2 type.

However I have a huge sussess import it as shell project.

Also, since you already define you username and password in settings.xml and
it is the correct way to do,
you need to remove the username out of you connectionUrls in your pom.

-Dan



On 4/11/06, Peschier J. (Jeroen) [EMAIL PROTECTED] wrote:

 I am experiencing problems with importing a multimodule POM into
 Continuum. Our project layout is as below:

 Framework
 + ProjectA
 + ProjectB

 Relevant parts of the framework.pom:

 version0.1/version
 modules
 moduleProjectA/module
 moduleProjectB/module
 /modules
 ciManagement
   systemcontinuum/system
   urlhttp://localhost:8080/continuum/url
   notifiers
 notifier
   typemail/type
   sendOnErrortrue/sendOnError
   sendOnFailuretrue/sendOnFailure
   sendOnSuccesstrue/sendOnSuccess
   sendOnWarningtrue/sendOnWarning
   configuration
 address[EMAIL PROTECTED]/address
   /configuration
 /notifier
   /notifiers
 /ciManagement
 scm

 connectionscm:starteam:[EMAIL PROTECTED]:49201:/LogiX/LogiX/connecti
 on

 developerConnectionscm:starteam:[EMAIL PROTECTED]:49201:/LogiX/LogiX
 /developerConnection
 /scm

 I have the StarTeam username and password defined in settings.xml. The
 SCM configuration works for my local build. Continuum is running under
 the same credentials as myself, so I assume Continuum will use my
 current Maven 2 configuration.

 The POM URL begin submitted to Continuum is:
 file:///C:/Documents%20and%20Settings/sjaak/.m2/repository/com/company/f
 ramework/0.1/framework-0.1.pom

 Upon submitting, Continuum reports the following error:

* Could not download
 file:/C:/Documents%20and%20Settings/sjaak/.m2/repository/com/company/fra
 mework/0.1/framework/ProjectA/pom.xml: C:\Documents and
 Settings\sjaak\.m2\repository\com\company\framework\0.1\framework\Projec
 tA\pom.xml (Het systeem kan het opgegeven pad niet vinden)

 Check the logs for more details.

* Could not download
 file:/C:/Documents%20and%20Settings/sjaak/.m2/repository/com/company/fra
 mework/0.1/framework/ProjectB/pom.xml: C:\Documents and
 Settings\sjaak\.m2\repository\com\company\framework\0.1\framework\Projec
 tB\pom.xml (Het systeem kan het opgegeven pad niet vinden)

 Check the logs for more details.


 From the error messages it appears Continuum is attempting to locate the
 module POMs relative to the location of the framework POM. Is that the
 intended behaviour? I learned from the documentation that if modules are
 listed in the POM they will be checked out. Instead of performing a
 checkout it appears to traverse the repository looking for the module
 POMs. What is missing here?




Perform build based on certain CVS tag

2006-04-11 Thread Christian Sauer
Hi,

is it possible to let maven build against a certain
CVS tag using SCM?

Thanks for any advice :o)

Cheers,
Chris


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



Re: Perform build based on certain CVS tag

2006-04-11 Thread dan tran
check out scm:bootstrap

scm:bootstrap -DconnectionUrl=xxx-Dtag=yyy -Dgoals=install ( i think)

-D


On 4/11/06, Christian Sauer [EMAIL PROTECTED] wrote:

 Hi,

 is it possible to let maven build against a certain
 CVS tag using SCM?

 Thanks for any advice :o)

 Cheers,
 Chris


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




Ear file and classpath entry in Manifest file ...

2006-04-11 Thread Christian Sauer
Hi,

i've built an ear file and wondered why the manifest file
did not contain the classpath entry ...

Does anyone know how I can get Maven to generate that entry?

Cheers,
Chris
-- 
Giniality AG - Christian Sauer; Steinenberg 21, CH-4051 Basel
P: +41 61 226 99 66 - F: +41 61 226 99 69 - M: +41 79 828 9416;
E-Mail: [EMAIL PROTECTED]; WWW: http://www.giniality.com 


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



Re: help whit site-deploy

2006-04-11 Thread Chucho
Exactly! but how i do it? its my problem. I don't get it. I don't see that
flag. I have been trying using this arguments

-Dmaven.site.deploy.clean=true
-Dmaven.site.publish.clean=true

But it doesn't work.

How to?

Thanks

On 4/11/06, John Casey [EMAIL PROTECTED] wrote:

 That would probably work pretty well, but I was just talking about a flag
 you could set in the plugin config to say it's OK to blow away that
 directory before deploying or else something like a site:remote-clean
 that
 could be bound to the phase ahead of site-deploy.

 -j

 On 4/11/06, Kenney Westerhof [EMAIL PROTECTED] wrote:
 
  On Tue, 11 Apr 2006, John Casey wrote:
 
  Another way would be to record what files constituted the last site
  deployment. IIRC a 'deploy.zip' is uploaded and then unpacked. A
 list
  of files in that zip could be recorded. Your proposal for a new
  clean flag would then take this list into account and only delete
  the files for that project. This might be safe enough?
 
  -- Kenney
 
   Are you wondering why the deployment target location isn't removed
  before
   re-deploying the site? That operates on the assumption that all the
  content
   in or under that remote location is published by the current project,
 or
   that you will be fine with redeploying all of the content when you do
  this
   site-deploy...which IMO is dangerous.
  
   For example, Maven itself publishes site content to multiple
 locations,
  with
   the topmost being the main site project. Modules publish their
 reports,
  etc.
   into subdirectories of the remote location referenced by the site
   project...if we removed this top directory, we'd not only lose all of
  the
   reports published by the modules, but all of the historical versions
 of
   these reports too. This is a lot to republish.
  
   Perhaps an optional clean parameter would help, but I'm not sure
 whether
  the
   underlying APIs currently support it.
  
   HTH,
  
   John
  
   On 4/11/06, Chucho [EMAIL PROTECTED] wrote:
   
I'm using site-deploy on maven whit continuum and its work fine, but
  when
I'm do it again and the folder already exits, the site can be
 deploy,
  I'll
use clean, but don't clean the deploy site. if a change the POM
distributionManagement
section then it would make the deploy whit out problem, but i want
 the
deploy overwrites the file or delete the site deploy folder and
 deploy
again. i have check the permissions on the folder and have write
permissions.
   
the command its:
clean install site-deploy
and the arguments:
--batch-mode --non-recursive
   
How can i do to make site-deploy once and again on the same folder?
   
   
POM.xml
   
distributionManagement
site
  idWNserver/id
  urlfile:C:\Inetpub\wwwroot\continuum\prueba2/url
/site
  /distributionManagement
   
   
  
 
  --
  Kenney Westerhof
  http://www.neonics.com
  GPG public key: http://www.gods.nl/~forge/kenneyw.key
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 




Maven and CVS branches ...

2006-04-11 Thread Christian Sauer
Hi,

has someone experience in working with maven and CVS branches?
Is it possible at all to perform builds against branches?

Cheers,
Chris


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



Re: Ear file and classpath entry in Manifest file ...

2006-04-11 Thread Kenney Westerhof
On Tue, 11 Apr 2006, Christian Sauer wrote:

 Hi,

 i've built an ear file and wondered why the manifest file
 did not contain the classpath entry ...

Because you don't need one.


 Does anyone know how I can get Maven to generate that entry?

If you must have one, for instance to support a J2EE implementation that
does not conform to the standards, use this:

plugin
  artifactIdmaven-ear-plugin/artifactId
  configuration
archive
  manifest
addClasspathtrue/addClasspath
  /manifest
/archive
  /configuration
/plugin

-- Kenney


 Cheers,
 Chris
 --
 Giniality AG - Christian Sauer; Steinenberg 21, CH-4051 Basel
 P: +41 61 226 99 66 - F: +41 61 226 99 69 - M: +41 79 828 9416;
 E-Mail: [EMAIL PROTECTED]; WWW: http://www.giniality.com


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


--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

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



Re: Ear file and classpath entry in Manifest file ...

2006-04-11 Thread Wayne Fay
Try this:
build
  plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-ear-plugin/artifactId
configuration
  archive
manifest
  addClasspathtrue/addClasspath
/manifest
  /archive
/configuration
  /plugin


Wayne

On 4/11/06, Christian Sauer [EMAIL PROTECTED] wrote:
 Hi,

 i've built an ear file and wondered why the manifest file
 did not contain the classpath entry ...

 Does anyone know how I can get Maven to generate that entry?

 Cheers,
 Chris
 --
 Giniality AG - Christian Sauer; Steinenberg 21, CH-4051 Basel
 P: +41 61 226 99 66 - F: +41 61 226 99 69 - M: +41 79 828 9416;
 E-Mail: [EMAIL PROTECTED]; WWW: http://www.giniality.com


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




Re: Maven and CVS branches ...

2006-04-11 Thread dan tran
you can checkout cvs branch using scm:checkout and pass in
-Dbranch=branchName

-D


On 4/11/06, Christian Sauer [EMAIL PROTECTED] wrote:

 Hi,

 has someone experience in working with maven and CVS branches?
 Is it possible at all to perform builds against branches?

 Cheers,
 Chris


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




RE: Internal (intranet) repositories

2006-04-11 Thread Rollo, Dan
 Have you tried adding plugin repos to your pom?

Like:

pluginRepositories
pluginRepository
idcentral/id
namelocal-repository/name
layoutdefault/layout

urlhttp://build.corp.upromise.com/mavenrepository/url 
/pluginRepository
...
/pluginRepositories


Dan

-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 11, 2006 10:42 AM
To: Maven Users List
Subject: RE: Internal (intranet) repositories

Still - I have:


repositories
repository
idcentral/id
namelocal-repository/name
layoutdefault/layout

urlhttp://build.corp.upromise.com/mavenrepository/url
/repository
repository
idlty-local/id
namelocal-repository/name
urlfile:thirdparty/repository/url
/repository
/repositories


(I tried the reversing the order to no avail)

And I see - 

E:\work\foxboro\modelmvn process-resources -P foxboro,model-base [INFO] 
Scanning for projects...
[INFO] 

[INFO] Building LtyModel
[INFO]task-segment: [process-resources]
[INFO] 

Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0/maven-plugin-parent-2.0.pom
 

But I can see this:

http://build.corp.upromise.com/mavenrepository/org/apache/maven/plugins/maven-plugin-parent/2.0/maven-plugin-parent-2.0.pom


What am I doing wrong?

-Original Message-
From: Gunther Popp [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 08, 2006 7:29 AM
To: Maven Users List
Subject: Re: Internal (intranet) repositories

I´m by far any expert in the Maven source code, but as far as I understand the 
implementation the repos defined in your pom will be checked first. If your pom 
contains no repo with the id central, the default repos defined in the 
Super-POM pom-4.0.0.xml will be searched next. Then all repos defined in 
parent-poms are considered.

Additionally, the repos are searched in the order you define them in your 
pom.xml.

This should be true for resolving dependencies. I´m not sure, if parent-poms 
and poms in general are resolved the same way. So maybe this explains the 
problems described in the other mails.

Gunther


 I think there's a basic misunderstanding here... As far as I know it, 
 Maven *always* checks Central first. Even if you define another repo 
 somewhere else.

 One way people prevent this is by setting up Maven proxy and then 
 setting that proxy as a mirror of Central in their settings.xml file.
 Then instead of Central, it checks your proxy for the files, and if 
 your proxy doesn't have it, it goes out to Central on its own and 
 retrieves them, and then provides them to your Maven process.

 Wayne

 On 4/7/06, EJ Ciramella [EMAIL PROTECTED] wrote:
   
 Yeah, something else is wrong then, I have apache running on another 
 machine and I have this:

repositories
repository
idlty-local/id
namelocal-repository/name

 urlhttp://build.corp.upromise.com/mavenrepository//url
/repository
/repositories

 And I STILL see it pulling from:

 Downloading:
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-javadoc-
 plu gin/2.0-beta-3/maven-javadoc-plugin-2.0-beta-3.pom
 1K downloaded

 I'm able to view this directory from firefox on a different machine 
 (and I tried with out that trailing / and no luck).

 How does this work folks?  Nothing seems to work like the 
 documentation says it does (sorry, but this is getting really frustrating).


 -Original Message-
 From: dan tran [mailto:[EMAIL PROTECTED]
 Sent: Friday, April 07, 2006 1:55 PM
 To: Maven Users List
 Subject: Re: Internal (intranet) repositories

 sounds like a bug to me, since I also try to reproduce it and mvn -X 
 does not give any indication that it references the configured repo 
 before falling back to to the default ones

 Perhaps, you can create a small test case and submit a jira.

 -Dan



 On 4/7/06, EJ Ciramella [EMAIL PROTECTED] wrote:
 
 Yup - and I like the idea, but haven't gotten that far yet.

 I'm still disappointed that the file:/// syntax doesn't work.

 I _just_ finished installing apache 2 and will try with http:// 
 syntax now.

 When I'm satisfied with these developments, I'll move on to trying 
 out the proxy part of this.



 -Original Message-
 From: Rollo, Dan [mailto:[EMAIL PROTECTED]
 Sent: Friday, April 07, 2006 1:29 PM
 To: EJ Ciramella; Maven Users List
 Subject: RE: Internal (intranet) repositories

 Sorry if this have already been suggested 

RE: Internal (intranet) repositories

2006-04-11 Thread justin_fung
I define the following :

profile
  idjustin-local/id
repositories
 repository
idlocal/id
nameJustin's Local Repository/name
urlfile:///T:/maven/repository//url
layoutdefault/layout 
 /repository
 repository
idlocal-snapshot/id
nameJustin's Local SnapshotRepository/name
urlfile:///T:/maven-snapshot/repository//url
layoutdefault/layout 
 /repository 
  /repositories
/profile

 activeProfiles
   activeProfilejustin-local/activeProfile
 /activeProfiles

When I run anything, it ALWAYS checks the T:/ repository first before 
going out to central. Hope that helps!!!

-j

---
Justin Fung
[EMAIL PROTECTED]
Sr. Analyst, Business Systems
IT Banking Systems, e-Business
HSBC Bank Canada
http://www.hsbc.ca
p: (604) 643-6605
f: (604) 643-6727 
*** 
This email may contain confidential information, and is intended only for 
the named recipient and may be privileged.  Distribution or copying of 
this email by anyone other than the named recipient is prohibited. If you 
are not the named recipient, please notify us immediately and permanently 
destroy this email and all copies of it.  Internet email is not private, 
secure, or reliable.  No member of the HSBC Group is liable for any errors 
or omissions in the content or transmission of this email. Any opinions 
contained in this email are solely those of the author and, unless clearly 
indicated otherwise in writing, are not endorsed by any member of the HSBC 
Group. 
*** 
Ce courriel peut renfermer des renseignements confidentiels et privilégiés 
et s'adresse au destinataire désigné seulement.   La distribution ou la 
copie de ce courriel par toute personne autre que le destinataire désigné 
est interdite.  Si vous n'êtes pas le destinataire désigné, veuillez nous 
en aviser immédiatement et détruire de façon permanente ce courriel ainsi 
que toute copie de celui-ci. La transmission de courriel par Internet ne 
constitue pas un mode de transmission confidentiel, sécuritaire ou fiable. 
 Aucun membre du Groupe HSBC ne sera responsable des erreurs ou des 
omissions relatives au contenu ou à la transmission de ce courriel. 
L'auteur de ce courriel est seul responsable des opinions émises dans ce 
courriel, lesquelles, à moins  d'un avis contraire fourni par écrit, ne 
sont pas endossées par aucun membre du Groupe HSBC. 
*** 


Re: pom file for jaser-runtime and jasper-compiler

2006-04-11 Thread Wayne Fay
This issue has been documented in JIRA. Grzegorz S. has even created a
new Maven Upload JIRA issue:
http://jira.codehaus.org/browse/MAVENUPLOAD-789

It just hasn't been dealt with as yet.

Wayne

On 4/11/06, Tom Joad [EMAIL PROTECTED] wrote:
 Hi all,
 Could someone upload pom file for /tomcat/jasper-runtime/5.5.15 and
 tomcat/jasper-compiler/5.5.15  to central repository.  Mojo plugin
 jspc-maven-mlugin
 has two artifacts as compile scope dependency and download processing
 , and so builld fails without pom files and sha1 or md5 files on the
 repository.

 Thanks,

 Tom.

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




RE: Maven and CVS branches ...

2006-04-11 Thread Christian Sauer
hmmm ...

is it also possible to define this in the scm section of a pom?
so that no further manual interaction is required?

cheers,
chris

-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 11. April 2006 18:41
To: Maven Users List; [EMAIL PROTECTED]
Subject: Re: Maven and CVS branches ...


you can checkout cvs branch using scm:checkout and pass
in -Dbranch=branchName

-D


On 4/11/06, Christian Sauer [EMAIL PROTECTED] wrote:
Hi,

has someone experience in working with maven and CVS branches?
Is it possible at all to perform builds against branches?

Cheers,
Chris


-
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: pom file for jaser-runtime and jasper-compiler

2006-04-11 Thread Tom Joad
Thank you very much Wayne.
A question about jspc plugin .Do you use javaEncoding option for
plugin configuration and does it work ? I put UTF-8 , utf-8 , utf8
UTF8 , I get same results. french character like à ô
are never well-displayed.

Tom.

2006/4/11, Wayne Fay [EMAIL PROTECTED]:
 This issue has been documented in JIRA. Grzegorz S. has even created a
 new Maven Upload JIRA issue:
 http://jira.codehaus.org/browse/MAVENUPLOAD-789

 It just hasn't been dealt with as yet.

 Wayne

 On 4/11/06, Tom Joad [EMAIL PROTECTED] wrote:
  Hi all,
  Could someone upload pom file for /tomcat/jasper-runtime/5.5.15 and
  tomcat/jasper-compiler/5.5.15  to central repository.  Mojo plugin
  jspc-maven-mlugin
  has two artifacts as compile scope dependency and download processing
  , and so builld fails without pom files and sha1 or md5 files on the
  repository.
 
  Thanks,
 
  Tom.
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 

are a

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



Re: Maven and CVS branches ...

2006-04-11 Thread dan tran
No possible in the pom,

however you can use continuum to drive this, and therefore
no further manual interfaction is required ;-)

-D



On 4/11/06, Christian Sauer [EMAIL PROTECTED] wrote:

 hmmm ...

 is it also possible to define this in the scm section of a pom?
 so that no further manual interaction is required?

 cheers,
 chris

 -Original Message-
 From: dan tran [mailto:[EMAIL PROTECTED]
 Sent: Dienstag, 11. April 2006 18:41
 To: Maven Users List; [EMAIL PROTECTED]
 Subject: Re: Maven and CVS branches ...


 you can checkout cvs branch using scm:checkout and pass
 in -Dbranch=branchName

 -D


 On 4/11/06, Christian Sauer [EMAIL PROTECTED] wrote:
 Hi,

 has someone experience in working with maven and CVS branches?
 Is it possible at all to perform builds against branches?

 Cheers,
 Chris


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





RE: Internal (intranet) repositories

2006-04-11 Thread EJ Ciramella
What's the difference between repository (like I had defined) and 
pluginrepository? 

-Original Message-
From: Rollo, Dan [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 11, 2006 12:43 PM
To: EJ Ciramella; Maven Users List
Subject: RE: Internal (intranet) repositories

 Have you tried adding plugin repos to your pom?

Like:

pluginRepositories
pluginRepository
idcentral/id
namelocal-repository/name
layoutdefault/layout

urlhttp://build.corp.upromise.com/mavenrepository/url 
/pluginRepository
...
/pluginRepositories


Dan

-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 11, 2006 10:42 AM
To: Maven Users List
Subject: RE: Internal (intranet) repositories

Still - I have:


repositories
repository
idcentral/id
namelocal-repository/name
layoutdefault/layout

urlhttp://build.corp.upromise.com/mavenrepository/url
/repository
repository
idlty-local/id
namelocal-repository/name
urlfile:thirdparty/repository/url
/repository
/repositories


(I tried the reversing the order to no avail)

And I see - 

E:\work\foxboro\modelmvn process-resources -P foxboro,model-base [INFO] 
Scanning for projects...
[INFO] 

[INFO] Building LtyModel
[INFO]task-segment: [process-resources]
[INFO] 

Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0/maven-plugin-parent-2.0.pom
 

But I can see this:

http://build.corp.upromise.com/mavenrepository/org/apache/maven/plugins/maven-plugin-parent/2.0/maven-plugin-parent-2.0.pom


What am I doing wrong?

-Original Message-
From: Gunther Popp [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 08, 2006 7:29 AM
To: Maven Users List
Subject: Re: Internal (intranet) repositories

I´m by far any expert in the Maven source code, but as far as I understand the 
implementation the repos defined in your pom will be checked first. If your pom 
contains no repo with the id central, the default repos defined in the 
Super-POM pom-4.0.0.xml will be searched next. Then all repos defined in 
parent-poms are considered.

Additionally, the repos are searched in the order you define them in your 
pom.xml.

This should be true for resolving dependencies. I´m not sure, if parent-poms 
and poms in general are resolved the same way. So maybe this explains the 
problems described in the other mails.

Gunther


 I think there's a basic misunderstanding here... As far as I know it, 
 Maven *always* checks Central first. Even if you define another repo 
 somewhere else.

 One way people prevent this is by setting up Maven proxy and then 
 setting that proxy as a mirror of Central in their settings.xml file.
 Then instead of Central, it checks your proxy for the files, and if 
 your proxy doesn't have it, it goes out to Central on its own and 
 retrieves them, and then provides them to your Maven process.

 Wayne

 On 4/7/06, EJ Ciramella [EMAIL PROTECTED] wrote:
   
 Yeah, something else is wrong then, I have apache running on another 
 machine and I have this:

repositories
repository
idlty-local/id
namelocal-repository/name

 urlhttp://build.corp.upromise.com/mavenrepository//url
/repository
/repositories

 And I STILL see it pulling from:

 Downloading:
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-javadoc-
 plu gin/2.0-beta-3/maven-javadoc-plugin-2.0-beta-3.pom
 1K downloaded

 I'm able to view this directory from firefox on a different machine 
 (and I tried with out that trailing / and no luck).

 How does this work folks?  Nothing seems to work like the 
 documentation says it does (sorry, but this is getting really frustrating).


 -Original Message-
 From: dan tran [mailto:[EMAIL PROTECTED]
 Sent: Friday, April 07, 2006 1:55 PM
 To: Maven Users List
 Subject: Re: Internal (intranet) repositories

 sounds like a bug to me, since I also try to reproduce it and mvn -X 
 does not give any indication that it references the configured repo 
 before falling back to to the default ones

 Perhaps, you can create a small test case and submit a jira.

 -Dan



 On 4/7/06, EJ Ciramella [EMAIL PROTECTED] wrote:
 
 Yup - and I like the idea, but haven't gotten that far yet.

 I'm still disappointed that the file:/// syntax doesn't work.

 I _just_ finished installing apache 2 and will try with http:// 
 syntax now.

 When I'm satisfied with these developments, I'll move on 

Re: pom file for jaser-runtime and jasper-compiler

2006-04-11 Thread Wayne Fay
Here's my JSPC plugin configuration, and no, I don't use the
javaEncoding option.

  plugin
groupIdorg.codehaus.mojo/groupId
artifactIdjspc-maven-plugin/artifactId
configuration
  inputWebXml${basedir}/src/main/webapp/WEB-INF/web.xml/inputWebXml
  outputWebXml${project.build.directory}/jspweb.xml/outputWebXml
  injectString![CDATA[!-- [INSERT FRAGMENT HERE]
--]]/injectString
  packageName_pages/packageName
  verbosetrue/verbose
  showSuccesstrue/showSuccess
  listErrorstrue/listErrors
/configuration
executions
  execution
idjspc/id
goals
  goalcompile/goal
/goals
  /execution
/executions
dependencies
  dependency
groupIdjavax.servlet/groupId
artifactIdjstl/artifactId
version1.1.2/version
  /dependency
  dependency
groupIdtomcat/groupId
artifactIdjasper-compiler/artifactId
version5.5.12/version
  /dependency
  dependency
groupIdjavax.servlet/groupId
artifactIdservlet-api/artifactId
version2.4/version
scopeprovided/scope
  /dependency
/dependencies
  /plugin

Wayne

On 4/11/06, Tom Joad [EMAIL PROTECTED] wrote:
 Thank you very much Wayne.
 A question about jspc plugin .Do you use javaEncoding option for
 plugin configuration and does it work ? I put UTF-8 , utf-8 , utf8
 UTF8 , I get same results. french character like à ô
 are never well-displayed.

 Tom.

 2006/4/11, Wayne Fay [EMAIL PROTECTED]:
  This issue has been documented in JIRA. Grzegorz S. has even created a
  new Maven Upload JIRA issue:
  http://jira.codehaus.org/browse/MAVENUPLOAD-789
 
  It just hasn't been dealt with as yet.
 
  Wayne
 
  On 4/11/06, Tom Joad [EMAIL PROTECTED] wrote:
   Hi all,
   Could someone upload pom file for /tomcat/jasper-runtime/5.5.15 and
   tomcat/jasper-compiler/5.5.15  to central repository.  Mojo plugin
   jspc-maven-mlugin
   has two artifacts as compile scope dependency and download processing
   , and so builld fails without pom files and sha1 or md5 files on the
   repository.
  
   Thanks,
  
   Tom.
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 are a

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




RE: Internal (intranet) repositories

2006-04-11 Thread EJ Ciramella
[ERROR] BUILD ERROR
[INFO] 
[INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not 
exist or no valid version could be found


Is there any expert in the realm of repositories?  This is getting 
frustrating...  

-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 11, 2006 12:59 PM
To: Rollo, Dan; Maven Users List
Subject: RE: Internal (intranet) repositories

What's the difference between repository (like I had defined) and 
pluginrepository? 

-Original Message-
From: Rollo, Dan [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 11, 2006 12:43 PM
To: EJ Ciramella; Maven Users List
Subject: RE: Internal (intranet) repositories

 Have you tried adding plugin repos to your pom?

Like:

pluginRepositories
pluginRepository
idcentral/id
namelocal-repository/name
layoutdefault/layout

urlhttp://build.corp.upromise.com/mavenrepository/url 
/pluginRepository
...
/pluginRepositories


Dan

-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 11, 2006 10:42 AM
To: Maven Users List
Subject: RE: Internal (intranet) repositories

Still - I have:


repositories
repository
idcentral/id
namelocal-repository/name
layoutdefault/layout

urlhttp://build.corp.upromise.com/mavenrepository/url
/repository
repository
idlty-local/id
namelocal-repository/name
urlfile:thirdparty/repository/url
/repository
/repositories


(I tried the reversing the order to no avail)

And I see - 

E:\work\foxboro\modelmvn process-resources -P foxboro,model-base [INFO] 
Scanning for projects...
[INFO] 

[INFO] Building LtyModel
[INFO]task-segment: [process-resources]
[INFO] 

Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0/maven-plugin-parent-2.0.pom
 

But I can see this:

http://build.corp.upromise.com/mavenrepository/org/apache/maven/plugins/maven-plugin-parent/2.0/maven-plugin-parent-2.0.pom


What am I doing wrong?

-Original Message-
From: Gunther Popp [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 08, 2006 7:29 AM
To: Maven Users List
Subject: Re: Internal (intranet) repositories

I´m by far any expert in the Maven source code, but as far as I understand the 
implementation the repos defined in your pom will be checked first. If your pom 
contains no repo with the id central, the default repos defined in the 
Super-POM pom-4.0.0.xml will be searched next. Then all repos defined in 
parent-poms are considered.

Additionally, the repos are searched in the order you define them in your 
pom.xml.

This should be true for resolving dependencies. I´m not sure, if parent-poms 
and poms in general are resolved the same way. So maybe this explains the 
problems described in the other mails.

Gunther


 I think there's a basic misunderstanding here... As far as I know it, 
 Maven *always* checks Central first. Even if you define another repo 
 somewhere else.

 One way people prevent this is by setting up Maven proxy and then 
 setting that proxy as a mirror of Central in their settings.xml file.
 Then instead of Central, it checks your proxy for the files, and if 
 your proxy doesn't have it, it goes out to Central on its own and 
 retrieves them, and then provides them to your Maven process.

 Wayne

 On 4/7/06, EJ Ciramella [EMAIL PROTECTED] wrote:
   
 Yeah, something else is wrong then, I have apache running on another 
 machine and I have this:

repositories
repository
idlty-local/id
namelocal-repository/name

 urlhttp://build.corp.upromise.com/mavenrepository//url
/repository
/repositories

 And I STILL see it pulling from:

 Downloading:
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-javadoc-
 plu gin/2.0-beta-3/maven-javadoc-plugin-2.0-beta-3.pom
 1K downloaded

 I'm able to view this directory from firefox on a different machine 
 (and I tried with out that trailing / and no luck).

 How does this work folks?  Nothing seems to work like the 
 documentation says it does (sorry, but this is getting really frustrating).


 -Original Message-
 From: dan tran [mailto:[EMAIL PROTECTED]
 Sent: Friday, April 07, 2006 1:55 PM
 To: Maven Users List
 Subject: Re: Internal (intranet) repositories

 sounds like a bug to me, since I also try to reproduce it and mvn -X 
 does 

Re: Multimodule import with StarTeam SCM fails

2006-04-11 Thread Emmanuel Venisse
You can't add multimodule projects from your local repository because continuum can't download 
sub-projects. If you want to add them in continuum with file protocol, you should use parent pom 
from your local copy.


Emmanuel

Peschier J. (Jeroen) a écrit :

I am experiencing problems with importing a multimodule POM into
Continuum. Our project layout is as below:

Framework
+ ProjectA
+ ProjectB

Relevant parts of the framework.pom:

version0.1/version
modules
  moduleProjectA/module
  moduleProjectB/module
/modules
ciManagement
   systemcontinuum/system
   urlhttp://localhost:8080/continuum/url
   notifiers
 notifier
   typemail/type
   sendOnErrortrue/sendOnError
   sendOnFailuretrue/sendOnFailure
   sendOnSuccesstrue/sendOnSuccess
   sendOnWarningtrue/sendOnWarning
   configuration
 address[EMAIL PROTECTED]/address
   /configuration
 /notifier
   /notifiers
/ciManagement
scm
 
connectionscm:starteam:[EMAIL PROTECTED]:49201:/LogiX/LogiX/connecti

on
 
developerConnectionscm:starteam:[EMAIL PROTECTED]:49201:/LogiX/LogiX

/developerConnection
/scm

I have the StarTeam username and password defined in settings.xml. The
SCM configuration works for my local build. Continuum is running under
the same credentials as myself, so I assume Continuum will use my
current Maven 2 configuration.

The POM URL begin submitted to Continuum is:
file:///C:/Documents%20and%20Settings/sjaak/.m2/repository/com/company/f
ramework/0.1/framework-0.1.pom

Upon submitting, Continuum reports the following error:

* Could not download
file:/C:/Documents%20and%20Settings/sjaak/.m2/repository/com/company/fra
mework/0.1/framework/ProjectA/pom.xml: C:\Documents and
Settings\sjaak\.m2\repository\com\company\framework\0.1\framework\Projec
tA\pom.xml (Het systeem kan het opgegeven pad niet vinden)

Check the logs for more details.

* Could not download
file:/C:/Documents%20and%20Settings/sjaak/.m2/repository/com/company/fra
mework/0.1/framework/ProjectB/pom.xml: C:\Documents and
Settings\sjaak\.m2\repository\com\company\framework\0.1\framework\Projec
tB\pom.xml (Het systeem kan het opgegeven pad niet vinden)

Check the logs for more details.



From the error messages it appears Continuum is attempting to locate the

module POMs relative to the location of the framework POM. Is that the
intended behaviour? I learned from the documentation that if modules are
listed in the POM they will be checked out. Instead of performing a
checkout it appears to traverse the repository looking for the module
POMs. What is missing here?








[M2] Weblogic War install question

2006-04-11 Thread mjohnsonaz74

Earlier I asked about using weblogic appc with Maven and I took the given
example and made it work (i think). Currently when I run 'mvn install' in my
war project, I see the appc portion doing it's work, but it never installs
the war file into my repository.  I'm not sure what I'm doing wrong.  I
receive no errors or warnings.  The project runs and then finishes, but I
never see the install occuring, nor is there a new war file in my
repository.  I have posted my POM below. Can anyone offer a little guidance
as to what I could try.  I did try to explicitly call the install goal from
the Maven-install-plugin, but that didn't seem to have any effect either. 
Any help would be appreciated, thank you!

--MJ

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
  groupIdtwtc/groupId
  artifactIdum-web/artifactId
  packagingwar/packaging
  version1.0-SNAPSHOT/version
  nameUM Web/name
  build 
  finalNameum-web/finalName 
  plugins  
plugin 
  groupIdorg.codehaus.mojo/groupId 
  artifactIdweblogic-maven-plugin/artifactId 
  version2.8.0-SNAPSHOT/version  
executions 
  execution 
phasepackage/phase
goals  
  goalappc/goal  
/goals 
  /execution 
/executions 
/plugin
plugin
  inheritedtrue/inherited
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-install-plugin/artifactId
executions
  execution
phaseinstall/phase   
goals
  goalinstall/goal
  /goals
  /execution
/executions
 /plugin
  /plugins 
  /build 
  dependencies
dependency
  groupIdjavax.servlet/groupId
  artifactIdservlet-api/artifactId
  version2.4/version
  scopecompile/scope
/dependency
dependency
  groupIdtwtc.common-external-lib/groupId
  artifactIdldapjdk/artifactId
  version1.4/version   
/dependency
dependency
  groupIdjunit/groupId
  artifactIdjunit/artifactId
  version3.8.1/version
  scopetest/scope
/dependency
dependency
  groupIdtwtc/groupId
  artifactIdmailhandler-app/artifactId
  version1.0/version  
/dependency
dependency
  groupIdtwtc/groupId
  artifactIdum-app/artifactId
  version1.0-SNAPSHOT/version  
/dependency
dependency
  groupIdweblogic/groupId
  artifactIdweblogic/artifactId
  version8.1/version
/dependency
  /dependencies   
/project

Output: 
C:\dev\clean\um\um-webmvn install
[INFO] Scanning for projects...
[INFO]

[INFO] Building UM Web
[INFO]task-segment: [install]
[INFO]

[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [war:war]
[INFO] Exploding webapp...
[INFO] Copy webapp resources to C:\dev\clean\um\um-web\target\um-web
[INFO] Assembling webapp um-web in C:\dev\clean\um\um-web\target\um-web
[INFO] Generating war C:\dev\clean\um\um-web\target\um-web.war
[INFO] Building war: C:\dev\clean\um\um-web\target\um-web.war
[INFO] Preparing weblogic:appc
[WARNING] Removing: appc from forked lifecycle, to prevent recursive
invocation.
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [war:war]
[INFO] Exploding webapp...
[INFO] Copy webapp resources to C:\dev\clean\um\um-web\target\um-web
[INFO] Assembling webapp um-web in C:\dev\clean\um\um-web\target\um-web
[INFO] Generating war C:\dev\clean\um\um-web\target\um-web.war
[INFO] Building war: C:\dev\clean\um\um-web\target\um-web.war
[INFO] [weblogic:appc {execution: default}]
[INFO] Weblogic APPC processing beginning for object
C:\dev\clean\um\um-web\target/um-web.war
[INFO]  Detailed Appc settings information AppcMojo[basicClientJar = false
 classpath = null
 compiler = null
 debugging = false
 

RE: Internal (intranet) repositories

2006-04-11 Thread Rollo, Dan
Not sure if it matters, but the name in the example I gave worries me. To be 
safe, try using a name that will certainly not override anything built in, like:

pluginRepositories
pluginRepository
idcentral/id
namemyInternalCentralProxy/name

urlhttp://build.corp.upromise.com/mavenrepository/url 
/pluginRepository
...
/pluginRepositories



Re: What's the difference: I wish I knew precisely. ;)


-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 11, 2006 1:22 PM
To: Maven Users List; Rollo, Dan
Subject: RE: Internal (intranet) repositories

[ERROR] BUILD ERROR
[INFO] 
[INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not 
exist or no valid version could be found


Is there any expert in the realm of repositories?  This is getting 
frustrating...  

-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 11, 2006 12:59 PM
To: Rollo, Dan; Maven Users List
Subject: RE: Internal (intranet) repositories

What's the difference between repository (like I had defined) and 
pluginrepository? 

-Original Message-
From: Rollo, Dan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 11, 2006 12:43 PM
To: EJ Ciramella; Maven Users List
Subject: RE: Internal (intranet) repositories

 Have you tried adding plugin repos to your pom?

Like:

pluginRepositories
pluginRepository
idcentral/id
namelocal-repository/name
layoutdefault/layout

urlhttp://build.corp.upromise.com/mavenrepository/url 
/pluginRepository
...
/pluginRepositories


Dan

-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 11, 2006 10:42 AM
To: Maven Users List
Subject: RE: Internal (intranet) repositories

Still - I have:


repositories
repository
idcentral/id
namelocal-repository/name
layoutdefault/layout

urlhttp://build.corp.upromise.com/mavenrepository/url
/repository
repository
idlty-local/id
namelocal-repository/name
urlfile:thirdparty/repository/url
/repository
/repositories


(I tried the reversing the order to no avail)

And I see - 

E:\work\foxboro\modelmvn process-resources -P foxboro,model-base [INFO] 
Scanning for projects...
[INFO] 

[INFO] Building LtyModel
[INFO]task-segment: [process-resources]
[INFO] 

Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0/maven-plugin-parent-2.0.pom
 

But I can see this:

http://build.corp.upromise.com/mavenrepository/org/apache/maven/plugins/maven-plugin-parent/2.0/maven-plugin-parent-2.0.pom


What am I doing wrong?

-Original Message-
From: Gunther Popp [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 08, 2006 7:29 AM
To: Maven Users List
Subject: Re: Internal (intranet) repositories

I´m by far any expert in the Maven source code, but as far as I understand the 
implementation the repos defined in your pom will be checked first. If your pom 
contains no repo with the id central, the default repos defined in the 
Super-POM pom-4.0.0.xml will be searched next. Then all repos defined in 
parent-poms are considered.

Additionally, the repos are searched in the order you define them in your 
pom.xml.

This should be true for resolving dependencies. I´m not sure, if parent-poms 
and poms in general are resolved the same way. So maybe this explains the 
problems described in the other mails.

Gunther


 I think there's a basic misunderstanding here... As far as I know it, 
 Maven *always* checks Central first. Even if you define another repo 
 somewhere else.

 One way people prevent this is by setting up Maven proxy and then 
 setting that proxy as a mirror of Central in their settings.xml file.
 Then instead of Central, it checks your proxy for the files, and if 
 your proxy doesn't have it, it goes out to Central on its own and 
 retrieves them, and then provides them to your Maven process.

 Wayne

 On 4/7/06, EJ Ciramella [EMAIL PROTECTED] wrote:
   
 Yeah, something else is wrong then, I have apache running on another 
 machine and I have this:

repositories
repository
idlty-local/id
namelocal-repository/name

 urlhttp://build.corp.upromise.com/mavenrepository//url
/repository
/repositories

 And I STILL see it pulling 

Re: Internal (intranet) repositories

2006-04-11 Thread dan tran
repository and pluginRepository are different.  If you put your plugin in an
internal repository, you need to define
plugin repository as well. and I wish maven should not differenciate these 2
types.

That is why I use maven-proxy, and configure both repository and
pluginRepository to that proxy in my site's settings.xml

-D


On 4/11/06, Rollo, Dan [EMAIL PROTECTED] wrote:

 Not sure if it matters, but the name in the example I gave worries me. To
 be safe, try using a name that will certainly not override anything built
 in, like:

pluginRepositories
pluginRepository
idcentral/id
namemyInternalCentralProxy/name
urlhttp://build.corp.upromise.com/mavenrepository
 /url
/pluginRepository
 ...
/pluginRepositories



 Re: What's the difference: I wish I knew precisely. ;)


 -Original Message-
 From: EJ Ciramella [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 11, 2006 1:22 PM
 To: Maven Users List; Rollo, Dan
 Subject: RE: Internal (intranet) repositories

 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does
 not exist or no valid version could be found


 Is there any expert in the realm of repositories?  This is getting
 frustrating...

 -Original Message-
 From: EJ Ciramella [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 11, 2006 12:59 PM
 To: Rollo, Dan; Maven Users List
 Subject: RE: Internal (intranet) repositories

 What's the difference between repository (like I had defined) and
 pluginrepository?

 -Original Message-
 From: Rollo, Dan [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 11, 2006 12:43 PM
 To: EJ Ciramella; Maven Users List
 Subject: RE: Internal (intranet) repositories

 Have you tried adding plugin repos to your pom?

 Like:

pluginRepositories
pluginRepository
idcentral/id
namelocal-repository/name
layoutdefault/layout
urlhttp://build.corp.upromise.com/mavenrepository
 /url
/pluginRepository
 ...
/pluginRepositories


 Dan

 -Original Message-
 From: EJ Ciramella [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 11, 2006 10:42 AM
 To: Maven Users List
 Subject: RE: Internal (intranet) repositories

 Still - I have:


repositories
repository
idcentral/id
namelocal-repository/name
layoutdefault/layout
urlhttp://build.corp.upromise.com/mavenrepository
 /url
/repository
repository
idlty-local/id
namelocal-repository/name
urlfile:thirdparty/repository/url
/repository
/repositories


 (I tried the reversing the order to no avail)

 And I see -

 E:\work\foxboro\modelmvn process-resources -P foxboro,model-base [INFO]
 Scanning for projects...
 [INFO]
 
 [INFO] Building LtyModel
 [INFO]task-segment: [process-resources]
 [INFO]
 
 Downloading:
 http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0/maven-plugin-parent-2.0.pom

 But I can see this:


 http://build.corp.upromise.com/mavenrepository/org/apache/maven/plugins/maven-plugin-parent/2.0/maven-plugin-parent-2.0.pom


 What am I doing wrong?

 -Original Message-
 From: Gunther Popp [mailto:[EMAIL PROTECTED]
 Sent: Saturday, April 08, 2006 7:29 AM
 To: Maven Users List
 Subject: Re: Internal (intranet) repositories

 I´m by far any expert in the Maven source code, but as far as I understand
 the implementation the repos defined in your pom will be checked first. If
 your pom contains no repo with the id central, the default repos defined
 in the Super-POM pom-4.0.0.xml will be searched next. Then all repos
 defined in parent-poms are considered.

 Additionally, the repos are searched in the order you define them in your
 pom.xml.

 This should be true for resolving dependencies. I´m not sure, if
 parent-poms and poms in general are resolved the same way. So maybe this
 explains the problems described in the other mails.

 Gunther


  I think there's a basic misunderstanding here... As far as I know it,
  Maven *always* checks Central first. Even if you define another repo
  somewhere else.
 
  One way people prevent this is by setting up Maven proxy and then
  setting that proxy as a mirror of Central in their settings.xml file.
  Then instead of Central, it checks your proxy for the files, and if
  your proxy doesn't have it, it goes out to Central on its own and
  retrieves them, and then provides them to your Maven process.
 
  Wayne
 
  On 

RE: Internal (intranet) repositories

2006-04-11 Thread EJ Ciramella
Honestly, this is really wearing on me, I can't get this to work and if this 
doesn't get off the ground then I guess we're reverting back to ant:

E:\work\foxboro\modelmvn process-resources -P foxboro,model-base
[INFO] Scanning for projects...
[INFO] 

[INFO] Building LtyModel
[INFO]task-segment: [process-resources]
[INFO] 

[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for 
updates from central
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not 
exist or no valid version could be found
[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time:  1 second
[INFO] Finished at: Tue Apr 11 14:01:11 EDT 2006
[INFO] Final Memory: 1M/2M
[INFO] 


I have these:


repositories
repository
idlocal/id
namelocal-repository/name
urlfile:thirdparty/repository/url
/repository
repository
idcentral/id
namecentral/name
layoutdefault/layout

urlhttp://build.corp.upromise.com/mavenrepository/url
/repository
/repositories
 pluginRepositories
pluginRepository
  idcentral/id
  nameMaven Plugin Repository/name
layoutdefault/layout
urlhttp://build.corp.upromise.com/mavenrepository/url
/pluginRepository
/pluginRepositories

Why is this?  What does this mean?  

 

-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 11, 2006 1:54 PM
To: Maven Users List
Subject: Re: Internal (intranet) repositories

repository and pluginRepository are different.  If you put your plugin in an
internal repository, you need to define
plugin repository as well. and I wish maven should not differenciate these 2
types.

That is why I use maven-proxy, and configure both repository and
pluginRepository to that proxy in my site's settings.xml

-D


On 4/11/06, Rollo, Dan [EMAIL PROTECTED] wrote:

 Not sure if it matters, but the name in the example I gave worries me. To
 be safe, try using a name that will certainly not override anything built
 in, like:

pluginRepositories
pluginRepository
idcentral/id
namemyInternalCentralProxy/name
urlhttp://build.corp.upromise.com/mavenrepository
 /url
/pluginRepository
 ...
/pluginRepositories



 Re: What's the difference: I wish I knew precisely. ;)


 -Original Message-
 From: EJ Ciramella [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 11, 2006 1:22 PM
 To: Maven Users List; Rollo, Dan
 Subject: RE: Internal (intranet) repositories

 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does
 not exist or no valid version could be found


 Is there any expert in the realm of repositories?  This is getting
 frustrating...

 -Original Message-
 From: EJ Ciramella [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 11, 2006 12:59 PM
 To: Rollo, Dan; Maven Users List
 Subject: RE: Internal (intranet) repositories

 What's the difference between repository (like I had defined) and
 pluginrepository?

 -Original Message-
 From: Rollo, Dan [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 11, 2006 12:43 PM
 To: EJ Ciramella; Maven Users List
 Subject: RE: Internal (intranet) repositories

 Have you tried adding plugin repos to your pom?

 Like:

pluginRepositories
pluginRepository
idcentral/id
namelocal-repository/name
layoutdefault/layout
urlhttp://build.corp.upromise.com/mavenrepository
 /url
/pluginRepository
 ...
/pluginRepositories


 Dan

 -Original Message-
 From: EJ Ciramella [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 11, 2006 10:42 AM
 To: Maven Users List
 Subject: RE: Internal (intranet) repositories

 Still - I have:


repositories
repository
idcentral/id
namelocal-repository/name
layoutdefault/layout
urlhttp://build.corp.upromise.com/mavenrepository
 /url
/repository
  

Re: [M2] Weblogic War install question

2006-04-11 Thread Wayne Fay
Just to be clear, mvn install simply copies your package into your
local M2 repository.

It looks like you've attached the appc goal to the package phase. I
don't use this plugin so I don't know if this is right.

Wayne

On 4/11/06, mjohnsonaz74 [EMAIL PROTECTED] wrote:

 Earlier I asked about using weblogic appc with Maven and I took the given
 example and made it work (i think). Currently when I run 'mvn install' in my
 war project, I see the appc portion doing it's work, but it never installs
 the war file into my repository.  I'm not sure what I'm doing wrong.  I
 receive no errors or warnings.  The project runs and then finishes, but I
 never see the install occuring, nor is there a new war file in my
 repository.  I have posted my POM below. Can anyone offer a little guidance
 as to what I could try.  I did try to explicitly call the install goal from
 the Maven-install-plugin, but that didn't seem to have any effect either.
 Any help would be appreciated, thank you!

 --MJ


Re: [m2] Weblogic J2EE Plugin

2006-04-11 Thread Konstantin Polyzois
cool glad to be of assistance.

On 4/10/06, mjohnsonaz74 [EMAIL PROTECTED] wrote:


 Thank you.  As I suspected it was a significant, yet trivial
 misunderstanding
 on my part.  I wasn't specifying goals inside of an execution block and
 instead I was trying to stack POM's and have the plugin point to another
 project as its artifiact.  If that last sentence didn't make any sense,
 then
 you'll truly understand how confused I was... =)  thank you again for the
 sample, it helped me out tremendously.

 --MJ
 --
 View this message in context:
 http://www.nabble.com/-m2-Weblogic-J2EE-Plugin-t1408033.html#a3849556
 Sent from the Maven - Users forum at Nabble.com.


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




RE: Internal (intranet) repositories

2006-04-11 Thread EJ Ciramella
So as part of a regular maven build (say I didn't want to host all these files 
locally), all these items get down loaded to $user.dir\.m2\repository.

So, I've copied the all these items to a directory served up by an apache2 
instance called mavenrepository.  Is there some particular directory structure 
I need instead of what I have locally?

I'm really losing it with maven at this point.  This stuff just isn't 
documented!



-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 11, 2006 2:03 PM
To: Maven Users List
Subject: RE: Internal (intranet) repositories

Honestly, this is really wearing on me, I can't get this to work and if this 
doesn't get off the ground then I guess we're reverting back to ant:

E:\work\foxboro\modelmvn process-resources -P foxboro,model-base
[INFO] Scanning for projects...
[INFO] 

[INFO] Building LtyModel
[INFO]task-segment: [process-resources]
[INFO] 

[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for 
updates from central
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not 
exist or no valid version could be found
[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time:  1 second
[INFO] Finished at: Tue Apr 11 14:01:11 EDT 2006
[INFO] Final Memory: 1M/2M
[INFO] 


I have these:


repositories
repository
idlocal/id
namelocal-repository/name
urlfile:thirdparty/repository/url
/repository
repository
idcentral/id
namecentral/name
layoutdefault/layout

urlhttp://build.corp.upromise.com/mavenrepository/url
/repository
/repositories
 pluginRepositories
pluginRepository
  idcentral/id
  nameMaven Plugin Repository/name
layoutdefault/layout
urlhttp://build.corp.upromise.com/mavenrepository/url
/pluginRepository
/pluginRepositories

Why is this?  What does this mean?  

 

-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 11, 2006 1:54 PM
To: Maven Users List
Subject: Re: Internal (intranet) repositories

repository and pluginRepository are different.  If you put your plugin in an
internal repository, you need to define
plugin repository as well. and I wish maven should not differenciate these 2
types.

That is why I use maven-proxy, and configure both repository and
pluginRepository to that proxy in my site's settings.xml

-D


On 4/11/06, Rollo, Dan [EMAIL PROTECTED] wrote:

 Not sure if it matters, but the name in the example I gave worries me. To
 be safe, try using a name that will certainly not override anything built
 in, like:

pluginRepositories
pluginRepository
idcentral/id
namemyInternalCentralProxy/name
urlhttp://build.corp.upromise.com/mavenrepository
 /url
/pluginRepository
 ...
/pluginRepositories



 Re: What's the difference: I wish I knew precisely. ;)


 -Original Message-
 From: EJ Ciramella [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 11, 2006 1:22 PM
 To: Maven Users List; Rollo, Dan
 Subject: RE: Internal (intranet) repositories

 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does
 not exist or no valid version could be found


 Is there any expert in the realm of repositories?  This is getting
 frustrating...

 -Original Message-
 From: EJ Ciramella [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 11, 2006 12:59 PM
 To: Rollo, Dan; Maven Users List
 Subject: RE: Internal (intranet) repositories

 What's the difference between repository (like I had defined) and
 pluginrepository?

 -Original Message-
 From: Rollo, Dan [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 11, 2006 12:43 PM
 To: EJ Ciramella; Maven Users List
 Subject: RE: Internal (intranet) repositories

 Have you tried adding plugin repos to your pom?

 Like:

pluginRepositories
pluginRepository
idcentral/id
namelocal-repository/name
layoutdefault/layout

Re: Question about release plugin on pom archtype

2006-04-11 Thread Gelkand

Hi!

I am using maven-2.0.4 (on WindowsXP, CVS on Solaris) and have exactly the
same problem during release:prepare of a multiproject build. The child poms
were updated and checked in, the master pom is updated (and so locally
changed), but not checked in before tagging the source tree. This leads
during tagging to the failure with the message ... pom.xml is locally
modified  Seems to be a bug ...

As a workaround, i manually checked the master pom into CVS, performs again
the release:prepare(which successfully uses the before created
release.properties) and the tagging is successfull, (At the end the master
pom with the new snapshot version number is again not checked into CVS, just
the child poms with the new snapshot version numbers are checked into CVS, i
do not know if this is a feature or a bug)

Greetings, Gelkand
--
View this message in context: 
http://www.nabble.com/Question-about-release-plugin-on-pom-archtype-t1403232.html#a3867837
Sent from the Maven - Users forum at Nabble.com.


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



Re: Internal (intranet) repositories

2006-04-11 Thread dan tran
artifact in local repository can not be made as remote repo.  have you
consider using maven-proxy?

There is a some learning curve to use maven effectively, and we are willing
to help.

-D


On 4/11/06, EJ Ciramella [EMAIL PROTECTED] wrote:

 So as part of a regular maven build (say I didn't want to host all these
 files locally), all these items get down loaded to $user.dir\.m2\repository.

 So, I've copied the all these items to a directory served up by an apache2
 instance called mavenrepository.  Is there some particular directory
 structure I need instead of what I have locally?

 I'm really losing it with maven at this point.  This stuff just isn't
 documented!



 -Original Message-
 From: EJ Ciramella [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 11, 2006 2:03 PM
 To: Maven Users List
 Subject: RE: Internal (intranet) repositories

 Honestly, this is really wearing on me, I can't get this to work and if
 this doesn't get off the ground then I guess we're reverting back to ant:

 E:\work\foxboro\modelmvn process-resources -P foxboro,model-base
 [INFO] Scanning for projects...
 [INFO]
 
 [INFO] Building LtyModel
 [INFO]task-segment: [process-resources]
 [INFO]
 
 [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking
 for updates from central
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does
 not exist or no valid version could be found
 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time:  1 second
 [INFO] Finished at: Tue Apr 11 14:01:11 EDT 2006
 [INFO] Final Memory: 1M/2M
 [INFO]
 


 I have these:


repositories
repository
idlocal/id
namelocal-repository/name
urlfile:thirdparty/repository/url
/repository
repository
idcentral/id
namecentral/name
layoutdefault/layout
urlhttp://build.corp.upromise.com/mavenrepository
 /url
/repository
/repositories
 pluginRepositories
pluginRepository
  idcentral/id
  nameMaven Plugin Repository/name
layoutdefault/layout
urlhttp://build.corp.upromise.com/mavenrepository/url
/pluginRepository
 /pluginRepositories

 Why is this?  What does this mean?



 -Original Message-
 From: dan tran [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 11, 2006 1:54 PM
 To: Maven Users List
 Subject: Re: Internal (intranet) repositories

 repository and pluginRepository are different.  If you put your plugin in
 an
 internal repository, you need to define
 plugin repository as well. and I wish maven should not differenciate these
 2
 types.

 That is why I use maven-proxy, and configure both repository and
 pluginRepository to that proxy in my site's settings.xml

 -D


 On 4/11/06, Rollo, Dan [EMAIL PROTECTED] wrote:
 
  Not sure if it matters, but the name in the example I gave worries me.
 To
  be safe, try using a name that will certainly not override anything
 built
  in, like:
 
 pluginRepositories
 pluginRepository
 idcentral/id
 namemyInternalCentralProxy/name
 url
 http://build.corp.upromise.com/mavenrepository
  /url
 /pluginRepository
  ...
 /pluginRepositories
 
 
 
  Re: What's the difference: I wish I knew precisely. ;)
 
 
  -Original Message-
  From: EJ Ciramella [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, April 11, 2006 1:22 PM
  To: Maven Users List; Rollo, Dan
  Subject: RE: Internal (intranet) repositories
 
  [ERROR] BUILD ERROR
  [INFO]
  
  [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does
  not exist or no valid version could be found
 
 
  Is there any expert in the realm of repositories?  This is getting
  frustrating...
 
  -Original Message-
  From: EJ Ciramella [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, April 11, 2006 12:59 PM
  To: Rollo, Dan; Maven Users List
  Subject: RE: Internal (intranet) repositories
 
  What's the difference between repository (like I had defined) and
  pluginrepository?
 
  -Original Message-
  From: Rollo, Dan [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, April 11, 2006 12:43 PM
  To: EJ 

Re: Maven and CVS branches ...

2006-04-11 Thread Gareth Western
I thought it was possible in a POM (at least in Maven 2), if you just
specify the branch name in the tag section of the scm node?

See
http://maven.apache.org/ref/2.0.3-SNAPSHOT/maven-model/maven.html#class_scm

or does that only work for just CVS tags?

On 4/11/06, dan tran [EMAIL PROTECTED] wrote:

 No possible in the pom,

 however you can use continuum to drive this, and therefore
 no further manual interfaction is required ;-)

 -D





Re: Maven site javadoc problem

2006-04-11 Thread Lee Meador
I don't think it can be done automatically. You can put a site.xml file in
each of the projects that has links to the other projects. I do this to put
additional links in the left sidebar of the site that allows me to click
around from project to project.

It's just barely good enought for me.

Thanks.

-- Lee

On 4/11/06, Bratek [EMAIL PROTECTED] wrote:


 Hi,

 I have a Maven project that contains several modules (separate directories
 and pom files). When I run site goal Javadocs are generated in each
 module's
 directory. The problem is that the main project knows nothing about those
 docs - there is no link to any of the modules.
 I tried to search the Internet but I couldn't find any comprehensive
 documentation on the subject - just some bits and ends. If you know how to
 make this work, please let me know. Thank you,

 Bratek
 --
 View this message in context:
 http://www.nabble.com/Maven-site-javadoc-problem-t1431946.html#a3862183
 Sent from the Maven - Users forum at Nabble.com.


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




--
-- Lee Meador
Sent from gmail. My real email address is [EMAIL PROTECTED]


RE: Internal (intranet) repositories

2006-04-11 Thread EJ Ciramella
But it's NOT local - it's hosted on another machine.

The learning curve wouldn't be so bad if there was some accurate, up-to-date 
documentation.

So I used:


repositories
repository
idlocal/id
namelocal-repository/name
urlfile:thirdparty/repository/url
/repository
repository
idcentral/id
nameUpromise Local Repository/name
layoutdefault/layout

urlhttp://build.corp.upromise.com/mavenrepository/url
/repository
/repositories

pluginRepositories
pluginRepository
idlocal-central/id
namemain/name
layoutdefault/layout

urlhttp://build.corp.upromise.com/mavenrepository/url
/pluginRepository
/pluginRepositories


And when I start the build, I see:

E:\work\foxboro\modelmvn process-resources -P foxboro,model-base
[INFO] Scanning for projects...
[INFO] 

[INFO] Building LtyModel
[INFO]task-segment: [process-resources]
[INFO] 

[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for 
updates from local-central
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for 
updates from central
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.1/maven-resources-plugin-2.1.pom
888b downloaded
Downloading: 
http://build.corp.upromise.com/mavenrepository/org/apache/maven/plugins/maven-plugin-parent/2.0/maven-plugin-parent-2.0.pom
6K downloaded
Downloading: 
http://build.corp.upromise.com/mavenrepository/org/apache/maven/plugins/maven-resources-plugin/2.1/maven-resources-plugin-2.1.jar
10K downloaded
[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking for 
updates from local-central
[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking for 
updates from central


I feel like I have NO control over what the heck maven is doing.

Here's what I want maven to do - 

1 - look here first:
repository
idlocal/id
namelocal-repository/name
urlfile:thirdparty/repository/url
/repository
2 - Then look here:
repository
idcentral/id
nameUpromise Local Repository/name
layoutdefault/layout

urlhttp://build.corp.upromise.com/mavenrepository/url
/repository
3 - Can't find it?  Fail.

Instead I see maven still looking remotely (for a plugin that's on 
build.corp.upromise.com).  I'm not clear as to why I need to define two 
different repositories (do I even need both?).





-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 11, 2006 2:46 PM
To: Maven Users List
Subject: Re: Internal (intranet) repositories

artifact in local repository can not be made as remote repo.  have you
consider using maven-proxy?

There is a some learning curve to use maven effectively, and we are willing
to help.

-D


On 4/11/06, EJ Ciramella [EMAIL PROTECTED] wrote:

 So as part of a regular maven build (say I didn't want to host all these
 files locally), all these items get down loaded to $user.dir\.m2\repository.

 So, I've copied the all these items to a directory served up by an apache2
 instance called mavenrepository.  Is there some particular directory
 structure I need instead of what I have locally?

 I'm really losing it with maven at this point.  This stuff just isn't
 documented!



 -Original Message-
 From: EJ Ciramella [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 11, 2006 2:03 PM
 To: Maven Users List
 Subject: RE: Internal (intranet) repositories

 Honestly, this is really wearing on me, I can't get this to work and if
 this doesn't get off the ground then I guess we're reverting back to ant:

 E:\work\foxboro\modelmvn process-resources -P foxboro,model-base
 [INFO] Scanning for projects...
 [INFO]
 
 [INFO] Building LtyModel
 [INFO]task-segment: [process-resources]
 [INFO]
 
 [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking
 for updates from central
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does
 not exist or no valid version could be 

Re: [M2] Weblogic War install question

2006-04-11 Thread Lee Meador
I have an ant task (antrun plugin) attached to the package phase on my EAR
and mvn install builds the ear, runs the special processing and then puts it
in my local repository.

I didn't have to do any configuration, as you did, on the install plugin.
Otherwise my pom looks much like yours other than it being an ear instead of
a war and using antrun instead of weblogic plugins.

I have no need to do this with my wars.

Thanks.

-- Lee

On 4/11/06, mjohnsonaz74 [EMAIL PROTECTED] wrote:



 Wayne Fay wrote:
 
  Just to be clear, mvn install simply copies your package into your
  local M2 repository.
 
  It looks like you've attached the appc goal to the package phase. I
  don't use this plugin so I don't know if this is right.
 
  Wayne
 

 Yes, I want to install it into my local repository.  My ultimate goal is
 to
 build an ear file, but that POM can't find my war file in the local
 repository.  So, I'm trying to find out what I'm doing wrong and why my
 war
 won't install locally.  The plugin specifies the package phase since I
 want
 to run appc on the war every time its packaged or more.

 --MJ
 --
 View this message in context:
 http://www.nabble.com/-M2-Weblogic-War-install-question-t1433279.html#a3867929
 Sent from the Maven - Users forum at Nabble.com.


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




--
-- Lee Meador
Sent from gmail. My real email address is [EMAIL PROTECTED]


Re: [M2] Weblogic War install question

2006-04-11 Thread Wayne Fay
OK... For some reason the first time I read that, I think I saw want
to install WAR into Weblogic not into local repo, so that was a
mistake on my part.

I assume, if you comment out the Weblogic plugin bits, that your WAR
gets installed properly?

Wayne

On 4/11/06, mjohnsonaz74 [EMAIL PROTECTED] wrote:


 Wayne Fay wrote:
 
  Just to be clear, mvn install simply copies your package into your
  local M2 repository.
 
  It looks like you've attached the appc goal to the package phase. I
  don't use this plugin so I don't know if this is right.
 
  Wayne
 

 Yes, I want to install it into my local repository.  My ultimate goal is to
 build an ear file, but that POM can't find my war file in the local
 repository.  So, I'm trying to find out what I'm doing wrong and why my war
 won't install locally.  The plugin specifies the package phase since I want
 to run appc on the war every time its packaged or more.

 --MJ
 --
 View this message in context: 
 http://www.nabble.com/-M2-Weblogic-War-install-question-t1433279.html#a3867929
 Sent from the Maven - Users forum at Nabble.com.


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




Re: Internal (intranet) repositories

2006-04-11 Thread Gareth Western
Hi EJ,

Apologies if this has already been suggested (I've already deleted most of
this thread), but have you tried adding the following to a file named 
settings.xml in your ${user.home}\.m2 directory (e.g. C:\documents and
settings\gareth\.m2\settings.xml):

settings
 mirrors
   mirror
 idmy-repo/id
 nameInternal mirror of http://build.corp.upromise.com/mavenrepository
/name
 urlhttp://build.corp.upromise.com/mavenrepository/url
 mirrorOfcentral/mirrorOf
   /mirror
 /mirrors
/settings

?

If you do that you shouldn't have to add anything to project POM (although
it does rely on each user having a settings.xml with these settings in
it).


Re: help whit site-deploy

2006-04-11 Thread John Casey
If you're saying that a previous build (something living in /target of your
local project working directory, I mean) is being deployed rather than
generating and deploying a new version, you can simply change your maven
call to:

mvn clean site-deploy

This will clean /target before generating/deploying the site from your
project.

However, if you're talking about cleaning out the remote location first (as
I think you are, by your previous email), AFAIK this feature doesn't exist
yet. Kenney and I were simply discussing possible ways to implement
something like that, not describing what was already there. Sorry for any
confusion that may have caused.

If that feature is what you need, I'd suggest filing a new JIRA issue at:

http://jira.codehaus.org/browse/MSITE.

Cheers,

John

On 4/11/06, Chucho [EMAIL PROTECTED] wrote:

 Exactly! but how i do it? its my problem. I don't get it. I don't see that
 flag. I have been trying using this arguments

 -Dmaven.site.deploy.clean=true
 -Dmaven.site.publish.clean=true

 But it doesn't work.

 How to?

 Thanks

 On 4/11/06, John Casey [EMAIL PROTECTED] wrote:
 
  That would probably work pretty well, but I was just talking about a
 flag
  you could set in the plugin config to say it's OK to blow away that
  directory before deploying or else something like a site:remote-clean
  that
  could be bound to the phase ahead of site-deploy.
 
  -j
 
  On 4/11/06, Kenney Westerhof [EMAIL PROTECTED] wrote:
  
   On Tue, 11 Apr 2006, John Casey wrote:
  
   Another way would be to record what files constituted the last site
   deployment. IIRC a 'deploy.zip' is uploaded and then unpacked. A
  list
   of files in that zip could be recorded. Your proposal for a new
   clean flag would then take this list into account and only delete
   the files for that project. This might be safe enough?
  
   -- Kenney
  
Are you wondering why the deployment target location isn't removed
   before
re-deploying the site? That operates on the assumption that all the
   content
in or under that remote location is published by the current
 project,
  or
that you will be fine with redeploying all of the content when you
 do
   this
site-deploy...which IMO is dangerous.
   
For example, Maven itself publishes site content to multiple
  locations,
   with
the topmost being the main site project. Modules publish their
  reports,
   etc.
into subdirectories of the remote location referenced by the site
project...if we removed this top directory, we'd not only lose all
 of
   the
reports published by the modules, but all of the historical versions
  of
these reports too. This is a lot to republish.
   
Perhaps an optional clean parameter would help, but I'm not sure
  whether
   the
underlying APIs currently support it.
   
HTH,
   
John
   
On 4/11/06, Chucho [EMAIL PROTECTED] wrote:

 I'm using site-deploy on maven whit continuum and its work fine,
 but
   when
 I'm do it again and the folder already exits, the site can be
  deploy,
   I'll
 use clean, but don't clean the deploy site. if a change the POM
 distributionManagement
 section then it would make the deploy whit out problem, but i want
  the
 deploy overwrites the file or delete the site deploy folder and
  deploy
 again. i have check the permissions on the folder and have write
 permissions.

 the command its:
 clean install site-deploy
 and the arguments:
 --batch-mode --non-recursive

 How can i do to make site-deploy once and again on the same
 folder?


 POM.xml

 distributionManagement
 site
   idWNserver/id
   urlfile:C:\Inetpub\wwwroot\continuum\prueba2/url
 /site
   /distributionManagement


   
  
   --
   Kenney Westerhof
   http://www.neonics.com
   GPG public key: http://www.gods.nl/~forge/kenneyw.key
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 




Re: Missing 2.0.4 release notes

2006-04-11 Thread John Casey
In the future, this page will be updated from JIRA for every release. I'm
making that part of our documented release process.

The whole process is available at:

http://docs.codehaus.org/display/MAVEN/Maven+Release+Process

Cheers,

John

On 4/11/06, Andreas Guther [EMAIL PROTECTED] wrote:

 Oops, it is already there!  Someone was fast!

 Andreas


 -Original Message-
 From: Andreas Guther
 Sent: Tuesday, April 11, 2006 9:22 AM
 To: Maven Users List
 Subject: RE: Missing 2.0.4 release notes

 Thanks for the link!

 I was facing the same problem last night when I visited the Maven site
 and noticed the new release.  I was hunting for the release notes as
 well but I gave up.

 I forgot about the Announcement mailing list and I will subscribe to it
 but I agree with Howard that it would be user friendly to have a link to
 the release notes on the website, probably in that download box.

 Andreas


 -Original Message-
 From: Howard Lewis Ship [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 11, 2006 7:46 AM
 To: Maven Users List
 Subject: Re: Missing 2.0.4 release notes

 Found it:

 http://mail-archives.apache.org/mod_mbox/maven-announce/200604.mbox/brow
 ser

 Would it be too hard to include this information on the web site as
 well?

 On 4/11/06, Howard Lewis Ship [EMAIL PROTECTED] wrote:
  Yes, a 2.0.4 release is now available.  I'm sure there's some
  differences between 2.0.3 and 2.0.4 but I can't find any documentation
  about what those are.  Why sould I upgrade?
 
  --
  Howard M. Lewis Ship
  Independent J2EE / Open-Source Java Consultant
  Creator, Jakarta Tapestry
  Creator, Jakarta HiveMind
 
  Professional Tapestry training, mentoring, support
  and project work.  http://howardlewisship.com
 


 --
 Howard M. Lewis Ship
 Independent J2EE / Open-Source Java Consultant
 Creator, Jakarta Tapestry
 Creator, Jakarta HiveMind

 Professional Tapestry training, mentoring, support
 and project work.  http://howardlewisship.com

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



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



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




Multiproject deployment

2006-04-11 Thread Michael Mosmann
How can i deploy projects in a multiprojekt build

part1 (jar)
part2 (jar)
part3 (war, dep: part1, part2)
all (module: part1,part2,part3)

all
  mvn package

result:
  part3/target/part3-1.0.war

all
  mvn deploy

result:
  part1
  [ERROR] no deployment  configured


..
i only want to deploy part3 and want this in only one step

thanks

mm:)



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



RE: Internal (intranet) repositories

2006-04-11 Thread Rollo, Dan
What kind of ouput are you seeing on the Maven-Proxy console? Is the 
Maven-Proxy able to fetch this resource? Keep in mind some of the default 
config settings for Maven-Proxy were/are broken (the url in the example config 
to ibiblio was wrong for maven2 at one point.) 

Dan

-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 11, 2006 2:03 PM
To: Maven Users List
Subject: RE: Internal (intranet) repositories

Honestly, this is really wearing on me, I can't get this to work and if this 
doesn't get off the ground then I guess we're reverting back to ant:

E:\work\foxboro\modelmvn process-resources -P foxboro,model-base [INFO] 
Scanning for projects...
[INFO] 

[INFO] Building LtyModel
[INFO]task-segment: [process-resources]
[INFO] 

[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for 
updates from central [INFO] 

[ERROR] BUILD ERROR
[INFO] 
[INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not 
exist or no valid version could be found [INFO] 

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

[INFO] Total time:  1 second
[INFO] Finished at: Tue Apr 11 14:01:11 EDT 2006 [INFO] Final Memory: 1M/2M 
[INFO] 


I have these:


repositories
repository
idlocal/id
namelocal-repository/name
urlfile:thirdparty/repository/url
/repository
repository
idcentral/id
namecentral/name
layoutdefault/layout

urlhttp://build.corp.upromise.com/mavenrepository/url
/repository
/repositories
 pluginRepositories
pluginRepository
  idcentral/id
  nameMaven Plugin Repository/name
layoutdefault/layout
urlhttp://build.corp.upromise.com/mavenrepository/url
/pluginRepository
/pluginRepositories

Why is this?  What does this mean?  

 

-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 11, 2006 1:54 PM
To: Maven Users List
Subject: Re: Internal (intranet) repositories

repository and pluginRepository are different.  If you put your plugin in an 
internal repository, you need to define plugin repository as well. and I wish 
maven should not differenciate these 2 types.

That is why I use maven-proxy, and configure both repository and 
pluginRepository to that proxy in my site's settings.xml

-D


On 4/11/06, Rollo, Dan [EMAIL PROTECTED] wrote:

 Not sure if it matters, but the name in the example I gave worries me. 
 To be safe, try using a name that will certainly not override anything 
 built in, like:

pluginRepositories
pluginRepository
idcentral/id
namemyInternalCentralProxy/name

 urlhttp://build.corp.upromise.com/mavenrepository
 /url
/pluginRepository
 ...
/pluginRepositories



 Re: What's the difference: I wish I knew precisely. ;)


 -Original Message-
 From: EJ Ciramella [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 11, 2006 1:22 PM
 To: Maven Users List; Rollo, Dan
 Subject: RE: Internal (intranet) repositories

 [ERROR] BUILD ERROR
 [INFO]
 --
 -- [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' 
 does not exist or no valid version could be found


 Is there any expert in the realm of repositories?  This is getting 
 frustrating...

 -Original Message-
 From: EJ Ciramella [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 11, 2006 12:59 PM
 To: Rollo, Dan; Maven Users List
 Subject: RE: Internal (intranet) repositories

 What's the difference between repository (like I had defined) and 
 pluginrepository?

 -Original Message-
 From: Rollo, Dan [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 11, 2006 12:43 PM
 To: EJ Ciramella; Maven Users List
 Subject: RE: Internal (intranet) repositories

 Have you tried adding plugin repos to your pom?

 Like:

pluginRepositories
pluginRepository
idcentral/id
namelocal-repository/name
layoutdefault/layout

 urlhttp://build.corp.upromise.com/mavenrepository
 /url
/pluginRepository
 ...
/pluginRepositories


 Dan

 -Original Message-
 

Re: Internal (intranet) repositories

2006-04-11 Thread Wayne Fay
I've suggested this settings.xml mirror approach multiple times, but
it has not been an acceptable answer thus far. He wants to configure
everything in the project pom.xml file, and nothing in settings.xml.

I think the answer for now is... What you want to do is not currently
possible. Please feel free to contribute code to make it possible for
future versions of M2.

Wayne

On 4/11/06, Gareth Western [EMAIL PROTECTED] wrote:
 Hi EJ,

 Apologies if this has already been suggested (I've already deleted most of
 this thread), but have you tried adding the following to a file named 
 settings.xml in your ${user.home}\.m2 directory (e.g. C:\documents and
 settings\gareth\.m2\settings.xml):

 settings
  mirrors
   mirror
 idmy-repo/id
 nameInternal mirror of http://build.corp.upromise.com/mavenrepository
 /name
 urlhttp://build.corp.upromise.com/mavenrepository/url
 mirrorOfcentral/mirrorOf
   /mirror
  /mirrors
 /settings

 ?

 If you do that you shouldn't have to add anything to project POM (although
 it does rely on each user having a settings.xml with these settings in
 it).




Re: Internal (intranet) repositories

2006-04-11 Thread Wayne Fay
What makes you think he's using Maven Proxy? Although we've suggested
this several times, I have yet to see any indication that he's tried
this approach.

Wayne


On 4/11/06, Rollo, Dan [EMAIL PROTECTED] wrote:
 What kind of ouput are you seeing on the Maven-Proxy console? Is the 
 Maven-Proxy able to fetch this resource? Keep in mind some of the default 
 config settings for Maven-Proxy were/are broken (the url in the example 
 config to ibiblio was wrong for maven2 at one point.)

 Dan

 -Original Message-
 From: EJ Ciramella [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 11, 2006 2:03 PM
 To: Maven Users List
 Subject: RE: Internal (intranet) repositories

 Honestly, this is really wearing on me, I can't get this to work and if this 
 doesn't get off the ground then I guess we're reverting back to ant:

 E:\work\foxboro\modelmvn process-resources -P foxboro,model-base [INFO] 
 Scanning for projects...
 [INFO] 
 
 [INFO] Building LtyModel
 [INFO]task-segment: [process-resources]
 [INFO] 
 
 [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for 
 updates from central [INFO] 
 
 [ERROR] BUILD ERROR
 [INFO] 
 
 [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not 
 exist or no valid version could be found [INFO] 
 
 [INFO] For more information, run Maven with the -e switch [INFO] 
 
 [INFO] Total time:  1 second
 [INFO] Finished at: Tue Apr 11 14:01:11 EDT 2006 [INFO] Final Memory: 1M/2M 
 [INFO] 
 


 I have these:


repositories
repository
idlocal/id
namelocal-repository/name
urlfile:thirdparty/repository/url
/repository
repository
idcentral/id
namecentral/name
layoutdefault/layout

 urlhttp://build.corp.upromise.com/mavenrepository/url
/repository
/repositories
  pluginRepositories
pluginRepository
  idcentral/id
  nameMaven Plugin Repository/name
layoutdefault/layout
urlhttp://build.corp.upromise.com/mavenrepository/url
/pluginRepository
 /pluginRepositories

 Why is this?  What does this mean?



RE: Internal (intranet) repositories

2006-04-11 Thread EJ Ciramella
I won't work out the settings.xml file - this change must apply to all.

Mgmt has asked specifically to disallow maven to down load
automatically.

 

-Original Message-
From: Gareth Western [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 11, 2006 3:06 PM
To: Maven Users List
Subject: Re: Internal (intranet) repositories

Hi EJ,

Apologies if this has already been suggested (I've already deleted most
of
this thread), but have you tried adding the following to a file named 
settings.xml in your ${user.home}\.m2 directory (e.g. C:\documents and
settings\gareth\.m2\settings.xml):

settings
 mirrors
   mirror
 idmy-repo/id
 nameInternal mirror of
http://build.corp.upromise.com/mavenrepository
/name
 urlhttp://build.corp.upromise.com/mavenrepository/url
 mirrorOfcentral/mirrorOf
   /mirror
 /mirrors
/settings

?

If you do that you shouldn't have to add anything to project POM
(although
it does rely on each user having a settings.xml with these settings in
it).

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



Re: help whit site-deploy

2006-04-11 Thread Chucho
Thanks John. I would evaluate and use kenney and yours advice to make it
work. Also i would fill the JIRA issue, to get that feature in a new
release.

Thanks Again.



On 4/11/06, John Casey [EMAIL PROTECTED] wrote:

 If you're saying that a previous build (something living in /target of
 your
 local project working directory, I mean) is being deployed rather than
 generating and deploying a new version, you can simply change your maven
 call to:

 mvn clean site-deploy

 This will clean /target before generating/deploying the site from your
 project.

 However, if you're talking about cleaning out the remote location first
 (as
 I think you are, by your previous email), AFAIK this feature doesn't exist
 yet. Kenney and I were simply discussing possible ways to implement
 something like that, not describing what was already there. Sorry for any
 confusion that may have caused.

 If that feature is what you need, I'd suggest filing a new JIRA issue at:

 http://jira.codehaus.org/browse/MSITE.

 Cheers,

 John

 On 4/11/06, Chucho [EMAIL PROTECTED] wrote:
 
  Exactly! but how i do it? its my problem. I don't get it. I don't see
 that
  flag. I have been trying using this arguments
 
  -Dmaven.site.deploy.clean=true
  -Dmaven.site.publish.clean=true
 
  But it doesn't work.
 
  How to?
 
  Thanks
 
  On 4/11/06, John Casey [EMAIL PROTECTED] wrote:
  
   That would probably work pretty well, but I was just talking about a
  flag
   you could set in the plugin config to say it's OK to blow away that
   directory before deploying or else something like a site:remote-clean
   that
   could be bound to the phase ahead of site-deploy.
  
   -j
  
   On 4/11/06, Kenney Westerhof [EMAIL PROTECTED] wrote:
   
On Tue, 11 Apr 2006, John Casey wrote:
   
Another way would be to record what files constituted the last site
deployment. IIRC a 'deploy.zip' is uploaded and then unpacked. A
   list
of files in that zip could be recorded. Your proposal for a new
clean flag would then take this list into account and only delete
the files for that project. This might be safe enough?
   
-- Kenney
   
 Are you wondering why the deployment target location isn't removed
before
 re-deploying the site? That operates on the assumption that all
 the
content
 in or under that remote location is published by the current
  project,
   or
 that you will be fine with redeploying all of the content when you
  do
this
 site-deploy...which IMO is dangerous.

 For example, Maven itself publishes site content to multiple
   locations,
with
 the topmost being the main site project. Modules publish their
   reports,
etc.
 into subdirectories of the remote location referenced by the site
 project...if we removed this top directory, we'd not only lose all
  of
the
 reports published by the modules, but all of the historical
 versions
   of
 these reports too. This is a lot to republish.

 Perhaps an optional clean parameter would help, but I'm not sure
   whether
the
 underlying APIs currently support it.

 HTH,

 John

 On 4/11/06, Chucho [EMAIL PROTECTED] wrote:
 
  I'm using site-deploy on maven whit continuum and its work fine,
  but
when
  I'm do it again and the folder already exits, the site can be
   deploy,
I'll
  use clean, but don't clean the deploy site. if a change the POM
  distributionManagement
  section then it would make the deploy whit out problem, but i
 want
   the
  deploy overwrites the file or delete the site deploy folder and
   deploy
  again. i have check the permissions on the folder and have write
  permissions.
 
  the command its:
  clean install site-deploy
  and the arguments:
  --batch-mode --non-recursive
 
  How can i do to make site-deploy once and again on the same
  folder?
 
 
  POM.xml
 
  distributionManagement
  site
idWNserver/id
urlfile:C:\Inetpub\wwwroot\continuum\prueba2/url
  /site
/distributionManagement
 
 

   
--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key
   
   
 -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
   
  
  
 
 




RE: Internal (intranet) repositories

2006-04-11 Thread EJ Ciramella
Yeah, I'm NOT using the proxy atm - I still don't see benefit.

And for maven to flip flop and no one has an explanation, that's just
nuts. 

I can SEE the version on MY webserver it's looking for, yet it
disregards that version and goes to:

Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugi
n/2.1/maven-clean-plugin-2.1.pom

But a second later I see:

Downloading:
http://build.corp.upromise.com/mavenrepository/org/apache/maven/plugins/
maven-clean-plugin/2.1/maven-clean-plugin-2.1.jar

WHY?!

I copy from the local .m2/repository directory to my internal site,
delete the .m2 directory, re-run and STILL it does this.

Why does maven look in ONE place for the pom file, but then another for
the actual jar?

And there still hasn't been a satisfactory explanation of when to use

repositories
repository

And when to use:

pluginRepositories
pluginRepository

I'm not convinced that maven can't do what I want, I'm simply convinced
that the documentation is skimpy at best and the only source for a
configuration reference is this mailing list.

-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 11, 2006 3:12 PM
To: Maven Users List
Subject: Re: Internal (intranet) repositories

I've suggested this settings.xml mirror approach multiple times, but
it has not been an acceptable answer thus far. He wants to configure
everything in the project pom.xml file, and nothing in settings.xml.

I think the answer for now is... What you want to do is not currently
possible. Please feel free to contribute code to make it possible for
future versions of M2.

Wayne

On 4/11/06, Gareth Western [EMAIL PROTECTED] wrote:
 Hi EJ,

 Apologies if this has already been suggested (I've already deleted
most of
 this thread), but have you tried adding the following to a file named

 settings.xml in your ${user.home}\.m2 directory (e.g. C:\documents
and
 settings\gareth\.m2\settings.xml):

 settings
  mirrors
   mirror
 idmy-repo/id
 nameInternal mirror of
http://build.corp.upromise.com/mavenrepository
 /name
 urlhttp://build.corp.upromise.com/mavenrepository/url
 mirrorOfcentral/mirrorOf
   /mirror
  /mirrors
 /settings

 ?

 If you do that you shouldn't have to add anything to project POM
(although
 it does rely on each user having a settings.xml with these settings
in
 it).



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



Re: [M2] Weblogic War install question

2006-04-11 Thread mjohnsonaz74


Wayne Fay wrote:
 
 OK... For some reason the first time I read that, I think I saw want
 to install WAR into Weblogic not into local repo, so that was a
 mistake on my part.
 
 I assume, if you comment out the Weblogic plugin bits, that your WAR
 gets installed properly?
 
 Wayne
 

Yes, if I commment out the entire build block then the project creates the
war and installs it in the local repo.  The problem is, however, that I have
to run Weblogic appc on it and when I do it just stops running before
installing.  I don't want to have to copy the war to the repo manually, but
if I have to then I guess I will.  I was hoping that there was a more
elegant solution.

--MJ

--
View this message in context: 
http://www.nabble.com/-M2-Weblogic-War-install-question-t1433279.html#a3868920
Sent from the Maven - Users forum at Nabble.com.


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



Re: Maven site javadoc problem

2006-04-11 Thread Jules Gosnell

Bratek,

http://wadi.codehaus.org
http://svn.wadi.codehaus.org/viewrep/wadi/trunk/wadi

have a look at what we have done...

our site is generated by ./modules/site/pom.xml.

modules do the reporting/ into an outputDirectory/ - the 
modules/site/target/... dir


Modules are linked to from the top-level by an index provided by 
./modules/site/src/site/site.xml and link back via their own site.xml.


This is not ideal as automatic site deployment doesn't seem to work - I 
deploy the site manually, and we still get an empty site generated by 
the top-level pom that is not used... but it means that you can browse 
the site locally after it is built, tar it up and copy it over. We are 
getting there...


if you find a better way to do any of this, please drop me a mail :-)

you may also want to check out other threads I have kicked off recently 
about aggregating clover, javadoc and junit reports at the top-level - 
in conclusion, for various reasons, I can't get any of these to work :-(


Jules


Lee Meador wrote:


I don't think it can be done automatically. You can put a site.xml file in
each of the projects that has links to the other projects. I do this to put
additional links in the left sidebar of the site that allows me to click
around from project to project.

It's just barely good enought for me.

Thanks.

-- Lee

On 4/11/06, Bratek [EMAIL PROTECTED] wrote:
 


Hi,

I have a Maven project that contains several modules (separate directories
and pom files). When I run site goal Javadocs are generated in each
module's
directory. The problem is that the main project knows nothing about those
docs - there is no link to any of the modules.
I tried to search the Internet but I couldn't find any comprehensive
documentation on the subject - just some bits and ends. If you know how to
make this work, please let me know. Thank you,

Bratek
--
View this message in context:
http://www.nabble.com/Maven-site-javadoc-problem-t1431946.html#a3862183
Sent from the Maven - Users forum at Nabble.com.


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


   




--
-- Lee Meador
Sent from gmail. My real email address is [EMAIL PROTECTED]

 




--
Open Source is a self-assembling organism. You dangle a piece of
string into a super-saturated solution and a whole operating-system
crystallises out around it.

/**
* Jules Gosnell
* Partner
* Core Developers Network (Europe)
*
*www.coredevelopers.net
*
* Open Source Training  Support.
**/


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



  1   2   >