Re: [m2] List of Archetypes

2005-11-28 Thread Wim Deblauwe
I'm trying the j2ee archetype but I can get it working. I get an error that
RELEASE version can not be found.

regards,

Wim

2005/11/29, Allan Ramirez <[EMAIL PROTECTED]>:
>
> http://svn.apache.org/viewcvs.cgi/maven/archetype/trunk/maven-archetypes/
>
>
>
> Humer Günther wrote:
>
> >Hi!
> >Is there a list of the available archetypes?
> >Are there any archetypes on ibiblio?
> >
> >Especially I am looking for an ejb3 archetype, but others are welcome
> too!
> >
> >Thanks in advance!
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> >
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: [m2] List of Archetypes

2005-11-28 Thread Allan Ramirez

http://svn.apache.org/viewcvs.cgi/maven/archetype/trunk/maven-archetypes/



Humer Günther wrote:


Hi!
Is there a list of the available archetypes?
Are there any archetypes on ibiblio?

Especially I am looking for an ejb3 archetype, but others are welcome too!

Thanks in advance!

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



 



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

Re: maven changelog plugin problems

2005-11-28 Thread Edwin Punzalan


The behavior of changelog when ran on a parent pom, is to have the 
plugin run on its modules.  That is, each module will have their own 
reports.  The empty reports are created so that the build will not 
fail... this need to be updated though.



I'll look into your other concerns...


Julian Wood wrote:

I have a 2 module project - the 2 modules are pmgt-jar and pmgt- 
webapp. I have the changelog configured to produce a report from the  
parent pom.



scm:svn://apollo.ucalgary.ca:8800/pmgt
scm:svn://apollo.ucalgary.ca:8800/pmgtdeveloperConnection>

scm:svn:http://apollo.ucalgary.ca:8800/pmgt/trunk



  org.codehaus.mojo
  changelog-maven-plugin
  2.0-beta-2-SNAPSHOT
  

  dual-report
  
range
30
  
  
changelog
file-activity
  

  



I've noticed several things. For the parent site, and one of the  
modules, both reports are empty, but for one module, the reports are  
full, but contain entries for files which are specific to the other  
module and the parent. How is that? I would have expected the parent  
report to be filled out, and the two child modules to be empty  
reports, though really for the child I can't see why they are  
performed at all.


For the changelog, none of the times are reported, even though they  
exist. For instance, I get 2005-11-28 00:00:00, and for each date, I  
get 0 time. Bug?


The links to my svn repository are pretty mucked up. According to:

http://mojo.codehaus.org/changelog-maven-plugin/howto.html

The url in my scm tag should be as above, but this actually generates  
html links which are like so:


scm:svn:http://apollo.ucalgary.ca:8800/pmgt/trunk/pmgt-jar/src/main/ 
java/ca/ucalgary/commons/pmgt/controller/ConfigManager.java


which obviously don't work at all. Moreover, the source repository  
report likes to use the url tag as well, and that of course doesn't  
work either. I prefer it to be:


http://apollo.ucalgary.ca/websvncommons/listing.php? 
repname=pmgt&path=%2F&rev=0&sc=0


which gives me clickable access into my repository, but then links in  
the changelog report are even worse:


http://apollo.ucalgary.ca/websvncommons/listing.phppmgt-jar/src/site/ 
site.xml?repname=pmgt&path=%2F&rev=0&sc=0/pmgt-jar

and
http://apollo.ucalgary.ca/websvncommons/listing.phppmgt-jar/src/site/ 
site.xml?rev=2&content-type=text/vnd.viewcvs-markup&repname=pmgt&path= 
%2F&rev=0&sc=0/pmgt-jar


when what I would need for this file should be:

http://apollo.ucalgary.ca/websvncommons/filedetails.php? 
repname=pmgt&path=%2Ftrunk%2Fsrc%2Fsite%2Fsite.xml&rev=0&sc=0


So before I started going through the code, I thought I would see if  
I'm doing anything wrong. File activity logs show similar link problems.


Thanks,

J

--
Julian Wood <[EMAIL PROTECTED]>

Programmer/Analyst
University of Calgary

http://commons.ucalgary.ca


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



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



[m2] List of Archetypes

2005-11-28 Thread Humer Günther
Hi!
Is there a list of the available archetypes?
Are there any archetypes on ibiblio?

Especially I am looking for an ejb3 archetype, but others are welcome too!

Thanks in advance!

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



RE: [m2] Problem using snapshot repository

2005-11-28 Thread Jörg Schaible
Hi Aviron,

Mordo, Aviran (EXP N-NANNATEK) wrote on Monday, November 28, 2005 9:43 PM:

> I have a snapshot repository (running under apache).
> 
> When I use mvn deploy goal to deploy core-1.0-SNAPSHOT, maven
> deploys the snapshot jar and the POM files with a timestamp.
> All good until now.
> 
> Now I have another machine that has this snapshot as a
> dependency, but when it tries to download the snapshot I'm
> getting an error saying it can't find core-1.0-SNAPSHOT.pom .
> In the server there is not core-1.0-SNAPSHOT.pom but the POM
> with a timestamp i.e something like core-1.0-20051128.200550-2.pom
> 
> What do I need to do in order for it to download the snapshot
> correctly from the snapshot repository ?

you're fighting with policy. M2's default snapshot policy is different now 
compared to M102. The M2 deploy means, that releasing a snapshot is also an 
indentifiable release. Therefore the artifact is published with a time stamp 
(as it was in M1 with xxx:deploy-snapshot) and any POM using this particular 
artifact has to use the time-stamped version as dependency. You can change the 
default by setting repositories/repository/releases/enabled for your snapshot 
repository to false. Then the SNAPSHOT part is not replaced and the artifact is 
deployed without the timestamp.

- Jörg

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



Re: ear includes all jar files

2005-11-28 Thread clark . rao

Dear,
   You can use  in  element of pom.xml.







thanks.
Tel: (020)36315358-328 Fax: (020)36315170




  [EMAIL PROTECTED] 
   
  pmchase.com   To:   
users@maven.apache.org
cc: 

  28/11/2005 23:43  Subject:  ear includes 
all jar files
  Please respond to "Maven  

  Users List"   









Hi

this is my project structre

+- - Project
| +- - EJBs
|+- - - pom.xml
|  +- - War
|  + - - - pom.xml
|   +- - EAR
|   + - - - pom.xml
|- - pom.xml

so when i ran "mvn package" from "Porject>" directory it goes and creates
ejbs jar and war and also ear file and works fine.

but my problem is my ear file contains all the other dependencies jar from
EJBs & War Directory which i don't want. is there a way to control this so
that it will only have my EJBs.jar and War.war file only not the
dependecies jar of EJBs & War

Thanks,


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__


Hactl..Moving forward with you.

Best Air Cargo Terminal - Asia 2005
Air Cargo Terminal of the Year 2002, 2003 & 2004

Web: http://www.hactl.com

DISCLAIMER :-
The information contained in this message, including any attachment, is
confidential and may also be privileged. The information is intended only
for the person or entity to which it is addressed. Any review,
re-transmission, copying, storage, distribution or other use or disclosure
of this information by persons or entities other than the intended
recipient is prohibited. If you are not the intended recipient, please
contact the sender immediately by return email and delete this message from
your system. Thank you.




__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

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



Where is the source code for this JPOX maven plugin: maven-jpox-plugin version 1.0.1?

2005-11-28 Thread Chris Richardson
Hello,

I am trying to track down the source code for this JPOX maven plugin.
I've only been able to find older (maven1/jelly) versions.
Here is an excerpt from maven-jpox-plugin-1.0.1


  
mojo
org.codehaus.mojo
2
  
  4.0.0
  maven-jpox-plugin
  maven-plugin
  Maven JPox Plugin
  1.0.1
  
...


It fails trying to enhance classes from JAR file, perhaps because it doesn't
invoke the enhancer with a -d.

Where is the source?

Thanks.

Chris


--
Enterprise POJO consulting - http://www.chrisrichardson.net
Author, POJOs in Action - http://www.manning.com/crichardson
Enterprise POJOs blog - http://chris-richardson.blog-city.com


m2 - target/xmlbeans-source to be included as source dir for eclipse

2005-11-28 Thread Brian Bonner
I'm generating java source using xmlbeans from a schema.  the source
is landing in target/xmlbeans-source.  Is there an easy way to include
that source directory in the eclipse build path when I run
eclipse:eclipse?  Or is there another approach i should use?

Thanks.

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



maven changelog plugin problems

2005-11-28 Thread Julian Wood
I have a 2 module project - the 2 modules are pmgt-jar and pmgt- 
webapp. I have the changelog configured to produce a report from the  
parent pom.



scm:svn://apollo.ucalgary.ca:8800/pmgt
scm:svn://apollo.ucalgary.ca:8800/pmgtdeveloperConnection>

scm:svn:http://apollo.ucalgary.ca:8800/pmgt/trunk



  org.codehaus.mojo
  changelog-maven-plugin
  2.0-beta-2-SNAPSHOT
  

  dual-report
  
range
30
  
  
changelog
file-activity
  

  



I've noticed several things. For the parent site, and one of the  
modules, both reports are empty, but for one module, the reports are  
full, but contain entries for files which are specific to the other  
module and the parent. How is that? I would have expected the parent  
report to be filled out, and the two child modules to be empty  
reports, though really for the child I can't see why they are  
performed at all.


For the changelog, none of the times are reported, even though they  
exist. For instance, I get 2005-11-28 00:00:00, and for each date, I  
get 0 time. Bug?


The links to my svn repository are pretty mucked up. According to:

http://mojo.codehaus.org/changelog-maven-plugin/howto.html

The url in my scm tag should be as above, but this actually generates  
html links which are like so:


scm:svn:http://apollo.ucalgary.ca:8800/pmgt/trunk/pmgt-jar/src/main/ 
java/ca/ucalgary/commons/pmgt/controller/ConfigManager.java


which obviously don't work at all. Moreover, the source repository  
report likes to use the url tag as well, and that of course doesn't  
work either. I prefer it to be:


http://apollo.ucalgary.ca/websvncommons/listing.php? 
repname=pmgt&path=%2F&rev=0&sc=0


which gives me clickable access into my repository, but then links in  
the changelog report are even worse:


http://apollo.ucalgary.ca/websvncommons/listing.phppmgt-jar/src/site/ 
site.xml?repname=pmgt&path=%2F&rev=0&sc=0/pmgt-jar

and
http://apollo.ucalgary.ca/websvncommons/listing.phppmgt-jar/src/site/ 
site.xml?rev=2&content-type=text/vnd.viewcvs-markup&repname=pmgt&path= 
%2F&rev=0&sc=0/pmgt-jar


when what I would need for this file should be:

http://apollo.ucalgary.ca/websvncommons/filedetails.php? 
repname=pmgt&path=%2Ftrunk%2Fsrc%2Fsite%2Fsite.xml&rev=0&sc=0


So before I started going through the code, I thought I would see if  
I'm doing anything wrong. File activity logs show similar link problems.


Thanks,

J

--
Julian Wood <[EMAIL PROTECTED]>

Programmer/Analyst
University of Calgary

http://commons.ucalgary.ca


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



Re: [m2] repository link

2005-11-28 Thread Edwin Punzalan


For now you can go to maven2 website -> available plugins and see the 
ibiblio link there.


^_^


Adam Hardy wrote:



I always have to look really hard to find the link to ibiblio for the 
repository. Is it possible that someone could put it in a more 
prominent place on the maven website? e.g. the 'where is it' page?


BTW, http://maven.apache.org/configuration.html is giving me a 
page-not-found error.



Thanks
Adam

-
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: Repackaging dependent project artifacts

2005-11-28 Thread Edwin Punzalan


This will also help you: 
http://maven.apache.org/guides/mini/guide-assemblies.html



Ryan Smith wrote:


I'm investigating switching our build process from Ant to Maven.



I've run through the multi-project example, but I'm unclear as to how I
would embed one project's jar artifact within another.  I kind of expected
to be able to specify a package type of "jarjar" to ensure that the
artifacts (simple jars) of any dependent projects are included, but that the
default packaging types appear to be limited to jar/ejb/war.  I'm assuming
the package types are extensible and I'm guessing that someone has already
had the same need.  Can someone point me in the right direction?



Thanks,

Ryan


 



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



Re: Repackaging dependent project artifacts

2005-11-28 Thread Edwin Punzalan


You may be in need of the assembly plugin to do your "jarjar" package. 


Here's the link: http://maven.apache.org/plugins/maven-assembly-plugin


Ryan Smith wrote:


I'm investigating switching our build process from Ant to Maven.



I've run through the multi-project example, but I'm unclear as to how I
would embed one project's jar artifact within another.  I kind of expected
to be able to specify a package type of "jarjar" to ensure that the
artifacts (simple jars) of any dependent projects are included, but that the
default packaging types appear to be limited to jar/ejb/war.  I'm assuming
the package types are extensible and I'm guessing that someone has already
had the same need.  Can someone point me in the right direction?



Thanks,

Ryan


 



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



RE: Setting up repositories

2005-11-28 Thread Law Green-A20134
Hi, Mordo,

See attachment please. You might find some clue there.

Regards,
Green

-Original Message-
From: Mordo, Aviran (EXP N-NANNATEK) [mailto:[EMAIL PROTECTED] 
Sent: 2005年11月29日 2:39
To: Maven Users List
Subject: Setting up repositories

Hi all,
 
I'm trying to set up repositories but I don't really know how to do it.
Here is my problem.
 
I have a build machine which will hold the snapshot repository and the release 
repository. 
 
Now this machine will not be connected to the internet, so I need to setup a 
plugin repository which will be updated manually with the appropriate plugins. 
So I understand I need to install apache that will serve this plugin repository 
(will be on the same build machine).
 
Now workstations do have internet access and will download the plugins from  
ibiblio and from the build machine, and I want that they will also get the 
latest snapshots from the build server (how can I set up multiple plugin 
repositories ?)
 
Is this a good practice or am I talking nonsense ? How can I setup this kind of 
environment (examples for POM snippets and other configurations that I need to 
make will be appreciates since I'm new to maven)
 
Thank you
 
Aviran
--- Begin Message ---



Jason,Thank you so much for your patient 
reply! I have updated the diagram as per your comments, please let me know if it 
need further update.

 
And I guess it would be better to fake a 
sample suite to reflect the topology, including settings.xml, pom.xml, 
maven-proxy.properties. I would like to help with this 
task.  
 
BTW, I use UmlGraph (http://www.spinellis.gr/sw/umlgraph/) 
to generate the diagram. The tool makes it an easy job drawing the diagram. To 
generate the diagram shown above, all I have done is 17 lines of java like code 
plus one command line. U can do it in one minute once u get familiar with 
it.Regards,Green-Original 
Message-From: Jason van Zyl [mailto:[EMAIL PROTECTED]]Sent: 
2005年11月28日 14:15To: Maven Users ListSubject: Re: [M2] 
RepositoryLaw Green-A20134 wrote:> Jason,>> It's 
almost done, really appreciate! The only thing I want to make> clear is 
the maven-proxy deployment,>> Do you suggest we deploy maven-proxy 
as follows:I think the picture from the maven-proxy box pointing to many 
repos is accurate but I think you might want to represent Maven as the active 
process that sits between maven-proxy and the local repository which is 
populated the active maven process i.e. the copy of maven run by each developer 
on their workstations. It is maven that is talking to your instance of 
maven-proxy, in essence the mediator between your local and remote repository. 
In this case maven-proxy is acting as the uber remote repository.Would 
be happy to try and integrate your diagram into this:http://maven.apache.org/guides/introduction/introduction-to-repositories.htmlWould certainly help people who are new to 
Maven.--jvz.Jason van Zyljason at 
maven.orghttp://maven.apache.orgbelieve 
nothing, no matter where you read it, or who has said it, not even if i have 
said it, unless it agrees with your own reason and your own common 
sense. -- 
Buddha-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]--- End Message ---
--- Begin Message ---
Title: Re: [M2] Repository






Law Green-A20134 wrote:

> Hi,

>  

> Can anyone give me a clear description of the following concepts and

> their role in M2 build system:


They all share the same directory structure (as a file system is the 

most common way -- really the only way right now --  to house a repository).


> 1. remote repository


Where you the user may get artifacts from. Can be located anywhere and 

accessed by any protocol supported by Wagon (ftp/scp/http/file/...)


> 2. central repository


A special remote repository which is situated at 

www.ibiblio.org/maven2/, this is the remote repository where you would 

find most OSS artifacts.


> 3. snapshot repository


We do not store snapshots with released artifacts anymore. A snapshot 

repository is a remote repository specifically for housing non-release code.


> 4. local repository


The directory structure on your local machine which stores all the 

artifacts required by all the projects on your system.


> 5. private repository

> 6. intranet repository


Same thing and these are internal repositories. A remote repository 

inside your firewall i.e a repostory not on your machine but in the 

confines of your organization. You might have internal release/snapshot 

repos as well.


> 7. distribution repository


Usually an internal repository where you deploy your artifacts. Here 

again you may have release/snapshot repositories.


This might help as well:


http://maven.apache.org/

[m2] release plugin problems

2005-11-28 Thread Julian Wood
I'm trying to do a release. I have a fully synched remote svn  
repository, and a multimodule project. From the parent pom directory,  
I have run, among many others,


mvn release:prepare -Dproject.scm.developerConnection=scm:svn:file:/// 
Users/woodj/Documents/pmgt/pmgt/trunk -DtagBase=file:///Users/woodj/ 
Documents/pmgt/pmgt/tags


mvn release:prepare -Dproject.scm.developerConnection=scm:svn:http:// 
apollo.ucalgary.ca:8800/pmgt/trunk -DtagBase=http:// 
apollo.ucalgary.ca:8800/pmgt/tags


mvn release:prepare -Dproject.scm.developerConnection=scm:svn:http:// 
username:[EMAIL PROTECTED]:8800/pmgt/trunk -DtagBase=http:// 
username:[EMAIL PROTECTED]:8800/pmgt/tags


They all result in the same error:

[INFO] Verifying there are no local modifications ...
[INFO]  
 


[ERROR] BUILD ERROR
[INFO]  
 


[INFO] Can't load the scm provider.

Embedded error: The scm url is invalid.

I have no scm info in my pom. The svn repository does require a  
username and password to use, but I'm not sure where it should go, or  
if mvn can garner enough info just by looking in the .svn directory  
of my working repository (ie only needs to use the file based URL).


I'm using maven 2.0.1-SNAPSHOT and maven-release-plugin:2.0-beta-4- 
SNAPSHOT (from svn).


What am I doing wrong?

Thanks,

J

--
Julian Wood <[EMAIL PROTECTED]>

Programmer/Analyst
University of Calgary

http://commons.ucalgary.ca


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



Re: [m2] Copy the dependencies of a project in a custom plugin

2005-11-28 Thread Barry Kaplan
Can you post this plugin when you are thru. I need to create a Fitnesse 
plugin, and need to also collect the full set of depenencies. An example 
to start from would be nice.


thanks!

-barry

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



Re: How copy files from local repo to remote

2005-11-28 Thread clark . rao

Dear,
   You can runant-run plugin in maven2.(goal:copy)
  And also, you can run ftp.







thanks.
Tel: (020)36315358-328 Fax: (020)36315170



   
  Oles  
   
  <[EMAIL PROTECTED]To:   
users@maven.apache.org
  dessa.ua>cc:  
   
   Subject:  How copy files from 
local repo to remote  
  28/11/2005 21:58  
   
  Please respond to 
   
  "Maven Users  
   
  List" 
   

   

   




Hi all.
Prompt to me please.
I have two repo - local and our group running on Apache.
I make some build and maven's getting necessaries files and putting its
to local repo.
How can I copy files form my local repo to group repo excepting by
Cntr-C Cntr-V and how can I compare what files  yet is absent  in group
repo?

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


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__



Hactl..Moving forward with you.

Best Air Cargo Terminal - Asia 2005
Air Cargo Terminal of the Year 2002, 2003 & 2004

Web: http://www.hactl.com

DISCLAIMER :-
The information contained in this message, including any attachment, is
confidential and may also be privileged. The information is intended only
for the person or entity to which it is addressed. Any review,
re-transmission, copying, storage, distribution or other use or disclosure
of this information by persons or entities other than the intended
recipient is prohibited. If you are not the intended recipient, please
contact the sender immediately by return email and delete this message from
your system. Thank you.




__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

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



RE: M2 NTLM Proxy and remote ibiblio repo

2005-11-28 Thread Treloar, Barrie (SAPOL)
You need to provide the -e output from maven when you get an error so we can
have some hope of solving the problem.

However I suspect it is the known issue that a failed download does not 
re-download the pom file properly and using -U does not fix the problem
either (it should). You have to go into the maven repository and manually
delete the file.

I'd recommend just deleting your repository stored in 
C:\Documents and Settings\\.m2\repository
And trying again.


-Original Message-
From: javed mandary [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 16 November 2005 4:19 PM
To: Maven Users List
Subject: Re: M2 NTLM Proxy and remote ibiblio repo

I tried what you told me but am still getting the following:

C:\devtools\maven2work>mvn install
[INFO] Scanning for projects...
[INFO]
-
---
[INFO] Building Maven Quick Start Archetype
[INFO] task-segment: [install]
[INFO]
-
---
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking
for up
dates from central
[WARNING] repository metadata for: 'artifact
org.apache.maven.plugins:maven-reso
urces-plugin' could not be retrieved from repository: central due to an
error: E
rror transferring file
[INFO] Repository 'central' will be blacklisted
[INFO]
-
---
[ERROR] BUILD ERROR
[INFO]
-
---
[INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not
exi
st 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: Wed Nov 16 09:40:38 GMT+04:00 2005
[INFO] Final Memory: 1M/3M
[INFO]
-
---

I dont have the maven-resources-plugin in my plugins dir , would i need to
manually download and install the plugin or does Maven 2 takes care of the
download and installation of this plugin?

regards,
Javed

On 11/16/05, javed mandary <[EMAIL PROTECTED]> wrote:
>
> thanks treloar will try and let you know
>
> On 11/16/05, Treloar, Barrie (SAPOL) <[EMAIL PROTECTED] >
> wrote:
> >
> > You can use NTLMAPS http://ntlmaps.sourceforge.net/ .
> >
> > I am also behind a NTLM proxy and I can use this product and point maven
> > to
> > the NTLM proxy and everything works fine.
> >
> > Steps:
> > - Download and install NTLMAPS
> > - Configure NTLMAPS by editing the " server.cfg" file in the NTLMAPS
> > installation directory.
> >
> > In the GENERAL section set:
> > PARENT_PROXY:
> >
> > In the NTLM_AUTH section set:
> > NT_DOMAIN:
> > USER:
> > (Note: Leave the PASSWORD entry blank, NTLMAPS will prompt you for it)
> > - Run NTLMAPS, the default LISTEN_PORT is 5865.
> > - Configure M2 $user.dir/.m2/settings.xml
> > 
> > 
> > 
> > Local NTLMAPS
> > true
> > http
> > 
> > 
> > localhost
> > 5865
> > 
> > - Run mvn.
> >
> > Enjoy.
> > Barrie
> >
> > -Original Message-
> > From: javed mandary [mailto: [EMAIL PROTECTED]
> > Sent: Tuesday, 15 November 2005 5:40 PM
> > To: users@maven.apache.org
> > Subject: M2 NTLM Proxy and remote ibiblio repo
> >
> > Hi guys,
> > am having a problem right now accessing the remote ibiblio repository
> > due to
> > the fact that am behind firewalls and the proxy am using is NTLM . Now
> > it
> > seems that NTLM proxies are not supported by Maven 2.
> >
> > see: http://maven.apache.org/guides/mini/guide-proxies.html
> >
> > This is why I was hoping to be able to manually download jars from
> > ibiblio
> > and have a remote repository stored behind my firewall so as local
> > repositories can acess this new remote repo instead of having to go to
> > ibiblio.
> >
> > My question is that any of you have had same problem and how you
> > resolved it
> > ?
> >
> > and
> >
> > Do you guys have a mechanism for downloading all the jars and plugins
> > from
> > ibiblio in such a case?
> >
> > regards,
> > Javed
> >
> > -
> > 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: What is it scpexe

2005-11-28 Thread Brett Porter
http://maven.apache.org/guides/mini/guide-deploy-ssh-external.html

On 11/29/05, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote:
> 2005/11/28, Oles <[EMAIL PROTECTED]>:
> > Gentelmen!
> > How can I use
> >   
> > 
> > release
> >scpexe://release.inao.com/home/release/m2repo/
> > 
> > What is it means scpexe
>
> scp using external executable
>
> >and what plugin or smth yet I needs for that wagon?
>
> wagon-ssh-external, I think
>
> HTH, best regards
> Jose
>
> -
> 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: When I will be able to try out "A Maven 2.x plug-in for the E clipse IDE"

2005-11-28 Thread Treloar, Barrie (SAPOL)
Additionally a documented best practice for working with eclipse and maven
would be appreciated.

There is much discussion about flat vs structured eclipse directories but
no real consensus or examples about how to go about doing this.

-Original Message-
From: Lee Meador [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 29 November 2005 4:35 AM
To: Maven Users List
Subject: Re: When I will be able to try out "A Maven 2.x plug-in for the
Eclipse IDE"

Here are the problems I am having with mvn 'eclipse:eclipse'

...[snip]

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



Re: best practices question re: dependencies

2005-11-28 Thread Alexandre Poitras
I think you had to do this in Maven 1 because there was no concept of
transitive dependencies but in Maven 2, I think it is better to
declare your dependencies where they belong, ie in the child projects.
More easy to manage and track the dependencies this way.

On 11/28/05, Brian Bonner <[EMAIL PROTECTED]> wrote:
> In M1, in a multi-module project, you can declare dependencies in the
> parent pom and then the child modules would pickup the dependencies.
>
> The same holds true in M2, but I was wondering if this was preferred
> over showing the dependency relationships between the modules.
>
> i.e.
>
> parent
> modA  (depends on some of the stuff in the parent)
> modB  (depends on modA and some of the stuff in the parent some
> that modA has and some it doesn't)
> modC  (depends on modA and mod B)
>
> If we declare dependencies in parent, then they all go to each mod.
>
> However, I thought with M2, if modA was dependent upon the things in
> the parent, we could move these dependencies down to modA, still
> manage the versions using dependencyMgmt in the parent, and then have
> modB depend on modA (and get it's dependencies) and then declare the
> remaining dependencies in modB.
>
> Finally modC would just depend on modA and modB and get the necessary
> dependencies.
>
> Both end up satisfying dependencies, but which is the preferred way to go in 
> M2?
>
> Brian
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Alexandre Poitras
Québec, Canada

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



Re: Question on Maven "assembly" plugin

2005-11-28 Thread Tim Wood

Brett Porter wrote:

specify a  with  set to true - the default is
to include all dependencies and unpack them as classes at the root of
the new assembly. I think the jar-with-depedencies default descriptor
may already do as you need?


This is what I hoped would happen, but haven't been able to make it so.  I don't find a DTD for the  
descriptor XML and the plugin doc pages don't comment the descriptor elements.  So far I find Maven pretty murky in 
terms of what elements it uses when.  The workflow doc page is useful, but I'd almost like to see an ant-like XML file 
that shows what Maven does automatically.

Thanks,
TW

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



Re: Continuous Integration Tool

2005-11-28 Thread Stephen Cowx
I am also using Cruise Control with M2 by doing the same thing however 
the Build Results page does not show particularly detailed (or useful) 
information such as the type of info displayed for Maven 1 builds. 

Do you have the same problem or have you figured out how to integrate 
the Maven 2 build information into the cruise control Build Results page?


regards

Stephen

Pete wrote:


We have CruiseControl working fine with M2 wrapping the MVN command
using ant executable command.

On 25/11/05, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:
 


This message is clear for me, you provide a wrong url.

Continuum isn't accessible only on localhost address, you can access to it over 
network. We have
some instance over the net.
For the webapp, it's planned for 1.1

Emmanuel

Blaise Gosselin a écrit :
   


I enter the URL of the POM of the Maven 1.x project in Subversion, and I have such a kind 
of error : "The URL you provided is not a valid URL."
Moreover, I don't really like the fact that Continuum is only accessible by 
http://localhost:8080/continuum/
I would prefer a webapp, as for CruiseControl, where I can make a link to the 
results.

 _ _ _
bgOnline

-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: vendredi 25 novembre 2005 15:49
To: Maven Users List
Subject: Re: Continuous Integration Tool




Blaise Gosselin a écrit :

 


Hello,

What is the best tool to use for Continuous Integration ?

I've already tested the following :
- CruiseControl : good tool but apparently, not yet supported in Maven 2
- Continuum : problem to add a Maven 1.x project, error messages not explicite 
enough, etc.
   


What are your error messages?

Emmanuel


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


   



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




 



Re: [m2] https repository

2005-11-28 Thread ir. ing. Jan Dockx
Yes! Got it!

For the archives:

Now, I have in pom.xml:


[…]


ppw-missing
PeopleWare Repository of Missing Artifacts

https://cvs.peopleware.be/projects/maven/maven2/repository

[…]

[…]



and in ~/.m2/settings.xml



[…]


ppw-missing
thisIsMe
[EMAIL PROTECTED]

[…]

[…]



And the certificate imported as:


sudo keytool -keystore $JAVA_HOME/lib/security/cacerts -import -file ssl.cer


(On Mac OS X, and mutatis mutandi on other Unix variants and Windows).


And it works!



On 28 Nov 2005, at 22:40, ir. ing. Jan Dockx wrote:

Ok:

mvn -e compile

now fails, with the following message:


[…]
Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: https://cvs.peopleware.be/projects/maven/maven2/repository/org/toryt/toryt-I/1.3.0-3.0/toryt-I-1.3.0-3.0.pom

[…]



So, I seem to have taken the ssl hurdle!

Now I can look at the basic auth problem. Sigh.



On 28 Nov 2005, at 22:32, ir. ing. Jan Dockx wrote:

Well, I have to admit.
Running maven compile with this option reveals no trace of the certificate of our server!

Thus, I added it again:

[EMAIL PROTECTED]:jand>sudo keytool -keystore /Library/Java/Home/lib/security/cacerts -import -file /Users/Shared/ssl.cer 
[…]
Enter keystore password:  changeit
[…]



Next, I ran [EMAIL PROTECTED]:ppw-value>mvn compile -Djavax.net.debug=ssl again. Lo and behold, our certificate is in the list now.

Download still fails though. I'll keep you posted …


On 28 Nov 2005, at 21:18, Arnaud Bailly wrote:

The error trace in your first post seems to imply that the store you are using for your certificate is not the one used by ssl sockets. May be you can try adding
-Djavax.net.debug=ssl
to the VM args and look at the trace it gives, something like :


trustStore is: /paht/to/.keystore
trustStore type is : jks
trustStore provider is :
init truststore
adding as trusted cert:
Subject: OU=UE, O=Norsys SA, L=Lille, ST=Nord, C=FR
Issuer:  CN=myserver, OU=UE, O=Norsys SA, L=Lille, ST=Nord, C=FR
Algorithm: RSA; Serial number: 0x893f5f919f21bae9
Valid from Mon Feb 21 22:34:25 CET 2005 until Thu Feb 19 22:34:25 CET 2015


May be the trust store is not the one you expect.

Good luck.

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

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


Met vriendelijke groeten,

Jan Dockx

PeopleWare NV - Head Office
Cdt.Weynsstraat 85 
B-2660 Hoboken 
Tel: +32 3 448.33.38 
Fax: +32 3 448.32.66 


PeopleWare NV - Branch Office Geel
Kleinhoefstraat 5
B-2440 Geel
Tel: +32 14 57.00.90
Fax: +32 14 58.13.25


http://www.peopleware.be/
http://www.mobileware.be/

Met vriendelijke groeten,

Jan Dockx

PeopleWare NV - Head Office
Cdt.Weynsstraat 85 
B-2660 Hoboken 
Tel: +32 3 448.33.38 
Fax: +32 3 448.32.66 

PeopleWare NV - Branch Office Geel
Kleinhoefstraat 5
B-2440 Geel
Tel: +32 14 57.00.90
Fax: +32 14 58.13.25

http://www.peopleware.be/
http://www.mobileware.be/

Met vriendelijke groeten,

Jan Dockx

PeopleWare NV - Head Office
Cdt.Weynsstraat 85 
B-2660 Hoboken 
Tel: +32 3 448.33.38 
Fax: +32 3 448.32.66 

PeopleWare NV - Branch Office Geel
Kleinhoefstraat 5
B-2440 Geel
Tel: +32 14 57.00.90
Fax: +32 14 58.13.25

http://www.peopleware.be/
http://www.mobileware.be/


smime.p7s
Description: S/MIME cryptographic signature


Re: [m2] https repository

2005-11-28 Thread ir. ing. Jan Dockx
Ok:

mvn -e compile

now fails, with the following message:


[…]
Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: https://cvs.peopleware.be/projects/maven/maven2/repository/org/toryt/toryt-I/1.3.0-3.0/toryt-I-1.3.0-3.0.pom

[…]



So, I seem to have taken the ssl hurdle!

Now I can look at the basic auth problem. Sigh.



On 28 Nov 2005, at 22:32, ir. ing. Jan Dockx wrote:

Well, I have to admit.
Running maven compile with this option reveals no trace of the certificate of our server!

Thus, I added it again:

[EMAIL PROTECTED]:jand>sudo keytool -keystore /Library/Java/Home/lib/security/cacerts -import -file /Users/Shared/ssl.cer 
[…]
Enter keystore password:  changeit
[…]



Next, I ran [EMAIL PROTECTED]:ppw-value>mvn compile -Djavax.net.debug=ssl again. Lo and behold, our certificate is in the list now.

Download still fails though. I'll keep you posted …


On 28 Nov 2005, at 21:18, Arnaud Bailly wrote:

The error trace in your first post seems to imply that the store you are using for your certificate is not the one used by ssl sockets. May be you can try adding
-Djavax.net.debug=ssl
to the VM args and look at the trace it gives, something like :


trustStore is: /paht/to/.keystore
trustStore type is : jks
trustStore provider is :
init truststore
adding as trusted cert:
Subject: OU=UE, O=Norsys SA, L=Lille, ST=Nord, C=FR
Issuer:  CN=myserver, OU=UE, O=Norsys SA, L=Lille, ST=Nord, C=FR
Algorithm: RSA; Serial number: 0x893f5f919f21bae9
Valid from Mon Feb 21 22:34:25 CET 2005 until Thu Feb 19 22:34:25 CET 2015


May be the trust store is not the one you expect.

Good luck.

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

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


Met vriendelijke groeten,

Jan Dockx

PeopleWare NV - Head Office
Cdt.Weynsstraat 85 
B-2660 Hoboken 
Tel: +32 3 448.33.38 
Fax: +32 3 448.32.66 

PeopleWare NV - Branch Office Geel
Kleinhoefstraat 5
B-2440 Geel
Tel: +32 14 57.00.90
Fax: +32 14 58.13.25

http://www.peopleware.be/
http://www.mobileware.be/

Met vriendelijke groeten,

Jan Dockx

PeopleWare NV - Head Office
Cdt.Weynsstraat 85 
B-2660 Hoboken 
Tel: +32 3 448.33.38 
Fax: +32 3 448.32.66 

PeopleWare NV - Branch Office Geel
Kleinhoefstraat 5
B-2440 Geel
Tel: +32 14 57.00.90
Fax: +32 14 58.13.25

http://www.peopleware.be/
http://www.mobileware.be/


smime.p7s
Description: S/MIME cryptographic signature


Re: [m2] https repository

2005-11-28 Thread ir. ing. Jan Dockx
Well, I have to admit.
Running maven compile with this option reveals no trace of the certificate of our server!

Thus, I added it again:

[EMAIL PROTECTED]:jand>sudo keytool -keystore /Library/Java/Home/lib/security/cacerts -import -file /Users/Shared/ssl.cer 
[…]
Enter keystore password:  changeit
[…]



Next, I ran [EMAIL PROTECTED]:ppw-value>mvn compile -Djavax.net.debug=ssl again. Lo and behold, our certificate is in the list now.

Download still fails though. I'll keep you posted …


On 28 Nov 2005, at 21:18, Arnaud Bailly wrote:

The error trace in your first post seems to imply that the store you are using for your certificate is not the one used by ssl sockets. May be you can try adding
-Djavax.net.debug=ssl
to the VM args and look at the trace it gives, something like :


trustStore is: /paht/to/.keystore
trustStore type is : jks
trustStore provider is :
init truststore
adding as trusted cert:
Subject: OU=UE, O=Norsys SA, L=Lille, ST=Nord, C=FR
Issuer:  CN=myserver, OU=UE, O=Norsys SA, L=Lille, ST=Nord, C=FR
Algorithm: RSA; Serial number: 0x893f5f919f21bae9
Valid from Mon Feb 21 22:34:25 CET 2005 until Thu Feb 19 22:34:25 CET 2015


May be the trust store is not the one you expect.

Good luck.

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

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


Met vriendelijke groeten,

Jan Dockx

PeopleWare NV - Head Office
Cdt.Weynsstraat 85 
B-2660 Hoboken 
Tel: +32 3 448.33.38 
Fax: +32 3 448.32.66 

PeopleWare NV - Branch Office Geel
Kleinhoefstraat 5
B-2440 Geel
Tel: +32 14 57.00.90
Fax: +32 14 58.13.25

http://www.peopleware.be/
http://www.mobileware.be/


smime.p7s
Description: S/MIME cryptographic signature


RE: inheriting from plugins

2005-11-28 Thread David Jackman
Please expound on what you mean by "using libraries in a dependency
fashion".  I want to do this as well, and I'm not sure how.  Do you mean
I should create an instance of the other Mojo within my Mojo class?  If
so, how does it get configured properly?

..David..


-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Sunday, November 27, 2005 10:46 AM
To: Maven Users List
Subject: Re: inheriting from plugins

No, I mean using libraries in a dependency fashion, rather than
inheritance.

plexus-utils contains the DirectoryScanner class from Ant if you'd like
a lighter dependency for that.

Our priorities for documentation are:
1) pure user documentation on Maven feature usage
2) plugin developer documentation and related javadoc
3) maven developer internals documentation and related javadoc

On 11/27/05, Anuerin Diaz <[EMAIL PROTECTED]> wrote:
> thanks brett. by composition you mean coding from scratch? currently i

> am doing that but i was hoping to re-use some of the code in the 
> plugins. as it is i am going to use ant classes for directory scanning

> and processing because most of the classes used in the code do not 
> have javadocs (and they seem to have low priority) to guide new users.
> that is one issue that i have beef with but we have other alternatives

> so we might as well leverage on that.

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


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



[m2] Problem using snapshot repository

2005-11-28 Thread Mordo, Aviran (EXP N-NANNATEK)
I have a snapshot repository (running under apache).

When I use mvn deploy goal to deploy core-1.0-SNAPSHOT, maven deploys
the snapshot jar and the POM files with a timestamp. All good until now.

Now I have another machine that has this snapshot as a dependency, but
when it tries to download the snapshot I'm getting an error saying it
can't find core-1.0-SNAPSHOT.pom . In the server there is not
core-1.0-SNAPSHOT.pom but the POM with a timestamp i.e something like
core-1.0-20051128.200550-2.pom 

What do I need to do in order for it to download the snapshot correctly
from the snapshot repository ?

Thanks,

Aviran

P.S. I attached the error message below:

+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]


[INFO] Building Unnamed - gov.archives.era:my-webapp:war:1.0-SNAPSHOT
[INFO]task-segment: [compile]
[INFO]


[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading:
http://devserver/repository/core/core/1.0-SNAPSHOT/core-1.0-SNAPSHOT.pom
[INFO]


[ERROR] BUILD ERROR
[INFO]


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


Project ID: core:core

Reason: Error getting POM for 'core:core' from the repository: Error
transferring file
  core:core:1.0-SNAPSHOT:pom

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  dev-server (http://devserver/repository)



[INFO]


[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get
dependency information: Unable to read the metadata file for artifact
'core:core:jar': Error getting POM for 'core:core' from the repository:
Error transferring file
  core:core:1.0-SNAPSHOT:pom

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  dev-server (http://devserver.com/repository)

  core:core:1.0-SNAPSHOT:jar

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  dev-server (http://devserver/repository)
Path to dependency: 
1) gov.archives.era:my-webapp:war:1.0-SNAPSHOT


at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:536)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
ycle(DefaultLifecycleExecutor.java:469)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:448)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:301)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:268)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:137)
at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by:
org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable
to get dependency information: Unable to read the metadata file for
artifact 'core:core:jar': Error getting POM for 'core:core' from the
repository: Error transferring file
  core:core:1.0-SNAPSHOT:pom

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  dev-server (http://devserver.com/repository)

  core:core:1.0-SNAPSHOT:jar

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  dev-server (http://devserver.com/repository)
Path to dependency: 
1) gov.archives.era:my-webapp:war:1.0-SNAPSHOT


at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(Defa
ultArtifactCollector.java:289)
at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(Defa
ultArtifactCollector.java:67)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransi
tively(DefaultArtifactResolver.java:223)
at
org.apache.maven.ar

best practices question re: dependencies

2005-11-28 Thread Brian Bonner
In M1, in a multi-module project, you can declare dependencies in the
parent pom and then the child modules would pickup the dependencies.

The same holds true in M2, but I was wondering if this was preferred
over showing the dependency relationships between the modules.

i.e.

parent
modA  (depends on some of the stuff in the parent)
modB  (depends on modA and some of the stuff in the parent some
that modA has and some it doesn't)
modC  (depends on modA and mod B)

If we declare dependencies in parent, then they all go to each mod.

However, I thought with M2, if modA was dependent upon the things in
the parent, we could move these dependencies down to modA, still
manage the versions using dependencyMgmt in the parent, and then have
modB depend on modA (and get it's dependencies) and then declare the
remaining dependencies in modB.

Finally modC would just depend on modA and modB and get the necessary
dependencies.

Both end up satisfying dependencies, but which is the preferred way to go in M2?

Brian

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



Re: [m2] https repository

2005-11-28 Thread Arnaud Bailly
The error trace in your first post seems to imply that the store you are 
using for your certificate is not the one used by ssl sockets. May be 
you can try adding

-Djavax.net.debug=ssl
to the VM args and look at the trace it gives, something like :


trustStore is: /paht/to/.keystore
trustStore type is : jks
trustStore provider is :
init truststore
adding as trusted cert:
  Subject: OU=UE, O=Norsys SA, L=Lille, ST=Nord, C=FR
  Issuer:  CN=myserver, OU=UE, O=Norsys SA, L=Lille, ST=Nord, C=FR
  Algorithm: RSA; Serial number: 0x893f5f919f21bae9
  Valid from Mon Feb 21 22:34:25 CET 2005 until Thu Feb 19 22:34:25 CET 
2015



May be the trust store is not the one you expect.

Good luck.

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

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



RE: M2: Build error when building an individual module in a multi-module setup

2005-11-28 Thread Frank Russo
I have this same problem. 

There was a suggestion here: 

http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-HowdoIinstallafileinmylocalrepositoryalongwithagenericPom%3F
 
for generating a generic pom, but it refers to having version 2.0.1-SNAPSHOT. 

How do you get this version? The only items available from apache for download 
are the 2.0 release and the 2.0 beta 3 release. Where do we get the snapshots?

Frank Russo
Senior Developer
FX Alliance, LLC

-Original Message-
From: Lee Meador [mailto:[EMAIL PROTECTED]
Sent: Monday, November 28, 2005 12:40 PM
To: Maven Users List
Cc: [EMAIL PROTECTED]
Subject: Re: M2: Build error when building an individual module in a
multi-module setup


Warning: This method may not be a long term solution but works today for me.

To get rid of the slow-down when there is no POM in your local repository I
did the following.

1) Create a default/do-nothing POM for the jars. Here is the one for my
Websphere 6.0.0 j2ee.jar.


  4.0.0
  com.ibm.websphere
  j2ee
  6.0.0


2) Put it in some temp folder somewhere on your computer.

3) install it into your local repository with almost the same command you
used to install the jar. Change the package from "jar" to "pom" and supply
the path to the POM file created in steps 1 and 2. (The first command
installs the jar. The second one installs the POM.)

mvn install:install-file -DgroupId=com.ibm.websphere \
 -DartifactId=j2ee -Dversion=6.0.0 \
 -Dpackaging=jar -Dfile=/lib/j2ee.jar

mvn install:install-file -DgroupId=com.ibm.websphere \
 -DartifactId=j2ee -Dversion=6.0.0 \
 -Dpackaging=pom -Dfile=/temp/j2ee.pom


Thats it.

I don't think this is a permanent solution. Someone else may have a better
way to do this.

-- Lee Meador

On 11/25/05, Gareth Powell <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm trying to use Maven2 for a new project I'm working on and so
> far I'm very impressed with it, but I have found a couple of problems.
> Problems that are probably down to user error and mis-configuration.
>
> First of these problems is that with the project setup in a
> multi-module configuration with the modules extending the parent project
> with the following:
>
> 
> avalon-reports
> com.bf.avalon
> 1.0-SNAPSHOT
> ../pom.xml
> 
>
>
> If I run the build from the top-level parent directory the build
> works fine and installs snapshots into my local repo. The problem comes when
> I try to run a single module build inside one of the module directories. I
> know from having checked the repo after the top-level build that all my
> newly created jars are in the correct place but for some reason the build of
> the single module, refuses to resolve my inter module dependencies, as
> though it's ignoring my local repo. I also know that the dependencies are
> setup correctly as the top-level build works fine. The error I get is as
> follows:
>
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Failed to resolve artifact.
>
> GroupId: com.bf.avalon
> ArtifactId: avalon-reports
> Version: 1.0-SNAPSHOT
>
> Reason: Unable to download the artifact from any repository
>   com.bf.avalon:avalon-reports:1.0-SNAPSHOT:pom
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   m2local (file:///mnt/m2)
>
> N.B. m2local is our shared releases repository and not my actual
> local repo which is /home/gpowell/.m2/repository.
>
> I don't want to have to run a top-level build everytime as this
> will be considerably slower, particularly when I'm working on a small
> module.  I am at a loss as to what I am doing wrong and any suggestions
> would be very much appreciated.
>
> The other issue, and this may be related to the above, is that I
> have installed a number of third party jars into my local repo and all of
> which are concrete releases (not SNAPHOTS). When I run a build Maven
> attempts to resolve the dependency by looking at
> http://repo1.maven.org/maven2, where these jars don't exist. It would
> appear that it is trying to find the pom for the third party jars, and none
> of them actually have a pom. Now as my dependencies are not SNAPSHOTs and
> they exist in my local repo, why does Maven waste time looking at the remote
> repo as this takes quite a bit of time when you have a lot of dependencies,
> thus slowing down the build considerably.  Other areas of Maven 2 seem to
> have been improved with regards to speed and performance so again I assume I
> am missing something.
>
> Any pointers or suggestions would be very much appreciated.
>
> Gareth
>
> Gareth Powell
> Software Engineer
> Skype: gareth_powell_bf

Re: Intro questions

2005-11-28 Thread Tomislav Stojcevich
That works for me also, but only if the build.xml file is in the root
of the project.  Mine isn't and I don't see how to specify the
location of the file.

On 11/24/05, Jeremy Hughes <[EMAIL PROTECTED]> wrote:
> Leaving the POM filename field empty worked for me.
>
> Jeremy
>
> On 11/18/05, Tomislav Stojcevich <[EMAIL PROTECTED]> wrote:
> > The same thing happens to me.  I did select add ant project but when I
> > go to add the build definition it asks me for the pom.  I tried
> > specifying the build.xml file for the pom and specifying the ant
> > target in the goal but that doesn't work.
> >
> > I am using version 1.0.1.
> >
> >
> > On 11/15/05, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:
> > > Where did it asked you? Are you sure you choose "Add Ant Project" in menu?
> > >
> > > Emmanuel
> > >
> > > Sergio Bossa a écrit :
> > > > Hi all,
> > > >
> > > > I've never used Maven but I want to use Continuum with Ant, do I need
> > > > to know something about Maven?
> > > > Moreover, adding one of my Ant projects, Continuum asked me for a
> > > > Maven pom.xml file: why do I need this, if my project is Ant based?
> > > >
> > > > Thanks,
> > > > Regards,
> > > >
> > > > Sergio B.
> > > >
> > > > --
> > > > Sergio Bossa (http://sbtourist.blogspot.com)
> > > > Author and Lead Developer of:
> > > > - Montag (http://montag.sourceforge.net)
> > > > - QuickNote (http://quicknote.sourceforge.net)
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
> > --
> > tom
> >
>


--
tom


Re: Eclipse:add-maven-repo bug

2005-11-28 Thread Fabrizio Giustina
it's fixed, a new release should be out soon

fabrizio

On 11/28/05, Jean-Sebastien Bournival
<[EMAIL PROTECTED]> wrote:
> Is someone fixing the "eclipse:add-maven-repo" bug?  The one that adds a 'X'
> to the eclipse workspace folder.
>
> Thanx.
>
> JS.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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



Re: [m2] RAR plugin

2005-11-28 Thread Stephane Nicoll
Edwin,

Thanks. Meanwhile, Brett Porter fixed it.

Thanks,
Stéphane

On 11/25/05, Edwin Punzalan <[EMAIL PROTECTED]> wrote:
>
>
> Stephane.
>
> I was looking at the source of RAR plugin and found these:
>
> 1) if includeJar == true and jar file does not exist, the plugin does
> nothing.
>
> 2) the rar plugin does not call project.getArtifact().setFile(
> generatedRarFile ) at the end of the execution so that
> maven-install-plugin can locate the packaged artifact and copy it into
> the local repository.
>
> I think those caused the issues being raised by henry.
>
>
> Stephane Nicoll wrote:
>
> >Well it should. Could you please show your POM and the structure of your
> >project please?
> >
> >Thx,
> >Stéphane
> >
> >On 11/21/05, Henry Isidro <[EMAIL PROTECTED]> wrote:
> >
> >
> >>I'm using the RAR plugin and I found out that it does not create a JAR
> >>file to include in the package. So, I invoked the JAR plugin and
> >>everything worked fine. Now, I tried using the install plugin to install
> >>the rar file into my local repository and what happened was the plugin
> >>installed the JAR file into my local repository renaming it as a RAR
> >>file! The generated RAR file was untouched.
> >>
> >>Here is what my POM looks like:
> >>
> >>
> >>4.0.0
> >>
> >>my-ra
> >>rar
> >>My Resource Adapter
> >>
> >>
> >>
> >>
> >>org.apache.maven.plugins
> >>maven-jar-plugin
> >>2.0
> >>
> >>
> >>create-jar
> >>compile
> >>
> >>jar
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>I called M2 by the command 'mvn install'. Any thoughts would be greatly
> >>appreciated.
> >>
> >>Regards,
> >>Henry
> >>
> >>-
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>
> >>
> >
> >
> >--
> >.::You're welcome ::.
> >
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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


Re: ear includes all jar files

2005-11-28 Thread Stephane Nicoll
On 11/28/05, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
>
> Hi
>
> this is my project structre
>
> +- - Project
> | +- - EJBs
> |+- - - pom.xml
> |  +- - War
> |  + - - - pom.xml
> |   +- - EAR
> |   + - - - pom.xml
> |- - pom.xml
>
> so when i ran "mvn package" from "Porject>" directory it goes and creates
> ejbs jar and war and also ear file and works fine.
>
> but my problem is my ear file contains all the other dependencies jar from
> EJBs & War Directory which i don't want. is there a way to control this so
> that it will only have my EJBs.jar and War.war file only not the
> dependecies jar of EJBs & War


Provide a valid scope for you jar dependencies (either compile or provided).

Hope it helps,
Stéphane




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


Setting up repositories

2005-11-28 Thread Mordo, Aviran (EXP N-NANNATEK)
Hi all,
 
I'm trying to set up repositories but I don't really know how to do it.
Here is my problem.
 
I have a build machine which will hold the snapshot repository and the
release repository. 
 
Now this machine will not be connected to the internet, so I need to
setup a plugin repository which will be updated manually with the
appropriate plugins. So I understand I need to install apache that will
serve this plugin repository (will be on the same build machine).
 
Now workstations do have internet access and will download the plugins
from  ibiblio and from the build machine, and I want that they will also
get the latest snapshots from the build server (how can I set up
multiple plugin repositories ?)
 
Is this a good practice or am I talking nonsense ? How can I setup this
kind of environment (examples for POM snippets and other configurations
that I need to make will be appreciates since I'm new to maven)
 
Thank you
 
Aviran


Re: When I will be able to try out "A Maven 2.x plug-in for the Eclipse IDE"

2005-11-28 Thread Lee Meador
Here are the problems I am having with mvn 'eclipse:eclipse'

1) Dependency is added to the eclipse project for /jre/rt.lib pointing the the java 1.5 runtime jar. This makes the
eclipse project refuse to even try building.

2) When the maven POM has a dependency on other projects, dependencies to
all the other projects' snapshots in the repository are added ot the eclipse
project.

3) Eclipse build path components based on any other projects all disappear.
(These are the ones in the project's properties dialog box. Select build
path from the tree and select 'projects' tab which is the 2nd from left.)

4) Eclpse project dependencies to any other projects all disappear.  (These
are the ones in the project's properties dialog box. Select the bottom
option  from the tree.)

5) I'm using MyEclipse and all the natures for things like an EAR project,
or a WAR project all disappear from the eclispe ".project" file.

6) The transitive dependencies stuff in Maven 2 interacts with the contents
of the POMs to make the Eclipse projects dependent on a whole lot of extra
stuff when you run mvn eclipse:eclipse. The way Eclipse 3.1 is set up so
that the dependency jars show up at the top level of the project tree in the
package view means you have to see all those bogus dependencies. (This is in
a case like the spring framework where one of the Spring jars is dependent
on 15 other things but you are only using one part of the Spring jar and so
you only need 2 of the 15 dependencies.)

7) And some more of those sorts of things.

8) Its hard for my fingers to type eclipse:eclipse without a typo. It seems
to be the combination of letters ...

In general, it seems that the maven2 eclpse plugin does not preserve
previously set project settings. It seems to wipe them away and build the
projects the way it prefers. (On the other hand, I think the Checkstyle
nature and settings are preserved.)

For me, this works while getting things set up but causes problems on a
continuing basis. Perhaps if every build related thing was done with Maven
it would be ok.

What I have been doing that seems to work on a continuing basis is to add
new dependencies to the POM first, then run maven and fix things until it
can build, then manually add a reference into the repository to the Eclipse
classpath. To do that, I go into eclipse's project properties. Select "build
classpath" from the tree at the left and click the 3rd tab for libraries.
Then I click "Add variable" and select M2_REPO and extend to find the new
jar file.

On 11/25/05, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
>
> This is possible and it's something that will be available probably in
> the next weeks.
>
> On 11/25/05, Kees de Kooter <[EMAIL PROTECTED]> wrote:
> > Miks,
> >
> > I am not sure if this would be possible. For instance, in your eclipse
> > project you have a "flat" list of dependent libraries whereas in maven
> > most of the dependencies are resolved for you.
> >
> > E.g. if you put a dependency on hibernate in your pom maven figures
> > out which dependencies hibernate has, in eclipse you have to to this
> > all by yourself.
> >
> > In our team the pom is leading. Every time something .classpath or
> > ,project related changes in the pom we run eclipse:eclipse and are up
> > to date on the eclipse side.
> >
> > rgds,
> > Kees
> >
> >
> > >
> > > It doesn't. It generates Eclipse project out of Maven's project. What
> I
> > > need is as minumum vice versa -- I do have projects in Eclipse and I
> > > need to have pom.xml generated and kept up to date, as developers
> > > continue development in Eclipse.
> > >
> >
> > -
> > 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]
>
>


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


Re: [m2] https repository

2005-11-28 Thread ir. ing. Jan Dockx
So, let's try using scp instead of https with basic auth:

in pom.xml:


[…]


ppw-missing-scp
PeopleWare Repository of Missing Artifacts, via scp

scp://cvs.peopleware.be/ppw/projects/maven/public_html/maven2/repository

[…]

[…]



In ~/.m2/settings.xml:


|-->


ppw-missing-scp
thisIsMe

[…]

[…]


My public key is in ~/.ssh.

This doesn't work either! mvn compile hangs on
Downloading: scp://cvs.peopleware.be/ppw/projects/maven/public_html/maven2/repository/org/toryt/toryt-I/1.3.0-3.0/toryt-I-1.3.0-3.0.pom.

When, in another terminal, I run


[EMAIL PROTECTED]>scp [EMAIL PROTECTED]:/ppw/projects/maven/public_html/maven2/repository/org/toryt/toryt-I/1.3.0-3.0/toryt-I-1.3.0-3.0.pom .
toryt-I-1.3.0-3.0.pom 100% 124319.9KB/s   00:00


The download is instantenuous. I don't get it!



On 28 Nov 2005, at 16:38, ir. ing. Jan Dockx wrote:

Indeed. Thanks for this pointer to [EMAIL PROTECTED] nevertheless, but I can't find an answer there for my problem. Anyone else?


On 28 Nov 2005, at 15:51, Arnaud Bailly wrote:

ir. ing. Jan Dockx wrote:
Please? Someone?
The previous answer points to a small guide I proposed for accessing a repository over HTTPS with client-certificate-based authentication, not with password-based (eg. Basic in HTTP parlance) authentication. This may be useful but as you can tell from the doc, the settings are the same for maven 1 and 2 (BTW: we have both kind of repos on our server and it works fine) so this may not be the same problem as yours.

PS: no, you're not alone :-)

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

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


Met vriendelijke groeten,

Jan Dockx

PeopleWare NV - Head Office
Cdt.Weynsstraat 85 
B-2660 Hoboken 
Tel: +32 3 448.33.38 
Fax: +32 3 448.32.66 

PeopleWare NV - Branch Office Geel
Kleinhoefstraat 5
B-2440 Geel
Tel: +32 14 57.00.90
Fax: +32 14 58.13.25

http://www.peopleware.be/
http://www.mobileware.be/

Met vriendelijke groeten,

Jan Dockx

PeopleWare NV - Head Office
Cdt.Weynsstraat 85 
B-2660 Hoboken 
Tel: +32 3 448.33.38 
Fax: +32 3 448.32.66 

PeopleWare NV - Branch Office Geel
Kleinhoefstraat 5
B-2440 Geel
Tel: +32 14 57.00.90
Fax: +32 14 58.13.25

http://www.peopleware.be/
http://www.mobileware.be/


smime.p7s
Description: S/MIME cryptographic signature


Re: ear includes all jar files

2005-11-28 Thread Srepfler Srgjan
Perhaps if there are libs that you want in the war alone you can specify 
them only in the war pom and you don't specify anything in the ear pom 
that shouldn't be there? I think we should see your pom's.


but my problem is my ear file contains all the other dependencies jar from 
EJBs & War Directory which i don't want. is there a way to control this so 
that it will only have my EJBs.jar and War.war file only not the 
dependecies jar of EJBs & War


Thanks,



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



Re: M2: Build error when building an individual module in a multi-module setup

2005-11-28 Thread Lee Meador
Warning: This method may not be a long term solution but works today for me.

To get rid of the slow-down when there is no POM in your local repository I
did the following.

1) Create a default/do-nothing POM for the jars. Here is the one for my
Websphere 6.0.0 j2ee.jar.


  4.0.0
  com.ibm.websphere
  j2ee
  6.0.0


2) Put it in some temp folder somewhere on your computer.

3) install it into your local repository with almost the same command you
used to install the jar. Change the package from "jar" to "pom" and supply
the path to the POM file created in steps 1 and 2. (The first command
installs the jar. The second one installs the POM.)

mvn install:install-file -DgroupId=com.ibm.websphere \
 -DartifactId=j2ee -Dversion=6.0.0 \
 -Dpackaging=jar -Dfile=/lib/j2ee.jar

mvn install:install-file -DgroupId=com.ibm.websphere \
 -DartifactId=j2ee -Dversion=6.0.0 \
 -Dpackaging=pom -Dfile=/temp/j2ee.pom


Thats it.

I don't think this is a permanent solution. Someone else may have a better
way to do this.

-- Lee Meador

On 11/25/05, Gareth Powell <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm trying to use Maven2 for a new project I'm working on and so
> far I'm very impressed with it, but I have found a couple of problems.
> Problems that are probably down to user error and mis-configuration.
>
> First of these problems is that with the project setup in a
> multi-module configuration with the modules extending the parent project
> with the following:
>
> 
> avalon-reports
> com.bf.avalon
> 1.0-SNAPSHOT
> ../pom.xml
> 
>
>
> If I run the build from the top-level parent directory the build
> works fine and installs snapshots into my local repo. The problem comes when
> I try to run a single module build inside one of the module directories. I
> know from having checked the repo after the top-level build that all my
> newly created jars are in the correct place but for some reason the build of
> the single module, refuses to resolve my inter module dependencies, as
> though it's ignoring my local repo. I also know that the dependencies are
> setup correctly as the top-level build works fine. The error I get is as
> follows:
>
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Failed to resolve artifact.
>
> GroupId: com.bf.avalon
> ArtifactId: avalon-reports
> Version: 1.0-SNAPSHOT
>
> Reason: Unable to download the artifact from any repository
>   com.bf.avalon:avalon-reports:1.0-SNAPSHOT:pom
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   m2local (file:///mnt/m2)
>
> N.B. m2local is our shared releases repository and not my actual
> local repo which is /home/gpowell/.m2/repository.
>
> I don't want to have to run a top-level build everytime as this
> will be considerably slower, particularly when I'm working on a small
> module.  I am at a loss as to what I am doing wrong and any suggestions
> would be very much appreciated.
>
> The other issue, and this may be related to the above, is that I
> have installed a number of third party jars into my local repo and all of
> which are concrete releases (not SNAPHOTS). When I run a build Maven
> attempts to resolve the dependency by looking at
> http://repo1.maven.org/maven2, where these jars don't exist. It would
> appear that it is trying to find the pom for the third party jars, and none
> of them actually have a pom. Now as my dependencies are not SNAPSHOTs and
> they exist in my local repo, why does Maven waste time looking at the remote
> repo as this takes quite a bit of time when you have a lot of dependencies,
> thus slowing down the build considerably.  Other areas of Maven 2 seem to
> have been improved with regards to speed and performance so again I assume I
> am missing something.
>
> Any pointers or suggestions would be very much appreciated.
>
> Gareth
>
> Gareth Powell
> Software Engineer
> Skype: gareth_powell_bf 
> Tel: +44 (0) 1749 834994
> email: [EMAIL PROTECTED]
> BlueFinger Limited
> Underwood Business Park
> Wookey Hole Road, WELLS. BA5 1AF
> Tel: +44 (0) 1749 834900
> Fax: +44 (0) 1749 834901
> web: www.bluefinger.com
> Company Reg No: 4209395 Registered Office: Underwood Business Park, Wookey
> Hole Road, Wells, Somerset BA5 1AF.
> *** This E-mail contains confidential information for the addressee only.
> If you are not the intended recipient, please notify us immediately. You
> should not use, disclose, distribute or copy this communication if received
> in error. No binding contract will result from this e-mail until such time
> as a written document is signed on behalf of the company. BlueFinger Limi

RE: Repost: Weird behavior on central repository for a local resource

2005-11-28 Thread Frank Russo
thx...
 

Frank Russo
Senior Developer
FX Alliance, LLC


-Original Message-
From: ir. ing. Jan Dockx [mailto:[EMAIL PROTECTED]
Sent: Monday, November 28, 2005 10:41 AM
To: Maven Users List
Subject: Re: Repost: Weird behavior on central repository for a local resource



On 28 Nov 2005, at 16:36, Frank Russo wrote:



Are these switches documented somewhere? That would be really useful.



mvn -h or mvn -usage. And that's the only documentation I have found on the 
topic.





I'll try it. Thanks, Green...


Frank Russo
Senior Developer
FX Alliance, LLC

-Original Message-
From: Law Green-A20134 [mailto:[EMAIL PROTECTED]
Sent: Monday, November 28, 2005 10:32 AM
To: Maven Users List
Subject: RE: Repost: Weird behavior on central repository for a local resource


Frank,

Have you tried "mvn -o" which proceed with offline build?

Best Regards,
Green

-Original Message-
From: Frank Russo [mailto:[EMAIL PROTECTED] 
Sent: 2005?11?28? 
22:57
To: Maven Users List
Subject: RE: Repost: Weird behavior on central repository for a local resource

It's still not working, and I don't know why. I loaded all of the jars using 
the same command into my local repository. They do not exist on central, as 
they will never. These will eventually exist in a remote repository on our 
intranet, but it has not yet been created.

Anyone have any ideas? 

Frank Russo
Senior Developer
FX Alliance, LLC

-Original Message-
From: Frank Russo
Sent: Friday, November 25, 2005 2:49 PM
To: Maven Users List
Subject: RE: Weird behavior on central repository for a local resource


Also, on this note, why is it trying to refresh from central each time? 
Shouldn't maven be looking locally first? I believe I set it to look daily for 
updates...


Frank Russo
Senior Developer
FX Alliance, LLC

-Original Message-
From: Frank Russo 
Sent: Friday, November 25, 2005 2:42 PM
To: users@maven.apache.org
Subject: Weird behavior on central repository for a local resource


I'm trying to build a webapp using the 'mvn package' command. I ran this five 
minutes ago with no problems. I just ran it again, and I'm getting this error 
message:

org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get 
dependency information: Unable to read the metadata file for artifact 
'com.fxall.fxall-admin:fxall_ext_API:jar': Error getting POM for 
'com.fxall.fxall-admin:fxall_ext_API' from the repository: Error transferring 
file 
com.fxall.fxall-admin:fxall_ext_API:1.0:pom
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
com.fxall.fxall-admin:fxall_ext_API:1.0:jar

The really strange thing about this is that the jar it's having a problem 
getting from central doesn't exist there. It's a jar I installed in my local 
repository along with 20+ others. When it tries to load the others from central 
it just gives this message:

[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)

The one that fails should work the same as the others. 

I've been having weird problems today with the central repository. It seems 
that it was down this morning, and has been giving intermittent problems all 
day. Are these problems normal for maven in general. I'm a new user, and this 
seems to be show stopper if it happens often enough that I can't build my app 
for most of a day.

Just curious...

Frank Russo
Senior Developer
FX Alliance, LLC


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


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




Met vriendelijke groeten,

Jan Dockx

PeopleWare NV - Head Office
Cdt.Weynsstraat 85 
B-2660 Hoboken 
Tel: +32 3 448.33.38 
Fax: +32 3 448.32.66 

PeopleWare NV - Branch Office Geel
Kleinhoefstraat 5
B-2440 Geel
Tel: +32 14 57.00.90
Fax: +32 14 58.13.25

http://www.peopleware.be/
http://www.mobileware.be/




RE: [M1] Maven with Websphere Application Developer anyone?

2005-11-28 Thread Weston, Toby
No worries, thanks for the comments, I'm just not sure if WSAD is supposed
to copy the JARs or not, if not I can work around - I've just got a bee in
my bonnet :)

Cheers

Lee Meador wrote:
> Sorry Toby. I just don't remember how it was done and I don't have
> access to that code since I have moved to another project at another
> company. That was last year and I've slept since then.  
> 
> Perhaps we copied our jar dependencies into someplace where WSAD
> could find them. I seem to remember some jars in the base project but
> I'm just not sure how they were used.  
> 
> Sorry,
> 
> -- Lee Meador
> 
> On 11/28/05, Weston, Toby <[EMAIL PROTECTED]> wrote:
>> 
>> Yep, all looks good, I've got the MAVEN_REPO\foo.jar in the
>> .classpath file and marked as exported like this;
>> 
>> > path="MAVEN_REPO/axis/jars/axis-1.3.jar"/>
>> 
>> 
>> And added it to the manifest.mf file like this;
>> 
>> Class-Path: axis-1.3.jar
>> 
>> But still no JARs when I export (or deploy) from WSAD! Did you have
>> your webapp associated with an EAR? Mine isn't, so I export -> JAR
>> not EAR. Am I missing something? 
>> 
>> Cheers,
>> Toby
>> 
>> Dion Gillard wrote:
>>> We have no hassles deploying or exporting from WSAD.
>>> 
>>> Do you make sure your MANIFEST.MF is correct?
>>> 
>>> On 11/28/05, Weston, Toby <[EMAIL PROTECTED]> wrote:
 Yep I include the war.bundle property, so Maven is fine, I meant
 that it doesn't export / deploy correctly from within WSAD.
 
 Dion Gillard wrote:
> Are you using
> 
> 
>   true
> 
> 
> on the dependency?
> 
> On 11/25/05, Weston, Toby <[EMAIL PROTECTED]> wrote:
>> Hi Lee,
>> 
>> Thanks for the info, could you outline how you got Websphere to
>> handle the JAR's correctly? If I set the classpath of a webapp in
>> the Maven way (ie, extend a variable MAVEN_REPO\foo.jar) if
>> doesn't export / deploy this under the WEB-INF\lib folder. Does
>> that make sense? 
>> 
>> Thanks,
>> Toby
>> 
>>   _
>> 
>> From: Lee Meador [mailto:[EMAIL PROTECTED]
>> Sent: 22 November 2005 21:07
>> To: Maven Users List
>> Cc: Weston, Toby
>> Subject: Re: [M1] Maven with Websphere Application Developer
>> anyone? 
>> 
>> 
>> I worked on a project last year that was using WSAD 5.1.2 with
>> version 1 of Maven. It worked ok but we didn't get everything we
>> wanted. My memory is fuzzy and I don't have access to the
>> project files any more. 
>> 
>> 1) We could use WSAD with the folder structure Maven wants just
>> fine. 
>> 
>> 2) We had a sort-of-base-project with things set up to build all
>> the other projects as subprojects.
>> 
>> 3) We would run Maven from the command line. Some developers set
>> it up as an external tool to just run.
>> 
>> 4) The projects would build inside WSAD (too) and we could deploy
>> that way to the built in Websphere to test things.
>> 
>> 5) That project had a Swing front end that talked directly to
>> EJBs with Hibernate in the back. There was also a tiny little web
>> app that did little more than show you the version number of the
>> back end. Every "layer" was in a seperate WSAD project. That
>> implies there were ejb projects, web projects and java projects.
>> 
>> Hope this helps.
>> 
>> -- Lee Meador
>> 
>> 
>> On 11/22/05, Weston, Toby <[EMAIL PROTECTED]
>>  > wrote:
>> 
>> Hi Folks,
>> 
>> Is anyone using Maven based structures (in particular J2EE ones
>> like webapps) with Websphere Application Developer (WSAD) or
>> Rational Application Developer? 
>> 
>> I was just after any horror/success stories and if you can make
>> the project structure co-exist in harmony.
>> 
>> Thanks in advance,
>> Toby
>> 
>> -
>> -- 
>> -- 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]
>>  
>> 
>> 
> 
 
 ---
 -- To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
>>> 
>>> 
>>> --
>>> http://www.multitask.com.au/people/dion/
>>> "You are going to let the fear of poverty govern your life and your
>>> reward will be that you will eat, but you will not live." - George
>>> Bernard Shaw 
>>> 
>>> 
>>> - To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>

Re: [M1] Maven with Websphere Application Developer anyone?

2005-11-28 Thread Lee Meador
Sorry Toby. I just don't remember how it was done and I don't have access to
that code since I have moved to another project at another company. That was
last year and I've slept since then.

Perhaps we copied our jar dependencies into someplace where WSAD could find
them. I seem to remember some jars in the base project but I'm just not sure
how they were used.

Sorry,

-- Lee Meador

On 11/28/05, Weston, Toby <[EMAIL PROTECTED]> wrote:
>
> Yep, all looks good, I've got the MAVEN_REPO\foo.jar in the .classpath
> file
> and marked as exported like this;
>
>  path="MAVEN_REPO/axis/jars/axis-1.3.jar"/>
> 
>
> And added it to the manifest.mf file like this;
>
> Class-Path: axis-1.3.jar
>
> But still no JARs when I export (or deploy) from WSAD! Did you have your
> webapp associated with an EAR? Mine isn't, so I export -> JAR not EAR. Am
> I
> missing something?
>
> Cheers,
> Toby
>
> Dion Gillard wrote:
> > We have no hassles deploying or exporting from WSAD.
> >
> > Do you make sure your MANIFEST.MF is correct?
> >
> > On 11/28/05, Weston, Toby <[EMAIL PROTECTED]> wrote:
> >> Yep I include the war.bundle property, so Maven is fine, I meant that
> >> it doesn't export / deploy correctly from within WSAD.
> >>
> >> Dion Gillard wrote:
> >>> Are you using
> >>>
> >>> 
> >>>   true
> >>> 
> >>>
> >>> on the dependency?
> >>>
> >>> On 11/25/05, Weston, Toby <[EMAIL PROTECTED]> wrote:
>  Hi Lee,
> 
>  Thanks for the info, could you outline how you got Websphere to
>  handle the JAR's correctly? If I set the classpath of a webapp in
>  the Maven way (ie, extend a variable MAVEN_REPO\foo.jar) if doesn't
>  export / deploy this under the WEB-INF\lib folder. Does that make
>  sense?
> 
>  Thanks,
>  Toby
> 
>    _
> 
>  From: Lee Meador [mailto:[EMAIL PROTECTED]
>  Sent: 22 November 2005 21:07
>  To: Maven Users List
>  Cc: Weston, Toby
>  Subject: Re: [M1] Maven with Websphere Application Developer
>  anyone?
> 
> 
>  I worked on a project last year that was using WSAD 5.1.2 with
>  version 1 of Maven. It worked ok but we didn't get everything we
>  wanted. My memory is fuzzy and I don't have access to the project
>  files any more.
> 
>  1) We could use WSAD with the folder structure Maven wants just
>  fine.
> 
>  2) We had a sort-of-base-project with things set up to build all
>  the other projects as subprojects.
> 
>  3) We would run Maven from the command line. Some developers set it
>  up as an external tool to just run.
> 
>  4) The projects would build inside WSAD (too) and we could deploy
>  that way to the built in Websphere to test things.
> 
>  5) That project had a Swing front end that talked directly to EJBs
>  with Hibernate in the back. There was also a tiny little web app
>  that did little more than show you the version number of the back
>  end. Every "layer" was in a seperate WSAD project. That implies
>  there
>  were ejb projects, web projects and java projects.
> 
>  Hope this helps.
> 
>  -- Lee Meador
> 
> 
>  On 11/22/05, Weston, Toby <[EMAIL PROTECTED]
>   > wrote:
> 
>  Hi Folks,
> 
>  Is anyone using Maven based structures (in particular J2EE ones
>  like
>  webapps) with Websphere Application Developer (WSAD) or Rational
>  Application Developer?
> 
>  I was just after any horror/success stories and if you can make the
>  project structure co-exist in harmony.
> 
>  Thanks in advance,
>  Toby
> 
>  ---
>  -- 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]
>  
> 
> 
> >>>
> >>
> >> -
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
> > --
> > http://www.multitask.com.au/people/dion/
> > "You are going to let the fear of poverty govern your life and your
> > reward will be that you will eat, but you will not live." - George
> > Bernard Shaw
> >
> > -
> > 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]
>
>


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


Re: why .war cannot be a module of ear?

2005-11-28 Thread Alexandre Poitras
On 11/27/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Dear All:
>   I create a EAR pom.xml file as follow:
>  
>4.0.0
>ears
>ear
>jar
>1.0
>ear assembly
>
>
>   
>  pojos
>  pojo
>  1.0
>   
>  
>ejbs
>ejb
>1.0
>  
>   

You have no dependy toward your war project. I guess it is probably
why it doesn't work.

>
>
>   
>  
>org.apache.maven.plugins
>maven-ear-plugin
>
>   
>   ear
>   package
>
> ear
>   
>
>
>
> 
>  pojos
>  pojo
>  pojo-1.0.jar
>
>
>  ejbs
>  ejb
>  ejb-1.0.jar
>
>
>  wars
>  war
>  /custom-context-root
>
>   
>
>  
>   
>  
>
>
>   
>
> 
>
> when compile, it run successfully, but when packaging, it report err as
> following:\
> 
>  [INFO] Building jar: C:
> \test\sample\ear\target\ear-1.0.jar
> [INFO] [ear:ear {execution: ear}]
> [INFO]
> -
> ---
> [ERROR] BUILD FAILURE
> [INFO]
> -
> ---
> [INFO] Artifact[wars:war:war] is not a dependency of the project.
> [INFO]
> -
> ---
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> -
> .
>
>
>  the war project can compile, package and install successfully,  who can
> tell me what 's the problem about the EAR project pom file?
>
> thanks!
>
> Regards
> Jerry Tao
>
> ___
> Hactl..Moving forward with you.
>
> Best Air Cargo Terminal - Asia 2005
> Air Cargo Terminal of the Year 2002, 2003 & 2004
>
> Web: http://www.hactl.com
>
> DISCLAIMER :-
> The information contained in this message, including any attachment, is
> confidential and may also be privileged. The information is intended only
> for the person or entity to which it is addressed. Any review,
> re-transmission, copying, storage, distribution or other use or disclosure
> of this information by persons or entities other than the intended
> recipient is prohibited. If you are not the intended recipient, please
> contact the sender immediately by return email and delete this message from
> your system. Thank you.
>
>
>
> __
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> __
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Alexandre Poitras
Québec, Canada

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



Re: What is it scpexe

2005-11-28 Thread Jose Gonzalez Gomez
2005/11/28, Oles <[EMAIL PROTECTED]>:
> Gentelmen!
> How can I use
>   
> 
> release
>scpexe://release.inao.com/home/release/m2repo/
> 
> What is it means scpexe

scp using external executable

>and what plugin or smth yet I needs for that wagon?

wagon-ssh-external, I think

HTH, best regards
Jose

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



RE: Repost: Weird behavior on central repository for a local resource

2005-11-28 Thread Law Green-A20134
As per Jason, we can help to develop the documentation from 
http://docs.codehaus.org/display/MAVENUSER/Home. Probably you can contribute an 
option usage page ;)
 
Best Regards,
Green
 



From: ir. ing. Jan Dockx [mailto:[EMAIL PROTECTED] 
Sent: 2005年11月28日 23:41
To: Maven Users List
Subject: Re: Repost: Weird behavior on central repository for a local resource



On 28 Nov 2005, at 16:36, Frank Russo wrote:



Are these switches documented somewhere? That would be really useful.



mvn -h or mvn -usage. And that's the only documentation I have found on the 
topic.





I'll try it. Thanks, Green...


Frank Russo
Senior Developer
FX Alliance, LLC

-Original Message-
From: Law Green-A20134 [mailto:[EMAIL PROTECTED]
Sent: Monday, November 28, 2005 10:32 AM
To: Maven Users List
Subject: RE: Repost: Weird behavior on central repository for a local 
resource


Frank,

Have you tried "mvn -o" which proceed with offline build?

Best Regards,
Green

-Original Message-
From: Frank Russo [mailto:[EMAIL PROTECTED] 
Sent: 2005年11月28日 22:57
To: Maven Users List
Subject: RE: Repost: Weird behavior on central repository for a local 
resource

It's still not working, and I don't know why. I loaded all of the jars 
using the same command into my local repository. They do not exist on central, 
as they will never. These will eventually exist in a remote repository on our 
intranet, but it has not yet been created.

Anyone have any ideas? 

Frank Russo
Senior Developer
FX Alliance, LLC

-Original Message-
From: Frank Russo
Sent: Friday, November 25, 2005 2:49 PM
To: Maven Users List
Subject: RE: Weird behavior on central repository for a local resource


Also, on this note, why is it trying to refresh from central each time? 
Shouldn't maven be looking locally first? I believe I set it to look daily for 
updates...


Frank Russo
Senior Developer
FX Alliance, LLC

-Original Message-
From: Frank Russo 
Sent: Friday, November 25, 2005 2:42 PM
To: users@maven.apache.org
Subject: Weird behavior on central repository for a local resource


I'm trying to build a webapp using the 'mvn package' command. I ran 
this five minutes ago with no problems. I just ran it again, and I'm getting 
this error message:

org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get 
dependency information: Unable to read the metadata file for artifact 
'com.fxall.fxall-admin:fxall_ext_API:jar': Error getting POM for 
'com.fxall.fxall-admin:fxall_ext_API' from the repository: Error transferring 
file 
com.fxall.fxall-admin:fxall_ext_API:1.0:pom
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
com.fxall.fxall-admin:fxall_ext_API:1.0:jar

The really strange thing about this is that the jar it's having a 
problem getting from central doesn't exist there. It's a jar I installed in my 
local repository along with 20+ others. When it tries to load the others from 
central it just gives this message:

[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)

The one that fails should work the same as the others. 

I've been having weird problems today with the central repository. It 
seems that it was down this morning, and has been giving intermittent problems 
all day. Are these problems normal for maven in general. I'm a new user, and 
this seems to be show stopper if it happens often enough that I can't build my 
app for most of a day.

Just curious...

Frank Russo
Senior Developer
FX Alliance, LLC


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


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

ear includes all jar files

2005-11-28 Thread raghurajan . x . gurunathanv
Hi

this is my project structre

+- - Project
| +- - EJBs
|+- - - pom.xml
|  +- - War
|  + - - - pom.xml
|   +- - EAR
|   + - - - pom.xml
|- - pom.xml

so when i ran "mvn package" from "Porject>" directory it goes and creates 
ejbs jar and war and also ear file and works fine.

but my problem is my ear file contains all the other dependencies jar from 
EJBs & War Directory which i don't want. is there a way to control this so 
that it will only have my EJBs.jar and War.war file only not the 
dependecies jar of EJBs & War

Thanks,


Re: dependency scopes

2005-11-28 Thread Geoffrey
I think I have a little bit of a similar problem (need for an assembly 
scope) in m2:

I have a dependency on acegi-security 0.9.0 (and spring 1.2.6),
but acegi has many dependencies needed to compile, but that I don't need 
at runtime because I don't use all of acegi's classes.


Exclusions works, but the list is very long and I need to set it again 
for acegi-tiger. If I ever would need one of those libraries, I can add 
it with a runtime scope, so is it possible to say "exclude all"?



ir. ing. Jan Dockx wrote:
/I *don't* understand the dependency scope mechanism. Therefor, I 
created a page in the Wiki to get this sorted out.


/
/
In the first version of this page, I am trying to make sense of 
different sources about the topic. This means the information here is 
not correct per definition! The intention of this page is to get it 
correct and clear, so *please*, if you do know something about 
dependency scopes, change the nonsense there /



/.


I am mainly doing this in the Wiki, because I believe a matrix is in 
order to clarify some things, and that is not simple in a mail.

/


Met vriendelijke groeten,

Jan Dockx

PeopleWare NV - Head Office
Cdt.Weynsstraat 85
B-2660 Hoboken
Tel: +32 3 448.33.38
Fax: +32 3 448.32.66

PeopleWare NV - Branch Office Geel
Kleinhoefstraat 5
B-2440 Geel
Tel: +32 14 57.00.90
Fax: +32 14 58.13.25
_
http://www.peopleware.be/
http://www.mobileware.be/_



--
With kind regards,
Geoffrey De Smet


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



Re: Repost: Weird behavior on central repository for a local resource

2005-11-28 Thread ir. ing. Jan Dockx

On 28 Nov 2005, at 16:36, Frank Russo wrote:

Are these switches documented somewhere? That would be really useful.

mvn -h or mvn -usage. And that's the only documentation I have found on the topic.


I'll try it. Thanks, Green...


Frank Russo
Senior Developer
FX Alliance, LLC

-Original Message-
From: Law Green-A20134 [mailto:[EMAIL PROTECTED]
Sent: Monday, November 28, 2005 10:32 AM
To: Maven Users List
Subject: RE: Repost: Weird behavior on central repository for a local resource


Frank,

Have you tried "mvn -o" which proceed with offline build?

Best Regards,
Green

-Original Message-
From: Frank Russo [mailto:[EMAIL PROTECTED] 
Sent: 2005年11月28日 22:57
To: Maven Users List
Subject: RE: Repost: Weird behavior on central repository for a local resource

It's still not working, and I don't know why. I loaded all of the jars using the same command into my local repository. They do not exist on central, as they will never. These will eventually exist in a remote repository on our intranet, but it has not yet been created.

Anyone have any ideas? 

Frank Russo
Senior Developer
FX Alliance, LLC

-Original Message-
From: Frank Russo
Sent: Friday, November 25, 2005 2:49 PM
To: Maven Users List
Subject: RE: Weird behavior on central repository for a local resource


Also, on this note, why is it trying to refresh from central each time? Shouldn't maven be looking locally first? I believe I set it to look daily for updates...


Frank Russo
Senior Developer
FX Alliance, LLC

-Original Message-
From: Frank Russo 
Sent: Friday, November 25, 2005 2:42 PM
To: users@maven.apache.org
Subject: Weird behavior on central repository for a local resource


I'm trying to build a webapp using the 'mvn package' command. I ran this five minutes ago with no problems. I just ran it again, and I'm getting this error message:

org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get dependency information: Unable to read the metadata file for artifact 'com.fxall.fxall-admin:fxall_ext_API:jar': Error getting POM for 'com.fxall.fxall-admin:fxall_ext_API' from the repository: Error transferring file  
com.fxall.fxall-admin:fxall_ext_API:1.0:pom
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
com.fxall.fxall-admin:fxall_ext_API:1.0:jar

The really strange thing about this is that the jar it's having a problem getting from central doesn't exist there. It's a jar I installed in my local repository along with 20+ others. When it tries to load the others from central it just gives this message:

[WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2)

The one that fails should work the same as the others. 

I've been having weird problems today with the central repository. It seems that it was down this morning, and has been giving intermittent problems all day. Are these problems normal for maven in general. I'm a new user, and this seems to be show stopper if it happens often enough that I can't build my app for most of a day.

Just curious...

Frank Russo
Senior Developer
FX Alliance, LLC


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


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


Met vriendelijke groeten,

Jan Dockx

PeopleWare NV - Head Office
Cdt.Weynsstraat 85 
B-2660 Hoboken 
Tel: +32 3 448.33.38 
Fax: +32 3 448.32.66 

PeopleWare NV - Branch Office Geel
Kleinhoefstraat 5
B-2440 Geel
Tel: +32 14 57.00.90
Fax: +32 14 58.13.25

http://www.peopleware.be/
http://www.mobileware.be/


smime.p7s
Description: S/MIME cryptographic signature


Re: [m2] https repository

2005-11-28 Thread ir. ing. Jan Dockx
Indeed. Thanks for this pointer to [EMAIL PROTECTED] nevertheless, but I can't find an answer there for my problem. Anyone else?


On 28 Nov 2005, at 15:51, Arnaud Bailly wrote:

ir. ing. Jan Dockx wrote:
Please? Someone?
The previous answer points to a small guide I proposed for accessing a repository over HTTPS with client-certificate-based authentication, not with password-based (eg. Basic in HTTP parlance) authentication. This may be useful but as you can tell from the doc, the settings are the same for maven 1 and 2 (BTW: we have both kind of repos on our server and it works fine) so this may not be the same problem as yours.

PS: no, you're not alone :-)

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

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


Met vriendelijke groeten,

Jan Dockx

PeopleWare NV - Head Office
Cdt.Weynsstraat 85 
B-2660 Hoboken 
Tel: +32 3 448.33.38 
Fax: +32 3 448.32.66 

PeopleWare NV - Branch Office Geel
Kleinhoefstraat 5
B-2440 Geel
Tel: +32 14 57.00.90
Fax: +32 14 58.13.25

http://www.peopleware.be/
http://www.mobileware.be/


smime.p7s
Description: S/MIME cryptographic signature


RE: Repost: Weird behavior on central repository for a local resource

2005-11-28 Thread Frank Russo
Are these switches documented somewhere? That would be really useful.

I'll try it. Thanks, Green...


Frank Russo
Senior Developer
FX Alliance, LLC

-Original Message-
From: Law Green-A20134 [mailto:[EMAIL PROTECTED]
Sent: Monday, November 28, 2005 10:32 AM
To: Maven Users List
Subject: RE: Repost: Weird behavior on central repository for a local resource


Frank,

Have you tried "mvn -o" which proceed with offline build?

Best Regards,
Green

-Original Message-
From: Frank Russo [mailto:[EMAIL PROTECTED] 
Sent: 2005年11月28日 22:57
To: Maven Users List
Subject: RE: Repost: Weird behavior on central repository for a local resource

It's still not working, and I don't know why. I loaded all of the jars using 
the same command into my local repository. They do not exist on central, as 
they will never. These will eventually exist in a remote repository on our 
intranet, but it has not yet been created.

Anyone have any ideas? 

Frank Russo
Senior Developer
FX Alliance, LLC

-Original Message-
From: Frank Russo
Sent: Friday, November 25, 2005 2:49 PM
To: Maven Users List
Subject: RE: Weird behavior on central repository for a local resource


Also, on this note, why is it trying to refresh from central each time? 
Shouldn't maven be looking locally first? I believe I set it to look daily for 
updates...


Frank Russo
Senior Developer
FX Alliance, LLC

-Original Message-
From: Frank Russo 
Sent: Friday, November 25, 2005 2:42 PM
To: users@maven.apache.org
Subject: Weird behavior on central repository for a local resource


I'm trying to build a webapp using the 'mvn package' command. I ran this five 
minutes ago with no problems. I just ran it again, and I'm getting this error 
message:

org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get 
dependency information: Unable to read the metadata file for artifact 
'com.fxall.fxall-admin:fxall_ext_API:jar': Error getting POM for 
'com.fxall.fxall-admin:fxall_ext_API' from the repository: Error transferring 
file  
com.fxall.fxall-admin:fxall_ext_API:1.0:pom
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
com.fxall.fxall-admin:fxall_ext_API:1.0:jar

The really strange thing about this is that the jar it's having a problem 
getting from central doesn't exist there. It's a jar I installed in my local 
repository along with 20+ others. When it tries to load the others from central 
it just gives this message:

[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)

The one that fails should work the same as the others. 

I've been having weird problems today with the central repository. It seems 
that it was down this morning, and has been giving intermittent problems all 
day. Are these problems normal for maven in general. I'm a new user, and this 
seems to be show stopper if it happens often enough that I can't build my app 
for most of a day.

Just curious...

Frank Russo
Senior Developer
FX Alliance, LLC


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


-
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: Repost: Weird behavior on central repository for a local resource

2005-11-28 Thread Law Green-A20134
Frank,

Have you tried "mvn -o" which proceed with offline build?

Best Regards,
Green

-Original Message-
From: Frank Russo [mailto:[EMAIL PROTECTED] 
Sent: 2005年11月28日 22:57
To: Maven Users List
Subject: RE: Repost: Weird behavior on central repository for a local resource

It's still not working, and I don't know why. I loaded all of the jars using 
the same command into my local repository. They do not exist on central, as 
they will never. These will eventually exist in a remote repository on our 
intranet, but it has not yet been created.

Anyone have any ideas? 

Frank Russo
Senior Developer
FX Alliance, LLC

-Original Message-
From: Frank Russo
Sent: Friday, November 25, 2005 2:49 PM
To: Maven Users List
Subject: RE: Weird behavior on central repository for a local resource


Also, on this note, why is it trying to refresh from central each time? 
Shouldn't maven be looking locally first? I believe I set it to look daily for 
updates...


Frank Russo
Senior Developer
FX Alliance, LLC

-Original Message-
From: Frank Russo 
Sent: Friday, November 25, 2005 2:42 PM
To: users@maven.apache.org
Subject: Weird behavior on central repository for a local resource


I'm trying to build a webapp using the 'mvn package' command. I ran this five 
minutes ago with no problems. I just ran it again, and I'm getting this error 
message:

org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get 
dependency information: Unable to read the metadata file for artifact 
'com.fxall.fxall-admin:fxall_ext_API:jar': Error getting POM for 
'com.fxall.fxall-admin:fxall_ext_API' from the repository: Error transferring 
file  
com.fxall.fxall-admin:fxall_ext_API:1.0:pom
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
com.fxall.fxall-admin:fxall_ext_API:1.0:jar

The really strange thing about this is that the jar it's having a problem 
getting from central doesn't exist there. It's a jar I installed in my local 
repository along with 20+ others. When it tries to load the others from central 
it just gives this message:

[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)

The one that fails should work the same as the others. 

I've been having weird problems today with the central repository. It seems 
that it was down this morning, and has been giving intermittent problems all 
day. Are these problems normal for maven in general. I'm a new user, and this 
seems to be show stopper if it happens often enough that I can't build my app 
for most of a day.

Just curious...

Frank Russo
Senior Developer
FX Alliance, LLC


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


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



RE: [M2] Repository

2005-11-28 Thread Allison, Bob
For anyone following this thread, the final correct command is:

cvs -d :pserver:[EMAIL PROTECTED]:/home/projects/maven-proxy/scm co maven-proxy

-Original Message-
From: Jörg Schaible [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 28, 2005 09:46
To: Maven Users List
Subject: RE: [M2] Repository


Hi Bob,

sorry for my misinformation, the svn address below was actually a pointer in 
the POM repository of maven. I switched there by accident since the directory 
is also called maven-proxy.

>> $ cvs -d
>>> pserver:[EMAIL PROTECTED]:/scm/maven-pro
>> xy/ co maven-proxy
>> /scm/maven-proxy/: no such repository

It should be:

cvs -d  pserver:[EMAIL PROTECTED]:/scm/maven-proxy/scm co maven-proxy

= snip ===
$ cat CVS/Root 
:pserver:[EMAIL PROTECTED]:/home/projects/maven-proxy/scm

$ cat CVS/Repository 
maven-proxy
= snip ===

- Jörg

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



dependency scopes

2005-11-28 Thread ir. ing. Jan Dockx
I don't understand the dependency scope mechanism. Therefor, I created a page in the Wiki to get this sorted out.



In the first version of this page, I am trying to make sense of different sources about the topic. This means the information here is not correct per definition! The intention of this page is to get it correct and clear, so please, if you do know something about dependency scopes, change the nonsense there 
.


I am mainly doing this in the Wiki, because I believe a matrix is in order to clarify some things, and that is not simple in a mail.



Met vriendelijke groeten,

Jan Dockx

PeopleWare NV - Head Office
Cdt.Weynsstraat 85 
B-2660 Hoboken 
Tel: +32 3 448.33.38 
Fax: +32 3 448.32.66 

PeopleWare NV - Branch Office Geel
Kleinhoefstraat 5
B-2440 Geel
Tel: +32 14 57.00.90
Fax: +32 14 58.13.25

http://www.peopleware.be/
http://www.mobileware.be/

smime.p7s
Description: S/MIME cryptographic signature


RE: Repost: Weird behavior on central repository for a local resource

2005-11-28 Thread Frank Russo
It's still not working, and I don't know why. I loaded all of the jars using 
the same command into my local repository. They do not exist on central, as 
they will never. These will eventually exist in a remote repository on our 
intranet, but it has not yet been created.

Anyone have any ideas? 

Frank Russo
Senior Developer
FX Alliance, LLC

-Original Message-
From: Frank Russo 
Sent: Friday, November 25, 2005 2:49 PM
To: Maven Users List
Subject: RE: Weird behavior on central repository for a local resource


Also, on this note, why is it trying to refresh from central each time? 
Shouldn't maven be looking locally first? I believe I set it to look daily for 
updates...


Frank Russo
Senior Developer
FX Alliance, LLC

-Original Message-
From: Frank Russo 
Sent: Friday, November 25, 2005 2:42 PM
To: users@maven.apache.org
Subject: Weird behavior on central repository for a local resource


I'm trying to build a webapp using the 'mvn package' command. I ran this five 
minutes ago with no problems. I just ran it again, and I'm getting this error 
message:

org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get 
dependency information: Unable to read the metadata file for artifact 
'com.fxall.fxall-admin:fxall_ext_API:jar': Error getting POM for 
'com.fxall.fxall-admin:fxall_ext_API' from the repository: Error transferring 
file  
com.fxall.fxall-admin:fxall_ext_API:1.0:pom
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
com.fxall.fxall-admin:fxall_ext_API:1.0:jar

The really strange thing about this is that the jar it's having a problem 
getting from central doesn't exist there. It's a jar I installed in my local 
repository along with 20+ others. When it tries to load the others from central 
it just gives this message:

[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)

The one that fails should work the same as the others. 

I've been having weird problems today with the central repository. It seems 
that it was down this morning, and has been giving intermittent problems all 
day. Are these problems normal for maven in general. I'm a new user, and this 
seems to be show stopper if it happens often enough that I can't build my app 
for most of a day.

Just curious...

Frank Russo
Senior Developer
FX Alliance, LLC


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



What is it scpexe

2005-11-28 Thread Oles

Gentelmen!
How can I use 
 

   
   release
  scpexe://release.inao.com/home/release/m2repo/
   
What is it means scpexe and what plugin or smth yet I needs for that wagon?

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



Re: [m2] https repository

2005-11-28 Thread Arnaud Bailly

ir. ing. Jan Dockx wrote:

Please? Someone?

The previous answer points to a small guide I proposed for accessing a 
repository over HTTPS with client-certificate-based authentication, not 
with password-based (eg. Basic in HTTP parlance) authentication. This 
may be useful but as you can tell from the doc, the settings are the 
same for maven 1 and 2 (BTW: we have both kind of repos on our server 
and it works fine) so this may not be the same problem as yours.


PS: no, you're not alone :-)

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

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



RE: [M2] Repository

2005-11-28 Thread Jörg Schaible
Hi Bob,

sorry for my misinformation, the svn address below was actually a pointer in 
the POM repository of maven. I switched there by accident since the directory 
is also called maven-proxy.

>> $ cvs -d
>>> pserver:[EMAIL PROTECTED]:/scm/maven-pro
>> xy/ co maven-proxy
>> /scm/maven-proxy/: no such repository

It should be:

cvs -d  pserver:[EMAIL PROTECTED]:/scm/maven-proxy/scm co maven-proxy

= snip ===
$ cat CVS/Root 
:pserver:[EMAIL PROTECTED]:/home/projects/maven-proxy/scm

$ cat CVS/Repository 
maven-proxy
= snip ===

- Jörg

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



Re: Repost: [m2] xdoclet for hibernate 3 with JDK 1.5

2005-11-28 Thread Wim Deblauwe
Are you saying that I need to build it myself? Any idea when it will be
released?

2005/11/28, Stephen Coy <[EMAIL PROTECTED]>:
>
> Hi Wim,
>
> Try < http://opensource2.atlassian.com/projects/xdoclet/secure/
> BrowseProject.jspa?id=10010>
>
> Steve C.
>
> On 28/11/2005, at 11:27 PM, Wim Deblauwe wrote:
>
> > Send this 4 days ago and still no answer, maybe it was not noticed
> > so allow
> > me to try again...
> >
> > 2005/11/24, Wim Deblauwe <[EMAIL PROTECTED]>:
> >>
> >> Hi,
> >>
> >> anybody got the combination of xdoclet with hibernate 3 and jdk
> >> 1.5working?
> >>
> >> I found that the xdoclet-maven-plugin (version alfa2 - seen this
> >> from a
> >> post, the website still shows alfa1) supports hibernate 3 (since
> >> it uses
> >> XDoclet 1.2.3), but I get errors because of 1.5 specific syntax. I
> >> then
> >> found this mail in the archives.
> >>
> >> =-=-=-
> >> The problem related to the XDoclet plugin that was producing a nasty
> >> exception when launched was due to the fact that the alpha-1.0
> >> version was
> >> just not working.
> >>
> >> This version is the one referenced as example on Codehaus website
> >> and is
> >> NOT WORKING for ejbDoclet task (I don't know for other ones).
> >>
> >> Anyway, an Alpha-2.0 version has also been released and just
> >> changing this
> >> makes the ejbDoclet plugin work.
> >>
> >> Also, if you have problems using this plugin with Java 1.5, know
> >> that the
> >> XJavadoc version used in this plugin (1.1) doesn't work with Java 1.5
> >> syntax.  You will have to change this dependency to XJavadoc 1.5
> >> in order
> >> to have XDoclet work with this specific syntax.
> >>
> >> Hope it will help somebody else,
> >>
> >> Jérôme
> >>
> >> P.S: Thank you all for the reply sent to me while searching for a
> >> solution
> >> =-=-=-=-
> >>
> >> However, I could not find XJavadoc version 1.5. Looking at http://
> >> xdoclet
> >> .sourceforge.net/xjavadoc/, it shows version 1.1 and not 1.5.
> >>
> >> Any hints are welcome.
> >>
> >> regards,
> >>
> >> Wim
> >> PS: Another remark: the list of dependencies from the xdoclet
> >> plugin is
> >> very long! Is that really needed?
> >>
> >>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


RE: [M2] Repository

2005-11-28 Thread Allison, Bob
When I do that, I get three files: 
maven-proxy-webapp/0.1/maven-proxy-webapp-0.1.pom, 
maven-proxy-core/0.1/maven-proxy-core-0.1.pom, and 
maven-proxy-standalone/0.1/maven-proxy-standalone-0.1.pom.

The POMs do not have any dependencies (they are bare-bones POMs with just 
group, artifact, and version).  There are no source files.  Is something 
missing in the repository?

-Original Message-
From: Jörg Schaible [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 28, 2005 08:12
To: Maven Users List
Subject: RE: [M2] Repository


Hi Bob,

Allison, Bob wrote on Monday, November 28, 2005 1:25 PM:

> How do I get access to the recent snapshot?  The downloads on
> the download page are from May and the CVS information doesn't work:
> 
> $ cvs -d
>> pserver:[EMAIL PROTECTED]:/scm/maven-pro
> xy/ co maven-proxy
> /scm/maven-proxy/: no such repository

svn co svn://svn.codehaus.org/maven/scm/repository/maven-proxy

;-)

- Jörg

> 
> -Original Message-
> From: Jörg Schaible [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 28, 2005 03:07
> To: Maven Users List
> Subject: RE: [M2] Repository
> 
> 
> Law Green-A20134 wrote on Monday, November 28, 2005 6:28 AM:
> 
>> Jason,
>> 
>> Thank you so much for your patient reply! I have updated the diagram
>> as per your comments, please let me know if it need further update.
> 
> [snip]
> 
> Funny. This is quite the same setup I created also some weeks
> ago. We just use two local repos, one for released artitacts
> and one for snapshots.
> 
>> And I guess it would be better to fake a sample suite to reflect the
>> topology, including settings.xml, pom.xml, maven-proxy.properties. I
>> would like to help with this task.
> 
> For M2 support of maven-proxy, it is essential currently to
> use a recent snapshout (because of MAVENPROXY-34) and
> possibly apply (MAVENPROPXY-36).
> 
> - Jörg
> 
> -
> 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]


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



RE: [m2] https repository

2005-11-28 Thread Thangavelu Subramanian
Please check following URL

 

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

 

~Thanga~

 

 

IMPORTANT NOTICE:
The information in this communication may be confidential, is intended only for 
the use of the recipient(s) named, and may be legally privileged.  If the 
reader of this message is not the intended recipient, you are hereby notified 
that any dissemination, distribution, or copying or this communication, or any 
of its contents, is strictly prohibited.  If you have received this 
communication in error, please re-send this communication to the sender and 
delete the original message and any copy of it from your computer system(s).  
Information in this message is without warranty or representation whatsoever 
whether expressed or implied and the sender will not be held liable for any 
inaccuracies or any losses, whether direct or indirect arising from information 
herein provided.

 



From: ir. ing. Jan Dockx [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 28, 2005 7:09 PM
To: Maven Users List
Subject: Re: [m2] https repository

 

Please? Someone?

On 28 Nov 2005, at 11:53, ir. ing. Jan Dockx wrote:

Our company repository is on a https server with a self-signed certificate, 
with access control.



Maven 1
--

With maven 1, we got this working in the following fashion.

In the project.properties we have an entry for the repository as follows:


[…]
maven.repo.remote=https://${user.name}:[EMAIL 
PROTECTED]/projects/maven/repository,\
http://www.ibiblio.org/maven
[…]


and in ~/build.properties we an entry as follows:


[…]
[EMAIL PROTECTED]
[…]


The certificate is imported using the java keytool as follows:


sudo keytool -keystore $JAVA_HOME/lib/security/cacerts -import -file 
cvs_peopleware_be.cer


(On Mac OS X, and mutatis mutandi on other Unix variants and Windows).

With these settings, this has been working for us with maven 1 for a year.




Maven 2
--

Now how do we get this working with maven 2? I didn't find a working solution 
in the documentation, wiki or mailing list archives.

What I have so far is

An entry in the pom.xml as follows:


[…]


ppw-missing
PeopleWare Repository of Missing Artifacts
https://cvs.peopleware.be/projects/maven/maven2/repository

[…]

[…]



An entry in ~/.m2/settings.xml as follows:


[…]


ppw-missing
thisIsMe
[EMAIL PROTECTED]

[…]

[…]



The certificate was installed before, as discussed higher, and nothing change 
there.




With these settings, I get the following error:


[…]
[INFO] 

[ERROR] BUILD ERROR
[INFO] 

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


Project ID: javax.faces:jsf-api

Reason: Error getting POM for 'javax.faces:jsf-api' from the repository: Error 
transferring file
javax.faces:jsf-api:1.1_01:pom

from the specified remote repositories:
central (http://repo1.maven.org/maven2),
ppw-missing (https://cvs.peopleware.be/projects/maven/maven2/repository),
ppw-libraries 
(https://cvs.peopleware.be/projects/JavaLibraries/maven2-repository)



[INFO] 

[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get 
dependency information: Unable to read the metadata file for artifact 
'javax.faces:jsf-api:jar': Error getting POM for 'javax.faces:jsf-api' from the 
repository: Error transferring file
javax.faces:jsf-api:1.1_01:pom

from the specified remote repositories:
central (http://repo1.maven.org/maven2),
ppw-missing (https://cvs.peopleware.be/projects/maven/maven2/repository),
ppw-libraries 
(https://cvs.peopleware.be/projects/JavaLibraries/maven2-repository)

javax.faces:jsf-api:1.1_01:jar

from the specified remote repositories:
central (http://repo1.maven.org/maven2),
ppw-missing (https://cvs.peopleware.be/projects/maven/maven2/repository),
ppw-libraries 
(https://cvs.peopleware.be/projects/JavaLibraries/maven2-repository)
Path to dependency: 
1) be.peopleware:ppw-value-II:jar:1.3.0-1.2-MAVEN2TEST


at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:536)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:482)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:452)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:301)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:2

Re: Wiki kaput

2005-11-28 Thread Gisbert Amm
Some minutes ago, I still had access to the wiki. However, now I get the 
same "Proxy Error".


Regards,
Gisbert Amm

Frank Russo wrote:

I still can't get to http://docs.codehaus.org/display/MAVENUSER/Home. I get the 
following error message:

Proxy Error

The proxy server received an invalid response from an upstream server.

The proxy server could not handle the request GET /display/MAVENUSER/Home 
.

Reason: Could not connect to remote machine: Connection refused

	Additionally, a 502 Bad Gateway error was encountered while trying to use an ErrorDocument to handle the request. 

It's not internal to my company network, as we don't use a proxy. 


Frank Russo
Senior Developer
FX Alliance, LLC

-Original Message-
From: Jason van Zyl [mailto:[EMAIL PROTECTED]
Sent: Monday, November 28, 2005 9:01 AM
To: Maven Users List
Subject: Re: Wiki kaput


ir. ing. Jan Dockx wrote:


So, apache.org is down, for a number of hours already.



It happens.



Now the codehaus wiki is kaput! I was working in there, and suddenly,
things went down. Then existing pages (Mini Guides, Introductory Guides,
FAQ's) went, now suddenly 
return Page Not Found.



This appears to be up now:

http://docs.codehaus.org/display/MAVENUSER/Home



Is there something major going on, or is this just one of those days?



Just one of those days.

--

jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org

you are never dedicated to something you have complete confidence in.
No one is fanatically shouting that the sun is going to rise tomorrow.
They know it is going to rise tomorrow. When people are fanatically
dedicated to political or religious faiths or any other kind of
dogmas or goals, it's always because these dogmas or
goals are in doubt.

   -- Robert Pirzig, Zen and the Art of Motorcycle Maintenance

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



--
Gisbert Amm
Softwareentwickler Infrastruktur

WEB.DE GmbH
Amalienbadstraße 41 · D-76227 Karlsruhe
Tel. +49-721-94329-8530 · Fax +49-721-94329-22
[EMAIL PROTECTED] · http://www.web.de/

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



RE: Wiki kaput

2005-11-28 Thread Frank Russo
I still can't get to http://docs.codehaus.org/display/MAVENUSER/Home. I get the 
following error message:

Proxy Error

The proxy server received an invalid response from an upstream server.

The proxy server could not handle the request GET 
/display/MAVENUSER/Home .

Reason: Could not connect to remote machine: Connection refused

Additionally, a 502 Bad Gateway error was encountered while trying to 
use an ErrorDocument to handle the request. 

It's not internal to my company network, as we don't use a proxy. 

Frank Russo
Senior Developer
FX Alliance, LLC

-Original Message-
From: Jason van Zyl [mailto:[EMAIL PROTECTED]
Sent: Monday, November 28, 2005 9:01 AM
To: Maven Users List
Subject: Re: Wiki kaput


ir. ing. Jan Dockx wrote:
> So, apache.org is down, for a number of hours already.

It happens.

> Now the codehaus wiki is kaput! I was working in there, and suddenly,
> things went down. Then existing pages (Mini Guides, Introductory Guides,
> FAQ's) went, now suddenly 
> return Page Not Found.

This appears to be up now:

http://docs.codehaus.org/display/MAVENUSER/Home

> Is there something major going on, or is this just one of those days?

Just one of those days.

--

jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org

you are never dedicated to something you have complete confidence in.
No one is fanatically shouting that the sun is going to rise tomorrow.
They know it is going to rise tomorrow. When people are fanatically
dedicated to political or religious faiths or any other kind of
dogmas or goals, it's always because these dogmas or
goals are in doubt.

   -- Robert Pirzig, Zen and the Art of Motorcycle Maintenance

-
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: Wiki kaput

2005-11-28 Thread Jason van Zyl

ir. ing. Jan Dockx wrote:

So, apache.org is down, for a number of hours already.


It happens.

Now the codehaus wiki is kaput! I was working in there, and suddenly, 
things went down. Then existing pages (Mini Guides, Introductory Guides, 
FAQ's) went, now suddenly  
return Page Not Found.


This appears to be up now:

http://docs.codehaus.org/display/MAVENUSER/Home


Is there something major going on, or is this just one of those days?


Just one of those days.

--

jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org

you are never dedicated to something you have complete confidence in.
No one is fanatically shouting that the sun is going to rise tomorrow.
They know it is going to rise tomorrow. When people are fanatically
dedicated to political or religious faiths or any other kind of
dogmas or goals, it's always because these dogmas or
goals are in doubt.

  -- Robert Pirzig, Zen and the Art of Motorcycle Maintenance

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



Re: Wiki kaput

2005-11-28 Thread Anuerin Diaz
the dochaus confluence page (aka wiki) is working here. the problem
might be localized in your network.

ciao!

On 11/28/05, ir. ing. Jan Dockx <[EMAIL PROTECTED]> wrote:
> So, apache.org is down, for a number of hours already.
>
> Now the codehaus wiki is kaput! I was working in there, and suddenly,
> things went down. Then existing pages (Mini Guides, Introductory
> Guides, FAQ's) went, now suddenly
>  return Page Not Found.
>
> Is there something major going on, or is this just one of those days?
>
>
> Met vriendelijke groeten,
>
> Jan Dockx
>
> PeopleWare NV - Head Office
> Cdt.Weynsstraat 85
> B-2660 Hoboken
> Tel: +32 3 448.33.38
> Fax: +32 3 448.32.66
>
> PeopleWare NV - Branch Office Geel
> Kleinhoefstraat 5
> B-2440 Geel
> Tel: +32 14 57.00.90
> Fax: +32 14 58.13.25
>
> http://www.peopleware.be/
> http://www.mobileware.be/
>
>


--

"Programming, an artform that fights back"

Anuerin G. Diaz
Registered Linux User #246176
Friendly Linux Board @ http://mandrivausers.org/index.php
http://capsule.ramfree17.org , when you absolutely have nothing else
better to do

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



How copy files from local repo to remote

2005-11-28 Thread Oles

Hi all.
Prompt to me please.
I have two repo - local and our group running on Apache.
I make some build and maven's getting necessaries files and putting its 
to local repo.
How can I copy files form my local repo to group repo excepting by 
Cntr-C Cntr-V and how can I compare what files  yet is absent  in group 
repo?


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



Re: mevenide eclipse plugin and maven 2

2005-11-28 Thread Jason van Zyl

Jose Gonzalez Gomez wrote:


No, but I seem to remember that somebody is already working on an
Eclipse plugin for Maven2. Search the archives, there was a thread
reagarding this issue.


Again, anyone who wants the eclipse plugin just needs to send me an 
email with your


first name:
last name:
company:
email:

and tag the subject line with [eclipse-plugin]


HTH
Jose

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






--

jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org

you are never dedicated to something you have complete confidence in.
No one is fanatically shouting that the sun is going to rise tomorrow.
They know it is going to rise tomorrow. When people are fanatically
dedicated to political or religious faiths or any other kind of
dogmas or goals, it's always because these dogmas or
goals are in doubt.

  -- Robert Pirzig, Zen and the Art of Motorcycle Maintenance

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



Re: mevenide eclipse plugin and maven 2

2005-11-28 Thread Jason van Zyl

[EMAIL PROTECTED] wrote:

Hi,

is there a possibility to work with the mevenide eclipse plugin and maven 
2 ?


There is a Maven 2.x plug-in for Eclipse but at the moment the source 
code is not anywhere. It is a Mergere sponsored project but it will be 
OSS. But for the moment I need to collect the names of the people using 
it. I will create a webform so people can just go get it. I will do that 
today (or find out if I can -- must content with marketing people and IP 
issues).


--

jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org

Simplex sigillum veri. (Simplicity is the seal of truth.)

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



Re: [m2] https repository

2005-11-28 Thread ir. ing. Jan Dockx
Please? Someone?

On 28 Nov 2005, at 11:53, ir. ing. Jan Dockx wrote:

Our company repository is on a https server with a self-signed certificate, with access control.



Maven 1
--

With maven 1, we got this working in the following fashion.

In the project.properties we have an entry for the repository as follows:


[…]
maven.repo.remote=https://${user.name}:[EMAIL PROTECTED]/projects/maven/repository,\
http://www.ibiblio.org/maven
[…]


and in ~/build.properties we an entry as follows:


[…]
[EMAIL PROTECTED]
[…]


The certificate is imported using the java keytool as follows:


sudo keytool -keystore $JAVA_HOME/lib/security/cacerts -import -file cvs_peopleware_be.cer


(On Mac OS X, and mutatis mutandi on other Unix variants and Windows).

With these settings, this has been working for us with maven 1 for a year.




Maven 2
--

Now how do we get this working with maven 2? I didn't find a working solution in the documentation, wiki or mailing list archives.

What I have so far is

An entry in the pom.xml as follows:


[…]


ppw-missing
PeopleWare Repository of Missing Artifacts

https://cvs.peopleware.be/projects/maven/maven2/repository

[…]

[…]



An entry in ~/.m2/settings.xml as follows:


[…]


ppw-missing
thisIsMe
[EMAIL PROTECTED]

[…]

[…]



The certificate was installed before, as discussed higher, and nothing change there.




With these settings, I get the following error:


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


Project ID: javax.faces:jsf-api

Reason: Error getting POM for 'javax.faces:jsf-api' from the repository: Error transferring file
javax.faces:jsf-api:1.1_01:pom

from the specified remote repositories:
central (http://repo1.maven.org/maven2),
ppw-missing (https://cvs.peopleware.be/projects/maven/maven2/repository),
ppw-libraries (https://cvs.peopleware.be/projects/JavaLibraries/maven2-repository)



[INFO] 
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get dependency information: Unable to read the metadata file for artifact 'javax.faces:jsf-api:jar': Error getting POM for 'javax.faces:jsf-api' from the repository: Error transferring file
javax.faces:jsf-api:1.1_01:pom

from the specified remote repositories:
central (http://repo1.maven.org/maven2),
ppw-missing (https://cvs.peopleware.be/projects/maven/maven2/repository),
ppw-libraries (https://cvs.peopleware.be/projects/JavaLibraries/maven2-repository)

javax.faces:jsf-api:1.1_01:jar

from the specified remote repositories:
central (http://repo1.maven.org/maven2),
ppw-missing (https://cvs.peopleware.be/projects/maven/maven2/repository),
ppw-libraries (https://cvs.peopleware.be/projects/JavaLibraries/maven2-repository)
Path to dependency: 
1) be.peopleware:ppw-value-II:jar:1.3.0-1.2-MAVEN2TEST


at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:536)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:482)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:452)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:301)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable to get dependency information: Unable to read the metadata file for artifact 'javax.faces:jsf-api:jar': Error getting POM for 'javax.faces:jsf-api' from the repository: Error transferring file
javax.faces:jsf-api:1.1_01:pom

from the specified remote repositories:
central (http://repo1.maven.org/maven2),
ppw-missing (https://cvs.peopleware.be/projects/maven/maven2/repository),
ppw-libraries (https://cvs.peopleware.be/projects/JavaLibraries/maven2-repository)

javax.face

Wiki kaput

2005-11-28 Thread ir. ing. Jan Dockx
So, apache.org is down, for a number of hours already.

Now the codehaus wiki is kaput! I was working in there, and suddenly, things went down. Then existing pages (Mini Guides, Introductory Guides, FAQ's) went, now suddenly  return Page Not Found.

Is there something major going on, or is this just one of those days?


Met vriendelijke groeten,

Jan Dockx

PeopleWare NV - Head Office
Cdt.Weynsstraat 85 
B-2660 Hoboken 
Tel: +32 3 448.33.38 
Fax: +32 3 448.32.66 

PeopleWare NV - Branch Office Geel
Kleinhoefstraat 5
B-2440 Geel
Tel: +32 14 57.00.90
Fax: +32 14 58.13.25

http://www.peopleware.be/
http://www.mobileware.be/

smime.p7s
Description: S/MIME cryptographic signature


Eclipse:add-maven-repo bug

2005-11-28 Thread Jean-Sebastien Bournival
Is someone fixing the "eclipse:add-maven-repo" bug?  The one that adds a 'X'
to the eclipse workspace folder.

Thanx.

JS.

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



RE: Antrun plugin and the war:war phases

2005-11-28 Thread Jean-Sebastien Bournival
I am running war:war.

But in the end I tried to run mvn package, and it worked!  I guess "war:war"
is called at some point when "package" is running (maybe it takes the
packaging type into account).  So by calling the package goal, the lifecycle
phases are executed, and so is my antrun plugin call I have in my pom.xml

Thanx guys!

Js.

-Message d'origine-
De : Brett Porter [mailto:[EMAIL PROTECTED] 
Envoyé : 26 novembre 2005 19:03
À : Maven Users List
Objet : Re: Antrun plugin and the war:war phases

It looks right (I assume your deploy goal is to deploy into a running
appserver rather than to a repository, so this is a reasonble phase to do it
in). Are you actually running mvn package, or mvn war:war?

- Brett

On 11/26/05, Jean-Sebastien Bournival
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am trying to trigger an ant task after I used the maven war:war 
> goal.  The problem I have is that nothing ever happens regarding the 
> antrun plugin.  I do not see any trace of execution besides the 
> war:war plugin.  Am I doing something wrong?  Am I targeting the right 
> phase?  What are the lifecycle involved in the war:war plugin? How can I
know this?
>
> Here is my  block in my pom.xml:
>
>   
> my-webapp
> 
>   
> maven-antrun-plugin
> 
>   
> package
> 
>   
> 
>   
> 
> 
>   run
> 
>   
> 
>   
> 
>   
>
> Thanx,
>
> JS.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

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



RE: [M2] Repository

2005-11-28 Thread Jörg Schaible
Hi Bob,

Allison, Bob wrote on Monday, November 28, 2005 1:25 PM:

> How do I get access to the recent snapshot?  The downloads on
> the download page are from May and the CVS information doesn't work:
> 
> $ cvs -d
>> pserver:[EMAIL PROTECTED]:/scm/maven-pro
> xy/ co maven-proxy
> /scm/maven-proxy/: no such repository

svn co svn://svn.codehaus.org/maven/scm/repository/maven-proxy

;-)

- Jörg

> 
> -Original Message-
> From: Jörg Schaible [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 28, 2005 03:07
> To: Maven Users List
> Subject: RE: [M2] Repository
> 
> 
> Law Green-A20134 wrote on Monday, November 28, 2005 6:28 AM:
> 
>> Jason,
>> 
>> Thank you so much for your patient reply! I have updated the diagram
>> as per your comments, please let me know if it need further update.
> 
> [snip]
> 
> Funny. This is quite the same setup I created also some weeks
> ago. We just use two local repos, one for released artitacts
> and one for snapshots.
> 
>> And I guess it would be better to fake a sample suite to reflect the
>> topology, including settings.xml, pom.xml, maven-proxy.properties. I
>> would like to help with this task.
> 
> For M2 support of maven-proxy, it is essential currently to
> use a recent snapshout (because of MAVENPROXY-34) and
> possibly apply (MAVENPROPXY-36).
> 
> - Jörg
> 
> -
> 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: Repost: [m2] xdoclet for hibernate 3 with JDK 1.5

2005-11-28 Thread Stephen Coy

Hi Wim,

Try < http://opensource2.atlassian.com/projects/xdoclet/secure/ 
BrowseProject.jspa?id=10010>


Steve C.

On 28/11/2005, at 11:27 PM, Wim Deblauwe wrote:

Send this 4 days ago and still no answer, maybe it was not noticed  
so allow

me to try again...

2005/11/24, Wim Deblauwe <[EMAIL PROTECTED]>:


Hi,

anybody got the combination of xdoclet with hibernate 3 and jdk  
1.5working?


I found that the xdoclet-maven-plugin (version alfa2 - seen this  
from a
post, the website still shows alfa1) supports hibernate 3 (since  
it uses
XDoclet 1.2.3), but I get errors because of 1.5 specific syntax. I  
then

found this mail in the archives.

=-=-=-
The problem related to the XDoclet plugin that was producing a nasty
exception when launched was due to the fact that the alpha-1.0  
version was

just not working.

This version is the one referenced as example on Codehaus website  
and is

NOT WORKING for ejbDoclet task (I don't know for other ones).

Anyway, an Alpha-2.0 version has also been released and just  
changing this

makes the ejbDoclet plugin work.

Also, if you have problems using this plugin with Java 1.5, know  
that the

XJavadoc version used in this plugin (1.1) doesn't work with Java 1.5
syntax.  You will have to change this dependency to XJavadoc 1.5  
in order

to have XDoclet work with this specific syntax.

Hope it will help somebody else,

Jérôme

P.S: Thank you all for the reply sent to me while searching for a  
solution

=-=-=-=-

However, I could not find XJavadoc version 1.5. Looking at http:// 
xdoclet

.sourceforge.net/xjavadoc/, it shows version 1.1 and not 1.5.

Any hints are welcome.

regards,

Wim
PS: Another remark: the list of dependencies from the xdoclet  
plugin is

very long! Is that really needed?





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



RE: Docbook plugin

2005-11-28 Thread COUVREUR jacques
Hi,

I have had this need in the past...

Maybe you can have a look on a Wiki like PyWikiServer 
(http://sourceforge.net/projects/pywikiserver) that encoding files in DocBook 
format

Best regards,
Jacques



-Message d'origine-
De : Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 24 novembre 2005 09:38
À : Maven Users List
Objet : Docbook plugin

Hi there,

I have a preliminary version of a Docbook plugin for Maven2. Here is
my typical use case:

I use to write project documentation (at least requirements) using
Unified Process "artifacts" (Software requirements specification,
actors specification, glossary, risk list, use case
specifications,...). My main objective is to have a lot of small,
manageable and interlinked documents that form the whole documentation
and that can be easily browsed using an Internet browser. To achieve
this I use Docbook articles with cross references between documents
using olink. In order to transform this documents into a browsable
web, you must supply a olink database to the Docbook stylesheets to
enable external link resolution.

The plugin scans existing Docbook files and automatically generates
the olink database using the standard stylesheets. Once the database
is created, transforms every document (no chunking nor toc) using the
provided database. The only requirement for this to work is to use a
predefined schema to build the name of referenced documents (very
easy).

I know this is a very focused use case and implementation, so I would
like to know if there is interest in this to publish it as open
source, and maybe add more requirements and flexibility to it...

Best regards
Jose

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




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


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



Re: maven.apache.org down?

2005-11-28 Thread Emmanuel Venisse

all *.apache.org are down. ASF infra try to fix the problem.

Emmanuel

Weston, Toby a écrit :

Yep!

Wim Deblauwe wrote:


http://maven.apache.org seems to be down. Are others having this
problem also? 


regards,

Wim



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



Repost: [m2] xdoclet for hibernate 3 with JDK 1.5

2005-11-28 Thread Wim Deblauwe
Send this 4 days ago and still no answer, maybe it was not noticed so allow
me to try again...

2005/11/24, Wim Deblauwe <[EMAIL PROTECTED]>:
>
> Hi,
>
> anybody got the combination of xdoclet with hibernate 3 and jdk 1.5working?
>
> I found that the xdoclet-maven-plugin (version alfa2 - seen this from a
> post, the website still shows alfa1) supports hibernate 3 (since it uses
> XDoclet 1.2.3), but I get errors because of 1.5 specific syntax. I then
> found this mail in the archives.
>
> =-=-=-
> The problem related to the XDoclet plugin that was producing a nasty
> exception when launched was due to the fact that the alpha-1.0 version was
> just not working.
>
> This version is the one referenced as example on Codehaus website and is
> NOT WORKING for ejbDoclet task (I don't know for other ones).
>
> Anyway, an Alpha-2.0 version has also been released and just changing this
> makes the ejbDoclet plugin work.
>
> Also, if you have problems using this plugin with Java 1.5, know that the
> XJavadoc version used in this plugin (1.1) doesn't work with Java 1.5
> syntax.  You will have to change this dependency to XJavadoc 1.5 in order
> to have XDoclet work with this specific syntax.
>
> Hope it will help somebody else,
>
> Jérôme
>
> P.S: Thank you all for the reply sent to me while searching for a solution
> =-=-=-=-
>
> However, I could not find XJavadoc version 1.5. Looking at http://xdoclet
> .sourceforge.net/xjavadoc/, it shows version 1.1 and not 1.5.
>
> Any hints are welcome.
>
> regards,
>
> Wim
> PS: Another remark: the list of dependencies from the xdoclet plugin is
> very long! Is that really needed?
>
>


RE: [M2] Repository

2005-11-28 Thread Allison, Bob
How do I get access to the recent snapshot?  The downloads on the download page 
are from May and the CVS information doesn't work:

$ cvs -d :pserver:[EMAIL PROTECTED]:/scm/maven-proxy/ co maven-proxy
/scm/maven-proxy/: no such repository

-Original Message-
From: Jörg Schaible [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 28, 2005 03:07
To: Maven Users List
Subject: RE: [M2] Repository


Law Green-A20134 wrote on Monday, November 28, 2005 6:28 AM:

> Jason,
> 
> Thank you so much for your patient reply! I have updated the diagram
> as per your comments, please let me know if it need further update. 

[snip]

Funny. This is quite the same setup I created also some weeks ago. We just use 
two local repos, one for released artitacts and one for snapshots.

> And I guess it would be better to fake a sample suite to reflect the
> topology, including settings.xml, pom.xml, maven-proxy.properties. I
> would like to help with this task.

For M2 support of maven-proxy, it is essential currently to use a recent 
snapshout (because of MAVENPROXY-34) and possibly apply (MAVENPROPXY-36).

- Jörg

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


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



[m2] https repository

2005-11-28 Thread ir. ing. Jan Dockx
Our company repository is on a https server with a self-signed certificate, with access control.



Maven 1
--

With maven 1, we got this working in the following fashion.

In the project.properties we have an entry for the repository as follows:


[…]
maven.repo.remote=https://${user.name}:[EMAIL PROTECTED]/projects/maven/repository,\
http://www.ibiblio.org/maven
[…]


and in ~/build.properties we an entry as follows:


[…]
[EMAIL PROTECTED]
[…]


The certificate is imported using the java keytool as follows:


sudo keytool -keystore $JAVA_HOME/lib/security/cacerts -import -file cvs_peopleware_be.cer


(On Mac OS X, and mutatis mutandi on other Unix variants and Windows).

With these settings, this has been working for us with maven 1 for a year.




Maven 2
--

Now how do we get this working with maven 2? I didn't find a working solution in the documentation, wiki or mailing list archives.

What I have so far is

An entry in the pom.xml as follows:


[…]


ppw-missing
PeopleWare Repository of Missing Artifacts

https://cvs.peopleware.be/projects/maven/maven2/repository

[…]

[…]



An entry in ~/.m2/settings.xml as follows:


[…]


ppw-missing
thisIsMe
[EMAIL PROTECTED]

[…]

[…]



The certificate was installed before, as discussed higher, and nothing change there.




With these settings, I get the following error:


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


Project ID: javax.faces:jsf-api

Reason: Error getting POM for 'javax.faces:jsf-api' from the repository: Error transferring file
javax.faces:jsf-api:1.1_01:pom

from the specified remote repositories:
central (http://repo1.maven.org/maven2),
ppw-missing (https://cvs.peopleware.be/projects/maven/maven2/repository),
ppw-libraries (https://cvs.peopleware.be/projects/JavaLibraries/maven2-repository)



[INFO] 
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get dependency information: Unable to read the metadata file for artifact 'javax.faces:jsf-api:jar': Error getting POM for 'javax.faces:jsf-api' from the repository: Error transferring file
javax.faces:jsf-api:1.1_01:pom

from the specified remote repositories:
central (http://repo1.maven.org/maven2),
ppw-missing (https://cvs.peopleware.be/projects/maven/maven2/repository),
ppw-libraries (https://cvs.peopleware.be/projects/JavaLibraries/maven2-repository)

javax.faces:jsf-api:1.1_01:jar

from the specified remote repositories:
central (http://repo1.maven.org/maven2),
ppw-missing (https://cvs.peopleware.be/projects/maven/maven2/repository),
ppw-libraries (https://cvs.peopleware.be/projects/JavaLibraries/maven2-repository)
Path to dependency: 
1) be.peopleware:ppw-value-II:jar:1.3.0-1.2-MAVEN2TEST


at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:536)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:482)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:452)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:301)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable to get dependency information: Unable to read the metadata file for artifact 'javax.faces:jsf-api:jar': Error getting POM for 'javax.faces:jsf-api' from the repository: Error transferring file
javax.faces:jsf-api:1.1_01:pom

from the specified remote repositories:
central (http://repo1.maven.org/maven2),
ppw-missing (https://cvs.peopleware.be/projects/maven/maven2/repository),
ppw-libraries (https://cvs.peopleware.be/projects/JavaLibraries/maven2-repository)

javax.faces:jsf-api:1.1_01:jar

from the specified remote repositories:
central (

Re: maven.apache.org down?

2005-11-28 Thread Brett Porter
Yes, all apache.org sites are currently down. Nothing we can do about it, sorry!

On 11/28/05, Wim Deblauwe <[EMAIL PROTECTED]> wrote:
> http://maven.apache.org seems to be down. Are others having this problem
> also?
>
> regards,
>
> Wim
>
>

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



RE: maven.apache.org down?

2005-11-28 Thread Weston, Toby
Yep!

Wim Deblauwe wrote:
> http://maven.apache.org seems to be down. Are others having this
> problem also? 
> 
> regards,
> 
> Wim

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



maven.apache.org down?

2005-11-28 Thread Wim Deblauwe
http://maven.apache.org seems to be down. Are others having this problem
also?

regards,

Wim


RE: [M1] Maven with Websphere Application Developer anyone?

2005-11-28 Thread Weston, Toby
Yep, all looks good, I've got the MAVEN_REPO\foo.jar in the .classpath file
and marked as exported like this;




And added it to the manifest.mf file like this;

Class-Path: axis-1.3.jar

But still no JARs when I export (or deploy) from WSAD! Did you have your
webapp associated with an EAR? Mine isn't, so I export -> JAR not EAR. Am I
missing something?

Cheers,
Toby

Dion Gillard wrote:
> We have no hassles deploying or exporting from WSAD.
> 
> Do you make sure your MANIFEST.MF is correct?
> 
> On 11/28/05, Weston, Toby <[EMAIL PROTECTED]> wrote:
>> Yep I include the war.bundle property, so Maven is fine, I meant that
>> it doesn't export / deploy correctly from within WSAD.
>> 
>> Dion Gillard wrote:
>>> Are you using
>>> 
>>> 
>>>   true
>>> 
>>> 
>>> on the dependency?
>>> 
>>> On 11/25/05, Weston, Toby <[EMAIL PROTECTED]> wrote:
 Hi Lee,
 
 Thanks for the info, could you outline how you got Websphere to
 handle the JAR's correctly? If I set the classpath of a webapp in
 the Maven way (ie, extend a variable MAVEN_REPO\foo.jar) if doesn't
 export / deploy this under the WEB-INF\lib folder. Does that make
 sense? 
 
 Thanks,
 Toby
 
   _
 
 From: Lee Meador [mailto:[EMAIL PROTECTED]
 Sent: 22 November 2005 21:07
 To: Maven Users List
 Cc: Weston, Toby
 Subject: Re: [M1] Maven with Websphere Application Developer
 anyone? 
 
 
 I worked on a project last year that was using WSAD 5.1.2 with
 version 1 of Maven. It worked ok but we didn't get everything we
 wanted. My memory is fuzzy and I don't have access to the project
 files any more. 
 
 1) We could use WSAD with the folder structure Maven wants just
 fine. 
 
 2) We had a sort-of-base-project with things set up to build all
 the other projects as subprojects.
 
 3) We would run Maven from the command line. Some developers set it
 up as an external tool to just run.
 
 4) The projects would build inside WSAD (too) and we could deploy
 that way to the built in Websphere to test things.
 
 5) That project had a Swing front end that talked directly to EJBs
 with Hibernate in the back. There was also a tiny little web app
 that did little more than show you the version number of the back
 end. Every "layer" was in a seperate WSAD project. That implies
 there 
 were ejb projects, web projects and java projects.
 
 Hope this helps.
 
 -- Lee Meador
 
 
 On 11/22/05, Weston, Toby <[EMAIL PROTECTED]
  > wrote:
 
 Hi Folks,
 
 Is anyone using Maven based structures (in particular J2EE ones
 like
 webapps) with Websphere Application Developer (WSAD) or Rational
 Application Developer? 
 
 I was just after any horror/success stories and if you can make the
 project structure co-exist in harmony.
 
 Thanks in advance,
 Toby
 
 ---
 -- 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]
  
 
 
>>> 
>> 
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
> 
> 
> --
> http://www.multitask.com.au/people/dion/
> "You are going to let the fear of poverty govern your life and your
> reward will be that you will eat, but you will not live." - George
> Bernard Shaw  
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

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



[m2] Avoiding duplicate jar files in a generated ear file ?

2005-11-28 Thread Christian Schulte

Hi,

when I build an ear file with maven 2 it happens that because of 
transitive dependencies I get e.g. two struts.jar files in the generated 
file. What is the recommended way of managing transitive dependencies ? 
Say I have a dependency which itself has a dependency to 
struts-1.2.7.jar and another dependency which itself has a dependency to 
struts-1.2.8.jar I would like to avoid having both struts versions in 
the generated ear file. What is the recommended way of doing this ?


--
Christian


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



Re: Continuous Integration with Luntbuild

2005-11-28 Thread Wim Deblauwe
It probably has something to do with your french locale. I believe that
luntbuild searches for the text 'BUILD SUCCES' or something like that anyway
and it does not understand your french...

regards,

Wim

2005/11/28, Blaise Gosselin <[EMAIL PROTECTED]>:
>
> I managed doing it now, but setting the following property in Builders of
> type maven :
> Directory to run Maven in : commons
>
> It works, and my jar has been successfully constructed, but it has been
> failed for luntbuild.
> I have the following output in my build_log.txt :
> ---
> jar:jar:
> [jar] Building jar: C:\Program
> Files\luntbuild\work\commons\commons\target\commons-1.0.jar
> LA CONSTRUCTION A RÈUSSIE
> Temps total: 28 secondes
> Fini le: lundi 28 novembre 2005 8:41:18 CET
>
> Maven builder failed: build success condition not met!
> ---
>
> How can I solve this ?
>
> Thanks in advance...
>  _ _ _
> bgOnline
>
> -Original Message-
> From: Blaise Gosselin
> Sent: lundi 28 novembre 2005 8:37
> To: Maven Users List
> Cc: '[EMAIL PROTECTED]'
> Subject: Continuous Integration with Luntbuild
>
>
> Hello,
>
> I'm currently trying the tool Luntbuild, which seems to be appropriate for
> my needs.
> Nevertheless, I don't manage to make it work for one of my project.
> I have a Subversion VCS repository, and one of my project is at the
> following url :
> http://tomcat/svn/commons/trunk/commons
>
> Thus, all the sources are under the directory commons/trunk/commons.
>
> In luntbuild, I've defined a VCS adaptor, with the following repository
> url base: http://tomcat/svn/commons
> Directory for trunk : trunk
> ...
> modules : commons
>
> ==> when a checkout is done with luntbuild, I have the following
> structure:
> luntbuild/work/commons/commons/...
>
> But my maven project.xml file is under the last commons directory.
>
> How can I solve this problem ?
>
> Thanks in advance...
> ___ _ _ _
> bgOnline
>
>
>


Re: [M1] Maven with Websphere Application Developer anyone?

2005-11-28 Thread Dion Gillard
We have no hassles deploying or exporting from WSAD.

Do you make sure your MANIFEST.MF is correct?

On 11/28/05, Weston, Toby <[EMAIL PROTECTED]> wrote:
> Yep I include the war.bundle property, so Maven is fine, I meant that it
> doesn't export / deploy correctly from within WSAD.
>
> Dion Gillard wrote:
> > Are you using
> >
> > 
> >   true
> > 
> >
> > on the dependency?
> >
> > On 11/25/05, Weston, Toby <[EMAIL PROTECTED]> wrote:
> >> Hi Lee,
> >>
> >> Thanks for the info, could you outline how you got Websphere to
> >> handle the JAR's correctly? If I set the classpath of a webapp in
> >> the Maven way (ie, extend a variable MAVEN_REPO\foo.jar) if doesn't
> >> export / deploy this under the WEB-INF\lib folder. Does that make
> >> sense?
> >>
> >> Thanks,
> >> Toby
> >>
> >>   _
> >>
> >> From: Lee Meador [mailto:[EMAIL PROTECTED]
> >> Sent: 22 November 2005 21:07
> >> To: Maven Users List
> >> Cc: Weston, Toby
> >> Subject: Re: [M1] Maven with Websphere Application Developer anyone?
> >>
> >>
> >> I worked on a project last year that was using WSAD 5.1.2 with
> >> version 1 of Maven. It worked ok but we didn't get everything we
> >> wanted. My memory is fuzzy and I don't have access to the project
> >> files any more.
> >>
> >> 1) We could use WSAD with the folder structure Maven wants just fine.
> >>
> >> 2) We had a sort-of-base-project with things set up to build all the
> >> other projects as subprojects.
> >>
> >> 3) We would run Maven from the command line. Some developers set it
> >> up as an external tool to just run.
> >>
> >> 4) The projects would build inside WSAD (too) and we could deploy
> >> that way to the built in Websphere to test things.
> >>
> >> 5) That project had a Swing front end that talked directly to EJBs
> >> with Hibernate in the back. There was also a tiny little web app that
> >> did little more than show you the version number of the back end.
> >> Every "layer" was in a seperate WSAD project. That implies there were
> >> ejb projects, web projects and java projects.
> >>
> >> Hope this helps.
> >>
> >> -- Lee Meador
> >>
> >>
> >> On 11/22/05, Weston, Toby <[EMAIL PROTECTED]
> >>  > wrote:
> >>
> >> Hi Folks,
> >>
> >> Is anyone using Maven based structures (in particular J2EE ones like
> >> webapps) with Websphere Application Developer (WSAD) or Rational
> >> Application Developer?
> >>
> >> I was just after any horror/success stories and if you can make the
> >> project structure co-exist in harmony.
> >>
> >> Thanks in advance,
> >> Toby
> >>
> >> -
> >> 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]
> >> 
> >>
> >>
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
http://www.multitask.com.au/people/dion/
"You are going to let the fear of poverty govern your life and your
reward will be that you will eat, but you will not live." - George
Bernard Shaw

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



RE: [M1] Maven with Websphere Application Developer anyone?

2005-11-28 Thread Weston, Toby
Yep I include the war.bundle property, so Maven is fine, I meant that it
doesn't export / deploy correctly from within WSAD.

Dion Gillard wrote:
> Are you using
> 
> 
>   true
> 
> 
> on the dependency?
> 
> On 11/25/05, Weston, Toby <[EMAIL PROTECTED]> wrote:
>> Hi Lee,
>> 
>> Thanks for the info, could you outline how you got Websphere to
>> handle the JAR's correctly? If I set the classpath of a webapp in
>> the Maven way (ie, extend a variable MAVEN_REPO\foo.jar) if doesn't
>> export / deploy this under the WEB-INF\lib folder. Does that make
>> sense? 
>> 
>> Thanks,
>> Toby
>> 
>>   _
>> 
>> From: Lee Meador [mailto:[EMAIL PROTECTED]
>> Sent: 22 November 2005 21:07
>> To: Maven Users List
>> Cc: Weston, Toby
>> Subject: Re: [M1] Maven with Websphere Application Developer anyone?
>> 
>> 
>> I worked on a project last year that was using WSAD 5.1.2 with
>> version 1 of Maven. It worked ok but we didn't get everything we
>> wanted. My memory is fuzzy and I don't have access to the project
>> files any more. 
>> 
>> 1) We could use WSAD with the folder structure Maven wants just fine.
>> 
>> 2) We had a sort-of-base-project with things set up to build all the
>> other projects as subprojects.
>> 
>> 3) We would run Maven from the command line. Some developers set it
>> up as an external tool to just run.
>> 
>> 4) The projects would build inside WSAD (too) and we could deploy
>> that way to the built in Websphere to test things.
>> 
>> 5) That project had a Swing front end that talked directly to EJBs
>> with Hibernate in the back. There was also a tiny little web app that
>> did little more than show you the version number of the back end.
>> Every "layer" was in a seperate WSAD project. That implies there were
>> ejb projects, web projects and java projects.
>> 
>> Hope this helps.
>> 
>> -- Lee Meador
>> 
>> 
>> On 11/22/05, Weston, Toby <[EMAIL PROTECTED]
>>  > wrote:
>> 
>> Hi Folks,
>> 
>> Is anyone using Maven based structures (in particular J2EE ones like
>> webapps) with Websphere Application Developer (WSAD) or Rational
>> Application Developer? 
>> 
>> I was just after any horror/success stories and if you can make the
>> project structure co-exist in harmony.
>> 
>> Thanks in advance,
>> Toby
>> 
>> -
>> 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]
>>  
>> 
>> 
> 

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



Re: [m2] Configure output folder in eclipse plugin

2005-11-28 Thread Kees de Kooter
That worked, thanks Barry. One problem remains though. For filtering
purposed I defined two resources:



src/main/webapp
true
../filtered-webapp-resources



src/main/config
true



The eclipse plugins creates those two as source folders, which is ok.
It also creates output folders for these source folders, which I do
not want.


On 11/28/05, Barry Kaplan <[EMAIL PROTECTED]> wrote:
> Kees de Kooter wrote:
> > Is it possible to control which output folders the eclipse plugin puts
> > into the .classpath file? I tried setting the outputDirectory property
> > in the plugin configuration but that did not have any effect.
>
> I use this and it works:
>
> 
> 
> 
> 
> org.apache.maven.plugins
> maven-eclipse-plugin
> 
> target-eclipse
> 
> 
> 
> ...
>

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



Re: mevenide eclipse plugin and maven 2

2005-11-28 Thread Jose Gonzalez Gomez
2005/11/28, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> Hi,
>
> is there a possibility to work with the mevenide eclipse plugin and maven
> 2 ?
>
No, but I seem to remember that somebody is already working on an
Eclipse plugin for Maven2. Search the archives, there was a thread
reagarding this issue.

HTH
Jose

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



RE: [M2] Repository

2005-11-28 Thread Jörg Schaible
Law Green-A20134 wrote on Monday, November 28, 2005 6:28 AM:

> Jason,
> 
> Thank you so much for your patient reply! I have updated the diagram
> as per your comments, please let me know if it need further update. 

[snip]

Funny. This is quite the same setup I created also some weeks ago. We just use 
two local repos, one for released artitacts and one for snapshots.

> And I guess it would be better to fake a sample suite to reflect the
> topology, including settings.xml, pom.xml, maven-proxy.properties. I
> would like to help with this task.

For M2 support of maven-proxy, it is essential currently to use a recent 
snapshout (because of MAVENPROXY-34) and possibly apply (MAVENPROPXY-36).

- Jörg

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