Re: ws.zones.apache.org down

2011-04-08 Thread Ben Short
Hi Benson,

The following shows the relevant part of the dependency tree. Maven fails
while trying to get opensaml:opensaml and bouncycastle:bcprov-jdk13 and
tries to get them from ws.zones.apache.org.

[INFO] +- org.springframework.ws:spring-ws-security:jar:1.5.4:compile
[INFO] |  +- org.springframework:spring-tx:jar:2.5.5:compile
[INFO] |  +- com.sun.xml.wss:xws-security:jar:2.0-FCS:compile
[INFO] |  |  \- javax.xml.crypto:xmldsig:jar:1.0:compile
[INFO] |  | \- com.sun.org.apache.xml.security:xmlsec:jar:2.0:runtime
[INFO] |  +- org.apache.santuario:xmlsec:jar:1.4.0:compile
[INFO] |  \- org.apache.ws.security:wss4j:jar:1.5.4:compile
[INFO] | +- opensaml:opensaml:jar:1.1:compile
[INFO] | +- xalan:xalan:jar:2.7.0:compile
[INFO] | +- xerces:xercesImpl:jar:2.8.1:compile
[INFO] | \- bouncycastle:bcprov-jdk13:jar:132:compile


I've added the two deps to our instance of Nexus and we are able to build
again now.

Ben


On 7 April 2011 17:37, Benson Margulies bimargul...@gmail.com wrote:

 I'm part of ws.apache.org and I've never ever heard of this. What were
 you getting from there?

 On Thu, Apr 7, 2011 at 6:14 AM, Ben Short b...@benshort.co.uk wrote:
  Hi,
 
  Over the last couple of days my builds have been failing because the
  repository hosted at ws.zones.apache.org is down.
 
  Does anyone know whats going on with this server?
 
  Regards
 
  Ben
 

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




ws.zones.apache.org down

2011-04-07 Thread Ben Short
Hi,

Over the last couple of days my builds have been failing because the
repository hosted at ws.zones.apache.org is down.

Does anyone know whats going on with this server?

Regards

Ben


Re: Multiple CPUs

2008-04-09 Thread ben short
I'd think that the build process is single threaded, with exception to
the surefire plugin which can be forked.

On Wed, Apr 9, 2008 at 12:21 PM, Benedikt Thelen [EMAIL PROTECTED] wrote:
 Hi there, i am sort of a maven newbee,
  At our workplce we have a quite big Coccon project in developenet and we use
  maven to build it. Building takes usually 5-6 minutes which is quite a
  while. I noticed using gkrellm and htop that maven only uses one of the two
  processors (Levono Thinkpad with intel core Duo) in my notebook.
  Question: Is there a way to tell maven to use both CPU's while building? I
  searched gooogle a lot but i didn't find anything.

  Greetings Benedikt Thelen


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



Re: Multiple CPUs

2008-04-09 Thread ben short
You could structure your project in to a multi module project. For
instance an api, implimentation and utils module. then if you only
make changes to the utils module you can just rebuild that module
which should save some time.

On Wed, Apr 9, 2008 at 1:12 PM,  [EMAIL PROTECTED] wrote:
 Hi

  The GC = Garbage Collection. It will help a bit.

  Hermod



  -Original Message-
  From: Nino Saturnino Martinez Vazquez Wael
  [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, April 09, 2008 2:06 PM
  To: Maven Users List
  Subject: Re: Multiple CPUs


  Is'nt this just a java setting, you could pass on to the jvm?:


  -XX:+UseParallelGC
  -XX:+ParallelGCThreads=2

  http://www.md.pp.ru/~eu/jdk6options.html

  Benedikt Thelen wrote:
   if possible is there a wat to split up the source to make diffrent
   jobs who could be run separately?
  
  
   On Wed, Apr 9, 2008 at 1:24 PM, ben short [EMAIL PROTECTED]
   wrote:
  
  
   I'd think that the build process is single threaded, with exception
   to the surefire plugin which can be forked.
  
   On Wed, Apr 9, 2008 at 12:21 PM, Benedikt Thelen [EMAIL PROTECTED]
   wrote:
  
   Hi there, i am sort of a maven newbee,
At our workplce we have a quite big Coccon project in developenet
   and
  
   we use
  
maven to build it. Building takes usually 5-6 minutes which is
   quite a  while. I noticed using gkrellm and htop that maven only
   uses one of the
  
   two
  
processors (Levono Thinkpad with intel core Duo) in my notebook.
Question: Is there a way to tell maven to use both CPU's while
  
   building? I
  
searched gooogle a lot but i didn't find anything.
  
Greetings Benedikt Thelen
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  
  

  --
  -Wicket for love

  Nino Martinez Wael
  Java Specialist @ Jayway DK
  http://www.jayway.dk
  +45 2936 7684


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

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

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

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

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




  -
  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 Classpath issue

2008-03-13 Thread ben short
Hi,

I am adding some Unit tests to a legacy application before I make any changes.

As part of the tests I start the application. When the application
starts it scans all the classes on the classpath. Unfortunately the
only jar on the classpath is the classworlds.jar due to the way maven
handles dependencies. The application will use a system property
called java.class.path if present. So I have configured the surefire
plugin as shown below.

plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-plugin/artifactId
version2.3/version
configuration

workingDirectory${basedir}\target\test-classes/workingDirectory
systemProperties
property
namejava.class.path/name
value${project.testClasspathElements}/value
/property
/systemProperties
includes
includenexusalpha/**/*Tests*/include
/includes
excludes

excludenexusalpha/jaf2/services/webservice/AlertServerWebServiceTests*.java/exclude
/excludes
reportFormatbrief/reportFormat
useFilefalse/useFile
skipfalse/skip
/configuration
/plugin

Unfortunately when i run the tests the application prints that the
value for the system property java.class.path is
${project.testClasspathElements}. So it seems that maven is not
filtering this property correctly.

As a quick test i added ${project.testClasspathElements} to the
workingDirectory element I see that maven complains that the
workingDirectory is not valid and on inspection i see that the
projects dependencies are listed correctly.

Can anyone help me out with this? I'm using maven 2.0.8.

Regards

Ben Short

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



Re: M2 Classpath issue

2008-03-13 Thread ben short
Wayne,

Thanks for pointing this out.

Regards

Ben Short

On Thu, Mar 13, 2008 at 2:39 PM, Wayne Fay [EMAIL PROTECTED] wrote:
 This has come up several times on this list, as recently as a week
  ago, and people have discussed strategies for dealing with it etc. One
  thread in particular you will want to read is:
  date  Mar 5, 2008 5:07 PM
  subject  java.class.path and the surefire-plugin

  For more info, go to Nabble.com and search the list archives for
  java.class.path.

  Wayne



  On 3/13/08, ben short [EMAIL PROTECTED] wrote:
   Hi,
  
   I am adding some Unit tests to a legacy application before I make any 
 changes.
  
   As part of the tests I start the application. When the application
   starts it scans all the classes on the classpath. Unfortunately the
   only jar on the classpath is the classworlds.jar due to the way maven
   handles dependencies. The application will use a system property
   called java.class.path if present. So I have configured the surefire
   plugin as shown below.
  
   plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-surefire-plugin/artifactId
  version2.3/version
  configuration
  
   workingDirectory${basedir}\target\test-classes/workingDirectory
  systemProperties
  property
  namejava.class.path/name
  value${project.testClasspathElements}/value
  /property
  /systemProperties
  includes
  includenexusalpha/**/*Tests*/include
  /includes
  excludes
  
   
 excludenexusalpha/jaf2/services/webservice/AlertServerWebServiceTests*.java/exclude
  /excludes
  reportFormatbrief/reportFormat
  useFilefalse/useFile
  skipfalse/skip
  /configuration
  /plugin
  
   Unfortunately when i run the tests the application prints that the
   value for the system property java.class.path is
   ${project.testClasspathElements}. So it seems that maven is not
   filtering this property correctly.
  
   As a quick test i added ${project.testClasspathElements} to the
   workingDirectory element I see that maven complains that the
   workingDirectory is not valid and on inspection i see that the
   projects dependencies are listed correctly.
  
   Can anyone help me out with this? I'm using maven 2.0.8.
  
   Regards
  
   Ben Short
  
   -
   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: java.class.path and the surefire-plugin

2008-03-13 Thread ben short
When I run the following test with maven 2.0.8 and surefire plugin 2.3
i dont see a surefire.test.class.path system property.

@Test
public void testIt() {

for ( Object property : System.getProperties().keySet() ) {
System.out.print(property +  : );
System.out.println(System.getProperty((String)property));

}

}

Output

Running nexusalpha.jaf2.services.webservice.SimpleTests
java.runtime.name : Java(TM) SE Runtime Environment
sun.boot.library.path : C:\Program Files\Java\jre1.6.0_03\bin
java.vm.version : 1.6.0_03-b05
java.vm.vendor : Sun Microsystems Inc.
java.vendor.url : http://java.sun.com/
path.separator : ;
java.vm.name : Java HotSpot(TM) Client VM
file.encoding.pkg : sun.io
sun.java.launcher : SUN_STANDARD
user.country : GB
sun.os.patch.level : Service Pack 2
java.vm.specification.name : Java Virtual Machine Specification
user.dir : D:\Source Code -
Maven\alertserver_trunk\alertservice\target\test-classes
java.runtime.version : 1.6.0_03-b05
basedir : D:\Source Code - Maven\alertserver_trunk\alertservice
java.awt.graphicsenv : sun.awt.Win32GraphicsEnvironment
java.endorsed.dirs : C:\Program Files\Java\jre1.6.0_03\lib\endorsed
os.arch : x86
java.io.tmpdir : C:\DOCUME~1\BENSHO~1\LOCALS~1\Temp\
line.separator :

java.vm.specification.vendor : Sun Microsystems Inc.
user.variant :
os.name : Windows XP
sun.jnu.encoding : Cp1252
java.library.path :
C:\WINDOWS\system32;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Intel\Wireless\Bin\;C:\Program Files\Microsoft SQL
Server\80\Tools\Binn\;D:\Program Files\GTK\2.0\bin;C:\Program
Files\jprofiler4\
bin\windows;C:\Program Files\Subversion\bin;D:\Source Code -
Maven\maven\bin;C:\Program Files\OpenVPN\bin
java.specification.name : Java Platform API Specification
java.class.version : 50.0
sun.management.compiler : HotSpot Client Compiler
os.version : 5.1
user.home : C:\Documents and Settings\Ben Short
user.timezone :
java.awt.printerjob : sun.awt.windows.WPrinterJob
file.encoding : Cp1252
java.specification.version : 1.6
java.class.path : C:\Documents and Settings\Ben
Short\.m2\repository\org\apache\maven\surefire\surefire-booter\2.0\surefire-booter-2.0.jar;C:\Documents
and Settings\Ben
Short\.m2\repository\org\apache\maven\surefire\surefire-api\2.0\surefire-api-2.0.jar;C:\Documents
and Settings\Ben Short\.m2\reposi
tory\org\codehaus\plexus\plexus-utils\1.1\plexus-utils-1.1.jar
user.name : Ben Short
java.vm.specification.version : 1.0
java.home : C:\Program Files\Java\jre1.6.0_03
sun.arch.data.model : 32
user.language : en
java.specification.vendor : Sun Microsystems Inc.
awt.toolkit : sun.awt.windows.WToolkit
java.vm.info : mixed mode
java.version : 1.6.0_03
java.ext.dirs : C:\Program
Files\Java\jre1.6.0_03\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
sun.boot.class.path : C:\Program
Files\Java\jre1.6.0_03\lib\resources.jar;C:\Program
Files\Java\jre1.6.0_03\lib\rt.jar;C:\Program
Files\Java\jre1.6.0_03\lib\sunrsasign.jar;C:\Program
Files\Java\jre1.6.0_03\lib\jsse.jar;C:\Program
Files\Java\jre1.6.0_03\lib\jce.jar;C:\Program Files\Java\jre1.6.0_03\l
ib\charsets.jar;C:\Program Files\Java\jre1.6.0_03\classes
java.vendor : Sun Microsystems Inc.
localRepository : C:\Documents and Settings\Ben Short\.m2\repository
file.separator : \
java.vendor.url.bug : http://java.sun.com/cgi-bin/bugreport.cgi
sun.io.unicode.encoding : UnicodeLittle
sun.cpu.endian : little
sun.desktop : windows
sun.cpu.isalist : pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86


Any ideas?

Regards

Ben Short

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



Re: java.class.path and the surefire-plugin

2008-03-13 Thread ben short
Using surefire 2.4.2 corrects my problem.

Sorry.

On Thu, Mar 13, 2008 at 3:49 PM, ben short [EMAIL PROTECTED] wrote:
 When I run the following test with maven 2.0.8 and surefire plugin 2.3
  i dont see a surefire.test.class.path system property.

  @Test
 public void testIt() {

 for ( Object property : System.getProperties().keySet() ) {
 System.out.print(property +  : );
 System.out.println(System.getProperty((String)property));

 }

 }

  Output

  Running nexusalpha.jaf2.services.webservice.SimpleTests
  java.runtime.name : Java(TM) SE Runtime Environment
  sun.boot.library.path : C:\Program Files\Java\jre1.6.0_03\bin
  java.vm.version : 1.6.0_03-b05
  java.vm.vendor : Sun Microsystems Inc.
  java.vendor.url : http://java.sun.com/
  path.separator : ;
  java.vm.name : Java HotSpot(TM) Client VM
  file.encoding.pkg : sun.io
  sun.java.launcher : SUN_STANDARD
  user.country : GB
  sun.os.patch.level : Service Pack 2
  java.vm.specification.name : Java Virtual Machine Specification
  user.dir : D:\Source Code -
  Maven\alertserver_trunk\alertservice\target\test-classes
  java.runtime.version : 1.6.0_03-b05
  basedir : D:\Source Code - Maven\alertserver_trunk\alertservice
  java.awt.graphicsenv : sun.awt.Win32GraphicsEnvironment
  java.endorsed.dirs : C:\Program Files\Java\jre1.6.0_03\lib\endorsed
  os.arch : x86
  java.io.tmpdir : C:\DOCUME~1\BENSHO~1\LOCALS~1\Temp\
  line.separator :

  java.vm.specification.vendor : Sun Microsystems Inc.
  user.variant :
  os.name : Windows XP
  sun.jnu.encoding : Cp1252
  java.library.path :
  
 C:\WINDOWS\system32;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
  Files\Intel\Wireless\Bin\;C:\Program Files\Microsoft SQL
  Server\80\Tools\Binn\;D:\Program Files\GTK\2.0\bin;C:\Program
  Files\jprofiler4\
  bin\windows;C:\Program Files\Subversion\bin;D:\Source Code -
  Maven\maven\bin;C:\Program Files\OpenVPN\bin
  java.specification.name : Java Platform API Specification
  java.class.version : 50.0
  sun.management.compiler : HotSpot Client Compiler
  os.version : 5.1
  user.home : C:\Documents and Settings\Ben Short
  user.timezone :
  java.awt.printerjob : sun.awt.windows.WPrinterJob
  file.encoding : Cp1252
  java.specification.version : 1.6
  java.class.path : C:\Documents and Settings\Ben
  
 Short\.m2\repository\org\apache\maven\surefire\surefire-booter\2.0\surefire-booter-2.0.jar;C:\Documents
  and Settings\Ben
  
 Short\.m2\repository\org\apache\maven\surefire\surefire-api\2.0\surefire-api-2.0.jar;C:\Documents
  and Settings\Ben Short\.m2\reposi
  tory\org\codehaus\plexus\plexus-utils\1.1\plexus-utils-1.1.jar
  user.name : Ben Short
  java.vm.specification.version : 1.0
  java.home : C:\Program Files\Java\jre1.6.0_03
  sun.arch.data.model : 32
  user.language : en
  java.specification.vendor : Sun Microsystems Inc.
  awt.toolkit : sun.awt.windows.WToolkit
  java.vm.info : mixed mode
  java.version : 1.6.0_03
  java.ext.dirs : C:\Program
  Files\Java\jre1.6.0_03\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
  sun.boot.class.path : C:\Program
  Files\Java\jre1.6.0_03\lib\resources.jar;C:\Program
  Files\Java\jre1.6.0_03\lib\rt.jar;C:\Program
  Files\Java\jre1.6.0_03\lib\sunrsasign.jar;C:\Program
  Files\Java\jre1.6.0_03\lib\jsse.jar;C:\Program
  Files\Java\jre1.6.0_03\lib\jce.jar;C:\Program Files\Java\jre1.6.0_03\l
  ib\charsets.jar;C:\Program Files\Java\jre1.6.0_03\classes
  java.vendor : Sun Microsystems Inc.
  localRepository : C:\Documents and Settings\Ben Short\.m2\repository
  file.separator : \
  java.vendor.url.bug : http://java.sun.com/cgi-bin/bugreport.cgi
  sun.io.unicode.encoding : UnicodeLittle
  sun.cpu.endian : little
  sun.desktop : windows
  sun.cpu.isalist : pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 
 i86


  Any ideas?

  Regards

  Ben Short


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



Re: Using Junit4 with Maven

2008-03-11 Thread ben short
I use JUnit 4.4 with Maven 2.0.8 and havent had any problems. Just
change the JUnit version in your pom.

Regards

Ben

On Tue, Mar 11, 2008 at 2:47 AM, Nitin Agrawal [EMAIL PROTECTED] wrote:
 Dear Sir/Madam,

  We would like to use JUnit4 in our projects, and we were already using Maven
  2.0.9. Currently we are using JUnit 3.8.1. Is there a way that we can start
  using JUnit4 with the release version on Maven. We would not like to go with
  the snapshot version. But, kindly let me know if that is an option.

  I look forward to hear from you.

  --
  Regards,

  Nitin Agrawal.
  Abode : 814 Timbercreek Way, #704, Salt Lake City, UT-84119
  Voice: (408) 513 5700 [Cell]
  Internet: [EMAIL PROTECTED] / [EMAIL PROTECTED]
  The secret of success in life is for a man to be ready for his time when it
  comes. -Benjamin Disraeli


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



Re: Nexus repository manager

2008-02-18 Thread ben short
So how did the demo go on friday?

Any news when we can get our hands on Nexus?

On Feb 13, 2008 8:26 PM, Yoav Landman [EMAIL PROTECTED] wrote:

 You might also want to try out Artifactory. It has auto snapshots cleanup + a
 range of other advanced features. See:
 http://www.jfrog.org/confluence/display/RTF/Welcome+to+Artifactory%21

 (as the project lead I am of course biased ;)



 Hayes, Peter wrote:
 
  I did not know Nexus was going to be commercial.  Thanks for the info.
 
  Pete
 
  -Original Message-
  From: Brett Porter [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, February 12, 2008 5:30 PM
  To: Maven Users List
  Subject: Re: Nexus repository manager
 
  Nexus is a commercial product from Sonatype, so you should probably
  contact them via their website for more information.
 
  If you are interested in snapshot cleanup that works today, you might
  try Archiva: http://maven.apache.org/archiva/ :)
 
  Cheers,
  Brett
 
  On 13/02/2008, Hayes, Peter [EMAIL PROTECTED] wrote:
  Is there any update on the Nexus repository manager?  I am interested
  in
  snapshot cleanup.
 
  Thanks,
 
  Peter Hayes
  Architecture  Shared Technology Services | Fidelity Investments
  Management Technology
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
  --
  Brett Porter
  Blog: http://blogs.exist.com/bporter/
 
  -
  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]
 
 
 

 --
 View this message in context: 
 http://www.nabble.com/Nexus-repository-manager-tp15442472s177p15467151.html
 Sent from the Maven - Users mailing list archive at Nabble.com.



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



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



Re: Archiva 1.0.1

2008-02-11 Thread ben short
Thanks Brett that worked.

On Feb 11, 2008 10:21 PM, Brett Porter [EMAIL PROTECTED] wrote:
 You need to modify the default whitelist on the java.net repository -
 as it only downloads javax/** by default.


 On 12/02/2008, ben short [EMAIL PROTECTED] wrote:
  Hi,
 
  Im trying to setup Archiva at work. I havent change any of the default
  configuration but when I run mvn clean on my project it fails to find
  the following plugin.
 
  groupIdorg.jvnet.jaxb1.maven2/groupId
  artifactIdmaven-jaxb1-plugin/artifactId
  version1.0-rc11/version
 
  And its available at the following URL..
 
  http://download.java.net/maven/2/org/jvnet/jaxb1/maven2/maven-jaxb1-plugin/1.0-rc11/
 
  Which as far as I can see is should be accessable via the Java.net
  Repository for Maven 2 Remote proxy.
 
  I have the following profile in my settings.xml
 
  profile
  idwork/id
repositories
  repository
idinternal/id
nameArchiva Managed Internal Repository/name
urlhttp://10.10.10.9:8099/archiva/repository/internal/url
releases
  enabledtrue/enabled
/releases
snapshots
  enabledfalse/enabled
/snapshots
  /repository
  repository
idsnapshots/id
nameArchiva Managed Snapshot Repository/name
urlhttp://10.10.10.9:8099/archiva/repository/snapshots/url
releases
  enabledfalse/enabled
/releases
snapshots
  enabledtrue/enabled
/snapshots
  /repository
/repositories
  /profile
 
  Here is the output I get when I try a mvn clean..
 
  E:\Development\Work\rtti-ldb-ws-domain\trunkmvn clean
  [INFO] Scanning for projects...
  [INFO] 
  
  [INFO] Building rtti live departure boards domain
  [INFO]task-segment: [clean]
  [INFO] 
  
  Downloading: 
  http://10.10.10.9:8099/archiva/repository/internal/org/jvnet/jaxb1/maven2/maven-jaxb1-plugin/1.0-rc11/maven-jaxb1-plugin-1.0-rc11.pom
  Downloading: 
  http://10.10.10.9:8099/archiva/repository/internal/org/jvnet/jaxb1/maven2/maven-jaxb1-plugin/1.0-rc11/maven-jaxb1-plugin-1.0-rc11.pom
  Downloading: 
  http://10.10.10.9:8099/archiva/repository/internal/org/jvnet/jaxb1/maven2/maven-jaxb1-plugin/1.0-rc11/maven-jaxb1-plugin-1.0-rc11.pom
  [INFO] 
  
  [ERROR] BUILD ERROR
  [INFO] 
  
  [INFO] Error building POM (may not be this project's POM).
 
 
  Project ID: org.jvnet.jaxb1.maven2:maven-jaxb1-plugin
 
  Reason: POM 'org.jvnet.jaxb1.maven2:maven-jaxb1-plugin' not found in
  repository: Unable to download the artifact from any repository
 
org.jvnet.jaxb1.maven2:maven-jaxb1-plugin:pom:1.0-rc11
 
  from the specified remote repositories:
snapshots (http://10.10.10.9:8099/archiva/repository/snapshots),
internal (http://10.10.10.9:8099/archiva/repository/internal),
central (http://repo1.maven.org/maven2)
   for project org.jvnet.jaxb1.maven2:maven-jaxb1-plugin
 
 
  [INFO] 
  
  [INFO] For more information, run Maven with the -e switch
  [INFO] 
  
  [INFO] Total time: 1 second
  [INFO] Finished at: Mon Feb 11 22:14:38 GMT 2008
  [INFO] Final Memory: 2M/6M
  [INFO] 
  
 
  Can anyone give me an idea of what I need todo to get Archiva to
  download this plugin?
 


 --
 Brett Porter
 Blog: http://blogs.exist.com/bporter/



Archiva 1.0.1

2008-02-11 Thread ben short
Hi,

Im trying to setup Archiva at work. I havent change any of the default
configuration but when I run mvn clean on my project it fails to find
the following plugin.

groupIdorg.jvnet.jaxb1.maven2/groupId
artifactIdmaven-jaxb1-plugin/artifactId
version1.0-rc11/version

And its available at the following URL..

http://download.java.net/maven/2/org/jvnet/jaxb1/maven2/maven-jaxb1-plugin/1.0-rc11/

Which as far as I can see is should be accessable via the Java.net
Repository for Maven 2 Remote proxy.

I have the following profile in my settings.xml

profile
idwork/id
  repositories
repository
  idinternal/id
  nameArchiva Managed Internal Repository/name
  urlhttp://10.10.10.9:8099/archiva/repository/internal/url
  releases
enabledtrue/enabled
  /releases
  snapshots
enabledfalse/enabled
  /snapshots
/repository
repository
  idsnapshots/id
  nameArchiva Managed Snapshot Repository/name
  urlhttp://10.10.10.9:8099/archiva/repository/snapshots/url
  releases
enabledfalse/enabled
  /releases
  snapshots
enabledtrue/enabled
  /snapshots
/repository
  /repositories
/profile

Here is the output I get when I try a mvn clean..

E:\Development\Work\rtti-ldb-ws-domain\trunkmvn clean
[INFO] Scanning for projects...
[INFO] 
[INFO] Building rtti live departure boards domain
[INFO]task-segment: [clean]
[INFO] 
Downloading: 
http://10.10.10.9:8099/archiva/repository/internal/org/jvnet/jaxb1/maven2/maven-jaxb1-plugin/1.0-rc11/maven-jaxb1-plugin-1.0-rc11.pom
Downloading: 
http://10.10.10.9:8099/archiva/repository/internal/org/jvnet/jaxb1/maven2/maven-jaxb1-plugin/1.0-rc11/maven-jaxb1-plugin-1.0-rc11.pom
Downloading: 
http://10.10.10.9:8099/archiva/repository/internal/org/jvnet/jaxb1/maven2/maven-jaxb1-plugin/1.0-rc11/maven-jaxb1-plugin-1.0-rc11.pom
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Error building POM (may not be this project's POM).


Project ID: org.jvnet.jaxb1.maven2:maven-jaxb1-plugin

Reason: POM 'org.jvnet.jaxb1.maven2:maven-jaxb1-plugin' not found in
repository: Unable to download the artifact from any repository

  org.jvnet.jaxb1.maven2:maven-jaxb1-plugin:pom:1.0-rc11

from the specified remote repositories:
  snapshots (http://10.10.10.9:8099/archiva/repository/snapshots),
  internal (http://10.10.10.9:8099/archiva/repository/internal),
  central (http://repo1.maven.org/maven2)
 for project org.jvnet.jaxb1.maven2:maven-jaxb1-plugin


[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 1 second
[INFO] Finished at: Mon Feb 11 22:14:38 GMT 2008
[INFO] Final Memory: 2M/6M
[INFO] 

Can anyone give me an idea of what I need todo to get Archiva to
download this plugin?


Re: How to deploy WAR to Tomcat with MAVEN2?

2008-01-11 Thread ben short
Or this one..

http://mojo.codehaus.org/tomcat-maven-plugin/introduction.html

2008/1/11 Jeff MAURY [EMAIL PROTECTED]:
 You can use the cargo Maven plugin (http://cargo.codehaus.org).

 Jeff



 On Jan 11, 2008 9:49 AM, Thomas Chang [EMAIL PROTECTED] wrote:

 
  Hi all,
 
  I use maven2. I wonder if there is a mvn-command which can
  deploy/reploy/delete the war to/from Tomcat?
 
  Regards
 
 
 
  -
  Ihr erstes Baby? Holen Sie sich Tipps von anderen Eltern.




 --
 La mélancolie c'est communiste
 Tout le monde y a droit de temps en temps
 La mélancolie n'est pas capitaliste
 C'est même gratuit pour les perdants
 La mélancolie c'est pacifiste
 On ne lui rentre jamais dedans
 La mélancolie oh tu sais ça existe
 Elle se prend même avec des gants
 La mélancolie c'est pour les syndicalistes
 Il faut juste sa carte de permanent

 Miossec (2006)

 http://www.jeffmaury.com
 http://riadiscuss.jeffmaury.com


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



Re: Existance of ZIP Archetype? | How to distribute DB code to different mvn modules?

2008-01-04 Thread ben short
Hi,

Take a look at the maven assembly plugin [1]

[1] http://maven.apache.org/plugins/maven-assembly-plugin/

On Jan 4, 2008 12:04 PM, Matthew Tordoff [EMAIL PROTECTED] wrote:
 But how do I create the initial project structure?

 mvn archetype:create -DgroupId= -DartifactId= 
 -DarchetypeArtifactId=?

 I am essentially looking for what to put in place of the ?

 Do I just create a standard JAR project and then change the packaging type to 
 zip?

 Or do I not use the archetype:create method and create a POM from scratch?

 Matt


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff MAURY
 Sent: 04 January 2008 11:54
 To: Maven Users List
 Subject: Re: Existance of ZIP Archetype? | How to distribute DB code to 
 different mvn modules?

 Use the zip packaging in your POM

 Jeff


 On Jan 4, 2008 12:18 PM, Matthew Tordoff [EMAIL PROTECTED] wrote:

  Hi all,
 
  Does anyone know if there is an existance of a ZIP archetype or
  similar for maven. I am looking to build a project organised in the
  following
  way:
 
  Super Module = contains = WAR = contains = JAR = contains = SQLJ
  code which depends on PL/SQL
  = contains = PL/SQL
 
  The PL/SQL code also has to be delivered as part of the Super Module
  so it can be run on the various environments upon which it will be
  deployed. The way I thought of solving this was to create a zip maven
  module which was a child module of the Super Module, and was depended
  upon by the JAR module which would subsequently unpack that dependency
  locally to allow the building of the SQLJ (which is precompiled
  against the database, and requires the appropriate PL/SQL to have been
  run on the DB, creating views, types and packages).
 
  Am I going about this in the correct way? Any ideas to help me with my
  approach would be greatly appreciated.
 
  Cheers,
 
  Matt
 
 
 
  The content of this e-mail is confidential and may be privileged. It
  may be read, copied and used only by the intended recipient and may
  not be disclosed, copied or distributed. If you received this email in
  error, please contact the sender immediately by return e-mail or by
  telephoning +44 20 7260 2000, delete it and do not disclose its
  contents to any person. You should take full responsibility for
  checking this email for viruses. Markit reserves the right to monitor all 
  e-mail communications through its network.
  Markit and its affiliated companies make no warranty as to the
  accuracy or completeness of any information contained in this message
  and hereby exclude any liability of any kind for the information
  contained herein. Any opinions expressed in this message are those of
  the author and do not necessarily reflect the opinions of Markit.
  For full details about Markit, its offerings and legal terms and
  conditions, please see Markit's website at http://www.markit.com 
  http://www.markit.com/ .
 



 --
 La mélancolie c'est communiste
 Tout le monde y a droit de temps en temps La mélancolie n'est pas capitaliste 
 C'est même gratuit pour les perdants La mélancolie c'est pacifiste On ne lui 
 rentre jamais dedans La mélancolie oh tu sais ça existe Elle se prend même 
 avec des gants La mélancolie c'est pour les syndicalistes Il faut juste sa 
 carte de permanent

 Miossec (2006)

 http://www.jeffmaury.com
 http://riadiscuss.jeffmaury.com



 The content of this e-mail is confidential and may be privileged. It may be 
 read, copied and used only by the intended recipient and may not be 
 disclosed, copied or distributed. If you received this email in error, please 
 contact the sender immediately by return e-mail or by telephoning +44 20 7260 
 2000, delete it and do not disclose its contents to any person. You should 
 take full responsibility for checking this email for viruses. Markit reserves 
 the right to monitor all e-mail communications through its network.
 Markit and its affiliated companies make no warranty as to the accuracy or 
 completeness of any information contained in this message and hereby exclude 
 any liability of any kind for the information contained herein. Any opinions 
 expressed in this message are those of the author and do not necessarily 
 reflect the opinions of Markit.
 For full details about Markit, its offerings and legal terms and conditions, 
 please see Markit's website at http://www.markit.com http://www.markit.com/ 
 .

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



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



Re: obfuscation

2007-11-29 Thread ben short
Have a look at the antrun plugin [1]

[1] http://maven.apache.org/plugins/maven-antrun-plugin/

On Nov 29, 2007 10:29 AM, Richard Chamberlain
[EMAIL PROTECTED] wrote:
 Hi all,



 I've got a requirement to obfuscate the java code we produce.



 Currently we use yguard with ant, there doesn't seem to be a maven
 plugin for it :-( Does anyone use yguard with maven?



 So I was looking for a maven-friendly obfuscator. Does anyone use any
 good ones?



 Cheers,



 Rich



 Richard Chamberlain
 Software Engineer | Caplin Systems Ltd

 Office: +44 (0)20 7826 9639
 Mobile: +44 (0)77 2068 6064
 www.caplin.com http://www.caplin.com/

 Registered in England and Wales No. 02823818
 Registered Office: Triton Court, Finsbury Square, London EC2A 1BR

 This message contains information which may be confidential or
 privileged. Unless you are the addressee,
 you may not use, copy or disclose to anyone the message or any
 information contained in the message.
 This message does not contain information which can be relied upon by
 any party unless expressly specified.





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



Re: [ANNOUNCE] Archiva 1.0 Released

2007-11-27 Thread ben short
Hi,

None of the mirrors have the war for download

http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-archiva-1.0.war

Ben

On Nov 27, 2007 9:49 AM, Maria Odea Ching [EMAIL PROTECTED] wrote:
  Hi Everyone,

 The Maven Archiva team is pleased to announce the release of Archiva 1.0final.

 Archiva is a build artifact repository manager for use with build tools such
 as Maven, Continuum and Ant.

 It has features like repository search and browse, securing repositories,
 identifying unknown artifacts and reporting of repository problems.

 Aside from these, it can also act as a nearby (proxy) cache of popular
 global repositories.


 The latest release is now available here:

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


 The site has also been updated, you can visit it at:

 http://maven.apache.org/archiva


 Below are the jira issues that were resolved for Archiva 1.0:

 Release Notes - Archiva - Version 1.0


 ** Bug
 * [MRM-545] - Documentation for configuring for Tomcat is invalid
 * [MRM-586] - entire proxy request fails if a queried remote repository
 throws a proxyexception
 * [MRM-595] - regression : server-side relocation fails
 * [MRM-596] - regression : cannot get java-sources anymore from maven1
 * [MRM-598] - Validation error on new repository creation



 ** Task
 * [MRM-583] - Finalise and publish updated web site
 * [MRM-587] - further changes to logging needed



 Thanks,
 Deng


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



Re: FW: Favorate ways to browse the Repositories

2007-09-22 Thread ben short
I use this URL http://repo1.maven.org/maven2/ to look for artifacts. I
think that its the master repository but am not entirely sure.

On 9/22/07, siegfried [EMAIL PROTECTED] wrote:
 Apparently the site was down when I tried to post to the list the first time
 so I'm trying again. I apologize if this appears twice!



 (1) I was using the eclipse plugin (I think it is the Q plugin - I have yet
 to try out the other plug in) because it was the only way I knew to browse
 the repositories. It had the added benefit of writing the pom.xml for you.
 After having a less than optimal experience with the other features of the
 plugin, I am wondering if there are some other ways to browse the
 repositories.



 I was kinda expecting http://www.sonatype.com/book/simple-project.html and
 http://www.devzuz.com/web/guest/products/resources#BBWM to recommend a way
 of browsing repositories but I have not found it yet.



 I did a quick google seach for maven repositories and found
 http://www.mvnrepository.com/ . Do folks prefer this over the maven plugin
 for eclipse? Are there yet other ways to browse the repositories?



 (2) Does http://www.mvnrepository.com/ search all the maven repositories or
 just one? Is there a list of repositories some where?



 (3) Is there a switch so that I can automatically check for the latest
 version of each dependency and download a newer version if one exists?



 (4) What is the policy on updating the repositories? I notice that Junit 4.4
 was just released but it did not show up in the maven eclipse UI for
 browsing repositories. The latest I saw was junit 4.0.



 Thanks,

 Siegfried





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



Re: How to get Maven to include persistence.xml into a web app??

2007-08-28 Thread ben short
persistence.xml needs to be on the class path doesn't it?

Create a directory src/main/java/resources and put it in there. When
maven packages up your war it will put all files in the resources
directory into your war file under the WEB-INF/classes directory.

Hope this helps.

Ben


On 8/28/07, Julien Martin [EMAIL PROTECTED] wrote:
 Hello all,
 How do I get Maven to include persistence.xml into a web app??
 Any clue welcome!
 Julien.

 Here is my POM:


 project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance;  xsi:schemaLocation=
 http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd;
 modelVersion4.0.0/modelVersion
 groupIdcom.calyonfinancial/groupId
 artifactIdprotide/artifactId
 packagingwar/packaging
 version1.0-SNAPSHOT/version
 nameProtideWeb/name
 build
 sourceDirectorysrc/sourceDirectory
 outputDirectorybuild/outputDirectory
 finalNameProtideWeb/finalName
 plugins
 plugin
 artifactIdmaven-compiler-plugin/artifactId
 configuration
 source1.5/source
 target1.5/target
 /configuration
 /plugin
 plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-war-plugin/artifactId
 version2.0/version
 configuration
 warSourceDirectoryweb/warSourceDirectory
 /configuration
 /plugin
 plugin
 groupIdorg.codehaus.mojo/groupId
 artifactIdhibernate3-maven-plugin/artifactId
 version2.0-alpha-2/version
 /plugin
 /plugins
 /build
 dependencies
 dependency
 groupIdorg.hibernate/groupId
 artifactIdhibernate/artifactId
 version3.2.1.ga/version
 /dependency
 dependency
 groupIdorg.hibernate/groupId
 artifactIdhibernate-annotations/artifactId
 version3.2.1.ga/version
 /dependency
 dependency
 groupIdorg.hibernate/groupId
 artifactIdhibernate-entitymanager/artifactId
 version3.2.1.ga/version
 /dependency
 dependency
 groupIdorg.hibernate/groupId
 artifactIdhibernate-commons-annotations/artifactId
 version3.3.0.ga/version
 /dependency
 dependency
 groupIdorg.hibernate/groupId
 artifactIdhibernate-validator/artifactId
 version3.0.0.ga/version
 /dependency
 dependency
 groupIdjavax.persistence/groupId
 artifactIdpersistence-api/artifactId
 version1.0/version
 /dependency
 dependency
 groupIdlog4j/groupId
 artifactIdlog4j/artifactId
 version1.2.14/version
 /dependency
 dependency
 groupIdcom.sun.xml.bind/groupId
 artifactIdjaxb-impl/artifactId
 version2.0/version
 /dependency
 dependency
 groupIdcom.sun.xml.bind/groupId
 artifactIdjaxb-xjc/artifactId
 version2.0/version
 /dependency
 dependency
 groupIdjavax.xml.bind/groupId
 artifactIdjaxb-api/artifactId
 version2.0/version
 /dependency
 !--
 dependency
 groupIdorg.apache.maven/groupId
 artifactIdmaven-project/artifactId
 version2.0.4/version
 /dependency
 dependency
 groupIdorg.apache.maven/groupId
 artifactIdmaven-plugin-api/artifactId
 version2.0.4/version
 /dependency
 --
 dependency
 groupIdjdbc/groupId
 artifactIdas400/artifactId
 version5.1.0.1/version
 /dependency
 dependency
 groupIdjavax.xml.bind/groupId
 artifactIdjsr173_api/artifactId
 version1.0/version
 /dependency
 dependency
 groupIdorg.apache.myfaces.core/groupId
 artifactIdmyfaces-api/artifactId
 version1.1.5/version
 /dependency
 dependency
 groupIdorg.apache.myfaces.core/groupId
 artifactIdmyfaces-impl/artifactId
 version1.1.5/version
 /dependency
 dependency
 groupIdorg.apache.myfaces.tomahawk/groupId
 artifactIdtomahawk/artifactId
 version1.1.6/version
 /dependency
 dependency
 groupIdjavax.servlet/groupId
 artifactIdservlet-api/artifactId
 version2.4/version
 scopeprovided/scope
 /dependency
 dependency
 groupIdjavax.servlet/groupId
 artifactIdjsp-api/artifactId
 

Re: How to get Maven to include persistence.xml into a web app??

2007-08-28 Thread ben short
I think you can just create /src/main/webapp/META-INF and put it in there.

On 8/28/07, Julien Martin [EMAIL PROTECTED] wrote:
 Thanks Ben,
 Is there not a way to put it (persistence.xml) into meta-inf instead?
 Julien.

 2007/8/28, ben short [EMAIL PROTECTED]:
 
  persistence.xml needs to be on the class path doesn't it?
 
  Create a directory src/main/java/resources and put it in there. When
  maven packages up your war it will put all files in the resources
  directory into your war file under the WEB-INF/classes directory.
 
  Hope this helps.
 
  Ben
 
 
  On 8/28/07, Julien Martin [EMAIL PROTECTED] wrote:
   Hello all,
   How do I get Maven to include persistence.xml into a web app??
   Any clue welcome!
   Julien.
  
   Here is my POM:
  
  
   project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=
   http://www.w3.org/2001/XMLSchema-instance;  xsi:schemaLocation=
   http://maven.apache.org/POM/4.0.0
  http://maven.apache.org/maven-v4_0_0.xsd;
   modelVersion4.0.0/modelVersion
   groupIdcom.calyonfinancial/groupId
   artifactIdprotide/artifactId
   packagingwar/packaging
   version1.0-SNAPSHOT/version
   nameProtideWeb/name
   build
   sourceDirectorysrc/sourceDirectory
   outputDirectorybuild/outputDirectory
   finalNameProtideWeb/finalName
   plugins
   plugin
   artifactIdmaven-compiler-plugin/artifactId
   configuration
   source1.5/source
   target1.5/target
   /configuration
   /plugin
   plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-war-plugin/artifactId
   version2.0/version
   configuration
   warSourceDirectoryweb/warSourceDirectory
   /configuration
   /plugin
   plugin
   groupIdorg.codehaus.mojo/groupId
   artifactIdhibernate3-maven-plugin/artifactId
   version2.0-alpha-2/version
   /plugin
   /plugins
   /build
   dependencies
   dependency
   groupIdorg.hibernate/groupId
   artifactIdhibernate/artifactId
   version3.2.1.ga/version
   /dependency
   dependency
   groupIdorg.hibernate/groupId
   artifactIdhibernate-annotations/artifactId
   version3.2.1.ga/version
   /dependency
   dependency
   groupIdorg.hibernate/groupId
   artifactIdhibernate-entitymanager/artifactId
   version3.2.1.ga/version
   /dependency
   dependency
   groupIdorg.hibernate/groupId
   artifactIdhibernate-commons-annotations/artifactId
   version3.3.0.ga/version
   /dependency
   dependency
   groupIdorg.hibernate/groupId
   artifactIdhibernate-validator/artifactId
   version3.0.0.ga/version
   /dependency
   dependency
   groupIdjavax.persistence/groupId
   artifactIdpersistence-api/artifactId
   version1.0/version
   /dependency
   dependency
   groupIdlog4j/groupId
   artifactIdlog4j/artifactId
   version1.2.14/version
   /dependency
   dependency
   groupIdcom.sun.xml.bind/groupId
   artifactIdjaxb-impl/artifactId
   version2.0/version
   /dependency
   dependency
   groupIdcom.sun.xml.bind/groupId
   artifactIdjaxb-xjc/artifactId
   version2.0/version
   /dependency
   dependency
   groupIdjavax.xml.bind/groupId
   artifactIdjaxb-api/artifactId
   version2.0/version
   /dependency
   !--
   dependency
   groupIdorg.apache.maven/groupId
   artifactIdmaven-project/artifactId
   version2.0.4/version
   /dependency
   dependency
   groupIdorg.apache.maven/groupId
   artifactIdmaven-plugin-api/artifactId
   version2.0.4/version
   /dependency
   --
   dependency
   groupIdjdbc/groupId
   artifactIdas400/artifactId
   version5.1.0.1/version
   /dependency
   dependency
   groupIdjavax.xml.bind/groupId
   artifactIdjsr173_api/artifactId
   version1.0/version
   /dependency
   dependency
   groupIdorg.apache.myfaces.core/groupId
   artifactIdmyfaces-api/artifactId
   version1.1.5/version
   /dependency
   dependency
   groupIdorg.apache.myfaces.core/groupId
   artifactIdmyfaces-impl

Re: Buildnumber plugin and svn

2007-08-16 Thread ben short
Right so it dosent support that flag. Time for an upgrade :)

On 8/16/07, DCVer [EMAIL PROTECTED] wrote:

 I've made a mistake, sorry. On the Continuum server there is version 1.1.4 of
 the svn, not 1.4.4..


 ben short-2 wrote:
 
  I would ofr started by typing svn --version on you continuum server,
  to get the version. If your using a redhat box then chances are its
  svn version 1 or something.
 
  But it seem that somewhere between svn version 1.2 [1] and current [2]
  the --non-interactive flag of the info command was introduced.
 
  Regards
 
  Ben
 
  [1] http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.info.html
  [2] http://svnbook.red-bean.com/en/1.2/svn.ref.svn.c.info.html
 
  On 8/15/07, DCVer [EMAIL PROTECTED] wrote:
 
  Nobody knows? ...
 
 
  DCVer wrote:
  
   I use the maven buildnumber plugin and it works fine on my local pc.
  But
   on the Continuum server (checked out from the same svn repository) i
   receive an error (in fact Continuum/Maven2 generates it):
  
   [INFO] [buildnumber:create {execution: default}]
   Provider message:
   The svn command failed.
   Command output:
   Subcommand 'info' doesn't accept option '--non-interactive'
   Type 'svn help info' for usage.
  
   I deleted --batch-mode from Continuum arguments (which means
   non-interactive I believe), but received the same error message. I've
  read
   about similar problems and it may look like the svn version is too old
  on
   the Continuum server (there is 1.4.4 from April 2005 and on my local pc
  I
   have version 1.4.4). Is it svn version problem?
  
   Regards.
  
 
  --
  View this message in context:
  http://www.nabble.com/Buildnumber-plugin-and-svn-tf4267375s177.html#a12171061
  Sent from the Maven - Users mailing list archive at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

 --
 View this message in context: 
 http://www.nabble.com/Buildnumber-plugin-and-svn-tf4267375s177.html#a12176490
 Sent from the Maven - Users mailing list archive at Nabble.com.


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



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



Re: Buildnumber plugin and svn

2007-08-15 Thread ben short
I would ofr started by typing svn --version on you continuum server,
to get the version. If your using a redhat box then chances are its
svn version 1 or something.

But it seem that somewhere between svn version 1.2 [1] and current [2]
the --non-interactive flag of the info command was introduced.

Regards

Ben

[1] http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.info.html
[2] http://svnbook.red-bean.com/en/1.2/svn.ref.svn.c.info.html

On 8/15/07, DCVer [EMAIL PROTECTED] wrote:

 Nobody knows? ...


 DCVer wrote:
 
  I use the maven buildnumber plugin and it works fine on my local pc. But
  on the Continuum server (checked out from the same svn repository) i
  receive an error (in fact Continuum/Maven2 generates it):
 
  [INFO] [buildnumber:create {execution: default}]
  Provider message:
  The svn command failed.
  Command output:
  Subcommand 'info' doesn't accept option '--non-interactive'
  Type 'svn help info' for usage.
 
  I deleted --batch-mode from Continuum arguments (which means
  non-interactive I believe), but received the same error message. I've read
  about similar problems and it may look like the svn version is too old on
  the Continuum server (there is 1.4.4 from April 2005 and on my local pc I
  have version 1.4.4). Is it svn version problem?
 
  Regards.
 

 --
 View this message in context: 
 http://www.nabble.com/Buildnumber-plugin-and-svn-tf4267375s177.html#a12171061
 Sent from the Maven - Users mailing list archive at Nabble.com.


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



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



Re: Retrieving subversion revision number

2007-08-06 Thread ben short
http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html

On 8/6/07, DCVer [EMAIL PROTECTED] wrote:

 Hi all,

 I would like to get the revision number of my project on svn repository
 using maven2 (or some other tool) and put this number e.g. in some property
 file. How could this be done?
 --
 View this message in context: 
 http://www.nabble.com/Retrieving-subversion-revision-number-tf4225135s177.html#a12019324
 Sent from the Maven - Users mailing list archive at Nabble.com.


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



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



Re: Does maven work with Cygwin? Please help!

2007-08-02 Thread ben short
http://www.nabble.com/Maven---Users-f178.html

On 8/2/07, Alex Worden [EMAIL PROTECTED] wrote:
 Hi,

 I've just installed the latest Cygwin and maven 2.0.6

 When I open a cygwin window and attempt to execute maven --version I get the
 following:

 bash-3.2$ mvn --version
 bash: /cygdrive/c/bin/maven-2.0.6/bin/mvn: /bin/sh: bad interpreter: No such
 file or directory

 Also - please reply directly to me as I am not subscribed to this mailing
 list (and I don't want to be subscribed to it!). I cannot believe you guys
 don't have a searchable user forum on your website!

 Thanks for the help,

 Alex


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



Re: tomcat-maven-plugin

2007-08-01 Thread ben short
Hi,

I don't think this will work to be honest

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

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

Ben

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

 Hi,

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

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

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


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



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



Re: Running a single JUnit test

2007-07-30 Thread ben short
Your missing test from the end of your class name, see [1]

mvn -Dtest=com.xxx..InternalDAOtest test


[1] 
http://maven.apache.org/plugins/maven-surefire-plugin/examples/single-test.html



On 7/30/07, Scott Purcell [EMAIL PROTECTED] wrote:
 Hello,
 Maven 2.0.7

 I have a project that encompases different projects, so I have a
 parent pom with children. I created a JUnit test called
 InternalDAOTest.java. In my pom, I have the following:


 plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-surefire-plugin/artifactId
 configuration
   includes
 include**/*Test.java/include
/includes
  /configuration
 /plugin

 So I would think I should be able to run my file like so:
 mvn -Dtest=com.xxx..InternalDAO
 but it does not run, it scans for projects and reports back
 BUILD FAILURE. You must specify at least one goal.

 So then I try
 mvn -Dtest=com.xxx..InternalDAO test and it runs a bunch of
 other testSuites etc but not my one test.

 How should it run a single JUnit test with 16 tests? Anyone?
 Kind of stuck here.

 Thanks,

 -
 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: Running a single JUnit test

2007-07-30 Thread ben short
*mvn -Dtest=com.xxx..InternalDAOTest test

On 7/30/07, ben short [EMAIL PROTECTED] wrote:
 Your missing test from the end of your class name, see [1]

 mvn -Dtest=com.xxx..InternalDAOtest test


 [1] 
 http://maven.apache.org/plugins/maven-surefire-plugin/examples/single-test.html



 On 7/30/07, Scott Purcell [EMAIL PROTECTED] wrote:
  Hello,
  Maven 2.0.7
 
  I have a project that encompases different projects, so I have a
  parent pom with children. I created a JUnit test called
  InternalDAOTest.java. In my pom, I have the following:
 
 
  plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-surefire-plugin/artifactId
  configuration
includes
  include**/*Test.java/include
 /includes
   /configuration
  /plugin
 
  So I would think I should be able to run my file like so:
  mvn -Dtest=com.xxx..InternalDAO
  but it does not run, it scans for projects and reports back
  BUILD FAILURE. You must specify at least one goal.
 
  So then I try
  mvn -Dtest=com.xxx..InternalDAO test and it runs a bunch of
  other testSuites etc but not my one test.
 
  How should it run a single JUnit test with 16 tests? Anyone?
  Kind of stuck here.
 
  Thanks,
 
  -
  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]



Setting project.version in web.xml

2007-07-02 Thread ben short

Hi,

It is possible to get maven to insert the project name and version
from my pom to my web.xml display-name element?

Regards

Ben Short

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



Re: [Tomcat Embedded Plugin] Problem in development

2007-05-30 Thread ben short

Hi,

Have you seen this plugin?

http://mojo.codehaus.org/tomcat-maven-plugin/introduction.html

On 5/30/07, CasMeiron [EMAIL PROTECTED] wrote:

All tomcat dependencies declared in my plugin pom:

!-- Tomcat Dependencies --
dependency
groupIdtomcat/groupId
artifactIdcatalina/artifactId
version5.5.15/version
scopecompile/scope
/dependency
dependency
groupIdtomcat/groupId
artifactIdcatalina-optional/artifactId
version5.5.15/version
scopecompile/scope
/dependency
dependency
groupIdtomcat/groupId
artifactIdjasper-compiler/artifactId
version5.5.15/version
scopecompile/scope
/dependency
dependency
groupIdtomcat/groupId
artifactIdjasper-compiler-jdt/artifactId
version5.5.15/version
scopecompile/scope
/dependency
dependency
groupIdtomcat/groupId
artifactIdjasper-runtime/artifactId
version5.5.15/version
scopecompile/scope
/dependency
dependency
groupIdtomcat/groupId
artifactIdjsp-api/artifactId
version5.5.15/version
scopecompile/scope
/dependency
dependency
groupIdtomcat/groupId
artifactIdnaming-factory/artifactId
version5.5.15/version
scopecompile/scope
/dependency
dependency
groupIdtomcat/groupId
artifactIdnaming-resources/artifactId
version5.5.15/version
scopecompile/scope
/dependency
dependency
groupIdtomcat/groupId
artifactIdservlets-default/artifactId
version5.5.15/version
scopecompile/scope
/dependency
dependency
groupIdjavax.servlet/groupId
artifactIdservlet-api/artifactId
version2.4/version
scopeprovided/scope
/dependency
dependency
groupIdtomcat/groupId
artifactIdtomcat-coyote/artifactId
version5.5.15/version
scopecompile/scope
/dependency
dependency
groupIdtomcat/groupId
artifactIdtomcat-http/artifactId
version5.5.15/version
scopecompile/scope
/dependency
dependency
groupIdtomcat/groupId
artifactIdtomcat-util/artifactId
version5.5.15/version
scopecompile/scope
/dependency
dependency
groupIdtomcat/groupId
artifactIdcommons-modeler/artifactId
version5.5.9-alpha/version
scopecompile/scope
/dependency
dependency
groupIdcommons-el/groupId
artifactIdcommons-el/artifactId
version1.0/version
scopecompile/scope
/dependency


On 5/30/07, CasMeiron [EMAIL PROTECTED] wrote:

 Hi guys, im making a plugin to run tomcat embedded to test my apps.
 Ive use cargo for 2 days, but the 'embedded scene' is not 100% working.

 I already use simple tomcat embedded server and works fine, but i need
 declare in my project pom all dependencies. With plugin configured in my
 profile, i can inject all dependencies without declaring in
 parent-project-pom.

 Ok, lets go... My container is working, i type tomcat:start and my
 container goes up, setting the root directory / to my src/main/webapp
 folder in my project, all libs re declareds in plugin-pom but i got a
 problem:

 In debug mode, i can load the class org.apache.jasper.servlet.JspServlet,
 using this.getClass().getClassLoader().loadClass, but its seems catalina
 loader can't, what i need to do?!

 Tkz guys.

 [Problem down]


 INFO: XML validation disabled
 30/05/2007 14:28:38 org.apache.catalina.core.ApplicationContext log
 INFO: Marking servlet jsp as unavailable
 30/05/2007 14:28:38 org.apache.catalina.core.ApplicationContext log
 SEVERE: Error loading WebappClassLoader
   delegate: false
   repositories:
 -- Parent Classloader:
 [EMAIL PROTECTED]
  org.apache.jasper.servlet.JspServlet
 java.lang.ClassNotFoundException : org.apache.jasper.servlet.JspServlet
 at org.apache.catalina.loader.WebappClassLoader.loadClass(
 WebappClassLoader.java:1352)
 at org.apache.catalina.loader.WebappClassLoader.loadClass(
 WebappClassLoader.java:1198)
 at org.apache.catalina.core.StandardWrapper.loadServlet(
 StandardWrapper.java:1034)
 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java
 :932)
 at org.apache.catalina.core.StandardContext.loadOnStartup (
 StandardContext.java:3915)
 at org.apache.catalina.core.StandardContext.start(StandardContext.java
 :4176)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java
 :1012)
 at org.apache.catalina.core.StandardHost.start 

Re: [m2] Assembly Plugin

2007-05-11 Thread ben short

Thanks for the replies, I'll give it ago first thing Monday.

On 5/11/07, Matt Brozowski [EMAIL PROTECTED] wrote:


On May 11, 2007, at 12:54 PM, John Casey wrote:

 Sorry it took me so long to respond, the email got buried... :(
 1. I added a finalName configuration, which should result in the
 target/debug.dir folder being created. Unfortunately, IIRC we
 cannot affect
 the .dir extension, since the assembly plugin always appends the
 format
 (read: extension) to the created assembly.

You should be able to remove the '.dir' extension by using

  appendAssemblyIdfalse/appendAssemblyId

as part of you configuration.

Matt

___
Matt Brozowski, OpenNMS Maintainer Main: +1 919 812 4984
The OpenNMS Group, Inc. Fax: +1 503 961 7746
Email: [EMAIL PROTECTED] URL: http://www.opennms.com





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



[m2] Final Name

2007-05-09 Thread ben short

Hi,

How do i get the final name propery like i would the project version,
eg ${project.version}.

Regards

Ben Short

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



Re: Compiler settings in Maven

2007-05-02 Thread ben short

Add this to the bottom of your pom.

build
   plugins
   plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-compiler-plugin/artifactId
   configuration
   source1.5/source
   target1.5/target
   /configuration
   /plugin
/plugins
/build

On 5/2/07, lightbulb432 [EMAIL PROTECTED] wrote:


I'm using JDK 1.5 but for some reason Maven gives a compiler error saying
use -source 5 or higher to enable annotations. How can I tell Maven which
compiler to use?

I don't know much about Maven so I don't know where to change the setting -
would it be a project-level setting, would it be a custom property, would it
be a plugin option?

Thanks.
--
View this message in context: 
http://www.nabble.com/Compiler-settings-in-Maven-tf3680951s177.html#a10287101
Sent from the Maven - Users mailing list archive at Nabble.com.


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




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



Re: Cannot create the build number ?!

2007-04-27 Thread ben short

The plugins home page [1] explains all of this and how you can stop it
from checking for modified files.

[1] http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html

On 4/27/07, Wayne Fay [EMAIL PROTECTED] wrote:

Not only that, it tells you which files you need to do something with:
  [pom.xml:unknown]
  [mvn:unknown]
  [.project:modified]
  [.classpath:modified]

You need to add or ignore the unknowns, and commit the modifieds.

Wayne

On 4/27/07, Tim Kettler [EMAIL PROTECTED] wrote:
 I agree that maven error messages are not always as self explaining as
 they should but in this case it's quite obvious what's wrong:

   [INFO]
 
   [ERROR] BUILD ERROR
   [INFO]
 
   [INFO] Cannot create the build number because you have local
 modifications :

 Your Working copy contains localy modified files and the build-number
 plugin doesn't lke that.

 -Tim

 [EMAIL PROTECTED] schrieb:
  Hi Mavenizers,
 
  After installing the subversion binaries, and retrying to compile I had 
this :
 
  [DEBUG] Configuring mojo 
'org.codehaus.mojo:maven-buildnumber-plugin:0.9.4:create' --
  [DEBUG]   (s) basedir = C:\works\workspaceM2\myAppName-v1.3
  [DEBUG]   (s) doCheck = true
  [DEBUG]   (s) doUpdate = true
  [DEBUG]   (f) project = [EMAIL PROTECTED]
  [DEBUG]   (s) urlScm = 
scm:svn:https://www.mycompany.ma/svnrepos/myAppName/v1.3
  [DEBUG] -- end configuration --
  [INFO] [buildnumber:create {execution: default}]
  [INFO] Verifying there are no local modifications ...
  [INFO] Executing: svn --non-interactive status
  [INFO] Working directory: C:\works\workspaceM2\myAppName-v1.3
  [INFO] Unknown file status: '!'.
  [INFO] Unknown file status: '!'.
  [INFO] Unknown file status: '!'.
  [INFO] 

  [ERROR] BUILD ERROR
  [INFO] 

  [INFO] Cannot create the build number because you have local modifications :
  [pom.xml:unknown]
  [mvn:unknown]
  [.project:modified]
  [.classpath:modified]
 
  [INFO] 

  [DEBUG] Trace
  org.apache.maven.lifecycle.LifecycleExecutionException: Cannot create the 
build number because you have local modifications :
  [pom.xml:unknown]
  [mvn:unknown]
  [.project:modified]
  [.classpath:modified]
 
  at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
  at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
  at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
  at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
  at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
  at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
  at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
  at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
  at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
  at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
  Caused by: org.apache.maven.plugin.MojoExecutionException: Cannot create 
the build number because you have local modifications :
  [pom.xml:unknown]
  [mvn:unknown]
  [.project:modified]
  [.classpath:modified]
 
  at 
org.codehaus.mojo.buildNumber.BuildNumberMojo.checkForLocalModifications(BuildNumberMojo.java:347)
  at 
org.codehaus.mojo.buildNumber.BuildNumberMojo.execute(BuildNumberMojo.java:288)
  at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
  at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
  ... 16 more
  [INFO] 

  [INFO] Total time: 33 seconds
  [INFO] Finished at: Fri Apr 27 14:44:39 GMT 2007
  [INFO] Final Memory: 4M/9M
  [INFO] 

 
 
 
  I just want a SIMPLE Build Number ! why is it so 

[m2] Assembly Plugin

2007-04-26 Thread ben short

Hi,

I'm trying to use the assembly plugin to create a directory in my
target Dir called debug. In this I'm going to put everything i need in
order to run the project in debug mode via my ide.

Currently I have this assembly descriptor

assembly
 iddebug/id
 formats
   formatdir/format
 /formats
 fileSets
   fileSet
 includes
   includeREADME*/include
   includeLICENSE*/include
   includeNOTICE*/include
 /includes
   /fileSet
   fileSet
 directorytarget/directory
 outputDirectorylibs/outputDirectory
 includes
   include*.jar/include
 /includes
   /fileSet
 /fileSets
/assembly

I think I understand how to include files etc, but i cant see how i
can tell it to create a directory called 'debug'. I always end up with
a target/artifactname-version-debug.dir/artifactname-version.
What I really want is target/debug. Is this even possible?

Ben

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



Re: [m2] Assembly Plugin

2007-04-26 Thread ben short

On 4/26/07, John Casey [EMAIL PROTECTED] wrote:

In your POM, you should configure the assembly plugin with the following:

finalNamedebug/finalName

Although I will say that this will only generate a 'target/debug.dir'
directory, not a target/debug one...that's because the assembly format is
always appended to the directory/file name.

...oh, and if you're creating multiple types of assemblies, you may want to
stick that into an execution-level configuration block.

BTW, I noticed the *.jar entry...are you trying to capture a dependencySet
with that? If so, you could use:

dependencySets
  dependencySet
outputDirectorylibs/outputDirectory
  /dependencySet
/dependencySets

HTH,

john

On 4/26/07, ben short [EMAIL PROTECTED] wrote:

 Hi,

 I'm trying to use the assembly plugin to create a directory in my
 target Dir called debug. In this I'm going to put everything i need in
 order to run the project in debug mode via my ide.

 Currently I have this assembly descriptor

 assembly
   iddebug/id
   formats
 formatdir/format
   /formats
   fileSets
 fileSet
   includes
 includeREADME*/include
 includeLICENSE*/include
 includeNOTICE*/include
   /includes
 /fileSet
 fileSet
   directorytarget/directory
   outputDirectorylibs/outputDirectory
   includes
 include*.jar/include
   /includes
 /fileSet
   /fileSets
 /assembly

 I think I understand how to include files etc, but i cant see how i
 can tell it to create a directory called 'debug'. I always end up with
 a target/artifactname-version-debug.dir/artifactname-version.
 What I really want is target/debug. Is this even possible?

 Ben

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




--
John Casey
---
Maven Developer (http://maven.apache.org)
---
Blog: http://www.ejlife.net/blogs/buildchimp



John,

This is what i have so far

pom.xml

plugin
   artifactIdmaven-assembly-plugin/artifactId
   configuration
 descriptors
   descriptorsrc/assembly/debug.xml/descriptor
 /descriptors
   /configuration
   executions
 execution
   iddebug/id
   phasecompile/phase
   goals
 goalattached/goal
   /goals
 /execution
   /executions
   /plugin

debug.xml

assembly
 iddebug/id
 formats
   formatdir/format
 /formats
 files
 file
   sourcesrc/main/application_files/placeholder/source
   outputDirectorydatabase/outputDirectory
 /file
 file
   sourcesrc/main/application_files/placeholder/source
   outputDirectorylogs/outputDirectory
 /file
 file
   sourcesrc/main/application_files/logging.properties/source
 /file
 file
 sourcesrc/main/application_files/Tyrell.properties/source
 /file
 /files
 fileSets
   fileSet
 directorytarget/directory
 outputDirectorylibraries/outputDirectory
 includes
   include*.jar/include
 /includes
   /fileSet
 /fileSets
 dependencySets
   dependencySet
 outputDirectorylibraries/outputDirectory
   /dependencySet
 /dependencySets
/assembly

That all works well apart from the name. You said...


...oh, and if you're creating multiple types of assemblies, you may want to
stick that into an execution-level configuration block.


Im not sure where you mean, could you help me out please?

Ben

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



Re: Coping w/ 3rd party libs ... jar plus dependencies.

2007-04-26 Thread ben short

Hi Danny,

Im not sure this is exactly what you want but, if you have an inhouse
repo, like proximity[1],  you can deploy your vendor jar to that and
include custom pom[2] that has its dependencies configured. This will
allow you to have just the one jar as a dep of your project, but when
maven downloads it it will pull in all the other deps as specified in
the pom. I dont know if this can be done with your local repository
via the install:install-file goal.

Regards

Ben Short

[1] http://proximity.abstracthorizon.org/
[2] http://maven.apache.org/guides/mini/guide-3rd-party-jars-remote.html

On 4/26/07, Danny MacMillan
[EMAIL PROTECTED] wrote:

Hi,

I am developing a project using a jar supplied by a vendor.  Their jar
depends on all kinds of other jars, like activation.jar, etc.  I can
easily install those other jars into my repository following the
instructions in the Guide to installing 3rd party jars.  But how do I
install the vendor supplied jar in such a way that gives me the
advantage of transitive dependencies?  That is to say, I want my project
to directly depend only on their jar, not all those other jars.

--
Danny MacMillan

-
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: Coping w/ 3rd party libs ... jar plus dependencies.

2007-04-26 Thread ben short

There is a pomFile parm for the install:install-file goal[1] so you
can install the pom in your local repo.

[1] http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.html

On 4/26/07, ben short [EMAIL PROTECTED] wrote:

Hi Danny,

Im not sure this is exactly what you want but, if you have an inhouse
repo, like proximity[1],  you can deploy your vendor jar to that and
include custom pom[2] that has its dependencies configured. This will
allow you to have just the one jar as a dep of your project, but when
maven downloads it it will pull in all the other deps as specified in
the pom. I dont know if this can be done with your local repository
via the install:install-file goal.

Regards

Ben Short

[1] http://proximity.abstracthorizon.org/
[2] http://maven.apache.org/guides/mini/guide-3rd-party-jars-remote.html

On 4/26/07, Danny MacMillan
[EMAIL PROTECTED] wrote:
 Hi,

 I am developing a project using a jar supplied by a vendor.  Their jar
 depends on all kinds of other jars, like activation.jar, etc.  I can
 easily install those other jars into my repository following the
 instructions in the Guide to installing 3rd party jars.  But how do I
 install the vendor supplied jar in such a way that gives me the
 advantage of transitive dependencies?  That is to say, I want my project
 to directly depend only on their jar, not all those other jars.

 --
 Danny MacMillan

 -
 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 SCM] Excluding files

2007-04-24 Thread ben short

Hi,

How do i tell the scm plugin to exclude files in my pom. I want to
tell it to ignore my idea project files, as i don't want these checked
in to my svn repository.

Ben

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



[M2 SCM] Excluding files

2007-04-24 Thread ben short

Hi,

How do i tell the scm plugin to exclude files in my pom. I want to
tell it to ignore my idea project files, as i don't want these checked
in to my svn repository.

Ben

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



Re: [M2 SCM] Excluding files

2007-04-24 Thread ben short

Emmanuel,

Thanks for your reply.

I was looking at the following page and saw the exculdes property, i
assumed that i could set it in my pom.

http://maven.apache.org/scm/plugins/status-mojo.html

Thanks

Ben


On 4/24/07, Emmanuel Venisse [EMAIL PROTECTED] wrote:

Files to ignore are independant of of Maven-SCM but dependent of your scm. So 
with subversion you use svn:ignore subversion property, with CVS, you put files 
in .cvsignore file...
Maybe we'll add an option in a future release of Maven-SCM, but we don't now.

Emmanuel

ben short a écrit :
 Hi,

 How do i tell the scm plugin to exclude files in my pom. I want to
 tell it to ignore my idea project files, as i don't want these checked
 in to my svn repository.

 Ben

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






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




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



[m2] Build number plugin

2006-12-05 Thread ben short

Hi,

Im trying to use the build number plugin to work. I can get it to
create a jar file with the build number in the name but when i try to
install or deploy the jar maven removes the build number.

Heres the mvn output.


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

[INFO] Building build_no_test
[INFO]task-segment: [install]
[INFO] 

[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [buildnumber:create {execution: default}]
[INFO] Verifying there are no local modifications ...
[INFO] Executing: svn --non-interactive status
[INFO] Working directory: D:\Source Code - Maven\build_no_test\trunk
[INFO] Unknown file status: ' '.
[INFO] Executing: svn --non-interactive update
[INFO] Working directory: D:\Source Code - Maven\build_no_test\trunk
[INFO] No files needed updating.
process = [EMAIL PROTECTED]
[INFO] Storing buildNumber: 9
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory: D:\Source Code -
Maven\build_no_test\trunk\target\surefire-reports

---
T E S T S
---
Running com.nexusalpha.build_no_test.AppTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec

Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] Building jar: D:\Source Code -
Maven\build_no_test\trunk\target\build_no_test-1.0.9.jar
[INFO] [install:install]
[INFO] Installing D:\Source Code -
Maven\build_no_test\trunk\target\build_no_test-1.0.9.jar to
C:\Documents and Settings\Ben
Short\.m2\repository\com\nexusalpha\build_no_test\build_no_test\1.0\build_no_test-1.0.jar
[INFO] 
[INFO] BUILD SUCCESSFUL
[INFO] 
[INFO] Total time: 4 seconds
[INFO] Finished at: Tue Dec 05 08:52:38 GMT 2006
[INFO] Final Memory: 5M/12M
[INFO] 

And my pom..

project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd;
 modelVersion4.0.0/modelVersion
 groupIdcom.nexusalpha.build_no_test/groupId
 artifactIdbuild_no_test/artifactId
 packagingjar/packaging
 version1.0/version
 namebuild_no_test/name
 urlhttp://maven.apache.org/url

 scm
   connectionscm:svn:svn://10.10.10.9/build_no_test/connection
   
developerConnectionscm:svn:svn://10.10.10.9/build_no_test/developerConnection
   /scm

 dependencies
   dependency
 groupIdjunit/groupId
 artifactIdjunit/artifactId
 version3.8.1/version
 scopetest/scope
   /dependency
 /dependencies

build

finalName${project.artifactId}-${project.version}.${buildNumber}/finalName

 plugins
   plugin
 groupIdorg.codehaus.mojo/groupId
 artifactIdmaven-buildnumber-plugin/artifactId
 version0.9.5-SNAPSHOT/version
 configuration
 skipCheckfalse/skipCheck
 skipUpdatefalse/skipUpdate
 /configuration
 executions
   execution
 goals
   goalcreate/goal
 /goals
   /execution
 /executions
   /plugin
   /plugins
/build

/project

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



[m2] Setting Archiva as mirror of central

2006-11-25 Thread ben short

Hi,

I have Maestro project server setup but im not sure what I need to set
in my settings.xml to get maven to use the Archiva part of the project
server as my mirror of central.

mirror
 idmyProximity/id
 mirrorOfcentral/mirrorOf
 nameProximity mirrored central repos./name
 urlhttp://ip:port/WHAT TO PUT HERE?/url
   /mirror

Ben

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



Re: [m2] Setting Archiva as mirror of central

2006-11-25 Thread ben short

Hi Wendy,

I just found that page, but when I tried it as described it didnt
work. I have found that if I add the following to my settings.xml then
archiva proxys central.

mirror
 idmyProximity/id
 mirrorOfcentral/mirrorOf
 nameProximity mirrored central repos./name
 urlhttp://192.168.100.32:8080/archiva/proxy/url
   /mirror

Ben

On 11/26/06, Wendy Smoak [EMAIL PROTECTED] wrote:

On 11/25/06, ben short [EMAIL PROTECTED] wrote:

 I have Maestro project server setup but im not sure what I need to set
 in my settings.xml to get maven to use the Archiva part of the project
 server as my mirror of central.

 mirror
   idmyProximity/id
   mirrorOfcentral/mirrorOf
   nameProximity mirrored central repos./name
   urlhttp://ip:port/WHAT TO PUT HERE?/url
 /mirror

For Archiva, what you put there depends on whether you want it to
proxy requests.  It's either /repository/URL-Name, or /proxy/REPO-ID

See: 
http://maven.apache.org/archiva/guides/getting-started/maven-configuration.html

--
Wendy

-
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] Maven 2 Intergration for Intellij IDEA

2006-11-17 Thread ben short

Hi,

I was looking for a plugin today and stumbled across this plugin.

http://plugins.intellij.net/plugin/?id=1166

I thought I would share it in case anyone was interested.

Regards

Ben

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



Re: scp a war to remote location

2006-10-26 Thread ben short

Hi Chris,

Take a look at the tomcat plugin

http://mojo.codehaus.org/tomcat-maven-plugin/

The documentation is pretty good.

Ben

On 10/26/06, Christofer Jennings [EMAIL PROTECTED] wrote:

Thanks Wendy!,

Do you deploy to a remote Tomcat? Could you post the part of your pom that
does it?

,chris

On 10/25/06, Wendy Smoak [EMAIL PROTECTED] wrote:

 On 10/25/06, Christofer Jennings [EMAIL PROTECTED] wrote:

  How do you scp a war to a remote location in maven2?
 
  I have a webapp project that produces a war. I'd like to deploy it to a
  remote server running jboss. I think all I need is to scp the war and
 let
  jboss hot deploy. But I can't figure out what to do in maven to make it
  happen.

 Definitely take a look at Cargo, which claims support for remote
 deployment to JBoss.  (I use Cargo with Tomcat.)

 Alternately... it seems like I saw 'run a script' on the Continuum
 menu, so that might well be easier if you know that's all it will
 take.

 --
 Wendy

 -
 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: Spring Taglib Dependency

2006-10-19 Thread ben short

Hi Stephen,

The spring.tld is in the spring.jar so you dont need to do any more
than grab the spring as a dependancy, like this..

dependency
   groupIdorg.springframework/groupId
   artifactIdspring/artifactId
   version1.2.8/version
   scopecompile/scope
   /dependency

With the scope set to compile the spring.jar will be bundled into the war file.

Add the flowing line to the top of your jsp pages..

%@ taglib prefix=spring uri=http://www.springframework.org/tags; %

You dont need to declare anything in your web.xml.

hope this helps

Ben

On 10/18/06, Stephen Bobick [EMAIL PROTECTED] wrote:



Hi,



I've added a dependency to Spring 1.2.8 in my project's POM file.  When I try
to use the spring.tld tag libs (add the declaration to the web.xml as well as
the taglib reference to the JSP page), I get an error message:



org.apache.jasper.JasperException: File /WEB-INF/spring.tld not found



My question is this:  do I need to copy spring.tld manually into my WEB-INF
directory, or can I import this through Maven's dependency mechanism and link
to it somehow in the web.xml?



  jsp-config

taglib

  taglib-urihttp://www.springframework.org/tags/taglib-uri

  taglib-location/WEB-INF/spring.tld/taglib-location

/taglib

  /jsp-config



Thanks in advance,



Stephen J. Bobick

Senior Lead Engineer, Life Sciences

Insightful Corporation

(206) 802-2350 Direct











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



http://maven.sateh.com/repository/ Down?

2006-10-18 Thread ben short

Hi,

Anyone know when http://maven.sateh.com/repository/ will be back up?

Anyone know of a good alternative repo in Europe?

Ben

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



Re: Where is the superpom?

2006-10-09 Thread ben short

http://maven.apache.org/guides/introduction/introduction-to-the-pom.html

On 10/9/06, Christofer Jennings [EMAIL PROTECTED] wrote:

Sorry if this is a dumb question, but I've looked and looked and can't seem
to find the real superpom.

???
,chris




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



Triggering build on each commit.

2006-10-03 Thread ben short

Hi,

It it possible to setup Continuum to build a project on every commit
to subversion.

The XML-RPC API document shows the buildProject method that can be
used by the subversion hook scripts but it seems to just trigger a
build of what is at the svn head.

I would like to set it up so that each time someone commits changes,
continuum does its build on the revision number so that failures can
pinpointed to exact commits.

Anyone got any ideas?

Also is there any documentation that details changes/improvements of
the next release of continuum?

Regards

Ben


Re: Deploy as WAR

2006-10-03 Thread ben short

Any ideas when this will be released?

On 9/24/06, Emmanuel Venisse [EMAIL PROTECTED] wrote:

With 1.0.3, it isn't possible. 1.1 will be a war.

Emmanuel

ben short a écrit :
 Hi,

 Is it possible to get continuum as a WAr rather than a standalone
 application?

 Ben







Re: Maven2 - Setting Internal Maven Repository as Mirror of ibiblio

2006-09-29 Thread ben short

Search for '[M2] Mirror' at nabble http://www.nabble.com/Maven---Users-f178.html

Ben

On 9/29/06, Vikas Gupta(SCM) [EMAIL PROTECTED] wrote:

Hi All,



I would like to setup an internal Maven Repository which will mirror the
global Maven Repository at ibiblio. Now instead of downloading artifacts
from ibiblio it should go the internal Maven Repository. In case it is
unable to find any artifact in the internal repository it should give an
error instead of going to ibiblio.

I did try by modifying the settings.xml file, setting up a mirror server
for ibiblio, but in this case if it is unable to find the artifact in
the internal repository it goes to the net (ibiblio site) to download.
If i disable the proxies then it does not even goes to the internal
repository.



Any idea?





~Vikas







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



Re: Setting up mirror of ibiblio?

2006-09-29 Thread ben short

Search for '[M2] Mirror' at nabble http://www.nabble.com/Maven---Users-f178.html

Ben

On 9/29/06, Kapil Gupta [EMAIL PROTECTED] wrote:

I would like to setup a common internal Maven Repository for different
projects running in my company which will mirror the global Maven
Repository at ibiblio. Now instead of downloading artifacts from ibiblio
all the client machines (running build process) should go the internal
Maven Repository. In case it is unable to find any artifact in the
internal repository it should give an error instead of going to ibiblio.

I did try by modifying the settings.xml file, setting up a mirror server
for ibiblio, but in this case if a client machine is unable to find the
artifact in the internal repository it goes to the net (ibiblio site) to
download. If I disable the proxies then it does not even goes to the
internal repository.



Please suggest a suitable solution.



Regards,

Kapil



CONFIDENTIALITY NOTICE
This e-mail transmission and any documents, files, or previous e-mail
messages appended or attached to it, may contain information that is
confidential or legally privileged. If you are not the intended
recipient, or a person responsible for delivering it to the intended
recipient, you are hereby notified that you must not read this
transmission and that any disclosure, copying, printing, distribution,
or use of the information contained or attached to this transmission is
STRICTLY PROHIBITED. If you have received this transmission in error,
please immediately notify the sender by telephone +91.172.229.9450 or
return e-mail message [EMAIL PROTECTED]
BLOCKED::mailto:[EMAIL PROTECTED]  and delete the original
transmission, its attachments, and any copies without reading or saving
in any manner. Thank you.







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



[m2] install4j plugin

2006-09-27 Thread ben short

Hi,

Anyone know if there is such a beast as an install4j plugin for maven?

Regards

Ben

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



Deploy as WAR

2006-09-22 Thread ben short

Hi,

Is it possible to get continuum as a WAr rather than a standalone application?

Ben


Re: exporting Database

2006-09-18 Thread ben short

Mybe this would help?

http://mojo.codehaus.org/sql-maven-plugin/overview.html

On 9/18/06, Marco Mistroni [EMAIL PROTECTED] wrote:

mmm, my 2 cents
you can do this with dbunit.
i heard (repeat, heard) that there was somewhere a maven plugin for
dbunit...
if that's true, maybe you can start from there?

hth
 marco

On 9/18/06, Wayne Fay [EMAIL PROTECTED] wrote:

 This sounds like an email that should have been sent to the MySQL
 Users email list rather than Maven. Perhaps you'd have better luck
 there?

 Wayne

 On 9/16/06, manoj kaushik [EMAIL PROTECTED] wrote:
  hi all
  i want to export a database table from mySql on one machine  to another
  MySql instance . can anyone tell me how to carry on the proceedings.
  currently i am working with Maven torque plugin but finding difficulty.
 if
  anyone knows about it please reply
  thanks in advance
   Manoj Kaushik
 
 

 -
 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: include jar(s) when packaging

2006-09-07 Thread ben short

Dependancies only get added to wars. You need to use the maven
assembly plugin http://maven.apache.org/plugins/maven-assembly-plugin/

On 9/7/06, Richard Fagot [EMAIL PROTECTED] wrote:

Hi all,

   I tried to package my project including a jar that is a dependency
for the project. To do this I used the scope compile in the pom.xml but
the jar does not appear in the project jar. What's wrong ?


cheers.

-
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: javax.resource connector, unable to download dependency

2006-09-01 Thread ben short

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

On 9/1/06, Marco Mistroni [EMAIL PROTECTED] wrote:

hi all,
 i m runnig maven2 for building my app, which uses spring.
i tried to set as dependency spring

dependency
  groupIdorg.springframework/groupId
  artifactIdspring/artifactId
  version1.2.5/version
  scopecompile/scope
 /dependency


downloading htat dependency will require maven2 to download also
javax.resource.connector version 1.0, which maven
is unable to get...

can i get it or do i have to modify the spring dependency ?

thanks in advance and regards
 marco




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



[m2] jspc-maven-plugin - Problems

2006-09-01 Thread ben short

Hi,

I have been trying to get the jspc-maven-plugin to work. Here is the
relivent part of my pom.

plugin
 groupIdorg.codehaus.mojo/groupId
 artifactIdjspc-maven-plugin/artifactId
  configuration
   source1.5/source
   target1.5/target
  /configuration
  executions
   execution
idjspc/id
phasecompile/phase
 goals
  goalcompile/goal
  /goals
 /execution
   /executions
/plugin

and the output when I try to mvn compile

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

[INFO] Building Maven Quick Start Archetype
[INFO]task-segment: [compile]
[INFO] 

[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
Downloading: 
http://people.apache.org/maven-snapshot-repository//tomcat/jasper-compiler-jdt/5.5.15/jasper-compiler-jdt-5.5.15.pom
[WARNING] Unable to get resource from repository apache-snapshots
(http://people.apache.org/maven-snapshot-repository/)
Downloading: 
http://repository.codehaus.org/tomcat/jasper-compiler-jdt/5.5.15/jasper-compiler-jdt-5.5.15.pom
[WARNING] Unable to get resource from repository codehaus.org
(http://repository.codehaus.org)
Downloading: 
http://192.168.6.194:8080/px-webapp/repository/public/tomcat/jasper-compiler-jdt/5.5.15/jasper-compiler-jdt-5.5.15.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
Downloading: 
http://people.apache.org/maven-snapshot-repository//tomcat/jasper-compiler/5.5.15/jasper-compiler-5.5.15.pom
[WARNING] Unable to get resource from repository apache-snapshots
(http://people.apache.org/maven-snapshot-repository/)
Downloading: 
http://repository.codehaus.org/tomcat/jasper-compiler/5.5.15/jasper-compiler-5.5.15.pom
[WARNING] Unable to get resource from repository codehaus.org
(http://repository.codehaus.org)
Downloading: 
http://192.168.6.194:8080/px-webapp/repository/public/tomcat/jasper-compiler/5.5.15/jasper-compiler-5.5.15.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
Downloading: 
http://people.apache.org/maven-snapshot-repository//tomcat/jasper-runtime/5.5.15/jasper-runtime-5.5.15.pom
[WARNING] Unable to get resource from repository apache-snapshots
(http://people.apache.org/maven-snapshot-repository/)
Downloading: 
http://repository.codehaus.org/tomcat/jasper-runtime/5.5.15/jasper-runtime-5.5.15.pom
[WARNING] Unable to get resource from repository codehaus.org
(http://repository.codehaus.org)
Downloading: 
http://192.168.6.194:8080/px-webapp/repository/public/tomcat/jasper-runtime/5.5.15/jasper-runtime-5.5.15.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
[INFO] [jspc:compile {execution: jspc}]
[INFO] Built File: \index.jsp
[INFO] Built File: \WEB-INF\jsp\admin.jsp
[INFO] Built File: \WEB-INF\jsp\category.jsp
[INFO] Compiling new java files...
[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[14,65]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[15,40]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[19,35]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[20,35]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[21,35]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[22,35]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[23,35]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[24,35]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[25,35]
package org.apache.jasper.runtime does not exist

[ERROR] C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\jsp-source\jsp\WEB_002dINF\jsp\category_jsp.java:[26,35]
package

Re: [m2] jspc-maven-plugin - Problems

2006-09-01 Thread ben short

Ok,

I set the version to 1.4.2 and it works ok.

Heres the output for mvn -X compile...

+ Error stacktraces are turned on.

Maven version: 2.0.4

[DEBUG] Building Maven user-level plugin registry from: 'C:\Documents
and Settings\Ben Short\.m2\plugin-registry.xml'

[DEBUG] Building Maven global-level plugin registry from:
'D:\Personal\maven-2.0.4\bin\..\conf\plugin-registry.xml'

[INFO] Scanning for projects...

[INFO] 


[INFO] Building Maven Quick Start Archetype

[INFO]task-segment: [compile]

[INFO] 


[DEBUG] Skipping disabled repository Maven Snapshots

[DEBUG] maven-resources-plugin: resolved to version 2.2 from repository central

[DEBUG] Retrieving parent-POM:
org.apache.maven.plugins:maven-plugins::1 for project:
null:maven-resources-plugin:maven-plugin:2.2 from the repository.

[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for
project: org.apache.maven.plugins:maven-plugins:pom:1 from the
repository.

[DEBUG] Retrieving parent-POM: org.apache:apache::1 for project:
org.apache.maven:maven-parent:pom:1 from the repository.

[DEBUG] Skipping disabled repository Maven Snapshots

[DEBUG] maven-compiler-plugin: resolved to version 2.0.1 from repository central

[DEBUG] Retrieving parent-POM:
org.apache.maven.plugins:maven-plugins::1 for project:
null:maven-compiler-plugin:maven-plugin:2.0.1 from the repository.

[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for
project: org.apache.maven.plugins:maven-plugins:pom:1 from the
repository.

[DEBUG] Retrieving parent-POM: org.apache:apache::1 for project:
org.apache.maven:maven-parent:pom:1 from the repository.

[DEBUG] Skipping disabled repository Maven Snapshots

[DEBUG] maven-surefire-plugin: resolved to version 2.2 from repository central

[DEBUG] Retrieving parent-POM:
org.apache.maven.plugins:maven-plugins::1 for project:
null:maven-surefire-plugin:maven-plugin:2.2 from the repository.

[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for
project: org.apache.maven.plugins:maven-plugins:pom:1 from the
repository.

[DEBUG] Retrieving parent-POM: org.apache:apache::1 for project:
org.apache.maven:maven-parent:pom:1 from the repository.

[DEBUG] Skipping disabled repository Maven Snapshots

[DEBUG] jspc-maven-plugin: resolved to version 1.4.5 from repository central

[DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo::11 for project:
null:jspc-maven-plugin:maven-plugin:1.4.5 from the repository.

[DEBUG] org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.2:runtime
(selected for runtime)

[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for
project: org.apache.maven:maven-model:jar:2.0 from the repository.

[DEBUG]   org.apache.maven:maven-model:jar:2.0:runtime (selected for runtime)

[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime
(selected for runtime)

[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for
project: null:maven-project:jar:2.0 from the repository.

[DEBUG]   org.apache.maven:maven-project:jar:2.0:runtime (selected for runtime)

[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime
(selected for runtime)

[DEBUG]   classworlds:classworlds:jar:1.1-alpha-2:runtime
(selected for runtime)

[DEBUG]   junit:junit:jar:3.8.1:runtime (selected for runtime)

[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for
project: org.apache.maven:maven-artifact:jar:2.0 from the repository.

[DEBUG] org.apache.maven:maven-artifact:jar:2.0:runtime (selected
for runtime)

[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for
project: org.apache.maven:maven-artifact-manager:jar:2.0 from the
repository.

[DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0:runtime
(selected for runtime)

[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for
project: org.apache.maven:maven-repository-metadata:jar:2.0 from the
repository.

[DEBUG]   org.apache.maven:maven-repository-metadata:jar:2.0:runtime
(selected for runtime)

[DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime
(selected for runtime)

[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for
project: null:maven-profile:jar:2.0 from the repository.

[DEBUG] org.apache.maven:maven-profile:jar:2.0:runtime (selected
for runtime)

[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for
project: org.apache.maven:maven-plugin-api:jar:2.0 from the
repository.

[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected
for runtime)

[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-resources-plugin:2.2:resources' --

[DEBUG]   (f) filters = []

[DEBUG]   (f) outputDirectory = C:\Documents and Settings\Ben
Short\Desktop\catalog\trunk\target\classes

[DEBUG]   (f) project = [EMAIL PROTECTED]

[DEBUG]   (f) resources = [EMAIL

Re: [m2] jspc-maven-plugin - Problems

2006-09-01 Thread ben short

I'll log it right away.

Thank for your help.

Ben

On 9/1/06, Jacek Laskowski [EMAIL PROTECTED] wrote:

On 9/1/06, ben short [EMAIL PROTECTED] wrote:
 Ok,

 I set the version to 1.4.2 and it works ok.

 Heres the output for mvn -X compile...

I wonder whether it pertains to the window long path issue and the
spaces in your project path. Anyway, would you mind reporting an issue
and put it in the jspc plugin category? I know that 1.4.5 is about to
be out, but since it's not been working for you, it's good to let them
know about it so they fix it before. It's driving Geronimo devs crazy
and any help's greatly appreciated.

Attach the output, too.

Jacek

--
Jacek Laskowski
http://www.laskowski.net.pl

-
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] jspc-maven-plugin - Problems

2006-09-01 Thread ben short

Christophe,

That fixed it.

Thanks

Ben

On 9/1/06, Christophe DENEUX [EMAIL PROTECTED] wrote:


Try to add the following dependencies to your POM:
dependency
  groupIdjavax.servlet/groupId
  artifactIdjsp-api/artifactId
  version2.0/version
  /dependency
  dependency
  groupIdtomcat/groupId
  artifactIdjasper-runtime/artifactId
  version5.5.15/version
/dependency



Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader
Tel: + 33 4 93 72 43 74 / www.capgemini.com
Fax: + 33 4 93 21 02 95
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice

Join the Collaborative Business Experience




ben short a écrit :
 I'll log it right away.

 Thank for your help.

 Ben

 On 9/1/06, Jacek Laskowski [EMAIL PROTECTED] wrote:
 On 9/1/06, ben short [EMAIL PROTECTED] wrote:
  Ok,
 
  I set the version to 1.4.2 and it works ok.
 
  Heres the output for mvn -X compile...

 I wonder whether it pertains to the window long path issue and the
 spaces in your project path. Anyway, would you mind reporting an issue
 and put it in the jspc plugin category? I know that 1.4.5 is about to
 be out, but since it's not been working for you, it's good to let them
 know about it so they fix it before. It's driving Geronimo devs crazy
 and any help's greatly appreciated.

 Attach the output, too.

 Jacek

 --
 Jacek Laskowski
 http://www.laskowski.net.pl

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


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



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




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



Re: newbie question

2006-08-29 Thread ben short

Here it is...

https://maven2-repository.dev.java.net/



On 8/29/06, patrick [EMAIL PROTECTED] wrote:


i think i read somewhere that there is a repository at sun providing these,
but
1) i cant remember the URL
2) i do not know how to put this in you settings.xml (how to spezify which
is your main repo and which are the backups)


Charles Griffin-3 wrote:

 Thanks Odea,

 I deleted my repository and started from scratch.  After that I was able
 to download a lot of the jars, but I did have to eventually manually
 install around 9 files manually like you suggested i.e. jaxp, activation,
 javamail.



--
View this message in context: 
http://www.nabble.com/newbie-question-tf2177368.html#a6038571
Sent from the Maven - Users forum at Nabble.com.


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




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



Re: newbie question

2006-08-29 Thread ben short

Scratch that im wrong.

On 8/29/06, ben short [EMAIL PROTECTED] wrote:

Here it is...

https://maven2-repository.dev.java.net/



On 8/29/06, patrick [EMAIL PROTECTED] wrote:

 i think i read somewhere that there is a repository at sun providing these,
 but
 1) i cant remember the URL
 2) i do not know how to put this in you settings.xml (how to spezify which
 is your main repo and which are the backups)


 Charles Griffin-3 wrote:
 
  Thanks Odea,
 
  I deleted my repository and started from scratch.  After that I was able
  to download a lot of the jars, but I did have to eventually manually
  install around 9 files manually like you suggested i.e. jaxp, activation,
  javamail.
 
 

 --
 View this message in context: 
http://www.nabble.com/newbie-question-tf2177368.html#a6038571
 Sent from the Maven - Users forum at Nabble.com.


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





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



Re: newbie question

2006-08-29 Thread ben short

https://maven-repository.dev.java.net/nonav/

On 8/29/06, ben short [EMAIL PROTECTED] wrote:

Scratch that im wrong.

On 8/29/06, ben short [EMAIL PROTECTED] wrote:
 Here it is...

 https://maven2-repository.dev.java.net/



 On 8/29/06, patrick [EMAIL PROTECTED] wrote:
 
  i think i read somewhere that there is a repository at sun providing these,
  but
  1) i cant remember the URL
  2) i do not know how to put this in you settings.xml (how to spezify which
  is your main repo and which are the backups)
 
 
  Charles Griffin-3 wrote:
  
   Thanks Odea,
  
   I deleted my repository and started from scratch.  After that I was able
   to download a lot of the jars, but I did have to eventually manually
   install around 9 files manually like you suggested i.e. jaxp, activation,
   javamail.
  
  
 
  --
  View this message in context: 
http://www.nabble.com/newbie-question-tf2177368.html#a6038571
  Sent from the Maven - Users forum at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 




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



Re: Help building and deploying a war with JSTL in it

2006-08-15 Thread ben short

Hi Ken,

I have the following dependency im my pom...

dependency
   groupIdtaglibs/groupId
   artifactIdc/artifactId
   version1.1.2/version
   scopecompile/scope
   typetld/type
   /dependency

And i add the following to my jsp pages...

%@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core; %

Maven takes care of the rest form me.

In the war file under WEB-INF i have a tdl directory that has the
c-1.1.2.tld file in it.

Maybe supply your pom and I might beable to help you further.

Ben




On 8/15/06, Kenneth Litwak [EMAIL PROTECTED] wrote:

Hi,

  I have a web app built with Maven.  I'm not the maven expert here, but
he's out of the office for several days. He set things up to use
multiple configurations.  The local one I use for my own unit testing
is doing fine but one for our main test server is not.  When I try to
run a war, I get a jasper exception from tomcat because the URI for
jstl/core cannot be found.  My repository has a JSTL directory, with
both the jstl and jstl-standard jars in it.  My project.xml has a
dependency for jstl.  The jstl jar, but NOT the jstl-standard jar shows
up in the WEB-INF/lib directory after I build the war.  What do I need
to check or change to make this work? Thanks.

Ken



 Kenneth D. Litwak
Software Engineer III
IMT
Azusa Pacific University
901 E. Alosta
Azusa, CA 91702


-
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: Codehaus

2006-08-12 Thread ben short

http://mojo.codehaus.org/

On 8/11/06, Douglas Ferguson [EMAIL PROTECTED] wrote:

Where can I find documentation on the codehaus plugins?



I stumbled upon the codehaus dependency plugin when the apache one didn't
seem to work.



__


Douglas W. Ferguson

EPSIIA - Another Fiserv Connection

Development

Office Phone: 512-329-0081 ext. 3309

Dial Toll Free: 800-415-5946

Mobile Phone: 512-293-7279

Fax: 512-329-0086

[EMAIL PROTECTED]

www.epsiia.com http://www.epsiia.com/

__







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



Re: The mvn script errors out when JAVA_HOME is not defined

2006-08-07 Thread ben short

Thats not the standard location for linux or osx.

On 8/7/06, Weiqi Gao [EMAIL PROTECTED] wrote:

On 8/7/06, Vincent Siveton [EMAIL PROTECTED] wrote:
 JAVA_HOME is a requirement
 http://maven.apache.org/download.html#installation

That piece of documentation seems to be wrong.  By reading the script,
I certainly get the impression that the script is furiously trying to
figure out where my JAVA_HOME is when the JAVA_HOME environment is not
set.

Right after the block of script I cited, there is another check for
JAVA_HOME and it gives a warning if JAVA_HOME is not set.

If Maven is going to require the setting of JAVA_HOME anyway, all that
extra script are pointless.

Of course I'm advocating that Maven not requiring me to set JAVA_HOME
if I have installed my JDK in the standard location (such as
C:\Program Files\Java\jdk1.5.0_12.).

--
Weiqi Gao (高为奇)
[EMAIL PROTECTED]
http://www.weiqigao.com/blog/



[m2] spring.tld

2006-08-03 Thread ben short

Hi,

Anyone know where the spring.tld taglib is on the maven repository?

Ben

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



Re: [m2] spring.tld

2006-08-03 Thread ben short

Thanks Denis,

Its also in the META-INF directory of the spring.jar.

Ben

On 8/3/06, Denis Cabasson [EMAIL PROTECTED] wrote:


http://www.ibiblio.org/maven2/org/springframework/spring-webmvc/1.2.8/spring-webmvc-1.2.8.jar\META-INF\spring.tld

Denis


ben short-2 wrote:

 Hi,

 Anyone know where the spring.tld taglib is on the maven repository?

 Ben

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




--
View this message in context: 
http://www.nabble.com/-m2--spring.tld-tf2045852.html#a5633502
Sent from the Maven - Users forum at Nabble.com.


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




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



Re: [m2] Assemby plugin Question

2006-07-20 Thread ben short

I mentioned zips as the assembly plugin page
http://maven.apache.org/plugins/maven-assembly-plugin/unpack-mojo.html
says that it can only unpack jar ans zip files.

Ben

On 7/20/06, dcabasson [EMAIL PROTECTED] wrote:


AFAIK, Maven 2 will add up war contents, if your war2 project depends on the
war1 project.

So I guess that should be your solution (as far as I understand).

And no need for zips there...

Denis.

ben short-2 wrote:

 So what im thinking is. If i create a webapp project that pulls the
 dependent jars into it and instead of the webapp project creating a
 war file can it create a zip file, that the assembly plugin can unzip
 into the new webapp project. then when the new webapp project.


--
View this message in context: 
http://www.nabble.com/-m2--Assemby-plugin-Question-tf1966965.html#a5417541
Sent from the Maven - Users forum at Nabble.com.


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




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



[m2] Assemby plugin Question

2006-07-19 Thread ben short

Hi,

We have several projects that produces a ear files. The ear files
contains a war and several jar files.

The war file is common to all the projects and uses a import statement
in the spring config file to load another spring config file bundled
with the ear file.

Management has asked us if we can deploy the projects to Tomcat or
Jetty rather than use a app server like Glasfish, for serveral reasons
that i wont go into.

So what im thinking is. If i create a webapp project that pulls the
dependent jars into it and instead of the webapp project creating a
war file can it create a zip file, that the assembly plugin can unzip
into the new webapp project. then when the new webapp project.

Does this sound possible?

Ben

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



Re: Deployment to SCP server (Maven2)

2006-07-17 Thread ben short

Are you sure thats the correct url scp:myserver.microtec.fr/deploy?
If you use putty to login to the server and you type /depoly at the
prompt do you go to a directory?
On my server the url is scp:X.X.X.X/var/mvn/deployed

Ben


On 7/17/06, Raphael Neve [EMAIL PROTECTED] wrote:

Here's some more info on this problem :
I tried running mvn -X deploy, here's the relevant portion :

[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-deploy-plugin:2.2.1:deploy' --
[DEBUG]   (f) artifact = Cactus:Cactus:jar:0.0.2
[DEBUG]   (f) attachedArtifacts = []
[DEBUG]   (f) deploymentRepository = [myr-webserver] -
scp:myserver.microtec.fr/deploy
[DEBUG]   (s) localRepository = [local] - file://C:\Documents and
Settings\Microtec\.m2\repository
[DEBUG]   (f) packaging = jar
[DEBUG]   (f) pomFile = C:\Projects\CACTUS~2\pom.xml
[DEBUG]   (f) updateReleaseInfo = false
[DEBUG] -- end configuration --
[INFO] [deploy:deploy]
[DEBUG] not adding permissions to wagon connection
Password: :

Why on earth is he asking for the password ? Why does he say not adding
permissions to wagon connection ?
Btw : the package is not a SNAPSHOT build, it's got a proper version
number.

Any ideas?
Thanks,
Raphael

Raphael Neve wrote:
 Hello,

 I am very new to Maven2, but I have looked through the documentation
 and not found my answer : I want to deploy to a SCP server but Maven
 always prompts me for my password even though I have added it into my
 settings.xml file :

 (install_dir)/conf/settings.xml :

 settings
 ...
  servers   server
  idmy-webserver/id
  usernameuser/username
  passwordpass/password
/server  /servers
 ...
 /settings

 This is my pom.xml file for my project :

 project
 ...
   distributionManagement
  repository  idmy-webserver/id
  nameMy Web Server/name
  urlscp://myserver.microtec.fr/deploy/url
  /repository
   /distributionManagement
 /project

 When I launch mvn deploy it displays the following comment :

 [INFO] Installing C:\Projects\CactusMaven\target\Cactus-0.0.2.jar to
 C:\Documents and
 Settings\Microtec\.m2\repository\Cactus\Cactus\0.0.2\Cactus-0.0.2.jar
 [INFO] [deploy:deploy]
 Password: :

 When I enter in the password (same as one in settings.xml), it deploys
 correctly (I have to repeat the password 3 or 4 times).
 How can I make it deploy automatically without having to re-type the
 password?

 Thanks,
 Raphael



-
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: Handling Maven and SCM

2006-07-17 Thread ben short

Before for import yor project you should do a mcn clean to remove the
target directory. You dont want this in subversion.
Also the convention with subversion is that you have the follwoing
three directories in the root of your repo.

tags
branches
trunk

You need to put your project into the trunk directory.

Ben

On 7/17/06, Charlie Groves [EMAIL PROTECTED] wrote:

Yep, I'd never add target to my SCM system.  It's supposed to be
created from scratch by the build, and is wiped out by mvn clean.  I
add target to my global-ignores in ~/.subversion/config so it doesn't
show up with a ? all the time.  If you don't want to ignore target
directories altogether, you can set the svn:ignore property on your
project directory.

Charlie

On 7/17/06, Raphael Neve [EMAIL PROTECTED] wrote:
 Hi there,

 I have a project that I am starting with Maven 2. I have the src and
 target directories at the top level of my dir structure. My question
 relates to the good practises in terms of SCM and in particular SVN
 managment. Currently, I have imported my whole project directory into
 the Subversion repository. This means that when I commit, it proposes to
 add the target directory with the class and jar files to the SVN
 repository, but I don't really want that.

 What is the normal  way of doing this ? Is it to import only the src
 branch into the SVN repository ?

 Thanks  a lot,
 Raphael





 -
 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: Deployment to SCP server (Maven2)

2006-07-13 Thread ben short

Hi,

Are you sure your url is correct? Here is what i use in my pom

distributionManagement
   repository
 idinternal-released/id
 urlscp://192.168.6.194/var/mvn/internal-released/url
   /repository
   snapshotRepository
 idinternal-snapshot/id
 urlscp://192.168.6.194/var/mvn/internal-snapshot/url
   /snapshotRepository
 /distributionManagement

Notice its the full path on the server.

Ben

Ben



On 7/13/06, Raphael Neve [EMAIL PROTECTED] wrote:

Hello,

I am very new to Maven2, but I have looked through the documentation and
not found my answer : I want to deploy to a SCP server but Maven always
prompts me for my password even though I have added it into my
settings.xml file :

(install_dir)/conf/settings.xml :

settings
...
  servers
server
  idmy-webserver/id
  usernameuser/username
  passwordpass/password
/server
  /servers
...
/settings

This is my pom.xml file for my project :

project
...
   distributionManagement
  repository
  idmy-webserver/id
  nameMy Web Server/name
  urlscp://myserver.microtec.fr/deploy/url
  /repository
   /distributionManagement
/project

When I launch mvn deploy it displays the following comment :

[INFO] Installing C:\Projects\CactusMaven\target\Cactus-0.0.2.jar to
C:\Documents and
Settings\Microtec\.m2\repository\Cactus\Cactus\0.0.2\Cactus-0.0.2.jar
[INFO] [deploy:deploy]
Password: :

When I enter in the password (same as one in settings.xml), it deploys
correctly (I have to repeat the password 3 or 4 times).
How can I make it deploy automatically without having to re-type the
password?

Thanks,
Raphael



-
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: include jar dependencies in jar package

2006-07-13 Thread ben short

That works if you are building a war. But i think you need to use the
assembly plugin to do what you are asking.

Ben

On 7/13/06, Wojciech Biela [EMAIL PROTECTED] wrote:

A google search for this message's subject didn't reveal any useful
tips on what I'm looking for.

I want to have the mvn package command create a jar that besides all
usual stuff includes a /lib directory including all runtime type
dependencies that are declared in the pom.xml.

I thought it's a very basic thing, but surprisingly I can't find any
docs on that.

What did I miss?

Best regards
--
Wojtek Biela

-
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: mvn deploy

2006-07-12 Thread ben short

the wagon plugin needs to be in the maven home dir for this to work.

On 7/12/06, Matthias Wessendorf [EMAIL PROTECTED] wrote:

Hey Ben,

the wagon plugin is already part of the project (MyFaces).
So I guess something different is wrong

Will try on a linux box. That is easier ;)

Thanks,
Matthias

On 7/11/06, ben short [EMAIL PROTECTED] wrote:
 Matthias,

 You dont need to use the sshExecuteable element. I use the that setup
 on windows xp and it works. Maven uses wagon [1] to do the ssh.
 Although you will need to manually download it ad put it into the lib
 dir under your maven home dir.

 [1] http://maven.apache.org/wagon/

 Ben

 On 7/11/06, Matthias Wessendorf [EMAIL PROTECTED] wrote:
  Ben,
 
  thanks for your help. I tried to add my passed to settings.xml.
  But I more thing that putty / pscp are not *callable* for my box/environment
  (windoze w/o ! cygwin)
 
  Below is my message...
  I added sshExecuteable to my settings. Now putty comes up -o unkown 
option.
  any ideas?
 
  snip
 
  [INFO] Retrieving previous build number from apache-maven-snapshots
  [WARNING] repository metadata for: 'snapshot
  org.apache.myfaces.core:myfaces-core-project:1.1.4-SNAPSHOT' could not
  be retrieved from repository: apache-maven-snapshots due to an error:
  Failed to post-process the source file
  [INFO] Repository 'apache-maven-snapshots' will be blacklisted
  Uploading: 
scpexe://minotaur.apache.org/www/people.apache.org/maven-snapshot-repository/org/apache/myfaces/core/myfaces-core-project/1.1.4-SNAPSHOT/myfaces-core-project-1.1.4-SNAPSHOT.pom
  [INFO] 

  [ERROR] BUILD ERROR
  [INFO] 

  [INFO] Error deploying artifact: Error executing command for transfer
 
  Exit code 1 - 'ssh' is not recognized as an internal or external command,
  operable program or batch file.
 
  [INFO] 

  [INFO] For more information, run Maven with the -e switch
  /snip
 
  -Matt
 
 
  On 7/10/06, ben short [EMAIL PROTECTED] wrote:
   I use the follwoing in my pom.xml
  
   distributionManagement
   −
   repository
   idinternal-released/id
   urlscp://192.168.6.194/var/mvn/internal-released/url
   /repository
   −
   snapshotRepository
   idinternal-snapshot/id
   urlscp://192.168.6.194/var/mvn/internal-snapshot/url
   /snapshotRepository
   /distributionManagement
  
   and the following in my settings.xml
  
   server
 idinternal-snapshot/id
 usernamemvn/username
 passwordmvn/password
   /server
   server
 idinternal-released/id
 usernamemvn/username
 passwordmvn/password
   /server
  
  
   On 7/10/06, Matthias Wessendorf [EMAIL PROTECTED] wrote:
Hey,
   
I am getting this error
   
snip
[INFO] Error deploying artifact: Error executing command for transfer
   
Exit code 1 - 'ssh' is not recognized as an internal or external 
command,
operable program or batch file.
/snip
   
when trying mvn deploy on windoze
   
my settings.xml contains:
   
...
  servers
server
  idapache-maven-snapshots/id
  usernamematzew/username
  configuration
scpExecutablepscp/scpExecutable
  /configuration
/server
  /servers
   
...
   
   
BTW pscp is in my $PATH
   
Any missing configuration ?
   
-Matt
   
--
Matthias Wessendorf
   
futher stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com
   
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
   
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
  --
  Matthias Wessendorf
 
  futher stuff:
  blog: http://jroller.com/page/mwessendorf
  mail: mwessendorf-at-gmail-dot-com
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 

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




--
Matthias Wessendorf

futher stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

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




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



Re: mvn deploy

2006-07-11 Thread ben short

Matthias,

You dont need to use the sshExecuteable element. I use the that setup
on windows xp and it works. Maven uses wagon [1] to do the ssh.
Although you will need to manually download it ad put it into the lib
dir under your maven home dir.

[1] http://maven.apache.org/wagon/

Ben

On 7/11/06, Matthias Wessendorf [EMAIL PROTECTED] wrote:

Ben,

thanks for your help. I tried to add my passed to settings.xml.
But I more thing that putty / pscp are not *callable* for my box/environment
(windoze w/o ! cygwin)

Below is my message...
I added sshExecuteable to my settings. Now putty comes up -o unkown option.
any ideas?

snip

[INFO] Retrieving previous build number from apache-maven-snapshots
[WARNING] repository metadata for: 'snapshot
org.apache.myfaces.core:myfaces-core-project:1.1.4-SNAPSHOT' could not
be retrieved from repository: apache-maven-snapshots due to an error:
Failed to post-process the source file
[INFO] Repository 'apache-maven-snapshots' will be blacklisted
Uploading: 
scpexe://minotaur.apache.org/www/people.apache.org/maven-snapshot-repository/org/apache/myfaces/core/myfaces-core-project/1.1.4-SNAPSHOT/myfaces-core-project-1.1.4-SNAPSHOT.pom
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Error deploying artifact: Error executing command for transfer

Exit code 1 - 'ssh' is not recognized as an internal or external command,
operable program or batch file.

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

-Matt


On 7/10/06, ben short [EMAIL PROTECTED] wrote:
 I use the follwoing in my pom.xml

 distributionManagement
 −
 repository
 idinternal-released/id
 urlscp://192.168.6.194/var/mvn/internal-released/url
 /repository
 −
 snapshotRepository
 idinternal-snapshot/id
 urlscp://192.168.6.194/var/mvn/internal-snapshot/url
 /snapshotRepository
 /distributionManagement

 and the following in my settings.xml

 server
   idinternal-snapshot/id
   usernamemvn/username
   passwordmvn/password
 /server
 server
   idinternal-released/id
   usernamemvn/username
   passwordmvn/password
 /server


 On 7/10/06, Matthias Wessendorf [EMAIL PROTECTED] wrote:
  Hey,
 
  I am getting this error
 
  snip
  [INFO] Error deploying artifact: Error executing command for transfer
 
  Exit code 1 - 'ssh' is not recognized as an internal or external command,
  operable program or batch file.
  /snip
 
  when trying mvn deploy on windoze
 
  my settings.xml contains:
 
  ...
servers
  server
idapache-maven-snapshots/id
usernamematzew/username
configuration
  scpExecutablepscp/scpExecutable
/configuration
  /server
/servers
 
  ...
 
 
  BTW pscp is in my $PATH
 
  Any missing configuration ?
 
  -Matt
 
  --
  Matthias Wessendorf
 
  futher stuff:
  blog: http://jroller.com/page/mwessendorf
  mail: mwessendorf-at-gmail-dot-com
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 

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




--
Matthias Wessendorf

futher stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

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




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



Re: Parse error reading POM. Reason: parser must be on START_TAG or TEXT

2006-07-10 Thread ben short

mvn validate

On 7/9/06, Eric Redmond [EMAIL PROTECTED] wrote:

There is an XML validator incubating in Mojo:
http://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/xml-maven-plugin/

I have no idea how active it is, however.

Thanks;
Eric

On 7/9/06, Dennis Lundberg [EMAIL PROTECTED] wrote:

 Wendy Smoak wrote:
  On 7/8/06, Aron Smith [EMAIL PROTECTED] wrote:
  It appears mavens site builder doesnt read my pom.xml - though all the
  other
  utilities (compiles, package, filter etc.) are fine.  It *is* valid XML
  (pom.xml follows stacktrace)
 
  It doesn't validate against the schema.  The filters element is out
  of place, move it outside of the resources element.
 
  * http://maven.apache.org/ref/current/maven-model/maven.html

 Is there a feature in M2 to explicitly validate the pom against the
 schema? In M1 you could do:
maven pom:validate

 --
 Dennis Lundberg

 -
 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: Super POM

2006-07-10 Thread ben short

Viz

Heres one I have setup...

?xml version=1.0 encoding=UTF-8?


project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd;
 modelVersion4.0.0/modelVersion

 groupIdcom.company/groupId
 artifactIdcompany/artifactId
 version1/version
 packagingpom/packaging
 nameNexus Alpha Ltd/name
 description
 /description
 organization
   nameCompany Name/name
   urlhttp://www.company.com//url
 /organization
 urlhttp://www.company.com//url
 distributionManagement
   repository
 idinternal-released/id
 urlscp://192.168.6.194/var/mvn/internal-released/url
   /repository
   snapshotRepository
 idinternal-snapshot/id
 urlscp://192.168.6.194/var/mvn/internal-snapshot/url
   /snapshotRepository
 /distributionManagement
/project

Now I have release this to my internal repo, but i guess you could
just install it to your local repo.

Also you could have a project that has modules. like the following dir structure

myproject
myproject/pom.xml
myproject/module1/pom.xml
myproject/module2/pom.xml

the top level pom would contain your global settings and the modules element

modules
  modulemodule1/module
  modulemodule2/module
 /modules


Im still new to maven 2 also but i hope this gives you some ideas.

Ben





On 7/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Hi All,

I'm new to Maven and am struggling to create a super pom.  I am involved in
a project which has a number of sub projects and would like to have a super
pom for the general configs, which are inherited by the sub projects.  The
problem is that I can create a super pom by hand, but when I reference it
using parent/ the sub project goes of to the repo to download...  I just
wanted a super pom that I could use to set project wide configs.

I tried various params with mvn archetype:create but no luck.

Could someone please point me in the right direction.

Many thanks in advance.
--
Viz


-
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-proxy released

2006-07-08 Thread ben short

How does it compare to http://proximity.abstracthorizon.org/

On 7/8/06, Alex Shneyderman [EMAIL PROTECTED] wrote:

How does it compare to maven-proxy from codehaus?
Do you know by any chance?

Alex.


On 7/8/06, Lukas Krecan [EMAIL PROTECTED] wrote:
 I am pleased to announce first release of m2-proxy. It can be handy if
 you need:

   * Lower internet traffic generated by Maven
   * Mirror Maven 2 repository
   * Bypass web proxy

 It can be downloaded from

 http://m2-proxy.sourceforge.net

   Lukas Krecan

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




--
Thanks,
Alex.

-
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: Hibernate 3 failure

2006-07-07 Thread ben short

Have you seen this page?

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

Ben

On 7/7/06, James Richards [EMAIL PROTECTED] wrote:

Hello,

I've tried searching for this problem on Google but so far have not had any 
luck locating this exact error so I wanted to see if anyone on the mailing can 
help out.  I have Maven 2.0.4 installed and I am trying to use the Hibernate3 
plugin.  I added the repositories configuration to my pom.xml:

  repositories
repository
  idMaven Snapshots/id
  urlhttp://snapshots.maven.codehaus.org/maven2//url
  snapshots
enabledtrue/enabled
  /snapshots
  releases
enabledfalse/enabled
  /releases
/repository
  /repositories
  pluginRepositories
pluginRepository
  idMaven Snapshots/id
  urlhttp://snapshots.maven.codehaus.org/maven2//url
  snapshots
enabledtrue/enabled
  /snapshots
  releases
enabledfalse/enabled
  /releases
/pluginRepository
  /pluginRepositories

and was able to download the required plugin but it fails with the following 
error:

[INFO] [hibernate3:hbm2ddl]
[INFO] 
[ERROR] FATAL ERROR
[INFO] 
[INFO] null
org/apache/log4j/Category
[INFO] 
[INFO] Trace
java.lang.ExceptionInInitializerError
at 
org.codehaus.mojo.hibernate3.exporter.SchemaExportMojo.doSchemaExport(SchemaExportMojo.java:63)
at 
org.codehaus.mojo.hibernate3.exporter.Hbm2DDLExporterMojo.doExecute(Hbm2DDLExporterMojo.java:55)
at 
org.codehaus.mojo.hibernate3.HibernateExporterMojo.execute(HibernateExporterMojo.java:60)
at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.commons.logging.LogConfigurationException: 
org.apache.commons.logging.LogConfigurationException: No suitable Log 
constructor [Ljava.lang.Class;@1afae45 for 
org.apache.commons.logging.impl.Log4JLogger (Caused by 
java.lang.NoClassDefFoundError: org/apache/log4j/Category) (Caused by 
org.apache.commons.logging.LogConfigurationException: No suitable Log 
constructor [Ljava.lang.Class;@1afae45 for 
org.apache.commons.logging.impl.Log4JLogger (Caused by 
java.lang.NoClassDefFoundError: org/apache/log4j/Category))
at 
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
at 
org.hibernate.tool.hbm2ddl.SchemaExport.clinit(SchemaExport.java:47)
... 21 more
Caused by: org.apache.commons.logging.LogConfigurationException: No suitable 
Log constructor [Ljava.lang.Class;@1afae45 for 
org.apache.commons.logging.impl.Log4JLogger (Caused by 
java.lang.NoClassDefFoundError: org/apache/log4j/Category)
at 
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:413)
at 
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
... 25 more
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Category
at 

Re: Disecting a webapp?

2006-07-06 Thread ben short

Create a project for each of the core module and the children. then
the webapp can pull them in as dependancies.

On 7/6/06, Alex Shneyderman [EMAIL PROTECTED] wrote:

How does one disect a web app into many modules but deploy it as one web app?

This is what I mean:

We have a web application that is quite big. We can identify many
modules of it. There is a few core modules, and a bunch of child
modules. Practically all children are dependendent on core modules,
some child modules depend on other child modules. The modularization
is done in purely logical way. Meaning, we still have one maven
project for the webapp.

I was wondering if anyone can suggest a way to break those modules up
into seprate physical modules while keeping the ability to create a
unifying webapp? Is it even possible with Maven 1 or 2?

--
Thanks,
Alex.

-
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: Disecting a webapp?

2006-07-06 Thread ben short

Also have a look at the better builds with maven book, there is an
example in there.

On 7/6/06, ben short [EMAIL PROTECTED] wrote:

Create a project for each of the core module and the children. then
the webapp can pull them in as dependancies.

On 7/6/06, Alex Shneyderman [EMAIL PROTECTED] wrote:
 How does one disect a web app into many modules but deploy it as one web app?

 This is what I mean:

 We have a web application that is quite big. We can identify many
 modules of it. There is a few core modules, and a bunch of child
 modules. Practically all children are dependendent on core modules,
 some child modules depend on other child modules. The modularization
 is done in purely logical way. Meaning, we still have one maven
 project for the webapp.

 I was wondering if anyone can suggest a way to break those modules up
 into seprate physical modules while keeping the ability to create a
 unifying webapp? Is it even possible with Maven 1 or 2?

 --
 Thanks,
 Alex.

 -
 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] Frustration getting Maven 2 and Hibernate working together

2006-07-05 Thread ben short

Johann ,

Im trying to use the hibernate3 plugin but get the following error.

The plugin 'org.codehaus.mojo.hibernate3:hibernate3-maven' does not
exist or no valid version could be found

Below is my pom file

project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd;
 modelVersion4.0.0/modelVersion
 groupIdcom.mycompany.app/groupId
 artifactIdmy-app/artifactId
 packagingjar/packaging
 version1.0-SNAPSHOT/version
 nameMaven Quick Start Archetype/name
 urlhttp://maven.apache.org/url
- dependencies
- dependency
 groupIdjunit/groupId
 artifactIdjunit/artifactId
 version3.8.1/version
 scopetest/scope
 /dependency
- dependency
 groupIdorg.codehaus.mojo/groupId
 artifactIdhibernate3-maven-plugin/artifactId
 version1.0-SNAPSHOT/version
 scopecompile/scope
 /dependency
 /dependencies
- repositories
- repository
 idMaven Snapshots/id
 urlhttp://snapshots.maven.codehaus.org/maven2//url
- snapshots
 enabledtrue/enabled
 /snapshots
- releases
 enabledfalse/enabled
 /releases
 /repository
 /repositories
- pluginRepositories
- pluginRepository
 idMaven Snapshots/id
 urlhttp://snapshots.maven.codehaus.org/maven2//url
- snapshots
 enabledtrue/enabled
 /snapshots
- releases
 enabledfalse/enabled
 /releases
 /pluginRepository
 /pluginRepositories
- build
- plugins
- plugin
 groupIdorg.codehaus.mojo/groupId
 artifactIdhibernate3-maven-plugin/artifactId
- configuration
- hibernate
 configurationFile/src/main/resources/hibernate.cfg.xml/configurationFile
 /hibernate
- outputDirectory
 hbm2cfgxmlsrc/main/resources/hbm2cfgxml
 /outputDirectory
 /configuration
 /plugin
 /plugins
 /build
 /project

Any ideas what I am doing wronge?

Ben


On 7/5/06, Johann Reyes [EMAIL PROTECTED] wrote:

Hello Paul

Actually an update. I was able to go around the bug that was stopping me
from deploying and was able to successfully deploy a snapshot. So now a
hibernate3-maven-plugin is available to use.

Regards

Johann Reyes

-Original Message-
From: Paul Kuykendall [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 05, 2006 9:15 AM
To: Maven Users List; Jose Gonzalez Gomez
Subject: Re: [m2] Frustration getting Maven 2 and Hibernate working together

I would be more appreciative than you can ever imagine if you could send
that information.

Thanks!

/Paul

On 7/5/06, Jose Gonzalez Gomez [EMAIL PROTECTED] wrote:

 Paul,

 It seems I've been able to run the hibernate plugin from the mojo
 successfully (at least it has created a table with a pair of attributes
 from
 an annotated class). I'm going out in a few minutes, so if you're
 interested
 in how I did it drop me a line (or drop it to the list) and I'll post
 excerpts from pom, settings, ... tomorrow.

 Best regards
 Jose

 2006/7/5, Jose Gonzalez Gomez [EMAIL PROTECTED]:
 
  Paul,
 
  I'm trying to do the same, and I'm facing some troubles, maybe you can
  help me... First of all, I haven't been able to find one of the
 dependencies
  of the Hibernate Annotations packages:
  javax.persistence:ejb:jar:3.0-public-draft-20060502 . This seems to be
 an
  implementation of a public draft that has been removed from ibiblio.
 Anyway,
  I'm using the javax.persistence:persistence-api:1.0 from the
 java.netrepository. I guess this is the final implementation of the
 missing
  dependency, but I don't know how to override it or where to find it. How
  have you solved this?
 
  Best regards
  Jose
 
  2006/7/5, Paul Kuykendall [EMAIL PROTECTED]:
 
   Hi,
  
   I am at my wits end in getting maven to play nicely with
   Hibernate.  I've
   been at it for over a week now and feel no closer than when I started.
   Here's what I'm trying to do.  I've been working on a project using
   Maven
   2.0.4 as the build system.  Everything has been going fine until I try
   and
   get Maven to generate the Hibernate DDL and java from my hbm
   files.  I've
   tried using the codehaus hibernate3-maven-plugin with no success.  I
   later
   discovered that when they had their crash, it took out lots of the
   plugin
   files.  I've tried to just integrate the hibernate portions into the
 POM
   as
   a simple Ant task.  I can't even get Maven to recognize the Ant
   tasks.  I've
   RTFM (as much as there is one).  I've tried all the available code
   snippets
   I can find.  So far, nothing has worked.  here is my POM file,
 slightly
   edited to protect the guilty.
  
   With the config files below, I don't even get the echos.
  
   If anyone has a sample section from the POM file for doing Hibernate 3
   stuff, I would greatly appreciate a code-snippet.
  
   Thanks.
  
   /Paul
  
   ?xml version=1.0 encoding=UTF-8?project
 modelVersion4.0.0/modelVersion
  
 !-- POM Relationships --
 groupIdcom.mycompany.simulators/groupId
 artifactIdcaisim/artifactId
 version 1.0-SNAPSHOT/version
   !--
 parent
   groupIdcom.mycompany.simulators/groupId
   

Re: [m2] Frustration getting Maven 2 and Hibernate working together

2006-07-05 Thread ben short

Sorry the error is actually...

The plugin 'org.codehaus.mojo:hibernate3-maven-plugin' does not exist
or no valid version could be found


On 7/5/06, ben short [EMAIL PROTECTED] wrote:

Johann ,

Im trying to use the hibernate3 plugin but get the following error.

The plugin 'org.codehaus.mojo.hibernate3:hibernate3-maven' does not
exist or no valid version could be found

Below is my pom file

project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd;
  modelVersion4.0.0/modelVersion
  groupIdcom.mycompany.app/groupId
  artifactIdmy-app/artifactId
  packagingjar/packaging
  version1.0-SNAPSHOT/version
  nameMaven Quick Start Archetype/name
  urlhttp://maven.apache.org/url
- dependencies
- dependency
  groupIdjunit/groupId
  artifactIdjunit/artifactId
  version3.8.1/version
  scopetest/scope
  /dependency
- dependency
  groupIdorg.codehaus.mojo/groupId
  artifactIdhibernate3-maven-plugin/artifactId
  version1.0-SNAPSHOT/version
  scopecompile/scope
  /dependency
  /dependencies
- repositories
- repository
  idMaven Snapshots/id
  urlhttp://snapshots.maven.codehaus.org/maven2//url
- snapshots
  enabledtrue/enabled
  /snapshots
- releases
  enabledfalse/enabled
  /releases
  /repository
  /repositories
- pluginRepositories
- pluginRepository
  idMaven Snapshots/id
  urlhttp://snapshots.maven.codehaus.org/maven2//url
- snapshots
  enabledtrue/enabled
  /snapshots
- releases
  enabledfalse/enabled
  /releases
  /pluginRepository
  /pluginRepositories
- build
- plugins
- plugin
  groupIdorg.codehaus.mojo/groupId
  artifactIdhibernate3-maven-plugin/artifactId
- configuration
- hibernate
  configurationFile/src/main/resources/hibernate.cfg.xml/configurationFile
  /hibernate
- outputDirectory
  hbm2cfgxmlsrc/main/resources/hbm2cfgxml
  /outputDirectory
  /configuration
  /plugin
  /plugins
  /build
  /project

Any ideas what I am doing wronge?

Ben


On 7/5/06, Johann Reyes [EMAIL PROTECTED] wrote:
 Hello Paul

 Actually an update. I was able to go around the bug that was stopping me
 from deploying and was able to successfully deploy a snapshot. So now a
 hibernate3-maven-plugin is available to use.

 Regards

 Johann Reyes

 -Original Message-
 From: Paul Kuykendall [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, July 05, 2006 9:15 AM
 To: Maven Users List; Jose Gonzalez Gomez
 Subject: Re: [m2] Frustration getting Maven 2 and Hibernate working together

 I would be more appreciative than you can ever imagine if you could send
 that information.

 Thanks!

 /Paul

 On 7/5/06, Jose Gonzalez Gomez [EMAIL PROTECTED] wrote:
 
  Paul,
 
  It seems I've been able to run the hibernate plugin from the mojo
  successfully (at least it has created a table with a pair of attributes
  from
  an annotated class). I'm going out in a few minutes, so if you're
  interested
  in how I did it drop me a line (or drop it to the list) and I'll post
  excerpts from pom, settings, ... tomorrow.
 
  Best regards
  Jose
 
  2006/7/5, Jose Gonzalez Gomez [EMAIL PROTECTED]:
  
   Paul,
  
   I'm trying to do the same, and I'm facing some troubles, maybe you can
   help me... First of all, I haven't been able to find one of the
  dependencies
   of the Hibernate Annotations packages:
   javax.persistence:ejb:jar:3.0-public-draft-20060502 . This seems to be
  an
   implementation of a public draft that has been removed from ibiblio.
  Anyway,
   I'm using the javax.persistence:persistence-api:1.0 from the
  java.netrepository. I guess this is the final implementation of the
  missing
   dependency, but I don't know how to override it or where to find it. How
   have you solved this?
  
   Best regards
   Jose
  
   2006/7/5, Paul Kuykendall [EMAIL PROTECTED]:
  
Hi,
   
I am at my wits end in getting maven to play nicely with
Hibernate.  I've
been at it for over a week now and feel no closer than when I started.
Here's what I'm trying to do.  I've been working on a project using
Maven
2.0.4 as the build system.  Everything has been going fine until I try
and
get Maven to generate the Hibernate DDL and java from my hbm
files.  I've
tried using the codehaus hibernate3-maven-plugin with no success.  I
later
discovered that when they had their crash, it took out lots of the
plugin
files.  I've tried to just integrate the hibernate portions into the
  POM
as
a simple Ant task.  I can't even get Maven to recognize the Ant
tasks.  I've
RTFM (as much as there is one).  I've tried all the available code
snippets
I can find.  So far, nothing has worked.  here is my POM file,
  slightly
edited to protect the guilty.
   
With the config files below, I don't even get the echos.
   
If anyone has a sample section from the POM file for doing Hibernate 3
stuff, I would greatly appreciate a code-snippet.
   
Thanks

Re: [m2] Frustration getting Maven 2 and Hibernate working together

2006-07-05 Thread ben short

Dont i need the Repository and pluginRepository elements to tell maven
to get the plugin from the codehaus snapshot repo?

Ben

On 7/5/06, Johann Reyes [EMAIL PROTECTED] wrote:

Hello Ben

I would remove the following lines from the pom.xml

 - dependency
   groupIdorg.codehaus.mojo/groupId
   artifactIdhibernate3-maven-plugin/artifactId
   version1.0-SNAPSHOT/version
   scopecompile/scope
   /dependency
   /dependencies
 - repositories
 - repository
   idMaven Snapshots/id
   urlhttp://snapshots.maven.codehaus.org/maven2//url
 - snapshots
   enabledtrue/enabled
   /snapshots
 - releases
   enabledfalse/enabled
   /releases
   /repository
   /repositories
 - pluginRepositories
 - pluginRepository
   idMaven Snapshots/id
   urlhttp://snapshots.maven.codehaus.org/maven2//url
 - snapshots
   enabledtrue/enabled
   /snapshots
 - releases
   enabledfalse/enabled
   /releases
   /pluginRepository
   /pluginRepositories

And then run maven with the -U parameter, something like mvn -U
hibernate3:schema-export

Regards

Johann Reyes

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ben
short
Sent: Wednesday, July 05, 2006 12:15 PM
To: Maven Users List
Subject: Re: [m2] Frustration getting Maven 2 and Hibernate working together

Sorry the error is actually...

The plugin 'org.codehaus.mojo:hibernate3-maven-plugin' does not exist
or no valid version could be found


On 7/5/06, ben short [EMAIL PROTECTED] wrote:
 Johann ,

 Im trying to use the hibernate3 plugin but get the following error.

 The plugin 'org.codehaus.mojo.hibernate3:hibernate3-maven' does not
 exist or no valid version could be found

 Below is my pom file

 project xmlns=http://maven.apache.org/POM/4.0.0;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/maven-v4_0_0.xsd;
   modelVersion4.0.0/modelVersion
   groupIdcom.mycompany.app/groupId
   artifactIdmy-app/artifactId
   packagingjar/packaging
   version1.0-SNAPSHOT/version
   nameMaven Quick Start Archetype/name
   urlhttp://maven.apache.org/url
 - dependencies
 - dependency
   groupIdjunit/groupId
   artifactIdjunit/artifactId
   version3.8.1/version
   scopetest/scope
   /dependency
 - dependency
   groupIdorg.codehaus.mojo/groupId
   artifactIdhibernate3-maven-plugin/artifactId
   version1.0-SNAPSHOT/version
   scopecompile/scope
   /dependency
   /dependencies
 - repositories
 - repository
   idMaven Snapshots/id
   urlhttp://snapshots.maven.codehaus.org/maven2//url
 - snapshots
   enabledtrue/enabled
   /snapshots
 - releases
   enabledfalse/enabled
   /releases
   /repository
   /repositories
 - pluginRepositories
 - pluginRepository
   idMaven Snapshots/id
   urlhttp://snapshots.maven.codehaus.org/maven2//url
 - snapshots
   enabledtrue/enabled
   /snapshots
 - releases
   enabledfalse/enabled
   /releases
   /pluginRepository
   /pluginRepositories
 - build
 - plugins
 - plugin
   groupIdorg.codehaus.mojo/groupId
   artifactIdhibernate3-maven-plugin/artifactId
 - configuration
 - hibernate

configurationFile/src/main/resources/hibernate.cfg.xml/configurationFile
   /hibernate
 - outputDirectory
   hbm2cfgxmlsrc/main/resources/hbm2cfgxml
   /outputDirectory
   /configuration
   /plugin
   /plugins
   /build
   /project

 Any ideas what I am doing wronge?

 Ben


 On 7/5/06, Johann Reyes [EMAIL PROTECTED] wrote:
  Hello Paul
 
  Actually an update. I was able to go around the bug that was stopping me
  from deploying and was able to successfully deploy a snapshot. So now a
  hibernate3-maven-plugin is available to use.
 
  Regards
 
  Johann Reyes
 
  -Original Message-
  From: Paul Kuykendall [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, July 05, 2006 9:15 AM
  To: Maven Users List; Jose Gonzalez Gomez
  Subject: Re: [m2] Frustration getting Maven 2 and Hibernate working
together
 
  I would be more appreciative than you can ever imagine if you could send
  that information.
 
  Thanks!
 
  /Paul
 
  On 7/5/06, Jose Gonzalez Gomez [EMAIL PROTECTED] wrote:
  
   Paul,
  
   It seems I've been able to run the hibernate plugin from the mojo
   successfully (at least it has created a table with a pair of
attributes
   from
   an annotated class). I'm going out in a few minutes, so if you're
   interested
   in how I did it drop me a line (or drop it to the list) and I'll post
   excerpts from pom, settings, ... tomorrow.
  
   Best regards
   Jose
  
   2006/7/5, Jose Gonzalez Gomez [EMAIL PROTECTED]:
   
Paul,
   
I'm trying to do the same, and I'm facing some troubles, maybe you
can
help me... First of all, I haven't been able to find one of the
   dependencies
of the Hibernate Annotations packages:
javax.persistence:ejb:jar:3.0-public-draft-20060502 . This seems to
be
   an
implementation of a public draft that has been removed from ibiblio.
   Anyway,
I'm using the javax.persistence:persistence-api:1.0 from

Re: [m2] Frustration getting Maven 2 and Hibernate working together

2006-07-05 Thread ben short

Fixed it. I needed to add the version as follows.
build
plugins
plugin
   groupIdorg.codehaus.mojo/groupId
artifactIdhibernate3-maven-plugin/artifactId
version1.0-SNAPSHOT/version !--- added --
   configuration
   hibernate

configurationFile/src/main/resources/hibernate.cfg.xml/configurationFile
   /hibernate
   outputDirectory
   hbm2cfgxmlsrc/main/resources/hbm2cfgxml
   /outputDirectory
   /configuration
/plugin
/plugins
/build


On 7/5/06, ben short [EMAIL PROTECTED] wrote:

Dont i need the Repository and pluginRepository elements to tell maven
to get the plugin from the codehaus snapshot repo?

Ben

On 7/5/06, Johann Reyes [EMAIL PROTECTED] wrote:
 Hello Ben

 I would remove the following lines from the pom.xml

  - dependency
groupIdorg.codehaus.mojo/groupId
artifactIdhibernate3-maven-plugin/artifactId
version1.0-SNAPSHOT/version
scopecompile/scope
/dependency
/dependencies
  - repositories
  - repository
idMaven Snapshots/id
urlhttp://snapshots.maven.codehaus.org/maven2//url
  - snapshots
enabledtrue/enabled
/snapshots
  - releases
enabledfalse/enabled
/releases
/repository
/repositories
  - pluginRepositories
  - pluginRepository
idMaven Snapshots/id
urlhttp://snapshots.maven.codehaus.org/maven2//url
  - snapshots
enabledtrue/enabled
/snapshots
  - releases
enabledfalse/enabled
/releases
/pluginRepository
/pluginRepositories

 And then run maven with the -U parameter, something like mvn -U
 hibernate3:schema-export

 Regards

 Johann Reyes

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ben
 short
 Sent: Wednesday, July 05, 2006 12:15 PM
 To: Maven Users List
 Subject: Re: [m2] Frustration getting Maven 2 and Hibernate working together

 Sorry the error is actually...

 The plugin 'org.codehaus.mojo:hibernate3-maven-plugin' does not exist
 or no valid version could be found


 On 7/5/06, ben short [EMAIL PROTECTED] wrote:
  Johann ,
 
  Im trying to use the hibernate3 plugin but get the following error.
 
  The plugin 'org.codehaus.mojo.hibernate3:hibernate3-maven' does not
  exist or no valid version could be found
 
  Below is my pom file
 
  project xmlns=http://maven.apache.org/POM/4.0.0;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
  http://maven.apache.org/maven-v4_0_0.xsd;
modelVersion4.0.0/modelVersion
groupIdcom.mycompany.app/groupId
artifactIdmy-app/artifactId
packagingjar/packaging
version1.0-SNAPSHOT/version
nameMaven Quick Start Archetype/name
urlhttp://maven.apache.org/url
  - dependencies
  - dependency
groupIdjunit/groupId
artifactIdjunit/artifactId
version3.8.1/version
scopetest/scope
/dependency
  - dependency
groupIdorg.codehaus.mojo/groupId
artifactIdhibernate3-maven-plugin/artifactId
version1.0-SNAPSHOT/version
scopecompile/scope
/dependency
/dependencies
  - repositories
  - repository
idMaven Snapshots/id
urlhttp://snapshots.maven.codehaus.org/maven2//url
  - snapshots
enabledtrue/enabled
/snapshots
  - releases
enabledfalse/enabled
/releases
/repository
/repositories
  - pluginRepositories
  - pluginRepository
idMaven Snapshots/id
urlhttp://snapshots.maven.codehaus.org/maven2//url
  - snapshots
enabledtrue/enabled
/snapshots
  - releases
enabledfalse/enabled
/releases
/pluginRepository
/pluginRepositories
  - build
  - plugins
  - plugin
groupIdorg.codehaus.mojo/groupId
artifactIdhibernate3-maven-plugin/artifactId
  - configuration
  - hibernate
 
 configurationFile/src/main/resources/hibernate.cfg.xml/configurationFile
/hibernate
  - outputDirectory
hbm2cfgxmlsrc/main/resources/hbm2cfgxml
/outputDirectory
/configuration
/plugin
/plugins
/build
/project
 
  Any ideas what I am doing wronge?
 
  Ben
 
 
  On 7/5/06, Johann Reyes [EMAIL PROTECTED] wrote:
   Hello Paul
  
   Actually an update. I was able to go around the bug that was stopping me
   from deploying and was able to successfully deploy a snapshot. So now a
   hibernate3-maven-plugin is available to use.
  
   Regards
  
   Johann Reyes
  
   -Original Message-
   From: Paul Kuykendall [mailto:[EMAIL PROTECTED]
   Sent: Wednesday, July 05, 2006 9:15 AM
   To: Maven Users List; Jose Gonzalez Gomez
   Subject: Re: [m2] Frustration getting Maven 2 and Hibernate working
 together
  
   I would be more appreciative than you can ever imagine if you could send
   that information.
  
   Thanks!
  
   /Paul
  
   On 7/5/06, Jose Gonzalez Gomez [EMAIL PROTECTED] wrote:
   
Paul,
   
It seems I've been able to run the hibernate plugin

Re: How to implement an organisational super pom ?

2006-06-23 Thread ben short

Here is a god example of a organisational super pom

http://maven.sateh.com/repository/org/apache/apache/2/

I have created one for my compnay that contains the following...

distributionManagement
repository
  idinternal-released/id
  urlscp://192.168.6.194/var/mvn/internal-released/url
/repository
snapshotRepository
  idinternal-snapshot/id
  urlscp://192.168.6.194/var/mvn/internal-snapshot/url
/snapshotRepository
/distributionManagement

Although each developer has to have the login details, for the repos,
in thier settings.xml.

But so far its working fine.

Ben



On 6/22/06, Alexandre Poitras [EMAIL PROTECTED] wrote:

You confuse multi-modules project and super pom. A super pom doesn't
need to declare any modules. It is an independant project which has
its own version and distributed in your internal repository so that
any project can download whenever it needs it.

It should fix your problems.

On 6/20/06, Dhananjay Nene [EMAIL PROTECTED] wrote:
 Although the question wasn't addressed to me, I have run into some
 problems (hence the question in the first place) so just adding my 2c.

 If the super pom modeled as a top level module (ie. each project
 declares it as a parent), I get into a lot of issues when using the
 release plugin for the individuaal projects (You can just try it out to
 see what I mean).  One of the  issues  I also get into is that  the cvs
 repository needs to be structured  with the superpom module at the top
 and each of the projects as a sub directory in the cvs module
 representing the super pom which is not exactly the most convenient
 mechanism for conducting version control across multiple independent
 projects.

 Having said that since maven itself does use a super pom which does not
 suffer from these limitations hopefully there's some way to implement -
 but I couldn't figure it out so far.

 Dhananjay

 Roald Bankras wrote:
  Nathan
 
  What kind of problems did you ran into? I'm currently working on a super 
pom for my company, but haven't seen any problems yet.
 
  Roald Bankras
  Software Engineer
  JTeam b.v.
 
  -Original Message-
  From: Beyer,Nathan [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, June 20, 2006 12:29 AM
  To: Maven Users List
  Subject: RE: How to implement an organisational super pom ?
 
  From my adventures in trying to do this, I've found that it's just not a
  good idea in the current state of things. There are some things that can
  be done with dependencyManagement and pluginManagement, but that only
  goes so far.
 
  My suggestion is to standardize things via archetypes to generate POMs
  in a certain fashion. For common automated build stuff use profile
  settings for the build user.
 
  -Nathan
 
  -Original Message-
  From: Dhananjay Nene [mailto:[EMAIL PROTECTED]
  Sent: Monday, June 19, 2006 1:34 PM
  To: Maven Users List
  Subject: How to implement an organisational super pom ?
 
  I need to implement a common pom which can be inherited by a large
  number of projects. However the common pom does not reflect a top level
  module and does not have any sources or artifacts (since it is used only
  for inheritance). My attempts so far lead me to believe that maven
  requires me to assign a version to the common pom, and the release
  management workflow tries to checkout a project corresponding to top
  level pom which obviously fails in my case. How can I implement a common
  pom (like the maven super pom) so that the common pom is used only for
  inheritance, and each pom which refers to it (as a parent ??) is in fact
  a top level application (and not a module/sub module) ?
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
  -
  CONFIDENTIALITY NOTICE This message and any included attachments
  are from Cerner Corporation and are intended only for the
  addressee. The information contained in this message is
  confidential and may constitute inside or non-public information
  under international, federal, or state securities laws.
  Unauthorized forwarding, printing, copying, distribution, or use of
  such information is strictly prohibited and may be unlawful. If you
  are not the addressee, please promptly delete this message and
  notify the sender of the delivery error by e-mail or you may call
  Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1)
  (816)221-1024. ---
 
 
  -
  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 

Re: Deploy and SCP

2006-06-22 Thread ben short

Christian,

As far as im aware the deploy goal deploys a snapshot, so you need a
snapshotRepository defined in your pom..

Eg:

snapshotRepository
idscp-repository/id
urlscp://192.168.100.20/var/mvn/proximity/inhouse/url
/snapshotRepository

Ben

On 6/22/06, Christian Domsch [EMAIL PROTECTED] wrote:

Hi all,

I managed to deploy an artifact via mvn deploy using scp to ma linux
machine. But although I provided a password for the user, everytime I get
asked for a password. This is somewhat annoying. I know, that it is better
to user provate key authetication, but I think that this way at least
should work.

Am I doing sth wrong?

settings.xml:

servers
   server
 idsomeId/id
 usernameuser/username
 passwordpassword/password
   /server
/servers

pom.xml:

distributionManagement
   repository
 idsomeId/id
   nameA name/name
   urlscp://host/path/to/repo/url
   /repository
/distributionManagement

Greetings,

Christian.

-
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: Deploy and SCP

2006-06-22 Thread ben short

Christian,

Actually scrap that im talking rubbish, back to the documents for me.

Ben

On 6/22/06, ben short [EMAIL PROTECTED] wrote:

Christian,

As far as im aware the deploy goal deploys a snapshot, so you need a
snapshotRepository defined in your pom..

Eg:

snapshotRepository
idscp-repository/id
urlscp://192.168.100.20/var/mvn/proximity/inhouse/url
/snapshotRepository

Ben

On 6/22/06, Christian Domsch [EMAIL PROTECTED] wrote:
 Hi all,

 I managed to deploy an artifact via mvn deploy using scp to ma linux
 machine. But although I provided a password for the user, everytime I get
 asked for a password. This is somewhat annoying. I know, that it is better
 to user provate key authetication, but I think that this way at least
 should work.

 Am I doing sth wrong?

 settings.xml:

 servers
server
  idsomeId/id
  usernameuser/username
  passwordpassword/password
/server
 /servers

 pom.xml:

 distributionManagement
repository
  idsomeId/id
nameA name/name
urlscp://host/path/to/repo/url
/repository
 /distributionManagement

 Greetings,

 Christian.

 -
 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 best practices - company-wide local repository?

2006-06-21 Thread ben short

https://is-micro.myip.hu/projects/ismicro-commons/proximity/

http://maven-proxy.codehaus.org/

Ben

On 6/21/06, Nidhi Goyal, Noida [EMAIL PROTECTED] wrote:


Thanks for replying but please tell me the link from where to download
Maven Proxy or proximity.
I've tried to  create a project using the steps given in the link
http://maven.apache.org/guides/getting-started/index.html

when I execute the command
mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app ,
getting the follwing errors:

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] org.apache.maven.plugins: checking for updates from central
[WARNING] repository metadata for: 'org.apache.maven.plugins' could not
be retrieved from repository: central due to an error: Error
transferring file
[INFO] Repository 'central' will be blacklisted
[INFO]

[ERROR] BUILD ERROR
[INFO]

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

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

[INFO] Total time: 22 seconds
[INFO] Finished at: Wed Jun 21 17:00:28 GMT+05:30 2006
[INFO] Final Memory: 1M/2M

Thanks,
Nidhi


-Original Message-
From: Alexandre Poitras [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006 4:57 PM
To: Maven Users List
Subject: Re: Maven best practices - company-wide local repository?

Install Maven Proxy or Proximity and you get your repository. It will
get populated automatically when a developer request a dependency
found on Maven central repo.

As for Maven, installation instructions are found on the front page.

On 6/21/06, Nidhi Goyal, Noida [EMAIL PROTECTED] wrote:

 hi,

 Please help me how to create a new project using Maven including it's
 installation. I'm not able to get how to create repositories for a
 project.
 I need step by step procedure including repositories code.

 Thanks,
 Nidhi

 -Original Message-
 From: Feniks Nator [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 21, 2006 4:48 PM
 To: Maven Users List
 Subject: Re: Maven best practices - company-wide local repository?

 Oeps, seems like I've been a bit to fast.
  and I consider if we should use a common local repository -
  for instance over a network share.

 You're talking about a common local repository.
 I agree with Christian, this could slow down things a lot.
 And it makes it more difficult to experiment (though you always can
 changing
 the settings.xml you use.)

 I also strongly recommend to keep the LOCAL repository, really local,
 meaning on the developers workstation.

 DISCLAIMER:


---
 The contents of this e-mail and any attachment(s) are confidential and
intended for the named recipient(s) only.
 It shall not attach any liability on the originator or HCL or its
affiliates. Any views or opinions presented in
 this email are solely those of the author and may not necessarily
reflect the opinions of HCL or its affiliates.
 Any form of reproduction, dissemination, copying, disclosure,
modification, distribution and / or publication of
 this message without the prior written consent of the author of this
e-mail is strictly prohibited. If you have
 received this email in error please delete it and notify the sender
immediately. Before opening any mail and
 attachments please check them for viruses and defect.


---

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


DISCLAIMER:
---
The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have
received this email in error please delete it 

Re: Maven best practices - company-wide local repository?

2006-06-21 Thread ben short

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

On 6/21/06, Aleksei Valikov [EMAIL PROTECTED] wrote:

Hi.

 BTW be careful about the words you use : internal repository is not
 the same as a local repository. A local repository should be only
 local to a developer desktop and not on a network drives or you will
 have speed issues.

Ok, understand.

In case of using an internal repository - what is the analog to mvn install?

For instance I want to share a third party artifact and do something like
mvn install:install-file-Dfile=./jta-1.0.1B.jar 
-DgroupId=javax.transaction
-DartifactId=jta -Dversion=1.0.1B   -Dpackaging=jar

This installs an artifact into the local repo. How do I install an artifact into
an internal repo?

Bye.
/lexi

-
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 best practices - company-wide local repository?

2006-06-21 Thread ben short

Nidhi,

Yes download the px-webapp-1.0.0-RC1.war file.
To install proximity you will just need to deploy it to a webapp
container such as tomcat.

I think proximity will work with maven 1 and 2 repos.

If you are using windows this is what i did.
Create a environment variable of JAVA_HOME and point it to a JDK.
Add the maven-2.0.4 directory you path.

Now open a command prompt window and type mvn. It should fail saying
something like try 'mvn intall'

If you are new to maven then I would follow this link
http://maven.apache.org/guides/getting-started/index.html before
setting up the proxy.

You need to add the following to your settings.xml to make maven use proximity.

mirrors
mirror
mirrorOfcentral/mirrorOf
nameInternal Repos/name
 urlhttp://URL_TO_YOUR_DEPLOYED_PROXIMITY/repository/url
idlocal-proxy/id
/mirror
/mirrors



Ben



On 6/21/06, Nidhi Goyal, Noida [EMAIL PROTECTED] wrote:


thx ben
Do u meant to say tht I need to download file px-webapp-1.0.0-RC1.war

On the link u mentioned
https://is-micro.myip.hu/projects/ismicro-commons/proximity/

I'm not getting what they mean to say with Maven 1 and Maven 2.

What I did was I just downloaded the file maven-2.0.4.bin.zip file and
extract that at a location.
After that I am downloading the Maven proximity.
Please tell me how to install it and what other steps are required to
create a project mentioned inside the link 
http://maven.apache.org/guides/getting-started/index.html


Thanks,
Nidhi


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
ben short
Sent: Wednesday, June 21, 2006 5:10 PM
To: Maven Users List
Subject: Re: Maven best practices - company-wide local repository?

https://is-micro.myip.hu/projects/ismicro-commons/proximity/

http://maven-proxy.codehaus.org/

Ben

On 6/21/06, Nidhi Goyal, Noida [EMAIL PROTECTED] wrote:

 Thanks for replying but please tell me the link from where to download
 Maven Proxy or proximity.
 I've tried to  create a project using the steps given in the link
 http://maven.apache.org/guides/getting-started/index.html

 when I execute the command
 mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app ,
 getting the follwing errors:

 [INFO] Scanning for projects...
 [INFO] Searching repository for plugin with prefix: 'archetype'.
 [INFO] org.apache.maven.plugins: checking for updates from central
 [WARNING] repository metadata for: 'org.apache.maven.plugins' could
not
 be retrieved from repository: central due to an error: Error
 transferring file
 [INFO] Repository 'central' will be blacklisted
 [INFO]


 [ERROR] BUILD ERROR
 [INFO]


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


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


 [INFO] Total time: 22 seconds
 [INFO] Finished at: Wed Jun 21 17:00:28 GMT+05:30 2006
 [INFO] Final Memory: 1M/2M

 Thanks,
 Nidhi


 -Original Message-
 From: Alexandre Poitras [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 21, 2006 4:57 PM
 To: Maven Users List
 Subject: Re: Maven best practices - company-wide local repository?

 Install Maven Proxy or Proximity and you get your repository. It will
 get populated automatically when a developer request a dependency
 found on Maven central repo.

 As for Maven, installation instructions are found on the front page.

 On 6/21/06, Nidhi Goyal, Noida [EMAIL PROTECTED] wrote:
 
  hi,
 
  Please help me how to create a new project using Maven including
it's
  installation. I'm not able to get how to create repositories for a
  project.
  I need step by step procedure including repositories code.
 
  Thanks,
  Nidhi
 
  -Original Message-
  From: Feniks Nator [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, June 21, 2006 4:48 PM
  To: Maven Users List
  Subject: Re: Maven best practices - company-wide local repository?
 
  Oeps, seems like I've been a bit to fast.
   and I consider if we should use a common local repository -
   for instance over a network share.
 
  You're talking about a common local repository.
  I agree with Christian, this could slow down things a lot.
  And it makes it more difficult to experiment (though you always can
  changing
  the settings.xml you use.)
 
  I also strongly recommend to keep the LOCAL repository, really
local,
  meaning on the developers workstation.
 
  DISCLAIMER:
 


 ---
  The contents of this e-mail and any attachment(s) are confidential
and
 intended for the named recipient(s) only.
  It shall

Re: Maven best practices - company-wide local repository?

2006-06-21 Thread ben short

Nidhi,

It seems that you are getting confused between maven and proximity.

What are you trying todo?

Set up proximity or get started with maven?

Ben

On 6/21/06, Nidhi Goyal, Noida [EMAIL PROTECTED] wrote:


Hi JanHavi,

U mean to say I just need to extract the war file and run the commands 
http://maven.apache.org/guides/getting-started/index.html; for creating
project.

Thanks,
Nidhi


-Original Message-
From: Janhavi Phirke [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006 5:44 PM
To: Maven Users List
Subject: Re: Maven best practices - company-wide local repository?

Hi Nidhi,

you just have to run that command to create the project. Also try to run
the
command mvn install. There is no need to download the plugin
separately.
When you write that in your pom.xml (in this case, in your command), it
gets
downloaded in your local repository from the central repository.


On 6/21/06, Nidhi Goyal, Noida [EMAIL PROTECTED] wrote:


 thx ben
 Do u meant to say tht I need to download file
px-webapp-1.0.0-RC1.war

 On the link u mentioned
 https://is-micro.myip.hu/projects/ismicro-commons/proximity/

 I'm not getting what they mean to say with Maven 1 and Maven 2.

 What I did was I just downloaded the file maven-2.0.4.bin.zip file and
 extract that at a location.
 After that I am downloading the Maven proximity.
 Please tell me how to install it and what other steps are required to
 create a project mentioned inside the link 
 http://maven.apache.org/guides/getting-started/index.html
 

 Thanks,
 Nidhi


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of
 ben short
 Sent: Wednesday, June 21, 2006 5:10 PM
 To: Maven Users List
 Subject: Re: Maven best practices - company-wide local repository?

 https://is-micro.myip.hu/projects/ismicro-commons/proximity/

 http://maven-proxy.codehaus.org/

 Ben

 On 6/21/06, Nidhi Goyal, Noida [EMAIL PROTECTED] wrote:
 
  Thanks for replying but please tell me the link from where to
download
  Maven Proxy or proximity.
  I've tried to  create a project using the steps given in the link
  http://maven.apache.org/guides/getting-started/index.html
 
  when I execute the command
  mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
,
  getting the follwing errors:
 
  [INFO] Scanning for projects...
  [INFO] Searching repository for plugin with prefix: 'archetype'.
  [INFO] org.apache.maven.plugins: checking for updates from central
  [WARNING] repository metadata for: 'org.apache.maven.plugins' could
 not
  be retrieved from repository: central due to an error: Error
  transferring file
  [INFO] Repository 'central' will be blacklisted
  [INFO]
 


  [ERROR] BUILD ERROR
  [INFO]
 


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


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


  [INFO] Total time: 22 seconds
  [INFO] Finished at: Wed Jun 21 17:00:28 GMT+05:30 2006
  [INFO] Final Memory: 1M/2M
 
  Thanks,
  Nidhi
 
 
  -Original Message-
  From: Alexandre Poitras [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, June 21, 2006 4:57 PM
  To: Maven Users List
  Subject: Re: Maven best practices - company-wide local repository?
 
  Install Maven Proxy or Proximity and you get your repository. It
will
  get populated automatically when a developer request a dependency
  found on Maven central repo.
 
  As for Maven, installation instructions are found on the front page.
 
  On 6/21/06, Nidhi Goyal, Noida [EMAIL PROTECTED] wrote:
  
   hi,
  
   Please help me how to create a new project using Maven including
 it's
   installation. I'm not able to get how to create repositories for a
   project.
   I need step by step procedure including repositories code.
  
   Thanks,
   Nidhi
  
   -Original Message-
   From: Feniks Nator [mailto:[EMAIL PROTECTED]
   Sent: Wednesday, June 21, 2006 4:48 PM
   To: Maven Users List
   Subject: Re: Maven best practices - company-wide local repository?
  
   Oeps, seems like I've been a bit to fast.
and I consider if we should use a common local repository -
for instance over a network share.
  
   You're talking about a common local repository.
   I agree with Christian, this could slow down things a lot.
   And it makes it more difficult to experiment (though you always
can
   changing
   the settings.xml you use.)
  
   I also strongly recommend to keep the LOCAL repository, really
 local,
   meaning on the developers workstation.
  
   DISCLAIMER

Re: Maven best practices - company-wide local repository?

2006-06-21 Thread ben short

Do you have a proxy server to access the internet?

Ben

On 6/21/06, Nidhi Goyal, Noida [EMAIL PROTECTED] wrote:


hey thanks ...I'm following the steps written in that document.The step
u r telling about comes later.I'm able to execute the very first command

mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app

On excuting this I'm getting the following error:

C:\Documents and Settings\gnidhimvn archetype:create
-DgroupId=com.mycompany.app -DartifactId=my-app
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] org.apache.maven.plugins: checking for updates from central
[WARNING] repository metadata for: 'org.apache.maven.plugins' could not
be retrieved from repository: central due to an error: Error
transferring file
[INFO] Repository 'central' will be blacklisted
[INFO]

[ERROR] BUILD ERROR
[INFO]

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

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

[INFO] Total time: 21 seconds
[INFO] Finished at: Wed Jun 21 17:48:38 GMT+05:30 2006
[INFO] Final Memory: 1M/2M


Please tell me where I'm wrong

Thanks,
Nidhi


-Original Message-
From: Janhavi Phirke [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006 5:54 PM
To: Maven Users List
Subject: Re: Maven best practices - company-wide local repository?

Just few days before only I did my setup. But I didn't download any .war
file. Go step by step as per given in the manual of maven on the site.
But
while doing so, you have to run the mvn install to download the jars
from
central repository to your local repository. I did it as per the steps
written in getting-started and I didn't face such problems...so try
once
again with all the proper steps...



On 6/21/06, Nidhi Goyal, Noida [EMAIL PROTECTED] wrote:


 Hi JanHavi,

 U mean to say I just need to extract the war file and run the commands

 http://maven.apache.org/guides/getting-started/index.html; for
creating
 project.

 Thanks,
 Nidhi


 -Original Message-
 From: Janhavi Phirke [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 21, 2006 5:44 PM
 To: Maven Users List
 Subject: Re: Maven best practices - company-wide local repository?

 Hi Nidhi,

 you just have to run that command to create the project. Also try to
run
 the
 command mvn install. There is no need to download the plugin
 separately.
 When you write that in your pom.xml (in this case, in your command),
it
 gets
 downloaded in your local repository from the central repository.


 On 6/21/06, Nidhi Goyal, Noida [EMAIL PROTECTED] wrote:
 
 
  thx ben
  Do u meant to say tht I need to download file
 px-webapp-1.0.0-RC1.war
 
  On the link u mentioned
  https://is-micro.myip.hu/projects/ismicro-commons/proximity/
 
  I'm not getting what they mean to say with Maven 1 and Maven 2.
 
  What I did was I just downloaded the file maven-2.0.4.bin.zip file
and
  extract that at a location.
  After that I am downloading the Maven proximity.
  Please tell me how to install it and what other steps are required
to
  create a project mentioned inside the link 
  http://maven.apache.org/guides/getting-started/index.html
  
 
  Thanks,
  Nidhi
 
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
 Of
  ben short
  Sent: Wednesday, June 21, 2006 5:10 PM
  To: Maven Users List
  Subject: Re: Maven best practices - company-wide local repository?
 
  https://is-micro.myip.hu/projects/ismicro-commons/proximity/
 
  http://maven-proxy.codehaus.org/
 
  Ben
 
  On 6/21/06, Nidhi Goyal, Noida [EMAIL PROTECTED] wrote:
  
   Thanks for replying but please tell me the link from where to
 download
   Maven Proxy or proximity.
   I've tried to  create a project using the steps given in the link
   http://maven.apache.org/guides/getting-started/index.html
  
   when I execute the command
   mvn archetype:create -DgroupId=com.mycompany.app
-DartifactId=my-app
 ,
   getting the follwing errors:
  
   [INFO] Scanning for projects...
   [INFO] Searching repository for plugin with prefix: 'archetype'.
   [INFO] org.apache.maven.plugins: checking for updates from central
   [WARNING] repository metadata for: 'org.apache.maven.plugins'
could
  not
   be retrieved from repository: central due to an error: Error
   transferring file
   [INFO] Repository 'central' will be blacklisted
   [INFO]
  
 


   [ERROR] BUILD ERROR
   [INFO]
  
 


   [INFO] The plugin
'org.apache.maven.plugins:maven

Re: Maven best practices - company-wide local repository?

2006-06-21 Thread ben short

Nidhi,

You will need to configure that in your settings.xml

http://maven.apache.org/guides/mini/guide-proxies.html

Ben

On 6/21/06, Nidhi Goyal, Noida [EMAIL PROTECTED] wrote:


yes I do have proxy server to access internet

Thanks,
Nidhi


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
ben short
Sent: Wednesday, June 21, 2006 6:06 PM
To: Maven Users List
Subject: Re: Maven best practices - company-wide local repository?

Do you have a proxy server to access the internet?

Ben

On 6/21/06, Nidhi Goyal, Noida [EMAIL PROTECTED] wrote:

 hey thanks ...I'm following the steps written in that document.The
step
 u r telling about comes later.I'm able to execute the very first
command

 mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app

 On excuting this I'm getting the following error:

 C:\Documents and Settings\gnidhimvn archetype:create
 -DgroupId=com.mycompany.app -DartifactId=my-app
 [INFO] Scanning for projects...
 [INFO] Searching repository for plugin with prefix: 'archetype'.
 [INFO] org.apache.maven.plugins: checking for updates from central
 [WARNING] repository metadata for: 'org.apache.maven.plugins' could
not
 be retrieved from repository: central due to an error: Error
 transferring file
 [INFO] Repository 'central' will be blacklisted
 [INFO]


 [ERROR] BUILD ERROR
 [INFO]


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


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


 [INFO] Total time: 21 seconds
 [INFO] Finished at: Wed Jun 21 17:48:38 GMT+05:30 2006
 [INFO] Final Memory: 1M/2M


 Please tell me where I'm wrong

 Thanks,
 Nidhi


 -Original Message-
 From: Janhavi Phirke [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 21, 2006 5:54 PM
 To: Maven Users List
 Subject: Re: Maven best practices - company-wide local repository?

 Just few days before only I did my setup. But I didn't download any
.war
 file. Go step by step as per given in the manual of maven on the site.
 But
 while doing so, you have to run the mvn install to download the jars
 from
 central repository to your local repository. I did it as per the steps
 written in getting-started and I didn't face such problems...so try
 once
 again with all the proper steps...



 On 6/21/06, Nidhi Goyal, Noida [EMAIL PROTECTED] wrote:
 
 
  Hi JanHavi,
 
  U mean to say I just need to extract the war file and run the
commands
 
  http://maven.apache.org/guides/getting-started/index.html; for
 creating
  project.
 
  Thanks,
  Nidhi
 
 
  -Original Message-
  From: Janhavi Phirke [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, June 21, 2006 5:44 PM
  To: Maven Users List
  Subject: Re: Maven best practices - company-wide local repository?
 
  Hi Nidhi,
 
  you just have to run that command to create the project. Also try to
 run
  the
  command mvn install. There is no need to download the plugin
  separately.
  When you write that in your pom.xml (in this case, in your command),
 it
  gets
  downloaded in your local repository from the central repository.
 
 
  On 6/21/06, Nidhi Goyal, Noida [EMAIL PROTECTED] wrote:
  
  
   thx ben
   Do u meant to say tht I need to download file
  px-webapp-1.0.0-RC1.war
  
   On the link u mentioned
   https://is-micro.myip.hu/projects/ismicro-commons/proximity/
  
   I'm not getting what they mean to say with Maven 1 and Maven 2.
  
   What I did was I just downloaded the file maven-2.0.4.bin.zip file
 and
   extract that at a location.
   After that I am downloading the Maven proximity.
   Please tell me how to install it and what other steps are required
 to
   create a project mentioned inside the link 
   http://maven.apache.org/guides/getting-started/index.html
   
  
   Thanks,
   Nidhi
  
  
   -Original Message-
   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf
  Of
   ben short
   Sent: Wednesday, June 21, 2006 5:10 PM
   To: Maven Users List
   Subject: Re: Maven best practices - company-wide local repository?
  
   https://is-micro.myip.hu/projects/ismicro-commons/proximity/
  
   http://maven-proxy.codehaus.org/
  
   Ben
  
   On 6/21/06, Nidhi Goyal, Noida [EMAIL PROTECTED] wrote:
   
Thanks for replying but please tell me the link from where to
  download
Maven Proxy or proximity.
I've tried to  create a project using the steps given in the
link
http://maven.apache.org/guides/getting-started/index.html
   
when I execute the command
mvn archetype:create -DgroupId=com.mycompany.app
 -DartifactId=my-app
  ,
getting the follwing errors:
   
[INFO] Scanning for projects

Re: Maven best practices - company-wide local repository?

2006-06-21 Thread ben short

You have to run mvn compile in the directory that just got created

[INFO] Cannot execute mojo: resources. It requires a project with an
existing pom.xml, but the build is not using one.

Ben

On 6/21/06, Nidhi Goyal, Noida [EMAIL PROTECTED] wrote:


hey ben,

thanks..I was able to execute the first step but when I use second step
I'm getting the following errors:


C:\Documents and Settings\gnidhimvn compile
[INFO] Scanning for projects...
[INFO]


[INFO] Building Maven Default Project
[INFO]task-segment: [compile]
[INFO]


[INFO] artifact org.apache.maven.plugins:maven-resources-plugin:
checking for updates from central
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-p
lugin/2.2/maven-resources-plugin-2.2.pom
1K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/1/m
aven-plugins-1.pom
3K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-p
lugin/2.2/maven-resources-plugin-2.2.jar
13K downloaded
[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking
for updates from central
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-pl
ugin/2.0.1/maven-compiler-plugin-2.0.1.pom
1K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-pl
ugin/2.0.1/maven-compiler-plugin-2.0.1.jar
14K downloaded
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Cannot execute mojo: resources. It requires a project with an
existing pom.xml, but the build is not using one.
[INFO]

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

[INFO] Total time: 10 seconds
[INFO] Finished at: Wed Jun 21 18:20:37 GMT+05:30 2006
[INFO] Final Memory: 1M/3M
[INFO]


I'm not able to compile.please help me.
Thanks,
Nidhi


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
ben short
Sent: Wednesday, June 21, 2006 6:11 PM
To: Maven Users List
Subject: Re: Maven best practices - company-wide local repository?

Nidhi,

You will need to configure that in your settings.xml

http://maven.apache.org/guides/mini/guide-proxies.html

Ben

On 6/21/06, Nidhi Goyal, Noida [EMAIL PROTECTED] wrote:

 yes I do have proxy server to access internet

 Thanks,
 Nidhi


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of
 ben short
 Sent: Wednesday, June 21, 2006 6:06 PM
 To: Maven Users List
 Subject: Re: Maven best practices - company-wide local repository?

 Do you have a proxy server to access the internet?

 Ben

 On 6/21/06, Nidhi Goyal, Noida [EMAIL PROTECTED] wrote:
 
  hey thanks ...I'm following the steps written in that document.The
 step
  u r telling about comes later.I'm able to execute the very first
 command
 
  mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
 
  On excuting this I'm getting the following error:
 
  C:\Documents and Settings\gnidhimvn archetype:create
  -DgroupId=com.mycompany.app -DartifactId=my-app
  [INFO] Scanning for projects...
  [INFO] Searching repository for plugin with prefix: 'archetype'.
  [INFO] org.apache.maven.plugins: checking for updates from central
  [WARNING] repository metadata for: 'org.apache.maven.plugins' could
 not
  be retrieved from repository: central due to an error: Error
  transferring file
  [INFO] Repository 'central' will be blacklisted
  [INFO]
 


  [ERROR] BUILD ERROR
  [INFO]
 


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


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


  [INFO] Total time: 21 seconds
  [INFO] Finished at: Wed Jun 21 17:48:38 GMT+05:30 2006
  [INFO] Final Memory: 1M/2M
 
 
  Please tell me where I'm wrong
 
  Thanks,
  Nidhi
 
 
  -Original Message-
  From: Janhavi Phirke [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, June 21, 2006 5:54 PM
  To: Maven Users List
  Subject: Re: Maven best practices - company-wide local repository?
 
  Just few days before only I did my setup. But I didn't download any
 .war
  file. Go step by step as per given in the manual

Re: Maven best practices - company-wide local repository?

2006-06-21 Thread ben short

Nidhi,

Is that not obvious?. Once you have created a project, you run all the
mvn goals in the directory that has the pom.xml file.

Ben

On 6/21/06, Nidhi Goyal, Noida [EMAIL PROTECTED] wrote:


thanks a lot ben...can u please tell me from where to run
mvn test command

Thanks,
Nidhi


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
ben short
Sent: Wednesday, June 21, 2006 6:26 PM
To: Maven Users List
Subject: Re: Maven best practices - company-wide local repository?

You have to run mvn compile in the directory that just got created

[INFO] Cannot execute mojo: resources. It requires a project with an
existing pom.xml, but the build is not using one.

Ben

On 6/21/06, Nidhi Goyal, Noida [EMAIL PROTECTED] wrote:

 hey ben,

 thanks..I was able to execute the first step but when I use second
step
 I'm getting the following errors:


 C:\Documents and Settings\gnidhimvn compile
 [INFO] Scanning for projects...
 [INFO]


 
 [INFO] Building Maven Default Project
 [INFO]task-segment: [compile]
 [INFO]


 
 [INFO] artifact org.apache.maven.plugins:maven-resources-plugin:
 checking for updates from central
 Downloading:

http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-p
 lugin/2.2/maven-resources-plugin-2.2.pom
 1K downloaded
 Downloading:

http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/1/m
 aven-plugins-1.pom
 3K downloaded
 Downloading:

http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-p
 lugin/2.2/maven-resources-plugin-2.2.jar
 13K downloaded
 [INFO] artifact org.apache.maven.plugins:maven-compiler-plugin:
checking
 for updates from central
 Downloading:

http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-pl
 ugin/2.0.1/maven-compiler-plugin-2.0.1.pom
 1K downloaded
 Downloading:

http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-pl
 ugin/2.0.1/maven-compiler-plugin-2.0.1.jar
 14K downloaded
 [INFO]


 [ERROR] BUILD ERROR
 [INFO]


 [INFO] Cannot execute mojo: resources. It requires a project with an
 existing pom.xml, but the build is not using one.
 [INFO]


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


 [INFO] Total time: 10 seconds
 [INFO] Finished at: Wed Jun 21 18:20:37 GMT+05:30 2006
 [INFO] Final Memory: 1M/3M
 [INFO]



 I'm not able to compile.please help me.
 Thanks,
 Nidhi


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of
 ben short
 Sent: Wednesday, June 21, 2006 6:11 PM
 To: Maven Users List
 Subject: Re: Maven best practices - company-wide local repository?

 Nidhi,

 You will need to configure that in your settings.xml

 http://maven.apache.org/guides/mini/guide-proxies.html

 Ben

 On 6/21/06, Nidhi Goyal, Noida [EMAIL PROTECTED] wrote:
 
  yes I do have proxy server to access internet
 
  Thanks,
  Nidhi
 
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
 Of
  ben short
  Sent: Wednesday, June 21, 2006 6:06 PM
  To: Maven Users List
  Subject: Re: Maven best practices - company-wide local repository?
 
  Do you have a proxy server to access the internet?
 
  Ben
 
  On 6/21/06, Nidhi Goyal, Noida [EMAIL PROTECTED] wrote:
  
   hey thanks ...I'm following the steps written in that document.The
  step
   u r telling about comes later.I'm able to execute the very first
  command
  
   mvn archetype:create -DgroupId=com.mycompany.app
-DartifactId=my-app
  
   On excuting this I'm getting the following error:
  
   C:\Documents and Settings\gnidhimvn archetype:create
   -DgroupId=com.mycompany.app -DartifactId=my-app
   [INFO] Scanning for projects...
   [INFO] Searching repository for plugin with prefix: 'archetype'.
   [INFO] org.apache.maven.plugins: checking for updates from central
   [WARNING] repository metadata for: 'org.apache.maven.plugins'
could
  not
   be retrieved from repository: central due to an error: Error
   transferring file
   [INFO] Repository 'central' will be blacklisted
   [INFO]
  
 


   [ERROR] BUILD ERROR
   [INFO]
  
 


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


   [INFO] For more

Re: external jar dependency

2006-06-20 Thread ben short

Should be as follows

mvn install:install-file -DgroupId=JTKSortSuite
-DartifactId=JTKSortSuite -Dversion=4.0
-Dfile=C:\branches\testApp\lib\JTKSortSuite_400.jar -Dpackaging=jar
-DgeneratePom=true

Ben

On 6/20/06, Vinay Kumar [EMAIL PROTECTED] wrote:

Hi Jo,
when I am trying to install our jar by command :

mvn install:install-JTKSortSuite_400.jar -DgroupId=JTKSortSuite 
-DartifactId=JTKSortSuite -Dversion=4.0 -Dfile=C:\branches\testApp\lib 
-Dpackaging=jar -DgeneratePom=true
==

It gives following error:

[INFO] Searching repository for plugin with prefix: 'install'.
[INFO] ---
[ERROR] BUILD FAILURE
[INFO] ---
[INFO] Required goal not found: install:install-JTKSortSuite_400.jar

my jar JTKSortSuite_400.jar is located at C:\branches\testApp\lib .  Can u 
suggest where I am wrong.

Thanks
Vinay


- Original Message 
From: Jo Vandermeeren [EMAIL PROTECTED]
To: Maven Users List users@maven.apache.org
Sent: Tuesday, 20 June, 2006 2:43:31 PM
Subject: Re: external jar dependency


Hi Vinay,

To install your own non-maven project or third party proprietary libraries,
you might want to consider the install plugin.
It will install the jar in your local maven repository and create a POM for
it, so your projects can depend on them and won't try to download them from
a public repository..

For each jar you want to depend on in maven projects, execute this snippet:

mvn install:install-file
  -DgroupId=your_group_name
  -DartifactId=*your_artifact_name*
  -Dversion=SNAPSHOT
  -Dfile=*path_to_your_far*
  -Dpackaging=jar
  -DgeneratePom=true


Regards,
Jo



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



Re: Probs with maven-proxy

2006-06-19 Thread ben short

Have a look at this link

https://is-micro.myip.hu/projects/ismicro-commons/proximity/

Its an alternative for maven-proxy

Ben

On 6/19/06, EJ Ciramella [EMAIL PROTECTED] wrote:

Additionally - running maven with out a repository configured, this
works fine.  It's something to do with the maven proxy (if there was a
mp mailing list, I'd use that instead of this).

-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Monday, June 19, 2006 4:29 AM
To: Maven Users List
Subject: RE: Probs with maven-proxy

Connection refused sounds like problems with repo1.maven.org.

Try configuring one of the mirrors like http://repo.mergere.com/maven2/
as an additional repo for maven-proxy.

However that won't stop maven-proxy from giving you a 'connection
refused' error on repo1.maven.org.

-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: 16 June 2006 20:29
To: Maven Users List
Subject: Probs with maven-proxy

I know, I know - there may be a mailing list for maven-proxy (but I've
not found anything but broken links).

I can't seem to get this to work:

2006-06-16 15:22:42,175 [DEBUG] components.impl.DefaultSnapshotCache  -
Unable to find /org/apache/apache/1/apache-1.pom i
n snapshot cache
2006-06-16 15:22:42,175 [INFO ] proxy.config.HttpRepoConfiguration  -
Repo[repo1-maven-org]: Checking last modified time f
or http://repo1.maven.org/maven2/org/apache/apache/1/apache-1.pom
2006-06-16 15:22:43,363 [ERROR] proxy.config.RepoConfiguration  -
Repo[repo1-maven-org]: Failure getting meta information
for /org/apache/apache/1/apache-1.pom
java.lang.RuntimeException: java.net.ConnectException: Connection
refused: connect

It seems like it's starting off well, but then I get connection refused.

Where should I be looking?


-
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: Probs with maven-proxy

2006-06-19 Thread ben short

Hi,

I use this repo http://maven.sateh.com/repository/ and cant see your
dependancies as you have specified them

For instance there is no gnu directory at the top level, but there is
a gnu-regexp, maybe thats what you want?

Also your beanutils dependancy is wrong. GroupId commons-beanutils
ArtifactId commons-beanutils.

Hope this helps

Ben


On 6/19/06, EJ Ciramella [EMAIL PROTECTED] wrote:

Yep - I'm giving that a spin, but it seems unable to download some
files:
[INFO] Using default encoding to copy filtered resources.
Downloading:
http://build.corp.upromise.com:8080/px-webapp-1.0.0-RC1/repository/gnu/r
egexp/x/regexp-x.pom
[WARNING] Unable to get resource from repository central
(http://build.corp.upromise.com:8080/px-webapp-1.0.0-RC1/repository)
Downloading:
http://build.corp.upromise.com:8080/px-webapp-1.0.0-RC1/repository/commo
ns/beanutils/1.7.0/beanutils-1.7.0.pom
[WARNING] Unable to get resource from repository central
(http://build.corp.upromise.com:8080/px-webapp-1.0.0-RC1/repository)
Downloading:
http://build.corp.upromise.com:8080/px-webapp-1.0.0-RC1/repository/hiber
nate/commons-logging/1.0.4/commons-logging-1.0.4.pom
[WARNING] Unable to get resource from repository central
(http://build.corp.upromise.com:8080/px-webapp-1.0.0-RC1/repository)
Downloading:
http://build.corp.upromise.com:8080/px-webapp-1.0.0-RC1/repository/hiber
nate/commons-logging/1.0.4/commons-logging-1.0.4.jar
[WARNING] Unable to get resource from repository central
(http://build.corp.upromise.com:8080/px-webapp-1.0.0-RC1/repository)
Downloading:
http://build.corp.upromise.com:8080/px-webapp-1.0.0-RC1/repository/commo
ns/beanutils/1.7.0/beanutils-1.7.0.jar
[WARNING] Unable to get resource from repository central
(http://build.corp.upromise.com:8080/px-webapp-1.0.0-RC1/repository)
Downloading:
http://build.corp.upromise.com:8080/px-webapp-1.0.0-RC1/repository/gnu/r
egexp/x/regexp-x.jar
[WARNING] Unable to get resource from repository central
(http://build.corp.upromise.com:8080/px-webapp-1.0.0-RC1/repository)
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Failed to resolve artifact.

Starting with nothing, it was able to get me this far when I attempted
to run mvn compile


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
ben short
Sent: Monday, June 19, 2006 2:25 PM
To: Maven Users List
Subject: Re: Probs with maven-proxy

Have a look at this link

https://is-micro.myip.hu/projects/ismicro-commons/proximity/

Its an alternative for maven-proxy

Ben

On 6/19/06, EJ Ciramella [EMAIL PROTECTED] wrote:
 Additionally - running maven with out a repository configured, this
 works fine.  It's something to do with the maven proxy (if there was a
 mp mailing list, I'd use that instead of this).

 -Original Message-
 From: Adam Hardy [mailto:[EMAIL PROTECTED]
 Sent: Monday, June 19, 2006 4:29 AM
 To: Maven Users List
 Subject: RE: Probs with maven-proxy

 Connection refused sounds like problems with repo1.maven.org.

 Try configuring one of the mirrors like
http://repo.mergere.com/maven2/
 as an additional repo for maven-proxy.

 However that won't stop maven-proxy from giving you a 'connection
 refused' error on repo1.maven.org.

 -Original Message-
 From: EJ Ciramella [mailto:[EMAIL PROTECTED]
 Sent: 16 June 2006 20:29
 To: Maven Users List
 Subject: Probs with maven-proxy

 I know, I know - there may be a mailing list for maven-proxy (but I've
 not found anything but broken links).

 I can't seem to get this to work:

 2006-06-16 15:22:42,175 [DEBUG] components.impl.DefaultSnapshotCache
-
 Unable to find /org/apache/apache/1/apache-1.pom i
 n snapshot cache
 2006-06-16 15:22:42,175 [INFO ] proxy.config.HttpRepoConfiguration  -
 Repo[repo1-maven-org]: Checking last modified time f
 or http://repo1.maven.org/maven2/org/apache/apache/1/apache-1.pom
 2006-06-16 15:22:43,363 [ERROR] proxy.config.RepoConfiguration  -
 Repo[repo1-maven-org]: Failure getting meta information
 for /org/apache/apache/1/apache-1.pom
 java.lang.RuntimeException: java.net.ConnectException: Connection
 refused: connect

 It seems like it's starting off well, but then I get connection
refused.

 Where should I be looking?


 -
 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

  1   2   >