RE: jar:install-snapshot - deprecated jar:snapshot
Brett Porter wrote on Wednesday, August 24, 2005 4:57 PM: As of the 1.5 release of the Maven Artifact plugin, anything with a SNAPSHOT name will automatically get timestamped. ... and with continuous integration builds we will have a new unique artifact with every build automatically deployed? It's triggered with every commit. - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
maven 1 or 2 with J2EE/Hibernate/Jboss project ?
Hello, Q1 : I initiate a Hibernate/jboss project. So, newbie with maven, i understand utility of maven. Could you explain me how to work with maven and hibernate, best practise to develop on eclipse ? Could you give me a link on a good example whicj i can download to start? Q2 : do i prefer maven 1 or 2 to begin ? Thx Alexandre
[m1.1b1] preemptive authentication failed
Hi, Using 1.1beta1, I get the following error/warning. What does this mean: Default credentials for www.ibiblio.org http://www.ibiblio.org not available Preemptive authentication failed I can download things from ibiblio just fine, so it seems more like a warning. regards, Wim
[1.1b1] artifact plugin snapshot versions
Hi, I just upgraded to 1.1b1 and version 1.6 of the artifact plugin. I see now that when I do jar:deploy, I get everything double in my repository. I get for example: myjar-1.0-SNAPSHOT.jar myjar-1.0-20050825.075855.jar I only want the first one. The version defined in my project.xml is 1.0-SNAPSHOT. How can I avoid getting the second jar (and cluttering up my repository with jars I will not use)? regards, Wim
[ m2 ] stack trace printed in log when dependency not found?
Hi guys, I'm using of the latest m2 builds (20050824.111500). I've just discovered that when m2 tries to download a dependency and can't find it on any remote repository, it prints a stack trace (see below) in the log. In my case, the dependency exists in the local repository, so the buld is successful. So my question is: should that stack trace be printed in the log? Cheers, Fabrice. - PART OF THE LOG - [INFO] commons-dbcp: updating metadata due to status of 'none' Downloading: http://repo1.maven.org/maven2/commons-dbcp/commons-dbcp/1.1-dev/com mons-dbcp-1.1-dev.pom [WARNING] Unable to get resource from repository http://repo1.maven.org/maven2 Downloading: /commons-dbcp/commons-dbcp/1.1-dev/commons-dbcp-1.1-dev.pom [WARNING] Unable to get resource from repository [WARNING] Error updating POM - using existing version org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable to download the artifact from any repository commons-dbcp:commons-dbcp:1.1-dev:pom from the specified remote repositories: http://repo1.maven.org/maven2, at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:127) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveAlways(DefaultArtifactResolver.java:69) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:351) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:306) at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:84) at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:186) at org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:70) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:192) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:180) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:151) at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1182) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:312) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:478) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:437) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:131) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:186) at org.apache.maven.cli.MavenCli.main(MavenCli.java:316) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:233) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:110) ... 26 more - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Java Application Plugin 1.3.1 released
I just looked at the webpage of your plugin, but it is not clear to me what this plugin exactly does. What is it more then a jar of your classes like the jar plugin does? What does it do with the jars you depend on? Does it create a complete directory structure for your application? regards, Wim 25 Aug 2005 10:28:22 +0200, [EMAIL PROTECTED] [EMAIL PROTECTED]: The maven-plugins team is pleased to announce the Java Application Plugin 1.3.1 release! http://maven-plugins.sourceforge.net Plugin to generate an executable JAR Changes in this version include: Fixed bugs: o Applied patch from Eric Hartmann for Maven 1.1 compatibility. o Applied patch 1121795 from Frank Cornelis to fix broken javaapp:run Changes: o Updated versions of the plugin's dependencies. To automatically install the plugin, type the following on a single line: maven plugin:download -DgroupId=maven-plugins -DartifactId=maven-javaapp-plugin -Dversion=1.3.1 For a manual installation, you can download the plugin here: http://www.ibiblio.org/maven,http://maven-plugins.sourceforge.net/repository/maven-plugins/plugins/maven-javaapp-plugin-1.3.1.jar Have fun! -The maven-plugins team - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ m2 ] stack trace printed in log when dependency not found?
On Thu, 25 Aug 2005 [EMAIL PROTECTED] wrote: You didn't run m2 with -e or -X by any chance? Btw, it doesn't try to download the artifact itself, but the pom: [INFO] commons-dbcp: updating metadata due to status of 'none' That's a 'new' feature: it checks poms with certain status each day to see if they're updated (possible pom statusses are 'deployed', 'converted', 'verified' (and none)). It shouldn't print a stacktrace when neither -X or -e has been supplied, though. -- Kenney Hi guys, I'm using of the latest m2 builds (20050824.111500). I've just discovered that when m2 tries to download a dependency and can't find it on any remote repository, it prints a stack trace (see below) in the log. In my case, the dependency exists in the local repository, so the buld is successful. So my question is: should that stack trace be printed in the log? Cheers, Fabrice. - PART OF THE LOG - [INFO] commons-dbcp: updating metadata due to status of 'none' Downloading: http://repo1.maven.org/maven2/commons-dbcp/commons-dbcp/1.1-dev/com mons-dbcp-1.1-dev.pom [WARNING] Unable to get resource from repository http://repo1.maven.org/maven2 Downloading: /commons-dbcp/commons-dbcp/1.1-dev/commons-dbcp-1.1-dev.pom [WARNING] Unable to get resource from repository [WARNING] Error updating POM - using existing version org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable to download the artifact from any repository commons-dbcp:commons-dbcp:1.1-dev:pom from the specified remote repositories: http://repo1.maven.org/maven2, at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:127) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveAlways(DefaultArtifactResolver.java:69) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:351) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:306) at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:84) at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:186) at org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:70) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:192) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:180) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:151) at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1182) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:312) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:478) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:437) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:131) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:186) at org.apache.maven.cli.MavenCli.main(MavenCli.java:316) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:233) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:110) ... 26 more - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Kenney Westerhof http://www.neonics.com GPG public key: http://www.gods.nl/~forge/kenneyw.key
Re: log4j logging in JUnit tests
That did it indeed... Thanks! Hans On Wed, 24 Aug 2005 13:18:45 -0700 Scott Lamb [EMAIL PROTECTED] wrote: On Aug 24, 2005, at 12:08 PM, SainTiss wrote: Forgot to mention that I also tried adding the following to project.properties: #setup for junit testing maven.junit.sysproperties=log4j.configuration log4j.configuration=log4j.properties which didn't help either... Hans log4j is really confusing. The log4j.configuration property should be a URL, _not_ a path. It doesn't give much of an error when misconfigured - there's nothing to distinguish between not finding a system property, finding a system property that didn't parse as a URL, and being unable to open that URL. It should work if you change your log4j.configuration line to this: log4j.configuration=file:${basedir}/log4j.properties If that doesn't work, try adding log4j.debug: maven.junit.sysproperties=log4j.configuration log4j.debug log4j.configuration=file:${basedir}/log4j.properties log4j.debug=true IIRC, it returns a bit more useful information then. -- Scott Lamb http://www.slamb.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] pgpuaaeNa0Xed.pgp Description: PGP signature
RE: [ANN] Java Application Plugin 1.3.1 released
Hello Wim, thanks for the feedback, I've updated the project documentation. - Jörg Wim Deblauwe wrote on Thursday, August 25, 2005 10:52 AM: I just looked at the webpage of your plugin, but it is not clear to me what this plugin exactly does. What is it more then a jar of your classes like the jar plugin does? What does it do with the jars you depend on? Does it create a complete directory structure for your application? regards, Wim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ m2 ] stack trace printed in log when dependency not found?
FYI: I have the same and I do not use -e or -X. Cheers, Stéphane On 8/25/05, Kenney Westerhof [EMAIL PROTECTED] wrote: On Thu, 25 Aug 2005 [EMAIL PROTECTED] wrote: You didn't run m2 with -e or -X by any chance? Btw, it doesn't try to download the artifact itself, but the pom: [INFO] commons-dbcp: updating metadata due to status of 'none' That's a 'new' feature: it checks poms with certain status each day to see if they're updated (possible pom statusses are 'deployed', 'converted', 'verified' (and none)). It shouldn't print a stacktrace when neither -X or -e has been supplied, though. -- Kenney Hi guys, I'm using of the latest m2 builds (20050824.111500). I've just discovered that when m2 tries to download a dependency and can't find it on any remote repository, it prints a stack trace (see below) in the log. In my case, the dependency exists in the local repository, so the buld is successful. So my question is: should that stack trace be printed in the log? Cheers, Fabrice. - PART OF THE LOG - [INFO] commons-dbcp: updating metadata due to status of 'none' Downloading: http://repo1.maven.org/maven2/commons-dbcp/commons-dbcp/1.1-dev/com mons-dbcp-1.1-dev.pom [WARNING] Unable to get resource from repository http://repo1.maven.org/maven2 Downloading: /commons-dbcp/commons-dbcp/1.1-dev/commons-dbcp-1.1-dev.pom [WARNING] Unable to get resource from repository [WARNING] Error updating POM - using existing version org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable to download the artifact from any repository commons-dbcp:commons-dbcp:1.1-dev:pom from the specified remote repositories: http://repo1.maven.org/maven2, at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:127) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveAlways(DefaultArtifactResolver.java:69) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:351) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:306) at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:84) at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:186) at org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:70) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:192) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:180) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:151) at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1182) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:312) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:478) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:437) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:131) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:186) at org.apache.maven.cli.MavenCli.main(MavenCli.java:316) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:233) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:110) ... 26 more
[m1.1b1] log4j error
Hi, I get the following error in my build since I upgraded to Maven 1.1beta1. Any idea what might be the problem? log4j:ERROR Attempted to append to closed appender named [null]. I get that same line many, many times but the build seems to continue fine. regards, Wim
Re: [m1.1b1] log4j error
This is a problem between velocity 1.4 and log4J. Arnaud On 8/25/05, Wim Deblauwe [EMAIL PROTECTED] wrote: Hi, I get the following error in my build since I upgraded to Maven 1.1beta1. Any idea what might be the problem? log4j:ERROR Attempted to append to closed appender named [null]. I get that same line many, many times but the build seems to continue fine. regards, Wim
Re: [m1.1b1] log4j error
Update: it seems to be in the xdoc:generate-from-pom goal and only with using multiproject. I can't seem to reproduce it with a simple example. 2005/8/25, Wim Deblauwe [EMAIL PROTECTED]: Hi, I get the following error in my build since I upgraded to Maven 1.1beta1. Any idea what might be the problem? log4j:ERROR Attempted to append to closed appender named [null]. I get that same line many, many times but the build seems to continue fine. regards, Wim
How to compile generated files with maven 2
In the POM of maven2, there is a single entry to configure the source directory and the test source directory. When we have to generate some files that must be compiled, we need to put two directory. - Is there is special syntax to place 2 build directory into the sourceDirectory or testSourceDirectory ? - Is there some standard directory that are added by default ? - Is it the responsibility of the plugin that make the code generation to make the compilation ? If not, how do we use code generation and compilation in maven2 ? Thanks SCOKART Gilles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m1.1b1] log4j error
And is there a fix for it or can I safely ignore those errors? 2005/8/25, Arnaud HERITIER [EMAIL PROTECTED]: This is a problem between velocity 1.4 and log4J. Arnaud On 8/25/05, Wim Deblauwe [EMAIL PROTECTED] wrote: Hi, I get the following error in my build since I upgraded to Maven 1.1beta1 . Any idea what might be the problem? log4j:ERROR Attempted to append to closed appender named [null]. I get that same line many, many times but the build seems to continue fine. regards, Wim
Réf. : Re: [ m2 ] stack trace printed in log when dependency not found?
Hi Kenney, For the 'none', I better understand now. That's because I added JARs to my m2 repo manually (as they were not on the web). So where do I need to specify the status of the JARs I put in my local repo? As for the stack trace, I don't run m2 with -e nor -X, so that's why I find it weird to see it in the log... Thanks for help! Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Kenney Westerhof [EMAIL PROTECTED] om Pour Maven Users List 25/08/2005 10:59 users@maven.apache.org cc VeuillezObjet répondre à Re: [ m2 ] stack trace printed in Maven Users List log when dependency not found? [EMAIL PROTECTED] che.org On Thu, 25 Aug 2005 [EMAIL PROTECTED] wrote: You didn't run m2 with -e or -X by any chance? Btw, it doesn't try to download the artifact itself, but the pom: [INFO] commons-dbcp: updating metadata due to status of 'none' That's a 'new' feature: it checks poms with certain status each day to see if they're updated (possible pom statusses are 'deployed', 'converted', 'verified' (and none)). It shouldn't print a stacktrace when neither -X or -e has been supplied, though. -- Kenney Hi guys, I'm using of the latest m2 builds (20050824.111500). I've just discovered that when m2 tries to download a dependency and can't find it on any remote repository, it prints a stack trace (see below) in the log. In my case, the dependency exists in the local repository, so the buld is successful. So my question is: should that stack trace be printed in the log? Cheers, Fabrice. - PART OF THE LOG - [INFO] commons-dbcp: updating metadata due to status of 'none' Downloading: http://repo1.maven.org/maven2/commons-dbcp/commons-dbcp/1.1-dev/com mons-dbcp-1.1-dev.pom [WARNING] Unable to get resource from repository http://repo1.maven.org/maven2 Downloading: /commons-dbcp/commons-dbcp/1.1-dev/commons-dbcp-1.1-dev.pom [WARNING] Unable to get resource from repository [WARNING] Error updating POM - using existing version org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable to download the artifact from any repository commons-dbcp:commons-dbcp:1.1-dev:pom from the specified remote repositories: http://repo1.maven.org/maven2, at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:127) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveAlways(DefaultArtifactResolver.java:69) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:351) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:306) at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:84) at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:186) at org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:70) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:192) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:180) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:151) at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1182) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:312) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:478) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:451) at
[m2] Help Installing a non sandard site report
I am using alpha 3 and would like to use the tasklist plugin in the site generation. However I have no success in using any report other than the standard set of report plugins. I have tried using ms install:install-file after downloading the plugin jar, however the reporting process does not seem to recognise it and tries to get the plugin form http://repo1.maven.org/maven2/plugins which only contains the standard set of report plugins. How do you install the task list report plug so that it will run as a site report ? Tony http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Why repository dir is placed in a user's home dir ?
bw t wrote on Thursday, August 25, 2005 11:13 AM: Hi all, I wonder why the repository dir that contains all the jar files is placed in a user's home dir ? /home/username/.maven/repository/... If this Linux system is to be used and shared among a few ppl, aren't these jar suppose to be common stuff for all ? Why should each user have their own copy of ..say, log4j-1.2.8.jar ? It's a default, you can change it by a property. The home is the only directory in a Unix system, where Maven savely can assume, that it is writable. Nevertheless there might be still reasons not to share a local repo between users e.g. in companies because of security or because of artifacts falling under a non-disclosure agreement. - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m1.1b1] log4j error
you can safely ignore them we'll try to remove them as soon as possible. an issue is open in velocity Arnaud On 8/25/05, Wim Deblauwe [EMAIL PROTECTED] wrote: And is there a fix for it or can I safely ignore those errors? 2005/8/25, Arnaud HERITIER [EMAIL PROTECTED]: This is a problem between velocity 1.4 and log4J. Arnaud On 8/25/05, Wim Deblauwe [EMAIL PROTECTED] wrote: Hi, I get the following error in my build since I upgraded to Maven 1.1beta1 . Any idea what might be the problem? log4j:ERROR Attempted to append to closed appender named [null]. I get that same line many, many times but the build seems to continue fine. regards, Wim
[m1.1b1] cruisecontrol plugin exception
I installed Maven 1.1beta1 on a machine that already had Maven 1.0.2 and executed 'maven' (without any goal specified). I got the following error everytime (and I'm not using the cruisecontrol plugin). Any ideas? Currently I can't do anything with that maven installation... regards, Wim plugin maven-cruisecontrol-plugin-1.6 is cached (dynatag dep) but no longer present Cache invalidated due to out of date plugins javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl could not be instantiated: java.lang.NullPointerExce ption at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:113) at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java :152) at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java :177) at org.apache.maven.plugin.PluginManager.loadUncachedPlugins( PluginManager.java:238) at org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:303) at org.apache.maven.MavenSession.initializePluginManager(MavenSession.java :204) at org.apache.maven.MavenSession.initialize(MavenSession.java:171) at org.apache.maven.cli.App.doMain(App.java:498) at org.apache.maven.cli.App.main(App.java:1258) 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 com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) You have encountered an unknown error running Maven. Please help us to correct this problem by following these simple steps: - read the Maven FAQ at http://maven.apache.org/faq.html - run the same command again with the '-e' parameter, eg 'maven -e jar' - search the maven-user archives for the error at http://www.mail-archive.com/users@maven.apache.org - post the output of maven -e to JIRA at ???issueTrackingUrl??? (you must sign up first) - run 'maven --info' and post the output as the environment to the bug above Total time : 29 seconds Finished at : Thursday, August 25, 2005 12:00:38 PM CEST
Re: How to compile generated files with maven 2
On Thu, Aug 25, 2005 at 10:19:44AM +0100, Scokart Gilles wrote: In the POM of maven2, there is a single entry to configure the source directory and the test source directory. When we have to generate some files that must be compiled, we need to put two directory. - Is there is special syntax to place 2 build directory into the sourceDirectory or testSourceDirectory ? - Is there some standard directory that are added by default ? - Is it the responsibility of the plugin that make the code generation to make the compilation ? If not, how do we use code generation and compilation in maven2 ? The plugin that generates the code can use the MavenProject instance to add another source compile root to the project. The compiler plugin will use all the source roots when compiling. For a real project that uses this mechanism take a look at the Modello maven plug-in[1]. [1]: http://svn.modello.codehaus.org/trunk/modello/modello-maven-plugin/src/main/java/org/codehaus/modello/maven/AbstractModelloGeneratorMojo.java?rev=441view=auto -- Trygve signature.asc Description: Digital signature
Re: How check that project should be rebuilded (source code management)?
I'm using maven-scm-plugin to obtain sources but I can't call goal scm:status (Goal does not exist error). The version of my scm plugin is 1.5. What I should to do to get this goal? Tnx From: dan tran [EMAIL PROTECTED] Reply-To: Maven Users List users@maven.apache.org To: Maven Users List users@maven.apache.org Subject: Re: How check that project should be rebuilded (source code management)? Date: Tue, 23 Aug 2005 09:12:18 -0700 if you are using maven-scm-plugin, then scm:status can tell you if any file have been changed base on some criteria, other wise you can take a look the actual implementation http://svn.apache.org/repos/asf/maven/scm/trunk/maven-scm-providers look for change-log command or status command -D On 8/23/05, Vov@ Sadovyy [EMAIL PROTECTED] wrote: Hi, Does anybody have ideas how to check that code was changed? Originally I neet to skip build when nothing has changed in SCM? P.S. My SCM is subversion... Thanks, Vov _ - 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] _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jar tampered while transiting from repository?
OK, I did not see the md5 at first. Is there any automatic check of this that can be turned on and off? - Hugues On Aug 23, 2005, at 11:23 AM, Martijn Dashorst wrote: Check the MD5 sum? Martijn Hugues Pisapia wrote: Hi there, Is there a way we can be sure that jar files are not tampered while transiting from remote repositories to the local repository? My guess would be to use https, but the repository would have to support this. - Hugues - 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: Jar tampered while transiting from repository?
On Thu, Aug 25, 2005 at 12:53:04PM +0200, Hugues Pisapia wrote: OK, I did not see the md5 at first. Is there any automatic check of this that can be turned on and off? Nope. -- Trygve signature.asc Description: Digital signature
Re: [m1.1b1] cruisecontrol plugin exception
Found the problem myself. The PATH was incorrectly pointing to the old maven installation. 2005/8/25, Wim Deblauwe [EMAIL PROTECTED]: I installed Maven 1.1beta1 on a machine that already had Maven 1.0.2 and executed 'maven' (without any goal specified). I got the following error everytime (and I'm not using the cruisecontrol plugin). Any ideas? Currently I can't do anything with that maven installation... regards, Wim plugin maven-cruisecontrol-plugin-1.6 is cached (dynatag dep) but no longer present Cache invalidated due to out of date plugins javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl could not be instantiated: java.lang.NullPointerExce ption at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java :113) at org.apache.maven.plugin.JellyScriptHousing.parse( JellyScriptHousing.java:152) at org.apache.maven.plugin.JellyScriptHousing.parse( JellyScriptHousing.java:177) at org.apache.maven.plugin.PluginManager.loadUncachedPlugins( PluginManager.java:238) at org.apache.maven.plugin.PluginManager.initialize(PluginManager.java :303) at org.apache.maven.MavenSession.initializePluginManager(MavenSession.java :204) at org.apache.maven.MavenSession.initialize(MavenSession.java:171) at org.apache.maven.cli.App.doMain(App.java:498) at org.apache.maven.cli.App.main(App.java:1258) 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 com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) You have encountered an unknown error running Maven. Please help us to correct this problem by following these simple steps: - read the Maven FAQ at http://maven.apache.org/faq.html - run the same command again with the '-e' parameter, eg 'maven -e jar' - search the maven-user archives for the error at http://www.mail-archive.com/users@maven.apache.org - post the output of maven -e to JIRA at ???issueTrackingUrl??? (you must sign up first) - run 'maven --info' and post the output as the environment to the bug above Total time : 29 seconds Finished at : Thursday, August 25, 2005 12:00:38 PM CEST
[m1] multiproject dependency problem
Hi all, I have a problem using multiproject. i have a project called 'core' and another called 'applet'. the 'applet' project depends on the 'core' one. So i defined in the 'applet' project.xml : dependency groupId${pom.groupId}/groupId artifactIdcore/artifactId version${current.version}/version typejar/type properties eclipse.dependencytrue/eclipse.dependency /properties /dependency But when i do a multiproject:install, the build order is 'applet' THEN 'core' ?? and of course i got a dependency error :) Could some helps me ? Stéphane - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m1] multiproject dependency problem
Try setting this property with the projects in the order you want them processed: maven.multiproject.includes= Quoting stéphane bouchet [EMAIL PROTECTED]: Hi all, I have a problem using multiproject. i have a project called 'core' and another called 'applet'. the 'applet' project depends on the 'core' one. So i defined in the 'applet' project.xml : dependency groupId${pom.groupId}/groupId artifactIdcore/artifactId version${current.version}/version typejar/type properties eclipse.dependencytrue/eclipse.dependency /properties /dependency But when i do a multiproject:install, the build order is 'applet' THEN 'core' ?? and of course i got a dependency error :) Could some helps me ? Stéphane - 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]
BEA wli.jar knex.jar ValidateTag problem
Hi I'm wondering if any of you had a problem with wepappbuild from BEA in maven? i've got this problem: [webappbuild] [ERROR] Description: The class com.bea.wli.worklist.control.validation.TaskSelectorValidation does not implement the interface com.bea.control.ValidateTag. I didn't have it while running ant. The classpath is the same. Please help Sebastian Błoch
Re: [m1] multiproject dependency problem
Thanks for the tip but not working :( I got the same result. Jeff Jensen a écrit : Try setting this property with the projects in the order you want them processed: maven.multiproject.includes= Quoting stéphane bouchet [EMAIL PROTECTED]: Hi all, I have a problem using multiproject. i have a project called 'core' and another called 'applet'. the 'applet' project depends on the 'core' one. So i defined in the 'applet' project.xml : dependency groupId${pom.groupId}/groupId artifactIdcore/artifactId version${current.version}/version typejar/type properties eclipse.dependencytrue/eclipse.dependency /properties /dependency But when i do a multiproject:install, the build order is 'applet' THEN 'core' ?? and of course i got a dependency error :) Could some helps me ? Stéphane - 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]
how to change pom dependencies
do you know how to change pom dependencies. j:set var=${pom.dependencies} value=${aggregatedDependencies}/ don't seems to work. Thank for your help This message and any attachments (the message) is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. - Ce message et toutes les pieces jointes (ci-apres le message) sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, BNP PARIBAS (et ses filiales) decline(nt) toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie.
Re: how to change pom dependencies
On Thu, Aug 25, 2005 at 03:09:42PM +0200, [EMAIL PROTECTED] wrote: do you know how to change pom dependencies. j:set var=${pom.dependencies} value=${aggregatedDependencies}/ What are you trying to do and why do you want to do this? The dependencies of a project is stated in the project.xml file and should not be changed. -- Trygve signature.asc Description: Digital signature
RE: [m1] multiproject dependency problem
stéphane bouchet wrote on Thursday, August 25, 2005 2:09 PM: Hi all, I have a problem using multiproject. i have a project called 'core' and another called 'applet'. the 'applet' project depends on the 'core' one. So i defined in the 'applet' project.xml : dependency groupId${pom.groupId}/groupId artifactIdcore/artifactId version${current.version}/version typejar/type properties eclipse.dependencytrue/eclipse.dependency /properties /dependency But when i do a multiproject:install, the build order is 'applet' THEN 'core' ?? and of course i got a dependency error :) Could some helps me ? Which version of Maven exactly? Does you see an exception when starting with -X ? - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m1] multiproject dependency problem
Jeff Jensen wrote on Thursday, August 25, 2005 2:34 PM: Try setting this property with the projects in the order you want them processed: maven.multiproject.includes= No. Maven will calculate the sequence if they are dependent. - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Réf. : Re: how to change pom dependencies
I have a project with several subprojects. I agragate subproject's sources in order to get global javadoc and clover report. I need to change dynamically pom dependencies of my main project to compile and run aggragated sources. This message and any attachments (the message) is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. - Ce message et toutes les pieces jointes (ci-apres le message) sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, BNP PARIBAS (et ses filiales) decline(nt) toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie.
[m1.1b1] jdepend plugin problem
Hi, I get the following error when using the jdepend plugin with Maven 1.1beta1: -- maven maven-jdepend-plugin:report __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.1-beta-1 build:start: maven-jdepend-plugin:report: java:prepare-filesystem: [mkdir] Created dir: Z:\some more dirs\temp\classes java:compile: [echo] Compiling to Z:\some more dirs/temp/classes [javac] Compiling 4 source files to Z:\some more dirs\temp\classes [mkdir] Created dir: Z:\some more dirs\temp\generated-xdocs Caught exception evaluating: [EMAIL PROTECTED] Reason: java.lang.Exception: size() : null arg java.lang.Exception: size() : null arg at org.apache.commons.jexl.parser.ASTSizeFunction.value(ASTSizeFunction.java :64) at org.apache.commons.jexl.parser.ASTEQNode.value(ASTEQNode.java:48) at org.apache.commons.jexl.parser.ASTExpression.value(ASTExpression.java:47) at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:86) at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate( JexlExpression.java:69) at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse( ExpressionSupport.java:61) at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsBoolean( ExpressionSupport.java:71) at org.apache.commons.jelly.tags.core.WhenTag.doTag(WhenTag.java:44) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) at org.apache.commons.jelly.impl.StaticTag.doTag(StaticTag.java:65) at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:288) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) at org.apache.commons.jelly.impl.StaticTag.doTag(StaticTag.java:65) at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:288) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) at org.apache.commons.jelly.impl.StaticTag.doTag(StaticTag.java:65) at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:288) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) at org.apache.commons.jelly.tags.jsl.TemplateTag$1.run(TemplateTag.java:160) at org.dom4j.rule.Mode.fireRule(Mode.java:51) at org.dom4j.rule.Mode.applyTemplates(Mode.java:71) at org.dom4j.rule.RuleManager$1.run(RuleManager.java:148) at org.dom4j.rule.Mode.fireRule(Mode.java:51) at org.dom4j.rule.Stylesheet.run(Stylesheet.java:73) at org.dom4j.rule.Stylesheet.run(Stylesheet.java:65) at org.dom4j.rule.Stylesheet.run(Stylesheet.java:57) at org.apache.commons.jelly.tags.jsl.StylesheetTag.doTag(StylesheetTag.java :124) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:704) at org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:668) at org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:644) at org.apache.commons.jelly.tags.core.IncludeTag.doTag(IncludeTag.java:101) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) at org.apache.commons.jelly.tags.core.FileTag.writeBody(FileTag.java:162) at org.apache.commons.jelly.tags.core.FileTag.doTag(FileTag.java:60) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.impl.DynamicTag.doTag(DynamicTag.java:79) at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java :102) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.impl.DynamicTag.doTag(DynamicTag.java:79) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:42) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at
[m2] Getting Spring 1.2.3, Hibernate 3.0.5 and asm
Hi, I'm using Spring 1.2.3 and Hibernate 3.0.5, and got trapped in dependency hell for several hours. According to [1], Spring requires cglib 2.1_2 with asm 1.5.3, but the cglib POM on repo1 [2] depends on asm 2.0, which seems to incompatible with Hibernate 3 [3]. And Hibernate 3.0.5 itself has a dependency on asm 1.4.3 [4]. I found out I can get my project to work by changing Hibernate's dependency on asm from version 1.4.3 to 1.5.3 in my local repository, but I'm not positive what's the reason for this mess. Anyone? Cheers, -Ralph. [1] http://cvs.sourceforge.net/viewcvs.py/springframework/spring/lib/ readme.txt?rev=1.73view=auto [2] http://www.ibiblio.org/maven2/cglib/cglib/2.1_2/cglib-2.1_2.pom [3] http://jroller.com/page/RickHigh?entry=migrating_from_hibernate_2_x [4] http://www.ibiblio.org/maven2/org/hibernate/hibernate/3.0.5/ hibernate-3.0.5.pom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] Getting Spring 1.2.3, Hibernate 3.0.5 and asm
Ralph Pöllath wrote on Thursday, August 25, 2005 4:53 PM: Hi, I'm using Spring 1.2.3 and Hibernate 3.0.5, and got trapped in dependency hell for several hours. According to [1], Spring requires cglib 2.1_2 with asm 1.5.3, but the cglib POM on repo1 [2] depends on asm 2.0 This one is wrong. Cglib 2.1 is incompatible with asm 2.x also! , which seems to incompatible with Hibernate 3 [3]. And Hibernate 3.0.5 itself has a dependency on asm 1.4.3 [4]. I found out I can get my project to work by changing Hibernate's dependency on asm from version 1.4.3 to 1.5.3 in my local repository, but I'm not positive what's the reason for this mess. Anyone? The reason is the incompatibility from ASM 1.x to ASM 2.x. Same package names, but different/changed classes. Cheers, -Ralph. [1] http://cvs.sourceforge.net/viewcvs.py/springframework/spring/lib/ readme.txt?rev=1.73view=auto [2] http://www.ibiblio.org/maven2/cglib/cglib/2.1_2/cglib-2.1_2.pom [3] http://jroller.com/page/RickHigh?entry=migrating_from_hibernate_2_x [4] http://www.ibiblio.org/maven2/org/hibernate/hibernate/3.0.5/ hibernate-3.0.5.pom - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jar tampered while transiting from repository?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Aug 23, 2005, at 11:23 AM, Martijn Dashorst wrote: Check the MD5 sum? Hugues Pisapia wrote: Is there a way we can be sure that jar files are not tampered while transiting from remote repositories to the local repository? Of course, how much of an assurance is this? If the jar file has been tampered with, couldn't the MD5 sum *also* have been tampered with? - -- Craig S. Cottingham [EMAIL PROTECTED] OpenPGP key available from: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7977F79C -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFDDeTZEJLQ3Hl395wRAkr2AKDBseUsaoevTI7gQ+5gFhSyRFAW7gCdGxxL 3EpqO5Bs3NWoJG161EaPaTI= =0sXv -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Getting Spring 1.2.3, Hibernate 3.0.5 and asm
On 25.08.2005, at 17:24, Jörg Schaible wrote: Ralph Pöllath wrote on Thursday, August 25, 2005 4:53 PM: I'm using Spring 1.2.3 and Hibernate 3.0.5, and got trapped in dependency hell for several hours. According to [1], Spring requires cglib 2.1_2 with asm 1.5.3, but the cglib POM on repo1 [2] depends on asm 2.0 This one is wrong. Cglib 2.1 is incompatible with asm 2.x also! Thanks for the clarification. I'll tweak my cglib POM instaed of the hibernate one. , which seems to incompatible with Hibernate 3 [3]. And Hibernate 3.0.5 itself has a dependency on asm 1.4.3 [4]. I found out I can get my project to work by changing Hibernate's dependency on asm from version 1.4.3 to 1.5.3 in my local repository, but I'm not positive what's the reason for this mess. Anyone? The reason is the incompatibility from ASM 1.x to ASM 2.x. Same package names, but different/changed classes. There's a fixed issue in Jira saying that cglib should depend on asm 1.5.3: http://jira.codehaus.org/browse/MEV-10 I guess that whoever added the dependency chose the latest version, unaware of the incompatibility. Should I open another issue? Cheers, -Ralph. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
common dependency in maven 1
I was hoping to get some advice from all of you brilliant and kind maven users. I have several projects (about 10) that all depend on a core library. All the projects and the core extend from the same project.xml. I would really like to add the dependency on the core library in the parent project.xml, however, this causes a problem when compiling the core library. Has anyone come up with a good idea of what to do in this case? What is the best practice in this case? I've tried adding this to the parent project.xml: j:if test=${pom.getProperty('artifactId') != 'core'} dependency groupIdmygroup/groupId artifactIdcore/artifactId version1.1-SNAPSHOT/version /dependency /j:if But, it isn't working and is kind of a hack anyways. Thanks all, -- The information contained in this transmission is intended only for the personal and confidential use of the designated recipients named herein. If the reader of this transmission is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this transmission in error, and that any review, dissemination, distribution, or copying of this transmission is strictly prohibited. If you have received this communication in error, please notify the sender and return and delete the original transmission immediately. Thank you.
Re: [m2] Getting Spring 1.2.3, Hibernate 3.0.5 and asm
Please, create a new issue. AFAIK hibernate and spring poms are ok, i spend a bunch of my time on them, cglib may be wrong. On 8/25/05, Ralph Pöllath [EMAIL PROTECTED] wrote: On 25.08.2005, at 17:24, Jörg Schaible wrote: Ralph Pöllath wrote on Thursday, August 25, 2005 4:53 PM: I'm using Spring 1.2.3 and Hibernate 3.0.5, and got trapped in dependency hell for several hours. According to [1], Spring requires cglib 2.1_2 with asm 1.5.3, but the cglib POM on repo1 [2] depends on asm 2.0 This one is wrong. Cglib 2.1 is incompatible with asm 2.x also! Thanks for the clarification. I'll tweak my cglib POM instaed of the hibernate one. , which seems to incompatible with Hibernate 3 [3]. And Hibernate 3.0.5 itself has a dependency on asm 1.4.3 [4]. I found out I can get my project to work by changing Hibernate's dependency on asm from version 1.4.3 to 1.5.3 in my local repository, but I'm not positive what's the reason for this mess. Anyone? The reason is the incompatibility from ASM 1.x to ASM 2.x. Same package names, but different/changed classes. There's a fixed issue in Jira saying that cglib should depend on asm 1.5.3: http://jira.codehaus.org/browse/MEV-10 I guess that whoever added the dependency chose the latest version, unaware of the incompatibility. Should I open another issue? Cheers, -Ralph. - 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: [m1.1b1] jdepend plugin problem
No idea Can you check if an issue already exists or can you open one. Arnaud Hi, I get the following error when using the jdepend plugin with Maven 1.1beta1: -- maven maven-jdepend-plugin:report __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.1-beta-1 build:start: maven-jdepend-plugin:report: java:prepare-filesystem: [mkdir] Created dir: Z:\some more dirs\temp\classes java:compile: [echo] Compiling to Z:\some more dirs/temp/classes [javac] Compiling 4 source files to Z:\some more dirs\temp\classes [mkdir] Created dir: Z:\some more dirs\temp\generated-xdocs Caught exception evaluating: [EMAIL PROTECTED] Reason: java.lang.Exception: size() : null arg java.lang.Exception: size() : null arg at org.apache.commons.jexl.parser.ASTSizeFunction.value(ASTSizeFu nction.java :64) at org.apache.commons.jexl.parser.ASTEQNode.value(ASTEQNode.java:48) at org.apache.commons.jexl.parser.ASTExpression.value(ASTExpressi on.java:47) at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl .java:86) at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate( JexlExpression.java:69) at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse( ExpressionSupport.java:61) at org.apache.commons.jelly.expression.ExpressionSupport.evaluate AsBoolean( ExpressionSupport.java:71) at org.apache.commons.jelly.tags.core.WhenTag.doTag(WhenTag.java:44) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) at org.apache.commons.jelly.impl.StaticTag.doTag(StaticTag.java:65) at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:288) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) at org.apache.commons.jelly.impl.StaticTag.doTag(StaticTag.java:65) at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:288) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) at org.apache.commons.jelly.impl.StaticTag.doTag(StaticTag.java:65) at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:288) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) at org.apache.commons.jelly.tags.jsl.TemplateTag$1.run(TemplateTa g.java:160) at org.dom4j.rule.Mode.fireRule(Mode.java:51) at org.dom4j.rule.Mode.applyTemplates(Mode.java:71) at org.dom4j.rule.RuleManager$1.run(RuleManager.java:148) at org.dom4j.rule.Mode.fireRule(Mode.java:51) at org.dom4j.rule.Stylesheet.run(Stylesheet.java:73) at org.dom4j.rule.Stylesheet.run(Stylesheet.java:65) at org.dom4j.rule.Stylesheet.run(Stylesheet.java:57) at org.apache.commons.jelly.tags.jsl.StylesheetTag.doTag(Styleshe etTag.java :124) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:704) at org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:668) at org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:644) at org.apache.commons.jelly.tags.core.IncludeTag.doTag(IncludeTag .java:101) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) at org.apache.commons.jelly.tags.core.FileTag.writeBody(FileTag.java:162) at org.apache.commons.jelly.tags.core.FileTag.doTag(FileTag.java:60) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.impl.DynamicTag.doTag(DynamicTag.java:79) at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java :102) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.impl.DynamicTag.doTag(DynamicTag.java:79) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) at
[m1] overriding a bunch of artifacts
I'm trying to slowly migrate a huge project with lots of dependencies that is currently using Ant. The thing is that the build.xml that the developers have something like this to add a bunch of jars. path id=build.classpath pathelement location=${java.home}/../lib/tools.jar/ fileset dir=${lib.home} includes=**/*.jar/ /path How can I use overrides in my .properties to include all the *.jar and make this monster compile in Maven. Any help would be highly appreciated. Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
j2ee sdk in repositories?
Hi. I experimented with Maven 1.0 a while back, and kind of gave up. But today I came across Maven2's dependency task JAR for Ant, and I'm very excited about it. I set it up, and it works great. What I want to know is if the j2ee sdk is in a public repo somewhere, and what the naming is to reach it. We tend to check in our j2ee stuff for compilation purposes (and call it jsdk-24.jar, for example). We never deploy it (Resin takes care of providing the implementation). I looked through the maven2 repo and didn't find anything that was obviously the j2ee SDK. Is there a way to get at it? If this is the wrong approach, what's the right one? TIA, -- Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
maven repositories
Is there a way to easier download jars from the repository without having to list it as a dependency in a project? In my case, I want to modify the maven.xml file and override the javadoc goal to also build a PDF of the javadocs using pdfdoclet. Though, somehow I need to be able to download that file from the repository so that when others build locally on their build that they do not need to know how to manually copy it to their local repository. Ideas? Thanks, Tim Dyck - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: j2ee sdk in repositories?
you need to install that on your own remote repo. Sun License does not allow to install their j2ee files (jta, jdbc, jca,etc ) on ibiliio -D On 8/25/05, Rick Mann [EMAIL PROTECTED] wrote: Hi. I experimented with Maven 1.0 a while back, and kind of gave up. But today I came across Maven2's dependency task JAR for Ant, and I'm very excited about it. I set it up, and it works great. What I want to know is if the j2ee sdk is in a public repo somewhere, and what the naming is to reach it. We tend to check in our j2ee stuff for compilation purposes (and call it jsdk-24.jar, for example). We never deploy it (Resin takes care of providing the implementation). I looked through the maven2 repo and didn't find anything that was obviously the j2ee SDK. Is there a way to get at it? If this is the wrong approach, what's the right one? TIA, -- Rick - 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 repositories
ant:wget? -D On 8/25/05, Tim Dyck [EMAIL PROTECTED] wrote: Is there a way to easier download jars from the repository without having to list it as a dependency in a project? In my case, I want to modify the maven.xml file and override the javadoc goal to also build a PDF of the javadocs using pdfdoclet. Though, somehow I need to be able to download that file from the repository so that when others build locally on their build that they do not need to know how to manually copy it to their local repository. Ideas? Thanks, Tim Dyck - 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: j2ee sdk in repositories?
On Aug 25, 2005, at 4:33 PM, dan tran wrote: you need to install that on your own remote repo. Sun License does not allow to install their j2ee files (jta, jdbc, jca,etc ) on ibiliio Thanks for the response. I figured it might be something like this. I don't suppose anyone's tried to convince Sun to host their own repo? (Which brings up a question I have not yet researched...is there a way to specify that certain repos are to be used for certain groupIds? In ant?) TIA, -- Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m1] overriding a bunch of artifacts
First you must still need to define dependencies for each project. Then you tell maven not to get those files from remote repository but to a specific place by setting up maven.jar.override=on for example maven.jar.override = on maven.jar.log4j= ${somewhere}/log4j.jar maven.jar.dom4j= ${somewhere}/dom4j This is good enought to compile if you run some java main class then you need wrap ant:java a maven goal java classname=someclass fork=true failonerror=true ant:classpath ant:pathelement path=${maven.build.dest} / ant:pathelement path=${java.home}/../lib/tools.jar / ant:path refid=maven.dependency.classpath/ /ant:classpath //add some more here /java -D On 8/25/05, Mayorgaadame, Alex [IT] [EMAIL PROTECTED] wrote: I'm trying to slowly migrate a huge project with lots of dependencies that is currently using Ant. The thing is that the build.xml that the developers have something like this to add a bunch of jars. path id=build.classpath pathelement location=${java.home}/../lib/tools.jar/ fileset dir=${lib.home} includes=**/*.jar/ /path How can I use overrides in my .properties to include all the *.jar and make this monster compile in Maven. Any help would be highly appreciated. 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: j2ee sdk in repositories?
Sun releases GlassFish appserver to opensource, so how it works out remains to be seen. interm of searching for repos, maven uses the repos list and pickup what ever it sees first. -D On 8/25/05, Rick Mann [EMAIL PROTECTED] wrote: On Aug 25, 2005, at 4:33 PM, dan tran wrote: you need to install that on your own remote repo. Sun License does not allow to install their j2ee files (jta, jdbc, jca,etc ) on ibiliio Thanks for the response. I figured it might be something like this. I don't suppose anyone's tried to convince Sun to host their own repo? (Which brings up a question I have not yet researched...is there a way to specify that certain repos are to be used for certain groupIds? In ant?) TIA, -- Rick - 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: Why repository dir is placed in a user's home dir ?
I'm not sure of the reasoning behind setting the local repo to a user's home directory. But I do know that you can setup the local repository to any directory using project.properties file (settings.xml for m2, also found in user directory). So you need only to set it up to a common directory and all the users will be using that as the local repository. bw t wrote: Hi all, I wonder why the repository dir that contains all the jar files is placed in a user's home dir ? /home/username/.maven/repository/... If this Linux system is to be used and shared among a few ppl, aren't these jar suppose to be common stuff for all ? Why should each user have their own copy of ..say, log4j-1.2.8.jar ? Thanks. _ Find just what you are after with the more precise, more powerful new MSN Search. http://search.msn.com.my/ Try it now. - 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]