Problem with Eclipse plugin
Hi there, After reading about the Eclipse plugin I decided to give it a try. I installed it, and tried to run a maven goal, but the execution seems to hang. After enabling debug output in the preferences I get this in the console: [DEBUG] Found 0 components to load on start [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settings\jgonzalez\.m2\plugin-registry.xml' [DEBUG] Building Maven global-level settings from: 'U:\proyectos\otros\netflux\netflux-core\conf\settings.xml' [DEBUG] Building Maven user-level settings from: 'C:\Documents and Settings\jgonzalez\.m2\settings.xml' [DEBUG] Using parent-POM from the project hierarchy at: '../pom.xml' for project: null:netflux-core:jar:null After this, the execution seems to hang. Any ideas? TIA, best regards Jose
Re: Problem with Eclipse plugin
I'm using 0.0.5... do you have more information about this issue? Thanks Jose 2006/4/24, Tom Joad <[EMAIL PROTECTED]>: > > Hello, > Which version of the plugin do you use? It is a known issue of version > 0.0.4 resolved > with 0.0.5 . > Tom. > > > > 2006/4/24, Jose Gonzalez Gomez <[EMAIL PROTECTED]>: > > Hi there, > > > > After reading about the Eclipse plugin I decided to give it a try. I > > installed it, and tried to run a maven goal, but the execution seems to > > hang. After enabling debug output in the preferences I get this in the > > console: > > > > [DEBUG] Found 0 components to load on start > > [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents > and > > Settings\jgonzalez\.m2\plugin-registry.xml' > > [DEBUG] Building Maven global-level settings from: > > 'U:\proyectos\otros\netflux\netflux-core\conf\settings.xml' > > [DEBUG] Building Maven user-level settings from: 'C:\Documents and > > Settings\jgonzalez\.m2\settings.xml' > > [DEBUG] Using parent-POM from the project hierarchy at: '../pom.xml' for > > project: null:netflux-core:jar:null > > > > After this, the execution seems to hang. Any ideas? > > > > TIA, best regards > > Jose > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: Problem with Eclipse plugin
You're right, I'm behind a proxy... You mention a plugin to manage the proxy connection in Eclipse, where can I find it? Thanks a lot Jose 2006/4/25, Tom Joad <[EMAIL PROTECTED]>: > > Hi Jose, > It is fixed in version 0.0;5 as i said .Are you under proxy? If it's the > case > > As said Eugene Kuleshov one of plugin developers Unfortunately there > are still no support for settings.xml, including > proxy configuration. and i think your proble comes from it. >For now you can use system properties -Dhttp.proxyHost= and > -Dhttp.proxyPort= > Could you try to launch eclipse via commnand line with these two > parameters > Or adding eclipse plugin to manage proxy connexion. > > Tom. > 2006/4/25, Jose Gonzalez Gomez <[EMAIL PROTECTED]>: > > I'm using 0.0.5... do you have more information about this issue? > > > > Thanks > > Jose > > > > 2006/4/24, Tom Joad <[EMAIL PROTECTED]>: > > > > > > Hello, > > > Which version of the plugin do you use? It is a known issue of version > > > 0.0.4 resolved > > > with 0.0.5 . > > > Tom. > > > > > > > > > > > > 2006/4/24, Jose Gonzalez Gomez <[EMAIL PROTECTED]>: > > > > Hi there, > > > > > > > > After reading about the Eclipse plugin I decided to give it a try. I > > > > installed it, and tried to run a maven goal, but the execution seems > to > > > > hang. After enabling debug output in the preferences I get this in > the > > > > console: > > > > > > > > [DEBUG] Found 0 components to load on start > > > > [DEBUG] Building Maven user-level plugin registry from: > 'C:\Documents > > > and > > > > Settings\jgonzalez\.m2\plugin-registry.xml' > > > > [DEBUG] Building Maven global-level settings from: > > > > 'U:\proyectos\otros\netflux\netflux-core\conf\settings.xml' > > > > [DEBUG] Building Maven user-level settings from: 'C:\Documents and > > > > Settings\jgonzalez\.m2\settings.xml' > > > > [DEBUG] Using parent-POM from the project hierarchy at: '../pom.xml' > for > > > > project: null:netflux-core:jar:null > > > > > > > > After this, the execution seems to hang. Any ideas? > > > > > > > > TIA, best regards > > > > Jose > > > > > > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: Problem with Eclipse plugin
Ok, now I get the following: Compiling 5 source files to U:\proyectos\otros\netflux\netflux-core\target\classes [ERROR] mojo-execute : compiler:compile Diagnosis: Compilation failure FATAL ERROR: Error executing Maven for a project [ERROR] project-execute : org.netflux:netflux-core:jar:0.2-SNAPSHOT ( task-segment: [install] ) Diagnosis: Compilation failure FATAL ERROR: Error executing Maven for a project org.apache.maven.BuildFailureException: Compilation failure at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:552) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle (DefaultLifecycleExecutor.java:472) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:303) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:270) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:139) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java :472) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java :413) at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:68) Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure at org.apache.maven.plugin.AbstractCompilerMojo.execute( AbstractCompilerMojo.java:505) at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:111) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:415) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:531) ... 8 more Of course, I have run maven from the command line and it works with no problem 2006/4/28, Wood, Kevin <[EMAIL PROTECTED]>: You can specify the proxy information when you configure the External Tools entry for the Maven2 build of this project in Eclipse. In the External Tools window, select the goal that you want to run, then add parameters proxyHost and proxyPort with the appropriate values in the parameter box. These properties will be passed along to the Maven plugin when it is invoked. --Kevin -Original Message- From: Tom Joad [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 25, 2006 12:10 PM To: Maven Users List Subject: Re: Problem with Eclipse plugin I run eclipse 3.1.1 on windows 2000 and windows>preferences>internet>proxy settings you put your company proxy settings. On my Linux mandriva 10. , i launch eclipse by command line with system properties eclipse -vmargs -Dhttp.proxyHost=MYPROXYHOST -Dhttp.proxyPort=MYPROXYNUMBER Tom. 2006/4/25, Jose Gonzalez Gomez <[EMAIL PROTECTED]>: > You're right, I'm behind a proxy... You mention a plugin to manage the proxy > connection in Eclipse, where can I find it? > > Thanks a lot > Jose > > 2006/4/25, Tom Joad <[EMAIL PROTECTED]>: > > > > Hi Jose, > > It is fixed in version 0.0;5 as i said .Are you under proxy? If it's the > > case > > > > As said Eugene Kuleshov one of plugin developers Unfortunately there > > are still no support for settings.xml, including > > proxy configuration. and i think your proble comes from it. > >For now you can use system properties -Dhttp.proxyHost= and > > -Dhttp.proxyPort= > > Could you try to launch eclipse via commnand line with these two > > parameters > > Or adding eclipse plugin to manage proxy connexion. > > > > Tom. > > 2006/4/25, Jose Gonzalez Gomez <[EMAIL PROTECTED]>: > > > I'm using 0.0.5... do you have more information about this issue? > > > > > > Thanks > > > Jose > > > > > > 2006/4/24, Tom Joad <[EMAIL PROTECTED]>: > > > > > > > > Hello, > > > > Which version of the plugin do you use? It is a known issue of version > > > > 0.0.4 resolved > > > > with 0.0.5 . > > > > Tom. > > > > > > > > > > > > > > > > 2006/4/24, Jose Gonzalez Gomez <[EMAIL PROTECTED]>: > > > > > Hi there, > > > > > > > > > > After reading about the Eclipse plugin I decided to give it a try. I > > > > > installed it, and tried to run a maven goal, but the execution seems > > to > > > > > hang. After enabling debug output in the preferences I get this in > > the > > > > > console: > > > > > > > > > > [DEBUG] Found 0 components to load on start > > > > > [DEBUG] Building Maven user-level plugin registry from: > >
Problems with Eclipse plugin
Hi there, I'm still unable to get the Maven2 support in Eclipse running properly. I have tried again after upgrading to 0.0.7 and I keep getting errors I don't get when running Maven at the command line. Here you have an example: [INFO] [INFO] Building netflux core [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] 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] Setting reports dir: U:\proyectos\otros\netflux\netflux-core\target/surefire-reports --- T E S T S --- [surefire] Running org.netflux.core.FieldTest [surefire] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0,203 sec [INFO] jar:jar [ERROR] mojo-execute : jar:jar Diagnosis: Error assembling JAR FATAL ERROR: Error executing Maven for a project [ERROR] project-execute : org.netflux:netflux-core:jar:0.2-SNAPSHOT ( task-segment: [install] ) Diagnosis: Error assembling JAR FATAL ERROR: Error executing Maven for a project org.apache.maven.lifecycle.LifecycleExecutionException: Error assembling JAR at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle (DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:454) 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.embedder.MavenEmbedder.execute(MavenEmbedder.java :441) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java :382) at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:68) Caused by: org.apache.maven.plugin.MojoExecutionException: Error assembling JAR at org.apache.maven.plugin.jar.AbstractJarMojo.createArchive( AbstractJarMojo.java:151) at org.apache.maven.plugin.jar.AbstractJarMojo.execute( AbstractJarMojo.java:163) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:534) ... 8 more Caused by: java.lang.NullPointerException at org.apache.maven.artifact.ArtifactUtils.copyArtifact( ArtifactUtils.java:109) at org.apache.maven.project.MavenProject.(MavenProject.java:251) at org.apache.maven.archiver.MavenArchiver.createArchive( MavenArchiver.java:232) at org.apache.maven.plugin.jar.AbstractJarMojo.createArchive( AbstractJarMojo.java:144) ... 11 more I get the following at the command line running mvn install: [INFO] Scanning for projects... [INFO] [INFO] Building netflux core [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] [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] Setting reports dir: U:\proyectos\otros\netflux\netflux-core\target/surefire-reports --- T E S T S --- [surefire] Running org.netflux.core.FieldTest [surefire] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0,078 sec [INFO] [jar:jar] [INFO] Building jar: U:\proyectos\otros\netflux\netflux-core\target\netflux- core-0.2-SNAPSHOT.jar [INFO] [install:install] [INFO] Installing U:\proyectos\otros\netflux\netflux-core\target\netflux- core-0.2-SNAPSHOT.jar to C:\Documents and Settings\jgonzalez.CEESCATDOM\.m2\repository\org\netflux\netflux-core\0.2-SNAPSHOT\netflux- core-0.2-SNAPSHOT.jar [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 13 seconds [INFO] Finished at: Tue May 09 12:46:27 CEST 2006 [INFO] Final Memory: 4M/8M [INFO] -
[M2] How to develop a JEE application
Hi there, Do you have any pointers, documentation, whatever on developing a JEE application from scratch? I'm interested in using the new JEE 5 version, and I don't know what dependencies to use in my project descriptor, or even if such dependencies exist in the maven repository. By the way, is Glassfish the only open source application server implementing the whole JEE 5 right now? Thanks in advance, best regards Jose
Re: [M2] How to develop a JEE application
2006/5/19, Borut Bolčina <[EMAIL PROTECTED]>: Hi, did you read the book at http://www.mergere.com/m2book_download.jsp? There is a chapter on EE development. Yes, I have read it, but the dependencies shown there are for J2EE 1.4 (at least in the version of the book I've downloaded). I've searched for similar dependencies for JEE 5 in the Maven repository, but haven't found anything... Thanks a lot
Re: [M2] How to develop a JEE application
2006/5/19, Serge Emmanuel Pagop <[EMAIL PROTECTED]>: Hi Jose, Glassfish is not the only Java EE 5 vendor, there are another vendors like JBoss.ORG with JBoss 4.0.4 AS. I' am writting a tutorial how developers can use maven2 to develop Java EE app a la JBoss other Java EE App a la Glassfish. I've been searching through the JBoss web and have found only references to EJB3.0, but not to JEE 5 as a whole... does JBoss 4.0.4 implements the whole JEE 5 spec? Do you have any "beta" version of that tutorial I can take a look to? I would be willing to colaborate with you checking your configuration or proposing improvements. Thanks a lot Jose
Dependency management problem with classifier tag - bug?
Hi there, I'm having a really strange problem related to dependency management. I have a parent pom with some dependencies declared in the dependency management section, and a child pom inheriting from it. One of the dependencies is the testng jar. Here you have excerpts from both files: Parent pom: 4.0.0 org.surveyforge surveyforge pom SurveyForge 0.1-SNAPSHOT [...] [...] org.testng testng 4.7 jdk15 test [...] [...] Child pom: org.surveyforge surveyforge 0.1-SNAPSHOT 4.0.0 surveyforge-classification SurveyForge Classification API [...] org.testng testng [...] [...] If I try to run any goal I get with these two files I get the following: [INFO] Scanning for projects... [INFO] [ERROR] FATAL ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: org.surveyforge:surveyforge-classification POM Location: U:\proyectos\otros\surveyforge\surveyforge-classification\pom.xml Validation Messages: [0] 'dependencies.dependency.version' is missing for org.testng:testng Reason: Failed to validate POM [INFO] [INFO] Trace org.apache.maven.reactor.MavenExecutionException: Failed to validate POM at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278) 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.maven.project.InvalidProjectModelException: Failed to validate POM at org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic( DefaultMavenProjectBuilder.java:926) at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal (DefaultMavenProjectBuilder.java:737) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal (DefaultMavenProjectBuilder.java:416) at org.apache.maven.project.DefaultMavenProjectBuilder.build( DefaultMavenProjectBuilder.java:192) at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java :447) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java :491) at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351) ... 11 more [INFO] [INFO] Total time: < 1 second [INFO] Finished at: Tue Jun 20 12:11:45 CEST 2006 [INFO] Final Memory: 1M/2M [INFO] If I take away the classifier tag in the parent pom maven is able to validate the pom, but (obviously) fails because it cannot download the jar. If I include the whole dependency in the child pom and take it away from the parent pom I also get a correct execution. Any ideas? Is the classifier tag allowed in the dependency management section? Is this a bug? Best regards Jose
Re: docbook plugin - how to ??
2006/6/16, Felipe Gaúcho <[EMAIL PROTECTED]>: Dear friends, I'm trying to use the docbook plugin of maven 2.0.4 but something is getting wrong :)) any tip ? Please, take a look at http://mojo.codehaus.org/docbook-maven-plugin/. Best regards Jose
Re: Dependency management problem with classifier tag - bug?
Do you mean this? parent pom: org.testng testng 4.7 test child pom: org.testng testng jdk15 I tried it, and it also fails 2006/6/20, Carlos Sanchez <[EMAIL PROTECTED]>: you have to add the classifier in the child On 6/20/06, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote: > Hi there, > > I'm having a really strange problem related to dependency management. I have > a parent pom with some dependencies declared in the dependency management > section, and a child pom inheriting from it. One of the dependencies is the > testng jar. Here you have excerpts from both files: > > Parent pom: > > > 4.0.0 > org.surveyforge > surveyforge > pom > SurveyForge > 0.1-SNAPSHOT > [...] > > > [...] > > org.testng > testng > 4.7 > jdk15 > test > > [...] > > > [...] > > > > Child pom: > > > > org.surveyforge > surveyforge > 0.1-SNAPSHOT > > 4.0.0 > surveyforge-classification > SurveyForge Classification API > [...] > > > org.testng > testng > > [...] > > [...] > > > If I try to run any goal I get with these two files I get the following: > [INFO] Scanning for projects... > [INFO] > > [ERROR] FATAL ERROR > [INFO] > > [INFO] Error building POM (may not be this project's POM). > > > Project ID: org.surveyforge:surveyforge-classification > POM Location: > U:\proyectos\otros\surveyforge\surveyforge-classification\pom.xml > Validation Messages: > > [0] 'dependencies.dependency.version' is missing for org.testng:testng > > > Reason: Failed to validate POM > > > [INFO] > > [INFO] Trace > org.apache.maven.reactor.MavenExecutionException: Failed to validate POM > at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java :365) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java :278) > 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.maven.project.InvalidProjectModelException: Failed to > validate POM > at > org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic( > DefaultMavenProjectBuilder.java:926) > at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal > (DefaultMavenProjectBuilder.java:737) > at > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal > (DefaultMavenProjectBuilder.java:416) > at org.apache.maven.project.DefaultMavenProjectBuilder.build( > DefaultMavenProjectBuilder.java:192) > at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java :515) > at org.apache.maven.DefaultMaven.collectProjects( DefaultMaven.java > :447) > at org.apache.maven.DefaultMaven.collectProjects( DefaultMaven.java > :491) > at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java :351) > ... 11 more > [INFO] > > [INFO] Total time: < 1 second > [INFO] Finished at: Tue Jun 20 12:11:45 CEST 2006 > [INFO] Final Memory: 1M/2M > [INFO] > > > > If I take away the classifier tag in the parent pom maven is able to > validate the pom, but (obviously) fails because it cannot download the jar. > If I include the whole dependency in the child pom and take it away from the > parent pom I also get a correct execution. > > Any ideas? Is the classifier tag allowed in the dependency management > section? Is this a bug? > > Best regards > Jose > > -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Dependency management problem with classifier tag - bug?
Ok, now it's working... may I ask what is the logic behind this? I mean, why must classifier be included in the child pom? Thanks a lot, best regards Jose 2006/6/20, Carlos Sanchez <[EMAIL PROTECTED]>: no, classifier in both On 6/20/06, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote: > Do you mean this? > > parent pom: > > org.testng > testng > 4.7 > test > > > child pom: > > org.testng > testng > jdk15 > > > I tried it, and it also fails > > 2006/6/20, Carlos Sanchez <[EMAIL PROTECTED]>: > > > > you have to add the classifier in the child > > > > On 6/20/06, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote: > > > Hi there, > > > > > > I'm having a really strange problem related to dependency management. I > > have > > > a parent pom with some dependencies declared in the dependency > > management > > > section, and a child pom inheriting from it. One of the dependencies is > > the > > > testng jar. Here you have excerpts from both files: > > > > > > Parent pom: > > > > > > > > > 4.0.0 > > > org.surveyforge > > > surveyforge > > > pom > > > SurveyForge > > > 0.1-SNAPSHOT > > > [...] > > > > > > > > > [...] > > > > > > org.testng > > > testng > > > 4.7 > > > jdk15 > > > test > > > > > > [...] > > > > > > > > > [...] > > > > > > > > > > > > Child pom: > > > > > > > > > > > > org.surveyforge > > > surveyforge > > > 0.1-SNAPSHOT > > > > > > 4.0.0 > > > surveyforge-classification > > > SurveyForge Classification API > > > [...] > > > > > > > > > org.testng > > > testng > > > > > > [...] > > > > > > [...] > > > > > > > > > If I try to run any goal I get with these two files I get the following: > > > [INFO] Scanning for projects... > > > [INFO] > > > > > > [ERROR] FATAL ERROR > > > [INFO] > > > > > > [INFO] Error building POM (may not be this project's POM). > > > > > > > > > Project ID: org.surveyforge:surveyforge-classification > > > POM Location: > > > U:\proyectos\otros\surveyforge\surveyforge-classification\pom.xml > > > Validation Messages: > > > > > > [0] 'dependencies.dependency.version' is missing for > > org.testng:testng > > > > > > > > > Reason: Failed to validate POM > > > > > > > > > [INFO] > > > > > > [INFO] Trace > > > org.apache.maven.reactor.MavenExecutionException: Failed to validate POM > > > at org.apache.maven.DefaultMaven.getProjects( DefaultMaven.java > > :365) > > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java > > :278) > > > 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.maven.project.InvalidProjectModelException: Failed > > to > > > validate POM > > > at > > > org.apache.maven.project.DefaultMavenProjectBui
Re: Dependency management problem with classifier tag - bug?
I understand from your words that if you have a classifier the dependency is identified not only with groupId and artifactId but also with classifier, so if you have two dependencies with different classifiers you should include both dependencies in the dependency management section, each with its corresponding classifier, and then you would identify the dependency in the child pom using groupId, artifactId and classifier, am I right? 2006/6/20, Carlos Sanchez <[EMAIL PROTECTED]>: because you may have two dependencies with different classifiers On 6/20/06, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote: > Ok, now it's working... may I ask what is the logic behind this? I mean, why > must classifier be included in the child pom? > > Thanks a lot, best regards > Jose > > 2006/6/20, Carlos Sanchez <[EMAIL PROTECTED]>: > > > > no, classifier in both > > > > On 6/20/06, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote: > > > Do you mean this? > > > > > > parent pom: > > > > > > org.testng > > > testng > > > 4.7 > > > test > > > > > > > > > child pom: > > > > > > org.testng > > > testng > > > jdk15 > > > > > > > > > I tried it, and it also fails > > > > > > 2006/6/20, Carlos Sanchez <[EMAIL PROTECTED]>: > > > > > > > > you have to add the classifier in the child > > > > > > > > On 6/20/06, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote: > > > > > Hi there, > > > > > > > > > > I'm having a really strange problem related to dependency > > management. I > > > > have > > > > > a parent pom with some dependencies declared in the dependency > > > > management > > > > > section, and a child pom inheriting from it. One of the dependencies > > is > > > > the > > > > > testng jar. Here you have excerpts from both files: > > > > > > > > > > Parent pom: > > > > > > > > > > > > > > > 4.0.0 > > > > > org.surveyforge > > > > > surveyforge > > > > > pom > > > > > SurveyForge > > > > > 0.1-SNAPSHOT > > > > > [...] > > > > > > > > > > > > > > > [...] > > > > > > > > > > org.testng > > > > > testng > > > > > 4.7 > > > > > jdk15 > > > > > test > > > > > > > > > > [...] > > > > > > > > > > > > > > > [...] > > > > > > > > > > > > > > > > > > > > Child pom: > > > > > > > > > > > > > > > > > > > > org.surveyforge > > > > > surveyforge > > > > > 0.1-SNAPSHOT > > > > > > > > > > 4.0.0 > > > > > surveyforge-classification > > > > > SurveyForge Classification API > > > > > [...] > > > > > > > > > > > > > > > org.testng > > > > > testng > > > > > > > > > > [...] > > > > > > > > > > [...] > > > > > > > > > > > > > > > If I try to run any goal I get with these two files I get the > > following: > > > > > [INFO] Scanning for projects... > > > > > [INFO] > > > > > > > > > > > > [ERROR] FATAL ERROR > > > > > [INFO] > > > > > > > > > > > > [INFO] Error building POM (may not be this project's POM). > > > > > > > > > > > > > > > Project ID: org.surveyforge:surveyforge-classification > > > > > POM Location: > > > > > U:\proyectos\otros\surveyforge\surveyforge-classification\pom.xml > > > > > Validation Messages: > > > > > > > > > > [0] 'dependencies.dependency.version' is missing for > > > > org.testng:testng > > > &g
[M2] How to know which test failed with TestNG
Hi there, I'm using TestNG to run tests in my project, and I'm facing a problem: whenever a test fails I get the following output: --- T E S T S --- Running All Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.094 sec <<< FAILURE! Results : Tests run: 7, Failures: 1, Errors: 0, Skipped: 0 As you can see, there is no information about which test failed, and the only way I've found to know this is to generate the site including the surefire report, but this is time consuming. I've also tried using the -e option as suggested in the output, but I only get a stack trace with no extra information. Am I missing anything? Best regards Jose
[M2] Using Spring with Maven / Eclipse
Hi there, I'm trying to use Spring / Maven / Eclipse in one of my projects with no success. I have included the following dependency in my pom: springframework spring 1.2.5 When I try to generate the Eclipse project (m2 eclipse:eclipse) I only get spring-1.2.5.jar added to the project classpath, so whenever I try to launch my application it fails due to missing spring dependencies. I've taken a look at ibiblio.org/maven2, and all the spring poms seem to include no dependency information, so... am I doing anything wrong or should I include all the Spring dependencies manually? Are the Spring poms incorrect? If this is the case, is it normal to have incorrect poms with missing dependencies in the ibiblio repository? Thanks in advance, best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] Using Spring with Maven / Eclipse
The 1.2.4 pom neither has the dependency information, at least in the maven2 respository (http://www.ibiblio.org/maven2/springframework/spring/1.2.4/spring-1.2.4.pom). I have taken a look at the maven1 respoitory and I was only able to find the 1.1.2 pom (http://www.ibiblio.org/maven/springframework/poms/spring-1.1.2.pom). Best regards Jose 2005/9/28, Stephen Duncan <[EMAIL PROTECTED]>: > You should be able to look at the 1.2.4 poms in the repository and > figure them out. I wouldn't expect very many of the dependencies to > change. > > -Stephen > > On 9/28/05, Nicolas Chalumeau <[EMAIL PROTECTED]> wrote: > > -- Forwarded message -- > > From: Jose Gonzalez Gomez <[EMAIL PROTECTED]> > > Date: 28 sept. 2005 19:12 > > Subject: Re: [M2] Using Spring with Maven / Eclipse > > To: Nicolas Chalumeau <[EMAIL PROTECTED]> > > > > > > http://jira.codehaus.org/browse/MEV-98 > > > > Meanwhile, anybody has a list of spring dependencies to include them > > manually? > > > > 2005/9/28, Nicolas Chalumeau <[EMAIL PROTECTED]>: > > > post an issue at http://jira.codehaus.org/browse/MEV for it > > > > > > Nicolas > > > > > > 2005/9/28, Jose Gonzalez Gomez <[EMAIL PROTECTED]>: > > > > Hi there, > > > > > > > > I'm trying to use Spring / Maven / Eclipse in one of my projects with > > > > no success. I have included the following dependency in my pom: > > > > > > > > > > > > springframework > > > > spring > > > > 1.2.5 > > > > > > > > > > > > When I try to generate the Eclipse project (m2 eclipse:eclipse) I only > > > > get spring-1.2.5.jar added to the project classpath, so whenever I try > > > > to launch my application it fails due to missing spring dependencies. > > > > I've taken a look at ibiblio.org/maven2, and all the spring poms seem > > > > to include no dependency information, so... am I doing anything wrong > > > > or should I include all the Spring dependencies manually? Are the > > > > Spring poms incorrect? If this is the case, is it normal to have > > > > incorrect poms with missing dependencies in the ibiblio repository? > > > > > > > > Thanks in advance, best regards > > > > Jose > > > > > > > > - > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Stephen Duncan Jr > www.stephenduncanjr.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] Using Spring with Maven / Eclipse
Ok, now I'm trying to use spring-beans (right now I'm using only this part), and I get the following message (quite curious WARNING): Downloading: file://c:/Documents and Settings/carlos/.m2/private_repo/commons-collections/commons-collections/3.1/commons-collections-3 .1.jar [WARNING] Unable to get resource from repository private (file://c:/Documents and Settings/carlos/.m2/private_repo) Downloading: http://repo1.maven.org/maven2/commons-collections/commons-collections/3.1/commons-collections-3.1.jar I get this for several dependencies, not just this... Best regards Jose 2005/9/29, Carlos Sanchez <[EMAIL PROTECTED]>: > I'd say, use the spring pieces you need instead of adding the full > jar. It'll be easier for you. > > On 9/28/05, Stephen Duncan <[EMAIL PROTECTED]> wrote: > > spring-full > > > > http://www.ibiblio.org/maven2/springframework/spring-full/1.2.4/spring-full-1.2.4.pom > > > > And then, for example for each piece: > > > > http://www.ibiblio.org/maven2/springframework/spring-hibernate/1.2.4/spring-hibernate-1.2.4.pom > > > > -Stephen > > > > On 9/28/05, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote: > > > The 1.2.4 pom neither has the dependency information, at least in the > > > maven2 respository > > > (http://www.ibiblio.org/maven2/springframework/spring/1.2.4/spring-1.2.4.pom). > > > I have taken a look at the maven1 respoitory and I was only able to > > > find the 1.1.2 pom > > > (http://www.ibiblio.org/maven/springframework/poms/spring-1.1.2.pom). > > > > > > Best regards > > > Jose > > > > > > 2005/9/28, Stephen Duncan <[EMAIL PROTECTED]>: > > > > You should be able to look at the 1.2.4 poms in the repository and > > > > figure them out. I wouldn't expect very many of the dependencies to > > > > change. > > > > > > > > -Stephen > > > > > > > > On 9/28/05, Nicolas Chalumeau <[EMAIL PROTECTED]> wrote: > > > > > -- Forwarded message -- > > > > > From: Jose Gonzalez Gomez <[EMAIL PROTECTED]> > > > > > Date: 28 sept. 2005 19:12 > > > > > Subject: Re: [M2] Using Spring with Maven / Eclipse > > > > > To: Nicolas Chalumeau <[EMAIL PROTECTED]> > > > > > > > > > > > > > > > http://jira.codehaus.org/browse/MEV-98 > > > > > > > > > > Meanwhile, anybody has a list of spring dependencies to include them > > > > > manually? > > > > > > > > > > 2005/9/28, Nicolas Chalumeau <[EMAIL PROTECTED]>: > > > > > > post an issue at http://jira.codehaus.org/browse/MEV for it > > > > > > > > > > > > Nicolas > > > > > > > > > > > > 2005/9/28, Jose Gonzalez Gomez <[EMAIL PROTECTED]>: > > > > > > > Hi there, > > > > > > > > > > > > > > I'm trying to use Spring / Maven / Eclipse in one of my projects > > > > > > > with > > > > > > > no success. I have included the following dependency in my pom: > > > > > > > > > > > > > > > > > > > > > springframework > > > > > > > spring > > > > > > > 1.2.5 > > > > > > > > > > > > > > > > > > > > > When I try to generate the Eclipse project (m2 eclipse:eclipse) I > > > > > > > only > > > > > > > get spring-1.2.5.jar added to the project classpath, so whenever > > > > > > > I try > > > > > > > to launch my application it fails due to missing spring > > > > > > > dependencies. > > > > > > > I've taken a look at ibiblio.org/maven2, and all the spring poms > > > > > > > seem > > > > > > > to include no dependency information, so... am I doing anything > > > > > > > wrong > > > > > > > or should I include all the Spring dependencies manually? Are the > > > > > > > Spring poms incorrect? If this is the case, is it normal to have > > > > > > > incorrect poms with missing dependencies in the ibiblio > > > > > > > repository? > > > > > > > > > > > > > > Thanks in advance, best regards > > > > > > > Jose > > > > > > > > > > > > > > - > > > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > - > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > -- > > > > Stephen Duncan Jr > > > > www.stephenduncanjr.com > > > > > > > > - > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > -- > > Stephen Duncan Jr > > www.stephenduncanjr.com > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] Testing with TestNG
Hi there, I would like to give TestNG a try under Maven, but it seems that surefire only supports JUnit currently. I have found some mails in the archive from some people trying to create a plugin... what's the situation? Thanks in advance, best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] Use key agent to handle SCP authentications
Hi there, Is there any way to use a SSH key agent (like Pageant in Putty) to handle SCP authentications? As far as I know the only way to use a protected private key is to write down the password in the settings files, am I wrong? I would like to avoid this if possible... Thanks in advance, best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] Use key agent to handle SCP authentications
Is there any way to specify the executable to use? I'm working with Putty under Windows, so instead of an scp executable I'd like to use Plink (bundled with Putty, Pageant aware). Thanks a lot, best regards Jose 2005/10/13, Brett Porter <[EMAIL PROTECTED]>: > > > > org.apache.maven.wagon > wagon-ssh-external > 1.0-alpha-5 (use -alpha-4 if having problems > on m2 beta-3) > > > > > > > scpexe://... > ... > > Cheers, > Brett > > > On 10/13/05, Jörg Schaible <[EMAIL PROTECTED]> wrote: > > Jose Gonzalez Gomez wrote on Thursday, October 13, 2005 1:06 PM: > > > > > Hi there, > > > > > > Is there any way to use a SSH key agent (like Pageant in > > > Putty) to handle SCP authentications? As far as I know the > > > only way to use a protected private key is to write down the > > > password in the settings files, am I wrong? I would like to avoid > > > this if possible... > > > > Use the scpexe protocol. This will invoke a native scp. But don't ask me > > how this is configured in M2, I can only see that wagon has still a > > ssh-external artifact. > > > > - Jörg > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] Project structure and Eclipse
Hi there, I know this has been discussed several times in the list, but I still don't understand some issues. Summing up (correct me if I'm wrong) from what I've read: The recommended structure for a project with multiple modules is the following: +pom.xml +module1 +pom.xml +src +module2 +pom.xml +src with even the possibility of having more than one level of subprojects. Root or intermediate projects should have a packaging type of pom and leaf and intermediate projects should declare a parent pom. My questions regarding this layout: 1. Maven doesn't seem to generate project files for pom projects, does it? So I can open the leaf projects (and edit their POMs) using Eclipse, but I cannot do the same (at least using the Import existing projects feature of Eclipse) with POM only projects, so I cannot edit those POMs inside Eclipse. 2. If I try to create those projects manually in Eclipse, even if I create a Simple project, I get an error telling me that the project I'm trying to create overlaps some other existing project (a leaf project), so I'm neither lucky this way... is there any way to edit those root and intermediate POMs that I'm missing? 3. All the examples I've seen so far include the version in all the POMs. Is this needed, or can you still use the maven 1 style kind of ${project.version} in child POMs? 4. In the example provided at http://jira.codehaus.org/browse/MNG-743 they use a different groupId for every POM in the project. The groupId contains the whole path until you reach the leaf project and this turns into a tree structure in the repository, with one artifact per directory. Is this the recommended way to do this? In Maven 1 I use to have a flattened project structure, like this: +root +project.xml +module1 +project.xml +src +module2 +project.xml +src and maven generated Eclipse projects for every project.xml found, even the one in the "root" folder, so I didn't have any of these problems. Thanks in advance, best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Flattened Eclipse Project
2005/10/14, mika <[EMAIL PROTECTED]>: > Hi Brian, > [snip] > > Now, I've found a solution which I *don't* consider to be > "best-practice"-style at all, but it seems to work for me / us right at > the moment: > > + parent >+ pom.xml > + module >+ pom.xml > + webapp >+ pom.xml > ... > > The modules in the parent are referenced like this: > >../module >../webapp > > > If I really understood right, for the recommended layout to work > a) the top-most-pom could e.g. reside directly in my eclipse workspace > folder and the subprojects would all be proper eclipse projects in the > workspace > - or - > b) none of my projects are actually in the workspace (filesystem) but > referenced from some other location on the fs - IMHO this would allow > any level of nesting. > > Maybe I should give the b)-approach a try when I get some more time... I *always* have my projects out of the Eclipse workspace, and I have tried your b solution with no success: whenever you try to create a project (even a "Simple" project) in a parent directory of an already created project you get an error from Eclipse telling you that the new project cannot be created as it would overlap with an existing project. So as far as I know the recommended layout is incompatible with Eclipse, at least with being able to edit the parent pom and manage its versions. Best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] How to specify ssh/scp executable with scpexe
Hi there, It's all in the subject: I'm trying to use scpexe with Putty under Windows, but I can't find where to specify what executable should use the scpexe extension. I've even taken a look at the sources, and this seems to be configurable (there are two instances variables marked with @component.configuration), but I don't know how... Thanks in advance, best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] How to specify ssh/scp executable with scpexe
2005/10/14, Jose Gonzalez Gomez <[EMAIL PROTECTED]>: > Hi there, > > It's all in the subject: I'm trying to use scpexe with Putty under > Windows, but I can't find where to specify what executable should use > the scpexe extension. I've even taken a look at the sources, and this > seems to be configurable (there are two instances variables marked > with @component.configuration), but I don't know how... > Any help on this would be greatly appreciated. Sorry for the bump, best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] Docbook support
Hi there, In the announcement docbook support is mentioned, but I haven't been able to find anything about it in the docs. I've also found some thread talking about docbook support in Doxia, but its web says nothing about it. Finally the plugin matrix mentions a docbook plugin that seems to be M2 ready... what's the situation? By the way, congrats for the 2.0 release!!! Thanks in advance, best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] SCP nightmare in Windows
Hi there, Is anybody successfully using SCP with public key authentication deployment under Windows with Maven 2.0? My current problems: 1. Using scp: 1.1 You either have to put your private key passphrase in the settings.xml file or have an unprotected private key. 1.2 Maven cannot stablish the authenticity of the host. No matter how many times I answer yes, Maven keeps on telling me that it cannot stablish the authenticity of the host, showing me its RSA key and asking me if I want to continue connecting. After 20 times I start getting tired. 2. Using scpexe (well, trying to): 2.1 I'm using Putty/Plink, but wagon-ssh-external uses by default ssh/scp as the executables, and I don't know how to tell him to use plink, although the code seems to be prepared to be configured and even has some references to plink. Please, if anybody know the magic incantations needed to make it work (keeping plink), please, please, share it Thanks in advance, best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] maintaining your own repository
2005/10/20, Wim Deblauwe <[EMAIL PROTECTED]>: > Hi, > > currently we use Maven 1 and have our own repository on a windows share. > Whenever a new dependency is needed, I copy it manually from ibiblio to our > share. Our proxy requires autentication, and passwords change often, so it > is easy to get locked out because you forgot to change your password in your > build.properties. > It there a better way to do this (in maven 2 perhaps)? > > I would like to be able to specify my proxy settings on my machine, and have > maven copy the needed dependency from ibiblio to my remote repository, so it > is available for the whole team. After that I remove the proxy settings > again to avoid the lockout, and maven uses our own repository happely. > > regards, Maybe what you need is a combination of http://maven-proxy.codehaus.org/ and setting a proxy in your settings.xml file... HTH, best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] SCP nightmare in Windows
Just creating the directory made it work, thanks a lot Jose 2005/10/20, Stephen Duncan <[EMAIL PROTECTED]>: > On the RSA key: Make sure that you have a folder C:\Documents And > Settings\yourusername\.ssh > > Potentially make sure you have a known_hosts file in that directory if > it still doesn't work. The issue is that it's not creating that file, > most likely, so it asks for every attempt to use scp. At least, that > was my issue with the release candidate, though I thought it was going > to be fixed for 2.0 final... > > -Stephen > > On 10/20/05, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote: > > Hi there, > > > > Is anybody successfully using SCP with public key authentication > > deployment under Windows with Maven 2.0? My current problems: > > > > 1. Using scp: > > 1.1 You either have to put your private key passphrase in the > > settings.xml file or have an unprotected private key. > > 1.2 Maven cannot stablish the authenticity of the host. No matter > > how many times I answer yes, Maven keeps on telling me that it cannot > > stablish the authenticity of the host, showing me its RSA key and > > asking me if I want to continue connecting. After 20 times I start > > getting tired. > > > > 2. Using scpexe (well, trying to): > > 2.1 I'm using Putty/Plink, but wagon-ssh-external uses by default > > ssh/scp as the executables, and I don't know how to tell him to use > > plink, although the code seems to be prepared to be configured and > > even has some references to plink. > > > > Please, if anybody know the magic incantations needed to make it work > > (keeping plink), please, please, share it > > > > Thanks in advance, best regards > > Jose > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Stephen Duncan Jr > www.stephenduncanjr.com > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] Docbook support
2005/10/20, Emmanuel Venisse <[EMAIL PROTECTED]>: > > > Jason van Zyl a écrit : > > On Thu, 2005-10-20 at 11:28 +0200, Jose Gonzalez Gomez wrote: > > > >>Hi there, > >> > >>In the announcement docbook support is mentioned, but I haven't been > >>able to find anything about it in the docs. I've also found some > >>thread talking about docbook support in Doxia, but its web says > >>nothing about it. Finally the plugin matrix mentions a docbook plugin > >>that seems to be M2 ready... what's the situation? > > > > > > Docbook is supported by Doxia but we haven't tested it very thoroughly. > > Emm, is docbook working? > > I don't know. I never used docbook documents > > > > > The support is in Doxia for sure which is the hard part. If we have to > > expose it that would only take 30 minutes. > > I'm very interested in it, so If somebody has those 30 minutes to expose it I would be willing to test it and share the result. I would also like the know if there is interest enough in adding this support, as I had written a simple plugin for M1, and I've been thinking in porting it to M2, but I wouldn't like to spend time on reinventing the wheel if there is somebody already working on this. > > > >>By the way, congrats for the 2.0 release!!! > >> > >>Thanks in advance, best regards > >>Jose > >> > >>- > >>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] Docbook support
2005/10/21, Emmanuel Venisse <[EMAIL PROTECTED]>: > > > Jose Gonzalez Gomez a écrit : > > 2005/10/20, Emmanuel Venisse <[EMAIL PROTECTED]>: > > > >> > >>Jason van Zyl a écrit : > >> > >>>On Thu, 2005-10-20 at 11:28 +0200, Jose Gonzalez Gomez wrote: > >>> > >>> > >>>>Hi there, > >>>> > >>>>In the announcement docbook support is mentioned, but I haven't been > >>>>able to find anything about it in the docs. I've also found some > >>>>thread talking about docbook support in Doxia, but its web says > >>>>nothing about it. Finally the plugin matrix mentions a docbook plugin > >>>>that seems to be M2 ready... what's the situation? > >>> > >>> > >>>Docbook is supported by Doxia but we haven't tested it very thoroughly. > >>>Emm, is docbook working? > >> > >>I don't know. I never used docbook documents > >> > >> > >>>The support is in Doxia for sure which is the hard part. If we have to > >>>expose it that would only take 30 minutes. > >>> > > > > > > I'm very interested in it, so If somebody has those 30 minutes to > > expose it I would be willing to test it and share the result. > > > > I would also like the know if there is interest enough in adding this > > support, as I had written a simple plugin for M1, and I've been > > thinking in porting it to M2, but I wouldn't like to spend time on > > reinventing the wheel if there is somebody already working on this. > > I added support of docbook document in site generation. If you want to try > it, checkout m2 > trunk and bootstrap it. > put your docbook documents in src/site/docbook > I think docbook parser in doxia isn't finished but it's a start. > Thanks a lot, I'll try to take a look at it as soon as possible. Anyway, I've been taking a look at the head revision of org.codehaus.doxia.module.docbook.DocBookParser.java, and I doubt that this parser is going to generate anything close to useful. I had the feeling that this class was copied from some other parser (maybe the xdoc parser, as indicated in the header comment): most of the tags used there are not part of the Docbook format, and there are some commonly used tags missing. I understand that the main objective of having such a thing as Doxia is to provide an homogeneous output so the whole site generated by Maven has the same look, but taking this approach means that you have to put a lot of restrictions on the input documents, or handle the whole document and convert it to the (commonly) lower level of detail used in the Maven output. I'm not sure this is a good approach for Docbook: Docbook is a rich format thought to cover the writing of a full blown book, and there is a lot of effort put in the Docbook stylesheets, that are highly customisable and lets you generate output in several formats. Using Doxia you would either have to use just a little portion of its full power, or duplicate a lot of effort writing a parser that is able to handle the whole format and reduce it to the Maven format. I mainly use Docbook to write RUP project documentation (requirements, use cases and actor specifications, risk lists,...). I use Docbook cause I can use almost WYSIWYG editors to create it, is control version friendly and I have the possibility of generating a lot of formats from Docbook. I'm lately thinking that integrating such a documentation into a Maven site it isn't a good idea but I still need some way to integrate this documentation and generation/publication in a more user friendly format into the life cycle of the project. So what I woud really need is a plugin that lets me generate HTML/XHTML from Docbook using their standard stylesheets; include this in the generated site, even with its own format; provide a link to access it from the Maven site; and finally include the documentation in the publication of the site... Well, just a lot of loud thinking... I would like to hear oppinions on this. Best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] Docbook support
2005/10/24, Jason van Zyl <[EMAIL PROTECTED]>: > On Fri, 2005-10-21 at 13:27 +0200, Jose Gonzalez Gomez wrote: > > > Thanks a lot, I'll try to take a look at it as soon as possible. > > Anyway, I've been taking a look at the head revision of > > org.codehaus.doxia.module.docbook.DocBookParser.java, and I doubt that > > this parser is going to generate anything close to useful. I had the > > feeling that this class was copied from some other parser (maybe the > > xdoc parser, as indicated in the header comment): most of the tags > > used there are not part of the Docbook format, and there are some > > commonly used tags missing. > > It's simplified docbook and is definitely geared toward site > documentation, but decent PDFs can be produced. > > If you have existing tools that work with full docbook I would say stick > with them. What's in Doxia is simplified docbook support. > I had a working docbook plugin for maven1 capable of generating HTML output based on standard stylesheets, with resolution of links between docbook documents. I'm thinking about porting it to maven2... I could release it as open source if there's enough interest. Thanks, best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] Javadoc failing
Hi there, I cannot generate javadoc reports. The problem seems to be related with having the JVM installed in a path with spaces in it: C:\Archivos de programa\Java\jdk1.5.0_04 (Archivos de programa is the equivalent to Program files in spanish). Here you have the output from Maven: [INFO] "C:\Archivos de programa\Java\jdk1.5.0_04\jre\..\bin\javadoc.exe" -package -sourcePath "C:\Documents and Settings\jgonzalez\Mis documentos\proyectos\otros\netflux\project\..\modules\netflux-core\src\main\java" -classpath "C:\Documents and Settings\jgonzalez\Mis documentos\proyectos\otros\netflux\project\..\modules\netflux-core\target\classes;C:\Documents and Settings\jgonzalez\.m2\repository\bsf\bsf\2.3.0\bsf-2.3.0.jar" -author -bottom "Copyright null CEESCAT. All Rights Reserved." -charset ISO-8859-1 -d "C:\Documents and Setti ngs\jgonzalez\Mis documentos\proyectos\otros\netflux\project\..\modules\netflux-core\target\javadoc\apidocs" -doctitle "Netflux ETL tool 0.1-SNAPSHOT API" -stylesheetfile "C:\Documents and Settings\jgonzalez\Mis documentos\proyectos\otros\netflux\project\..\modules\netflux-core\target\javadoc\apidocs\stylesheet.css" -use -version -windowtitle "Netflux ETL tool 0.1-SNAPSHOT API" @files "C:\Archivos" no se reconoce como un comando interno o externo, programa o archivo por lotes ejecutable. This last phrase means that "C:\Archivos" isn't recognized as an internal or external command, application or batch executable file. Has anybody experienced this? Any workaround other than reinstalling Java to a different directory? Best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] Docbook support
Brett, Do you mean docbook support in Doxia or are you talking about anything else? Jose 2005/10/24, Brett Porter <[EMAIL PROTECTED]>: > There seem to be a few people working on a the docbook support right > now. It would be good to see folks collaborating on a solution that > covers everyone's needs. > > - Brett > > On 10/24/05, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote: > > 2005/10/24, Jason van Zyl <[EMAIL PROTECTED]>: > > > On Fri, 2005-10-21 at 13:27 +0200, Jose Gonzalez Gomez wrote: > > > > > > > Thanks a lot, I'll try to take a look at it as soon as possible. > > > > Anyway, I've been taking a look at the head revision of > > > > org.codehaus.doxia.module.docbook.DocBookParser.java, and I doubt that > > > > this parser is going to generate anything close to useful. I had the > > > > feeling that this class was copied from some other parser (maybe the > > > > xdoc parser, as indicated in the header comment): most of the tags > > > > used there are not part of the Docbook format, and there are some > > > > commonly used tags missing. > > > > > > It's simplified docbook and is definitely geared toward site > > > documentation, but decent PDFs can be produced. > > > > > > If you have existing tools that work with full docbook I would say stick > > > with them. What's in Doxia is simplified docbook support. > > > > > I had a working docbook plugin for maven1 capable of generating HTML > > output based on standard stylesheets, with resolution of links between > > docbook documents. I'm thinking about porting it to maven2... I could > > release it as open source if there's enough interest. > > > > Thanks, best regards > > Jose > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] Docbook support
2005/10/25, Jason van Zyl <[EMAIL PROTECTED]>: > On Tue, 2005-10-25 at 09:35 +0200, Jose Gonzalez Gomez wrote: > > Brett, > > > > Do you mean docbook support in Doxia or are you talking about anything else? > > He meant find a general approach that works. If it can be done in Doxia > that's great, otherwise you might need a separate tool. > Please, correct me if I'm wrong, as I have made some assumptions from my little knowledge of the inner operations of Maven and Doxia... I think the problem here is trying to match two completely different approaches: 1. In first place, we have Doxia that (I think) was created as a tool to parse and generate documentation in several formats. I guess (correct me if I'm wrong) that the original primary purpose of Doxia was being able to integrate documentation written in several formats in a Maven site. The problem with such an approach is that you have to stablish a common group of elements that all those source formats must share (the Sink interface in Doxia), so if you have a source format richer than that, you're losing in the process. 2. In second place we have Docbook, a format that was created to write technical documentation. The real power of Docbook (IMHO) is not the format itself but the possibility of using almost WYSIWYG editors and the style sheets available that let you generate documentation in a lot of formats: HTML, XHTML, PDF, JavaHelp, Eclipse Help,... Here you have just a source format you use to generate whatever you want, so you don't have the need to limit your output, as you come from a known input. I have the feeling that wahtever you do in Doxia regarding Docbook: 1. You are reinventing the wheel in some sense, as you already have the Docbook stylesheets, and 2. You are losing a lot of the power and richness of Docbook So I have the feeling that this is not the right approach... What I would probably do is drop the docbook support in Doxia (or keep it deliberately simple), as I see no reason to write a Maven site using Docbook: APT or HTML/XHTML are much more adequate to do that. Any way, I think a plugin for managing Docbook files is needed, as I may want to generate project documentation in PDF format, JavaHelp files, whatever that doesn't go directly into the Maven site... this should be included in the build process of the project, as it's just another deliverable, or artifact in the Maven vocabulary. And this should be done using the Docbook stylesheets, as there is a lot of effort put into them, and they're proved and reliable. Also I don't think writing all this support into Doxia is neither sensible nor possible. What do you think about this? Best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New JIRA project for the Maven 2.x plug-in for Eclipse
2005/10/25, Jason van Zyl <[EMAIL PROTECTED]>: > Hi, > > I've created a project so that people who are trying out the new Maven > 2.x plug-in for Eclipse can raise issues/concerns: > > http://jira.codehaus.org/browse/MNGECLIPSE > Jason, Where can we download this plugin? Will anybody setup an Eclipse update site? That would be really great... Thanks, Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SSH proxy for deployments
Does Maven use the proxy defined in settings.xml for SSH connections? I've successfully deployed sites and artifacts inside my LAN, but as soon as I try to do the same for a computer outsite the LAN, I get a connection time out. Of course I've tried to connect to those hosts using an SSH client with no problem. TIA, best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SSH proxy for deployments
No, it's an HTTP proxy 2005/10/31, Brett Porter <[EMAIL PROTECTED]>: > Not over SSH, no. Is it a SOCKS proxy? > > - Brett > > On 10/28/05, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote: > > Does Maven use the proxy defined in settings.xml for SSH connections? > > I've successfully deployed sites and artifacts inside my LAN, but as > > soon as I try to do the same for a computer outsite the LAN, I get a > > connection time out. Of course I've tried to connect to those hosts > > using an SSH client with no problem. > > > > TIA, best regards > > Jose > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SSH proxy for deployments
Well, I don't know that much about proxies, but I'm using PuTTY, and in the Proxy type option I have HTTP selected. 2005/11/2, Brett Porter <[EMAIL PROTECTED]>: > How is it possible to use SSH over HTTP? > > - Brett > > On 11/2/05, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote: > > No, it's an HTTP proxy > > > > 2005/10/31, Brett Porter <[EMAIL PROTECTED]>: > > > Not over SSH, no. Is it a SOCKS proxy? > > > > > > - Brett > > > > > > On 10/28/05, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote: > > > > Does Maven use the proxy defined in settings.xml for SSH connections? > > > > I've successfully deployed sites and artifacts inside my LAN, but as > > > > soon as I try to do the same for a computer outsite the LAN, I get a > > > > connection time out. Of course I've tried to connect to those hosts > > > > using an SSH client with no problem. > > > > > > > > TIA, best regards > > > > Jose > > > > > > > > - > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > - > > 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: SSH proxy for deployments
I seem to remember that the SSH support in Maven is provided by JSch, am I right? In their web page (http://www.jcraft.com/jsch/) they say that JSch has support for "connection through HTTP proxy", so the support is there, it just have to be activated, anybody knows how? 2005/11/2, Stevenson, Chris <[EMAIL PROTECTED]>: > We use putty for SSH through a proxy server also, I don't think you are > speaking http per-se. All that's happening is you are asking your proxy > server do do the connection for you (as you're not allowed out on that port) > > Like so: > ssh protocol > ssh protocol > Your machine:someport <> 80: Proxy Server, Proxy Server:someport > <---> Target Machine:22 (ssh) > > Proxy server is just the middle man to punch a hole in firewall. > > That's my 2 cents anyhows. You may speak http to the proxy but I would be > surprised. > > Chris > > -Original Message- > From: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED] > Sent: 02 November 2005 09:10 > To: Maven Users List > Subject: Re: SSH proxy for deployments > > Well, I don't know that much about proxies, but I'm using PuTTY, and in the > Proxy type option I have HTTP selected. > > 2005/11/2, Brett Porter <[EMAIL PROTECTED]>: > > How is it possible to use SSH over HTTP? > > > > - Brett > > > > On 11/2/05, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote: > > > No, it's an HTTP proxy > > > > > > 2005/10/31, Brett Porter <[EMAIL PROTECTED]>: > > > > Not over SSH, no. Is it a SOCKS proxy? > > > > > > > > - Brett > > > > > > > > On 10/28/05, Jose Gonzalez Gomez <[EMAIL PROTECTED]> > wrote: > > > > > Does Maven use the proxy defined in settings.xml for SSH > connections? > > > > > I've successfully deployed sites and artifacts inside my LAN, > > > > > but as soon as I try to do the same for a computer outsite the > > > > > LAN, I get a connection time out. Of course I've tried to > > > > > connect to those hosts using an SSH client with no problem. > > > > > > > > > > TIA, best regards > > > > > Jose > > > > > > > > > > > > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > -- > > > > --- To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > - 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] > > > > The information contained herein is confidential and is intended solely for > the > addressee. Access by any other party is unauthorised without the express > written permission of the sender. If you are not the intended recipient, > please > contact the sender either via the company switchboard on +44 (0)20 7623 8000, > or > via e-mail return. If you have received this e-mail in error or wish to read > our > e-mail disclaimer statement and monitoring policy, please refer to > http://www.drkw.com/disc/email/ or contact the sender. 3166 > > > > - > 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: SSH proxy for deployments
Here is the example: http://www.jcraft.com/jsch/examples/ViaHTTP.java 2005/11/3, Jose Gonzalez Gomez <[EMAIL PROTECTED]>: > I seem to remember that the SSH support in Maven is provided by JSch, > am I right? In their web page (http://www.jcraft.com/jsch/) they say > that JSch has support for "connection through HTTP proxy", so the > support is there, it just have to be activated, anybody knows how? > > 2005/11/2, Stevenson, Chris <[EMAIL PROTECTED]>: > > We use putty for SSH through a proxy server also, I don't think you are > > speaking http per-se. All that's happening is you are asking your proxy > > server do do the connection for you (as you're not allowed out on that port) > > > > Like so: > > ssh protocol > > ssh protocol > > Your machine:someport <> 80: Proxy Server, Proxy Server:someport > > <---> Target Machine:22 (ssh) > > > > Proxy server is just the middle man to punch a hole in firewall. > > > > That's my 2 cents anyhows. You may speak http to the proxy but I would be > > surprised. > > > > Chris > > > > -Original Message- > > From: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED] > > Sent: 02 November 2005 09:10 > > To: Maven Users List > > Subject: Re: SSH proxy for deployments > > > > Well, I don't know that much about proxies, but I'm using PuTTY, and in the > > Proxy type option I have HTTP selected. > > > > 2005/11/2, Brett Porter <[EMAIL PROTECTED]>: > > > How is it possible to use SSH over HTTP? > > > > > > - Brett > > > > > > On 11/2/05, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote: > > > > No, it's an HTTP proxy > > > > > > > > 2005/10/31, Brett Porter <[EMAIL PROTECTED]>: > > > > > Not over SSH, no. Is it a SOCKS proxy? > > > > > > > > > > - Brett > > > > > > > > > > On 10/28/05, Jose Gonzalez Gomez <[EMAIL PROTECTED]> > > wrote: > > > > > > Does Maven use the proxy defined in settings.xml for SSH > > connections? > > > > > > I've successfully deployed sites and artifacts inside my LAN, > > > > > > but as soon as I try to do the same for a computer outsite the > > > > > > LAN, I get a connection time out. Of course I've tried to > > > > > > connect to those hosts using an SSH client with no problem. > > > > > > > > > > > > TIA, best regards > > > > > > Jose > > > > > > > > > > > > > > > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > -- > > > > > --- To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > - 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] > > > > > > > > The information contained herein is confidential and is intended solely for > > the > > addressee. Access by any other party is unauthorised without the express > > written permission of the sender. If you are not the intended recipient, > > please > > contact the sender either via the company switchboard on +44 (0)20 7623 > > 8000, or > > via e-mail return. If you have received this e-mail in error or wish to > > read our > > e-mail disclaimer statement and monitoring policy, please refer to > > http://www.drkw.com/disc/email/ or contact the sender. 3166 > > > > > > > > - > > 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: SSH proxy for deployments
I've taken a look at wagon sources, and the SSH wagon doesn't provide support for proxied connections, although it internally uses JSch, and inherits from AbstractWagon, that has a field with proxy information. I've created an issue: http://jira.codehaus.org/browse/WAGONSSH-24 Best regards Jose 2005/11/3, Jose Gonzalez Gomez <[EMAIL PROTECTED]>: > Here is the example: > > http://www.jcraft.com/jsch/examples/ViaHTTP.java > > 2005/11/3, Jose Gonzalez Gomez <[EMAIL PROTECTED]>: > > I seem to remember that the SSH support in Maven is provided by JSch, > > am I right? In their web page (http://www.jcraft.com/jsch/) they say > > that JSch has support for "connection through HTTP proxy", so the > > support is there, it just have to be activated, anybody knows how? > > > > 2005/11/2, Stevenson, Chris <[EMAIL PROTECTED]>: > > > We use putty for SSH through a proxy server also, I don't think you are > > > speaking http per-se. All that's happening is you are asking your proxy > > > server do do the connection for you (as you're not allowed out on that > > > port) > > > > > > Like so: > > > ssh protocol > > > ssh protocol > > > Your machine:someport <> 80: Proxy Server, Proxy Server:someport > > > <---> Target Machine:22 (ssh) > > > > > > Proxy server is just the middle man to punch a hole in firewall. > > > > > > That's my 2 cents anyhows. You may speak http to the proxy but I would be > > > surprised. > > > > > > Chris > > > > > > -Original Message- > > > From: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED] > > > Sent: 02 November 2005 09:10 > > > To: Maven Users List > > > Subject: Re: SSH proxy for deployments > > > > > > Well, I don't know that much about proxies, but I'm using PuTTY, and in > > > the > > > Proxy type option I have HTTP selected. > > > > > > 2005/11/2, Brett Porter <[EMAIL PROTECTED]>: > > > > How is it possible to use SSH over HTTP? > > > > > > > > - Brett > > > > > > > > On 11/2/05, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote: > > > > > No, it's an HTTP proxy > > > > > > > > > > 2005/10/31, Brett Porter <[EMAIL PROTECTED]>: > > > > > > Not over SSH, no. Is it a SOCKS proxy? > > > > > > > > > > > > - Brett > > > > > > > > > > > > On 10/28/05, Jose Gonzalez Gomez <[EMAIL PROTECTED]> > > > wrote: > > > > > > > Does Maven use the proxy defined in settings.xml for SSH > > > connections? > > > > > > > I've successfully deployed sites and artifacts inside my LAN, > > > > > > > but as soon as I try to do the same for a computer outsite the > > > > > > > LAN, I get a connection time out. Of course I've tried to > > > > > > > connect to those hosts using an SSH client with no problem. > > > > > > > > > > > > > > TIA, best regards > > > > > > > Jose > > > > > > > > > > > > > > > > > > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > --- To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > > > - 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] How to get maven-scm-plugin-1.0-alpha-4
I'd like to get this version of the scm plugin, as it seems there is a fix for a bug I'm hitting. The version seems to be in the ibiblio repository, but whenever I try to get the latest version I always get 1.0-alpha-3. The problem seems to be related to the plugin metadata: http://www.ibiblio.org/maven2/org/apache/maven/plugins/maven-scm-plugin/maven-metadata.xml This seems to state that the latest version of the plugin is 1.0-alpha-3... should/could anybody change this? Is this intended? TIA, best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] How to get maven-scm-plugin-1.0-alpha-4
As a workaround, it seems that manually editing the maven-metadata-central.xml file in the local repository and adding the version is enough to make maven download the new version. HTH, best regards Jose 2005/11/3, Jose Gonzalez Gomez <[EMAIL PROTECTED]>: > I'd like to get this version of the scm plugin, as it seems there is a > fix for a bug I'm hitting. The version seems to be in the ibiblio > repository, but whenever I try to get the latest version I always get > 1.0-alpha-3. The problem seems to be related to the plugin metadata: > > http://www.ibiblio.org/maven2/org/apache/maven/plugins/maven-scm-plugin/maven-metadata.xml > > This seems to state that the latest version of the plugin is > 1.0-alpha-3... should/could anybody change this? Is this intended? > > TIA, best regards > Jose > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] How to get maven-scm-plugin-1.0-alpha-4
I've tried to do that, even deleting the repository before doing it, and I keep getting alpha-3 Jose 2005/11/3, Emmanuel Venisse <[EMAIL PROTECTED]>: > the best way is to use the -U parameter on command line for update the plugin > > Emmanuel > > Jose Gonzalez Gomez said: > > As a workaround, it seems that manually editing the > > maven-metadata-central.xml file in the local repository and adding the > > version is enough to make maven download the new version. > > > > HTH, best regards > > Jose > > > > 2005/11/3, Jose Gonzalez Gomez <[EMAIL PROTECTED]>: > >> I'd like to get this version of the scm plugin, as it seems there is a > >> fix for a bug I'm hitting. The version seems to be in the ibiblio > >> repository, but whenever I try to get the latest version I always get > >> 1.0-alpha-3. The problem seems to be related to the plugin metadata: > >> > >> http://www.ibiblio.org/maven2/org/apache/maven/plugins/maven-scm-plugin/maven-metadata.xml > >> > >> This seems to state that the latest version of the plugin is > >> 1.0-alpha-3... should/could anybody change this? Is this intended? > >> > >> TIA, best regards > >> Jose > >> > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] eclipse plugin: tools.jar incorrectly added
+1 on this 2005/11/3, Thomas Van de Velde <[EMAIL PROTECTED]>: > Hi, > > When generating the Eclipse classpath, I am getting this: > > path="M2_REPO/C:/dev/Java/jdk1.5.0_04/jre/../lib/tools.jar"/ > > This used to work a couple of days ago and now all of a sudden I get this > error. > > Thomas > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] How to get maven-scm-plugin-1.0-alpha-4
Do you want me to file the issue? That "d" in "filed an issue" makes me doubt :o) 2005/11/3, Emmanuel Venisse <[EMAIL PROTECTED]>: > metadata seems to be wrong in repository, filed an issue and we'll fixed it. > > Emmanuel > > Jose Gonzalez Gomez said: > > I've tried to do that, even deleting the repository before doing it, > > and I keep getting alpha-3 > > > > Jose > > > > 2005/11/3, Emmanuel Venisse <[EMAIL PROTECTED]>: > >> the best way is to use the -U parameter on command line for update the > >> plugin > >> > >> Emmanuel > >> > >> Jose Gonzalez Gomez said: > >> > As a workaround, it seems that manually editing the > >> > maven-metadata-central.xml file in the local repository and adding the > >> > version is enough to make maven download the new version. > >> > > >> > HTH, best regards > >> > Jose > >> > > >> > 2005/11/3, Jose Gonzalez Gomez <[EMAIL PROTECTED]>: > >> >> I'd like to get this version of the scm plugin, as it seems there is > >> a > >> >> fix for a bug I'm hitting. The version seems to be in the ibiblio > >> >> repository, but whenever I try to get the latest version I always get > >> >> 1.0-alpha-3. The problem seems to be related to the plugin metadata: > >> >> > >> >> http://www.ibiblio.org/maven2/org/apache/maven/plugins/maven-scm-plugin/maven-metadata.xml > >> >> > >> >> This seems to state that the latest version of the plugin is > >> >> 1.0-alpha-3... should/could anybody change this? Is this intended? > >> >> > >> >> TIA, best regards > >> >> Jose > >> >> > >> > > >> > - > >> > To unsubscribe, e-mail: [EMAIL PROTECTED] > >> > For additional commands, e-mail: [EMAIL PROTECTED] > >> > > >> > > >> > >> > >> - > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > - > > 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: SSH proxy for deployments
Brett, I'm a bit short of time, but I'll try to... a question, how do you test a modified plugin? Do you just install it in your local respository, or do you have to include it in the plugins/dependency section using a SNAPSHOT, or whatever else? TIA, best regards Jose 2005/11/3, Brett Porter <[EMAIL PROTECTED]>: > Thanks! > > Are you interested in creating a patch? > > - Brett > > On 11/3/05, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote: > > I've taken a look at wagon sources, and the SSH wagon doesn't provide > > support for proxied connections, although it internally uses JSch, and > > inherits from AbstractWagon, that has a field with proxy information. > > I've created an issue: > > > > http://jira.codehaus.org/browse/WAGONSSH-24 > > > > Best regards > > Jose > > > > 2005/11/3, Jose Gonzalez Gomez <[EMAIL PROTECTED]>: > > > Here is the example: > > > > > > http://www.jcraft.com/jsch/examples/ViaHTTP.java > > > > > > 2005/11/3, Jose Gonzalez Gomez <[EMAIL PROTECTED]>: > > > > I seem to remember that the SSH support in Maven is provided by JSch, > > > > am I right? In their web page (http://www.jcraft.com/jsch/) they say > > > > that JSch has support for "connection through HTTP proxy", so the > > > > support is there, it just have to be activated, anybody knows how? > > > > > > > > 2005/11/2, Stevenson, Chris <[EMAIL PROTECTED]>: > > > > > We use putty for SSH through a proxy server also, I don't think you > > > > > are > > > > > speaking http per-se. All that's happening is you are asking your > > > > > proxy > > > > > server do do the connection for you (as you're not allowed out on > > > > > that port) > > > > > > > > > > Like so: > > > > > ssh protocol > > > > > ssh protocol > > > > > Your machine:someport <> 80: Proxy Server, Proxy > > > > > Server:someport > > > > > <---> Target Machine:22 (ssh) > > > > > > > > > > Proxy server is just the middle man to punch a hole in firewall. > > > > > > > > > > That's my 2 cents anyhows. You may speak http to the proxy but I > > > > > would be > > > > > surprised. > > > > > > > > > > Chris > > > > > > > > > > -Original Message- > > > > > From: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED] > > > > > Sent: 02 November 2005 09:10 > > > > > To: Maven Users List > > > > > Subject: Re: SSH proxy for deployments > > > > > > > > > > Well, I don't know that much about proxies, but I'm using PuTTY, and > > > > > in the > > > > > Proxy type option I have HTTP selected. > > > > > > > > > > 2005/11/2, Brett Porter <[EMAIL PROTECTED]>: > > > > > > How is it possible to use SSH over HTTP? > > > > > > > > > > > > - Brett > > > > > > > > > > > > On 11/2/05, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote: > > > > > > > No, it's an HTTP proxy > > > > > > > > > > > > > > 2005/10/31, Brett Porter <[EMAIL PROTECTED]>: > > > > > > > > Not over SSH, no. Is it a SOCKS proxy? > > > > > > > > > > > > > > > > - Brett > > > > > > > > > > > > > > > > On 10/28/05, Jose Gonzalez Gomez <[EMAIL PROTECTED]> > > > > > wrote: > > > > > > > > > Does Maven use the proxy defined in settings.xml for SSH > > > > > connections? > > > > > > > > > I've successfully deployed sites and artifacts inside my LAN, > > > > > > > > > but as soon as I try to do the same for a computer outsite the > > > > > > > > > LAN, I get a connection time out. Of course I've tried to > > > > > > > > > connect to those hosts using an SSH client with no problem. > > > > > > > > > > > > > > > > > > TIA, best regards > > > > > > > > > Jose > > > > > > > > > > > > > > > > > > --
Re: Re: [m2] release:perform does not work
2005/11/4, Bernd Mau <[EMAIL PROTECTED]>: > Hi, > > > * Independently, I can't see many advantages for using a flat layout > instead of hierachical project structure. The subject has been taken up > in the Eclipse Mini Guide: > http://maven.apache.org/guides/mini/guide-ide-eclipse.html > What about editing the master and all intermediate POMs in Eclipse? What's the recommended approach for this if using a hierarchical project structure and Eclipse? Best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SSH executable
Hi there, I'm trying to use the external sshExecutable setting in the settings.xml file, kind of this: my.server me E:\.ssh\id_dsa "C:\Archivos de programa\PuTTY\plink.exe" As you may see, I have some spaces in the path to the plink executable. I've tried to surround it with ", " (as shown) with no success, I keep getting the usual message you get when you use a path with spaces in MSDOS and you don't surround it with double quotes... any ideas (other than the obvious add plink to the PATH)? Antoher question... is there any way to specify this setting in a global manner? I have several servers defined and I must copy/paste this to each of them. TIA, best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SSH executable
I have tried it right now, and have hitted another bug: Caused by: org.apache.maven.wagon.TransferFailedException: Exit code: 1 - pscp: unknown option "-o" try typing just "pscp" for help I'm going to file a bug in JIRA 2005/11/17, Christophe DENEUX <[EMAIL PROTECTED]>: > > Hi, > > Have you try to replace the directory name "Archivos de programme" by > its 8.3 form (somthing like "Archiv~1") ? > > Christophe > > Jose Gonzalez Gomez wrote: > > >Hi there, > > > >I'm trying to use the external sshExecutable setting in the > >settings.xml file, kind of this: > > > > > > my.server > > me > > E:\.ssh\id_dsa > > > >"C:\Archivos de > > programa\PuTTY\plink.exe" > > > > > > > >As you may see, I have some spaces in the path to the plink > >executable. I've tried to surround it with ", " (as shown) with > >no success, I keep getting the usual message you get when you use a > >path with spaces in MSDOS and you don't surround it with double > >quotes... any ideas (other than the obvious add plink to the PATH)? > > > >Antoher question... is there any way to specify this setting in a > >global manner? I have several servers defined and I must copy/paste > >this to each of them. > > > >TIA, best regards > >Jose > > > >- > >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: SSH executable
This has been fixed in version 312817: http://svn.apache.org/viewcvs.cgi/maven/wagon/trunk/wagon-providers/wagon-ssh-external/src/main/java/org/apache/maven/wagon/providers/sshext/ScpExternalWagon.java?rev=331168&r1=312817&r2=331168&diff_format=h 2005/11/17, Jose Gonzalez Gomez <[EMAIL PROTECTED]>: > I have tried it right now, and have hitted another bug: > > Caused by: org.apache.maven.wagon.TransferFailedException: Exit code: > 1 - pscp: unknown option "-o" > try typing just "pscp" for help > > I'm going to file a bug in JIRA > > 2005/11/17, Christophe DENEUX <[EMAIL PROTECTED]>: > > > > Hi, > > > > Have you try to replace the directory name "Archivos de programme" by > > its 8.3 form (somthing like "Archiv~1") ? > > > > Christophe > > > > Jose Gonzalez Gomez wrote: > > > > >Hi there, > > > > > >I'm trying to use the external sshExecutable setting in the > > >settings.xml file, kind of this: > > > > > > > > > my.server > > > me > > > E:\.ssh\id_dsa > > > > > >"C:\Archivos de > > > programa\PuTTY\plink.exe" > > > > > > > > > > > >As you may see, I have some spaces in the path to the plink > > >executable. I've tried to surround it with ", " (as shown) with > > >no success, I keep getting the usual message you get when you use a > > >path with spaces in MSDOS and you don't surround it with double > > >quotes... any ideas (other than the obvious add plink to the PATH)? > > > > > >Antoher question... is there any way to specify this setting in a > > >global manner? I have several servers defined and I must copy/paste > > >this to each of them. > > > > > >TIA, best regards > > >Jose > > > > > >- > > >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: SSH executable
Sorry, fixed in 331168 2005/11/17, Jose Gonzalez Gomez <[EMAIL PROTECTED]>: > This has been fixed in version 312817: > > http://svn.apache.org/viewcvs.cgi/maven/wagon/trunk/wagon-providers/wagon-ssh-external/src/main/java/org/apache/maven/wagon/providers/sshext/ScpExternalWagon.java?rev=331168&r1=312817&r2=331168&diff_format=h > > 2005/11/17, Jose Gonzalez Gomez <[EMAIL PROTECTED]>: > > I have tried it right now, and have hitted another bug: > > > > Caused by: org.apache.maven.wagon.TransferFailedException: Exit code: > > 1 - pscp: unknown option "-o" > > try typing just "pscp" for help > > > > I'm going to file a bug in JIRA > > > > 2005/11/17, Christophe DENEUX <[EMAIL PROTECTED]>: > > > > > > Hi, > > > > > > Have you try to replace the directory name "Archivos de programme" by > > > its 8.3 form (somthing like "Archiv~1") ? > > > > > > Christophe > > > > > > Jose Gonzalez Gomez wrote: > > > > > > >Hi there, > > > > > > > >I'm trying to use the external sshExecutable setting in the > > > >settings.xml file, kind of this: > > > > > > > > > > > > my.server > > > > me > > > > E:\.ssh\id_dsa > > > > > > > >"C:\Archivos de > > > > programa\PuTTY\plink.exe" > > > > > > > > > > > > > > > >As you may see, I have some spaces in the path to the plink > > > >executable. I've tried to surround it with ", " (as shown) with > > > >no success, I keep getting the usual message you get when you use a > > > >path with spaces in MSDOS and you don't surround it with double > > > >quotes... any ideas (other than the obvious add plink to the PATH)? > > > > > > > >Antoher question... is there any way to specify this setting in a > > > >global manner? I have several servers defined and I must copy/paste > > > >this to each of them. > > > > > > > >TIA, best regards > > > >Jose > > > > > > > >- > > > >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]
Exception in site generation
I'm getting this when trying to generate a site: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-site-plugin:2.0-beta-4:site': Unable to find the mojo 'org.apache.maven.plugins:maven-site-plugin:2.0-beta-4:site' in the plugin 'org.apache.maven.plugins:maven-site-plugin' org/apache/velocity/context/AbstractContext [INFO] [INFO] Trace [...] at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:327) ... 30 more Caused by: java.lang.NoClassDefFoundError: org/apache/velocity/context/AbstractContext at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328) at java.lang.Class.getConstructor0(Class.java:2640) at java.lang.Class.newInstance0(Class.java:321) at java.lang.Class.newInstance(Class.java:303) at org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInstance(JavaComponentFactory.java:44) ... 34 more Anybody else experiencing this? Should I file a bug? TIA, best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] firewall and proxy problems
2005/11/17, Tomas Maven <[EMAIL PROTECTED]>: > Hi, apologies if this question has been posted before. > > I have both maven 1.0.2 and maven 2.0 installed at the same computer > at my office behind a corporate firewall. I have configured my maven > 1.0.2 to handle the proxy, and I'm able to get it to download needed > jar files without any problems. However, when I'm trying to get Maven2 > to do the same thing it gives me the > "[WARNING] repository metadata for: 'artifact > org.apache.maven.plugins:maven-archetype-plugin' could not be > retrieved from repository: central due to an error: Error transferring > file" error, which I interpret as it can't get through the firewall. > > For maven 1.0.2 my build.properties in the {user.home} looks like this: > maven.proxy.host=my.proxyhost.domain > maven.proxy.port=8080 > maven.proxy.username=scott > maven.proxy.password=tiger > > For Maven2, in my {user.home}.m2 directory I have created a > settings.xml with this content: > > > > > true > http > my.proxyhost.domain > 8080 > scott > tiger > > > > > Any clues or workarounds? > Best regards Have you tried running mvn -e? Maybe you get a more explanatory cause of the error... HTH Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] What's going on with Plexus POMs????
I'm getting a lot of lines like this in every build: [WARNING] POM for: 'org.codehaus.plexus:plexus-utils:pom:1.0.4' does not appear to be valid. Its will be ignored for artifact resolutio n. Reason: Parse error reading POM [WARNING] POM for: 'org.codehaus.plexus:plexus-container-default:pom:1.0-alpha-8' does not appear to be valid. Its will be ignored for artifact resolution. Reason: Parse error reading POM I've taken a look at the POMs and they seem to have been modified today in ibiblio: plexus-utils-1.0.4.pom 17-Nov-2005 08:22 7k This seems to cause Maven to malfunction in certain cases (site generation, for example) Best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] Impossible to use 1.5 sources in plugin?
Hi there, I'm developing a plugin for Maven, and I have found the following error: com.thoughtworks.qdox.parser.ParseException: syntax error @[28,47] in file:/C:/Documents and Settings/jgonzalez/Mis documentos/proyecto s/otros/maven-opendocbook-plugin/src/main/java/com/openinput/tools/maven/opendocbook/FilePathComparator.java at com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java:504) at com.thoughtworks.qdox.parser.impl.Parser.yyparse(Parser.java:610) at com.thoughtworks.qdox.parser.impl.Parser.parse(Parser.java:488) at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:296) at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:312) at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:308) at com.thoughtworks.qdox.JavaDocBuilder$1.visitFile(JavaDocBuilder.java:365) at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:43) at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34) at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34) at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34) at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34) at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34) at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34) at com.thoughtworks.qdox.directorywalker.DirectoryScanner.scan(DirectoryScanner.java:52) at com.thoughtworks.qdox.JavaDocBuilder.addSourceTree(JavaDocBuilder.java:362) at org.apache.maven.tools.plugin.extractor.java.JavaMojoDescriptorExtractor.execute(JavaMojoDescriptorExtractor.java:477) at org.apache.maven.tools.plugin.scanner.DefaultMojoScanner.populatePluginDescriptor(DefaultMojoScanner.java:69) at org.apache.maven.plugin.plugin.AbstractGeneratorMojo.execute(AbstractGeneratorMojo.java:99) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:399) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:519) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:469) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:448) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:301) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113) at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java: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) The problem seems to be related to a class that uses generics... is there any way to tell qdox to use 1.5 sources? Or qdox is just unable to handle 1.5 sources? In that case, does that mean that we can't use 1.5 sources for plugin development? Best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] Impossible to use 1.5 sources in plugin?
Here you have it: http://jira.codehaus.org/browse/MNG-1651 Thanks, best regards Jose 2005/11/21, Brett Porter <[EMAIL PROTECTED]>: > Thanks for this. It appears that way. > > Can you file an issue for us to look in to in 2.1? We should be able > to use proper annotations in 1.5 too, hopefully qdox can mediate that. > > - Brett > > On 11/22/05, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote: > > Hi there, > > > > I'm developing a plugin for Maven, and I have found the following error: > > > > com.thoughtworks.qdox.parser.ParseException: syntax error @[28,47] in > > file:/C:/Documents and Settings/jgonzalez/Mis documentos/proyecto > > s/otros/maven-opendocbook-plugin/src/main/java/com/openinput/tools/maven/opendocbook/FilePathComparator.java > > at com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java:504) > > at com.thoughtworks.qdox.parser.impl.Parser.yyparse(Parser.java:610) > > at com.thoughtworks.qdox.parser.impl.Parser.parse(Parser.java:488) > > at > > com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:296) > > at > > com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:312) > > at > > com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:308) > > at > > com.thoughtworks.qdox.JavaDocBuilder$1.visitFile(JavaDocBuilder.java:365) > > at > > com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:43) > > at > > com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34) > > at > > com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34) > > at > > com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34) > > at > > com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34) > > at > > com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34) > > at > > com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34) > > at > > com.thoughtworks.qdox.directorywalker.DirectoryScanner.scan(DirectoryScanner.java:52) > > at > > com.thoughtworks.qdox.JavaDocBuilder.addSourceTree(JavaDocBuilder.java:362) > > at > > org.apache.maven.tools.plugin.extractor.java.JavaMojoDescriptorExtractor.execute(JavaMojoDescriptorExtractor.java:477) > > at > > org.apache.maven.tools.plugin.scanner.DefaultMojoScanner.populatePluginDescriptor(DefaultMojoScanner.java:69) > > at > > org.apache.maven.plugin.plugin.AbstractGeneratorMojo.execute(AbstractGeneratorMojo.java:99) > > at > > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:399) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:519) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:469) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:448) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:301) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137) > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316) > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113) > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java: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) > > > > The problem seems to be related to a class that uses generics... is >
[M2] Computing stale sources in plugin
Hi there, I would like to compute the stale sources in a plugin I'm developing, this is, I'm transforming docbook documents, and I would like to know which documents have been modified since the last transformation. Browsing the source code of the compiler plugin I've found something about a plexus class called StaleSourceScanner, but I don't know if this can be used for my purposes. If so, is there any place where I can find info on these classes, or an API documentation? If not, is there anything in Maven libraries I can use? TIA, best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] Xalan and proxy settings
Is there anybody out there that's using Xalan as a dependency and that's getting stylesheets from the Internet through a proxy? I would like to do it, but I don't know how to make Xalan to use a proxy or even read the proxy information from the Maven settings files. TIA, best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Docbook plugin
Hi there, I have a preliminary version of a Docbook plugin for Maven2. Here is my typical use case: I use to write project documentation (at least requirements) using Unified Process "artifacts" (Software requirements specification, actors specification, glossary, risk list, use case specifications,...). My main objective is to have a lot of small, manageable and interlinked documents that form the whole documentation and that can be easily browsed using an Internet browser. To achieve this I use Docbook articles with cross references between documents using olink. In order to transform this documents into a browsable web, you must supply a olink database to the Docbook stylesheets to enable external link resolution. The plugin scans existing Docbook files and automatically generates the olink database using the standard stylesheets. Once the database is created, transforms every document (no chunking nor toc) using the provided database. The only requirement for this to work is to use a predefined schema to build the name of referenced documents (very easy). I know this is a very focused use case and implementation, so I would like to know if there is interest in this to publish it as open source, and maybe add more requirements and flexibility to it... Best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [RFC] webstart plugin (m2)
2005/11/24, jerome lacoste <[EMAIL PROTECTED]>: > The m2 webstart plugin is today usable for small use cases. It could > be improved. > > This is a RFC for all (potential) users of the m2 webstart plugin. > > Are you a webstart user? Could you describe us your use cases? > > * do you deploy webstart on static pages? Yes > * which JDK do you support? 1.5 > * do you use native libraries? No > * do you localize your jnlp file? If so, at which phase of the delivery? No > * do you deploy multiple webstart apps at once? (multiple versions > of the same app, multiple jnlp files, ...). What differentiates them? > * do you want pack200 to work? Not specially > * do you want to use the jnlp servlet? Not specially > * missing any feature from the current m2 webstart plugin config? > (sending us a jnlp file would be great) Haven't tried it yet, I'll give it a shot as soon as I have some spare time > > Look at http://docs.codehaus.org/display/MOJO/Webstart+Plugin for more > information and an updated list of questions. > > Thanks for your help! > Thanks to you !! Best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] How to fire plugin in site generation?
Is there any way to fire the execution of a plugin whenever the site plugin is executed? I would like to add some dinammically generated content to the site, but I don't want to use the report mechanism, as this forces me to use the Sink interface to write content, doesn't it? Or can I turn my plugin into a report, just ignore the Sink and write the contect directly to some known location? TIA, best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Docbook plugin
Well, it seems that URL doesn't point directly to the thread :o( Try this: http://www.mail-archive.com/users@maven.apache.org/msg25757.html 2005/11/25, Jose Gonzalez Gomez <[EMAIL PROTECTED]>: > http://mail-archives.apache.org/mod_mbox/maven-users/200510.mbox/browser > > 2005/11/25, Jeff Jensen <[EMAIL PROTECTED]>: > > The last thread I recall on this topic is that Doxia has a very minor > > support of Docbook. Is this not true anymore? > > > > > > -Original Message- > > From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] > > Sent: Thursday, November 24, 2005 11:25 AM > > To: Maven Users List > > Subject: Re: Docbook plugin > > > > docbook is supported by doxia > > > > Emmanuel > > > > Rune Fauske a écrit : > > > Hi Jose > > > > > > We're just looking into using docbook for both integrated help and the > > > user manual, so a maven docbook plugin would really be appreciated. > > > > > > -- > > > Rune > > > > > > On 11/24/05, Jeff Jensen <[EMAIL PROTECTED]> wrote: > > > > > >>Hi Jose, > > >> > > >>Fantastic! "...if there is interest...", yes there is! I will need > > >>docbook from Maven in the near future. > > >> > > >>And your auto olink db generation sounds great! > > >> > > >> > > >>-Original Message- > > >>From: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED] > > >>Sent: Thursday, November 24, 2005 2:38 AM > > >>To: Maven Users List > > >>Subject: Docbook plugin > > >> > > >>Hi there, > > >> > > >>I have a preliminary version of a Docbook plugin for Maven2. Here is > > >>my typical use case: > > >> > > >>I use to write project documentation (at least requirements) using > > >>Unified Process "artifacts" (Software requirements specification, > > >>actors specification, glossary, risk list, use case > > >>specifications,...). My main objective is to have a lot of small, > > >>manageable and interlinked documents that form the whole documentation > > >>and that can be easily browsed using an Internet browser. To achieve > > >>this I use Docbook articles with cross references between documents > > >>using olink. In order to transform this documents into a browsable > > >>web, you must supply a olink database to the Docbook stylesheets to enable > > external link resolution. > > >> > > >>The plugin scans existing Docbook files and automatically generates > > >>the olink database using the standard stylesheets. Once the database > > >>is created, transforms every document (no chunking nor toc) using the > > provided database. > > >>The only requirement for this to work is to use a predefined schema to > > >>build the name of referenced documents (very easy). > > >> > > >>I know this is a very focused use case and implementation, so I would > > >>like to know if there is interest in this to publish it as open > > >>source, and maybe add more requirements and flexibility to it... > > >> > > >>Best regards > > >>Jose > > >> > > >>- > > >>To unsubscribe, e-mail: [EMAIL PROTECTED] > > >>For additional commands, e-mail: [EMAIL PROTECTED] > > >> > > >> > > >>- > > >>To unsubscribe, e-mail: [EMAIL PROTECTED] > > >>For additional commands, e-mail: [EMAIL PROTECTED] > > >> > > >> > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Docbook plugin
http://mail-archives.apache.org/mod_mbox/maven-users/200510.mbox/browser 2005/11/25, Jeff Jensen <[EMAIL PROTECTED]>: > The last thread I recall on this topic is that Doxia has a very minor > support of Docbook. Is this not true anymore? > > > -Original Message- > From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 24, 2005 11:25 AM > To: Maven Users List > Subject: Re: Docbook plugin > > docbook is supported by doxia > > Emmanuel > > Rune Fauske a écrit : > > Hi Jose > > > > We're just looking into using docbook for both integrated help and the > > user manual, so a maven docbook plugin would really be appreciated. > > > > -- > > Rune > > > > On 11/24/05, Jeff Jensen <[EMAIL PROTECTED]> wrote: > > > >>Hi Jose, > >> > >>Fantastic! "...if there is interest...", yes there is! I will need > >>docbook from Maven in the near future. > >> > >>And your auto olink db generation sounds great! > >> > >> > >>-Original Message- > >>From: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED] > >>Sent: Thursday, November 24, 2005 2:38 AM > >>To: Maven Users List > >>Subject: Docbook plugin > >> > >>Hi there, > >> > >>I have a preliminary version of a Docbook plugin for Maven2. Here is > >>my typical use case: > >> > >>I use to write project documentation (at least requirements) using > >>Unified Process "artifacts" (Software requirements specification, > >>actors specification, glossary, risk list, use case > >>specifications,...). My main objective is to have a lot of small, > >>manageable and interlinked documents that form the whole documentation > >>and that can be easily browsed using an Internet browser. To achieve > >>this I use Docbook articles with cross references between documents > >>using olink. In order to transform this documents into a browsable > >>web, you must supply a olink database to the Docbook stylesheets to enable > external link resolution. > >> > >>The plugin scans existing Docbook files and automatically generates > >>the olink database using the standard stylesheets. Once the database > >>is created, transforms every document (no chunking nor toc) using the > provided database. > >>The only requirement for this to work is to use a predefined schema to > >>build the name of referenced documents (very easy). > >> > >>I know this is a very focused use case and implementation, so I would > >>like to know if there is interest in this to publish it as open > >>source, and maybe add more requirements and flexibility to it... > >> > >>Best regards > >>Jose > >> > >>- > >>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > >>- > >>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Docbook plugin
I don't think that patch solves all the points I mentioned in that thread, although it's a great step forward, as now you won't lose information from tags not included in the Doxia parser. Any way, I still think having a separate Docbook plugin for certain tasks makes sense. Best regards Jose 2005/11/25, Emmanuel Venisse <[EMAIL PROTECTED]>: > we have a patch for it (http://jira.codehaus.org/browse/DOXIA-24) with a big > support > > Emmanuel > > Jeff Jensen a écrit : > > The last thread I recall on this topic is that Doxia has a very minor > > support of Docbook. Is this not true anymore? > > > > > > -Original Message- > > From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] > > Sent: Thursday, November 24, 2005 11:25 AM > > To: Maven Users List > > Subject: Re: Docbook plugin > > > > docbook is supported by doxia > > > > Emmanuel > > > > Rune Fauske a écrit : > > > >>Hi Jose > >> > >>We're just looking into using docbook for both integrated help and the > >>user manual, so a maven docbook plugin would really be appreciated. > >> > >>-- > >>Rune > >> > >>On 11/24/05, Jeff Jensen <[EMAIL PROTECTED]> wrote: > >> > >> > >>>Hi Jose, > >>> > >>>Fantastic! "...if there is interest...", yes there is! I will need > >>>docbook from Maven in the near future. > >>> > >>>And your auto olink db generation sounds great! > >>> > >>> > >>>-Original Message- > >>>From: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED] > >>>Sent: Thursday, November 24, 2005 2:38 AM > >>>To: Maven Users List > >>>Subject: Docbook plugin > >>> > >>>Hi there, > >>> > >>>I have a preliminary version of a Docbook plugin for Maven2. Here is > >>>my typical use case: > >>> > >>>I use to write project documentation (at least requirements) using > >>>Unified Process "artifacts" (Software requirements specification, > >>>actors specification, glossary, risk list, use case > >>>specifications,...). My main objective is to have a lot of small, > >>>manageable and interlinked documents that form the whole documentation > >>>and that can be easily browsed using an Internet browser. To achieve > >>>this I use Docbook articles with cross references between documents > >>>using olink. In order to transform this documents into a browsable > >>>web, you must supply a olink database to the Docbook stylesheets to enable > > > > external link resolution. > > > >>>The plugin scans existing Docbook files and automatically generates > >>>the olink database using the standard stylesheets. Once the database > >>>is created, transforms every document (no chunking nor toc) using the > > > > provided database. > > > >>>The only requirement for this to work is to use a predefined schema to > >>>build the name of referenced documents (very easy). > >>> > >>>I know this is a very focused use case and implementation, so I would > >>>like to know if there is interest in this to publish it as open > >>>source, and maybe add more requirements and flexibility to it... > >>> > >>>Best regards > >>>Jose > >>> > >>>- > >>>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>>For additional commands, e-mail: [EMAIL PROTECTED] > >>> > >>> > >>>- > >>>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>>For additional commands, e-mail: [EMAIL PROTECTED] > >>> > >>> > >> > >> > >>- > >>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > >> > >> > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: mevenide eclipse plugin and maven 2
2005/11/28, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > Hi, > > is there a possibility to work with the mevenide eclipse plugin and maven > 2 ? > No, but I seem to remember that somebody is already working on an Eclipse plugin for Maven2. Search the archives, there was a thread reagarding this issue. HTH Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What is it scpexe
2005/11/28, Oles <[EMAIL PROTECTED]>: > Gentelmen! > How can I use > > > release >scpexe://release.inao.com/home/release/m2repo/ > > What is it means scpexe scp using external executable >and what plugin or smth yet I needs for that wagon? wagon-ssh-external, I think HTH, best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
New Docbook plugin submitted to Mojo
Hi there, For those interested, I've submitted the initial release of the Docbook plugin at Mojo, you may find the issue here: http://jira.codehaus.org/browse/MOJO-165 Votes are welcome :o) Best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[ANN] Docbook plugin available at Mojo
Hi there, For those interested, you have a new Docbook plugin available at Mojo ( http://mojo.codehaus.org/docbook-maven-plugin/). The plugin is in a very alpha state, although is quite usable for generating HTML output from interlinked Docbook documents. Comments, bug reports and request or ideas for enhancements are welcomed. Best regards Jose
Re: [m2] Frustration getting Maven 2 and Hibernate working together
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 4.0.0 com.mycompany.simulators caisim 1.0-SNAPSHOT junit junit 3.8.1 commons-logging commons-logging 1.0.4 commons-configuration commons-configuration 1.2 org.hibernate hibernate 3.2.0.cr2 org.hibernate hibernate-annotations 3.2.0.cr1 org.hibernate hibernate-tools 3.1.0.beta4 My Simulator My interface simulator. http://www.mycompany.com 2006 myname My Name [EMAIL PROTECTED] Developer -6 mycompany, Inc. http://www.mycompany.com jar csf org.apache.maven.plugins maven-compiler-plugin 1.5 1.5 org.apache.maven.plugins maven-antrun-plugin generate-sources Running Hibernate stuff here. run org.apache.maven.plugins maven-javadoc-plugin html private javadoc org.apache.maven.plugins maven-checkstyle-plugin src/main/config/mycompany-checkstyle.xml org.apache.maven.plugins maven-jxr-plugin org.apache.maven.plugins maven-pmd-plugin 1.5 xml true utf-8 100 Our Crappy Bug System http://jigsaw.mycompany.com/main scm:cvs:pserver:anoncvs:@gollum.mycompany.com :/lib/cvs:simulators/mysim http://gollum.mycompany.com/cgi-bin/viewcvs.cgi/simulators/mysim Maven Snapshots http://snapshots.maven.codehaus.org/maven2/ true false Maven Snapshots http://snapshots.maven.codehaus.org/maven2/ true false The build-hibernate.xml file is below: !!!This is a test of the generate-sources task!!!
[M2] Overriding dependencies
Hi there, Is there any way to override a dependency in a project you depend on? I know you can control which version of a dependency you use using the dependency management section, I mean the folowing: Project A +-> Depends on project B +-> Depends on project C Is there any way to point the dependency on project C to another project? I'm asking this because I'm using the hibernate annotations project, and that seems to point to javax.persistence:ejb:jar:3.0-public-draft-20060502, that doesn't seem to exist anymore. I guess annotations would work properly changing that dependency to javax.persistence:persistence-api:1.0. Best regards Jose
Re: [M2] Overriding dependencies
Thanks a lot, that has worked perfectly. 2006/7/5, Stephen Duncan <[EMAIL PROTECTED]>: From Project A? In project A's pom: project-b project-c project-d - Stephen On 7/5/06, Jose Gonzalez Gomez <[EMAIL PROTECTED]> wrote: > Hi there, > > Is there any way to override a dependency in a project you depend on? I know > you can control which version of a dependency you use using the dependency > management section, I mean the folowing: > > Project A > +-> Depends on project B >+-> Depends on project C > > Is there any way to point the dependency on project C to another project? > I'm asking this because I'm using the hibernate annotations project, and > that seems to point to javax.persistence:ejb:jar:3.0-public-draft-20060502, > that doesn't seem to exist anymore. I guess annotations would work properly > changing that dependency to javax.persistence:persistence-api:1.0. > > Best regards > Jose > > -- Stephen Duncan Jr www.stephenduncanjr.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Frustration getting Maven 2 and Hibernate working together
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 > > > 4.0.0 > > > com.mycompany.simulators > caisim >1.0-SNAPSHOT > > > > > > > junit > junit > 3.8.1 > > > commons-logging > commons-logging > 1.0.4 > > > commons-configuration > commons-configuration > 1.2 > > > org.hibernate > hibernate >3.2.0.cr2 > > > org.hibernate > hibernate-annotations >3.2.0.cr1 > > > org.hibernate > hibernate-tools > 3.1.0.beta4 > > > > > > > > My Simulator > My interface simulator. > http://www.mycompany.com > 2006 > > > > myname > My Name > [EMAIL PROTECTED] > > > Developer > > -6 > > > > > > mycompany, Inc. > http://www.mycompany.com > > > > jar > > > csf > > > > org.apache.maven.plugins > maven-compiler-plugin > > 1.5 > 1.5 > > > > > org.apache.maven.plugins > maven-antrun-plugin > > > generate-sources > > > Running Hibernate stuff here. > inheritRefs="true"> > > > > > > run > > > > > > > > > > > > > > > > > > > org.apache.maven.plugins > maven-javadoc-plugin > > > > html > > private > > > javadoc > > > > > > > org.apache.maven.plugins > maven-checkstyle-plugin > > src/main/config/mycompany-checkstyle.xml > > > > > > org.apache.maven.plugins >
Fwd: [m2] Frustration getting Maven 2 and Hibernate working together
Just in case anybody else needs it... -- Forwarded message -- From: Jose Gonzalez Gomez <[EMAIL PROTECTED]> Date: 06-jul-2006 8:40 Subject: Re: [m2] Frustration getting Maven 2 and Hibernate working together To: Paul Kuykendall <[EMAIL PROTECTED]> Ok, here we go... First of all, add this to settings.xml (in your .m2 directory) in order to be able to download plugins from the mojo repository: Snapshots Maven Snapshots http://snapshots.maven.codehaus.org/maven2/ true false Snapshots Now, declare some dependencies in your pom, including the plugin configuration and your desired JDBC driver (PostgreSQL in this case): [...] org.codehaus.mojo hibernate3-maven-plugin 1.0-SNAPSHOT /src/main/resources/hibernate.cfg.xml src/main/resources postgresql postgresql 8.1-407.jdbc3 [...] javax.persistence persistence-api org.hibernate hibernate-annotations 3.2.0.cr1 javax.persistence ejb Comments on this: first of all, I have no version declared for persistence-api because I have a parent pom with dependency management (I will include hibernate-annotations there once I have an stable configuration); you must include hibernate-annotations as a dependency in your project only if you want to use hibernate propietary annotations; if you do include hibernate-annotations you must exclude the javax.persistence:ejb dependency, as it uses and old draft version I've been unable to find on the Internet. Finally you must create your /src/main/resources/hibernate.cfg.xml, something like this: http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";> org.postgresql.Driver jdbc:postgresql://your.server/yourDatabase yourUser yourPassword org.hibernate.dialect.PostgreSQLDialect false org.hibernate.transaction.JTATransactionFactory java:comp/UserTransaction I was testing a single class, I guess if you have a full package you may use the commented line to include all the classes. Once I did this, I run mvn hibernate3:hbm2ddl and the plugin connected to my database and created the table. I think I don't miss anything... HTH, best regards Jose 2006/7/5, Paul Kuykendall <[EMAIL PROTECTED]>: I would be more appreciative than you can ever imagine if you could send that information. Thanks! /Paul
Re: [m2] Frustration getting Maven 2 and Hibernate working together
Glad to help :o) About the hibernate dependency, I just have added the hibernate annotations jar because I'm using some hibernate propietary annotations. By the way, are you subscribed to the mojo user list? I sent a message there about an issue regarding schema usage, but no one has answered... should I forward the question to the mojo development list? Best regards Jose 2006/7/6, Johann Reyes <[EMAIL PROTECTED]>: Hello Jose Thanks for the help; I updated the documentation to reflect this. Also to use the plugin you don't need to include the hibernate jars as dependency to run the plugin. Regards Johann Reyes
Hibernate uploads to ibiblio
Hi there, Is there anybody officially supporting hibernate artifact uploading to ibiblio? I've successfully run some tests using TestNG and Hibernate EntityManager under Eclipse, but I would need hibernate-entitymanager in ibiblio in order to do it under maven. Best regards Jose
Best practices in testing Hibernate/EJB3 POJOs (or doing database tests)
Hi there, I would like to hear about what you're doing to test your Hibernate/EJB3 POJOs (if you're doing at all). I have a project with some of them, and I have the following concerns: First of all, I may test them just ignoring persistence (already done). No problem here, just a bunch of TestNG tests running smoothly under Maven2. I think this is important, as I'm developing a library mainly intended to be used as annotated Hibernated POJOs, but maybe people using it prefer another persistence api. What do you think? Then I thought about testing the library including the persistence stuff, but this brings some problems: Problem 1: Whenver building the project, publishing the site, etc. you must have access to a runnning database in order to perform the tests. I'm currently running a postgresql database, but it may be cumbersome for users wanting to download and hack the sources. Maybe this could be solved using some kind of embeddable database? Or maybe I could create several profiles (never done this) and activate database tests only under demand? Problem 2: Having database tests involves having configuration data written down in some configuration file (the jdbc URL, user, password, etc. hibernate.cfg.xml) or even in the pom (jdbc driver dependency). It's kind of putting in the sources of the library some information that may be only of interest to me in my current environment. How to solve this? Again using some kind of embeddable datasource for tests? Using source filters? (again, I haven't done this before, so I don't know if it's suitable) Best regards Jose
Re: j2ee project best practices?
I guess you're talking about generation of a ejb client jar, aren't you? In that case, take a look at http://maven.apache.org/maven2/plugins/maven-ejb-plugin/ejb-mojo.html HTH, best regards Jose On 5/31/05, Kenney Westerhof <[EMAIL PROTECTED]> wrote: > > Hi there, > > I've been looking for the j2ee project best practices document > which was referenced on maven.apache.org but couldn't find it. > > In particular, I'm wondering how to set up the project. > We use xdoclet to generate the local/remote/home interfaces > of EJB's which should go in a separate artifact. > > The problem I face is that the sourcecode of the ejb's is in a separate > subproject which produces an ejb-jar. I should also produce > an api-jar (for the local/remote/home interfaces). > > However, since each subproject can only produce one artifact, and I don't > know of a nice way of 'sharing' source directories between different > subprojects (and I don't even want to), I'm wondering if anyone has come > up with a good solution for a situation like this. > > So, any thoughts? (preferrably for m2!) > > Greetings, > > Kenney Westerhof > > -- > > - > 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] Eclipse dependencies
Hi there, With Maven 1.x you could add the following to get the eclipse plugin generate a dependency for another project in the workspace: true If I try to do the same in m2 I get the following error: [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Reason: Failed to parse model from file 'C:\Documents and Settings\jgonzalez\Mis documentos\proyectos\conductas\HIVITS-TS\modulo s\hivitsts-standalone\pom.xml'. Error: 'TEXT must be immediately followed by END_TAG and not START_TAG (position: START_TAG seen ...\r\n... @21:29) ' Am I missing anything, or this is just not implemented in the new version of the plugin? Maybe it's configured using plugin properties? Thanks in advance, best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] Missing dependencies using Hibernate3.0.5
Hi, When I try to use Maven2 including Hibernate 3.0.5 as a dependency the build process stops due to some missing dependencies (javax.transaction:jta:1.0.1B:jar, javax.security:jacc:1.0:jar, ...). I'm using only the default repository (http://repo1.maven.org/maven2) and I guess those jars cannot be included there due to some licensing restrictions from Sun, although they have their corresponding POM. The question is, what am I supposed to do with those jars? Should I download them from Sun and copy them into my local repository? Should the whole development team do the same? Thanks in advance, best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] How to override artifact name in dependency?
Hi there, I'd like to use the postgresql jdbc driver (http://www.ibiblio.org/maven2/postgresql/postgresql/7.4.1/) as a dependency in my project, but the artifact name (postgresql-7.4.1-jdbc3.jar) doesn't follow the standard artifact name used in maven. In Maven1 we had the element inside for such cases, but this doesn't seem to be present in the Maven2 project descriptor. How must this be done now? Thanks in advance, best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] How to override artifact name in dependency?
Well, I haven't tried that, but I guess it won't work, as the pom is named just postgresql-7.4.1.pom, without the trailing jdbc3... so I guess maven wouldn't find it if I add -jdbc3 to the version Best regards Jose 2005/7/26, Litton, Tom - CEPM <[EMAIL PROTECTED]>: > Can you use 7.4.1-jdbc3 as the version? > > So, > postgresql > postgresql > 7.4.1-jdbc3 > > Will it work? > > -----Original Message- > From: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 26, 2005 7:36 AM > To: Maven Users List > Subject: [M2] How to override artifact name in dependency? > > > Hi there, > > I'd like to use the postgresql jdbc driver > (http://www.ibiblio.org/maven2/postgresql/postgresql/7.4.1/) as a > dependency in my project, but the artifact name > (postgresql-7.4.1-jdbc3.jar) doesn't follow the standard artifact name > used in maven. In Maven1 we had the element inside > for such cases, but this doesn't seem to be present in > the Maven2 project descriptor. How must this be done now? > > Thanks in advance, best regards > Jose > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > -- > 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. > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Plugin support for Hibernate 3.0
+1 more for Hibernate in M2... I'm testing M2 and was even thinking of going back to M1 to have the hibernate support back. Best regards Jose 2005/8/5, Brill Pappin <[EMAIL PROTECTED]>: > +1 Hibernate for M2 > > lost without it :) > > - Brill Pappin > > Ken Weiner wrote: > > +1 for continued development of the hibernate plugin in M2. > > > > On 8/4/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > > >>That said, it has been brought across to to Maven2 and so we could > >>continue development if there is demand and ad hibernate 3.0 features. > >>Is anyone interested? > >> > >>- Brett > > > > > > - > > 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]
Best practices for release and version management?
Hi there, How do you use to manage your project version among releases? I mean... what do you exactly put in currentVersion in your pom and how do you change it among releases? I'm currently using the following approach: 1. Developing version 0.1 - currentVersion = 0.1-SNAPSHOT 2. V0.1 release: commit all pending changes, change currentVersion to 0.1, commit pom, tag/branch repository, make release. 3. Developing version 0.2 - change currentVersion to 0.2-SNAPSHOT, commit pom, update and continue developing What do you think about this? This approach has one annoying thing: maven tries to download SNAPSHOT versions from remote repositories, although they're only locally installed in the developer repository. After some timeout maven uses the local version, but in case of large projects the sum of the timeouts may be big. Do you use any other approach? Thanks in advance, best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Best practices for release and version management?
2005/9/2, Jose Gonzalez Gomez <[EMAIL PROTECTED]>: > Hi there, > > How do you use to manage your project version among releases? I > mean... what do you exactly put in currentVersion in your pom and how > do you change it among releases? > > I'm currently using the following approach: > > 1. Developing version 0.1 - currentVersion = 0.1-SNAPSHOT > 2. V0.1 release: commit all pending changes, change currentVersion to > 0.1, commit pom, tag/branch repository, make release. > 3. Developing version 0.2 - change currentVersion to 0.2-SNAPSHOT, > commit pom, update and continue developing > > What do you think about this? This approach has one annoying thing: > maven tries to download SNAPSHOT versions from remote repositories, > although they're only locally installed in the developer repository. > After some timeout maven uses the local version, but in case of large > projects the sum of the timeouts may be big. Do you use any other > approach? > > Thanks in advance, best regards > Jose > After re-reading some of the maven documentation it seems I'm following the suggested approach (although manually, instead of using the scm plugin)... anyway, is there any way to force maven to use the local repository version of my own SNAPSHOT artifacts while still downloading external dependencies? Thanks in advance, best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Best practices for release and version management?
2005/9/2, Trygve Laugstøl <[EMAIL PROTECTED]>: > On Fri, Sep 02, 2005 at 10:54:37AM -0400, dohadwala, moiz wrote: > > How does one do it for m2? > > > > I am new to maven and I have decided to skip maven 1.x and start with m2 > > directly. > > In Maven 2 there is the same off-line option as in Maven 1 but you can > also say that repositories can contain snapshots or not so by default > Maven won't go to Ibiblio to look for snapshots. > I think that's what I was looking for... so if I explicitly list the default repositories and add a false to them, Maven won't look for snapshots there and directly get snapshots from the developer local repository... I'll give it a try. Thanks, best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Best practices for release and version management?
David, I understand that you're deploying your snapshot versions for your projects in your internal repository, but I don't fully understand your environment (or maybe Maven's way of working)... let me explain: I understand that you can publish snapshot versions of artifacts under development that are used across projects using a checked out source tree of those artifacts. The problem comes when you have several developers working on a project and using artifacts that are private to that project, and where several developers may be changing the same artifact (think of two different developers working on two different EJBs in the same artifact, or two different parts of a web interface). In this case you cannot publish that artifact until changes are comitted, and every developer must use her own snapshot copy of the artifact with her local changes that must be taken from her local repository. It's in this case that I don't want those artifacts to be taken from any other repository. How do you handle this, or how do you configure Maven to tell that those artifacts should only be taken from the developer local repository? Best regards Jose 2005/9/2, David Jackman <[EMAIL PROTECTED]>: > We're pretty much doing what Jose is doing, but we don't see these timeouts. > I think it's because the Maven properties are set up to look in our internal > repository first and then go global from there. Just about everything is in > the internal repository (certainly the artifacts for our projects are there), > so the download time isn't much at all. > > My maven.repo.remote property lists the internal repository first, and > ibiblio second. > > As far as the approach to take when releasing and incrementing versions, the > process you describe is essentially what we're doing. In fact, I just wrote > up a document outlining our internal process for releasing projects for our > developers (since we're about to release the big project soon), so I know the > details very well. > > ..David.. > > > -Original Message- > From: Trygve Laugstøl [mailto:[EMAIL PROTECTED] > Sent: Friday, September 02, 2005 4:14 AM > To: Maven Users List > Subject: Re: Best practices for release and version management? > > On Fri, Sep 02, 2005 at 11:46:49AM +0200, Jose Gonzalez Gomez wrote: > > Hi there, > > > > How do you use to manage your project version among releases? I > > mean... what do you exactly put in currentVersion in your pom and how > > do you change it among releases? > > > > I'm currently using the following approach: > > > > 1. Developing version 0.1 - currentVersion = 0.1-SNAPSHOT 2. V0.1 > > release: commit all pending changes, change currentVersion to 0.1, > > commit pom, tag/branch repository, make release. > > 3. Developing version 0.2 - change currentVersion to 0.2-SNAPSHOT, > > commit pom, update and continue developing > > This is the way that we're recomending and using ourselfs. > > > What do you think about this? This approach has one annoying thing: > > maven tries to download SNAPSHOT versions from remote repositories, > > although they're only locally installed in the developer repository. > > After some timeout maven uses the local version, but in case of large > > projects the sum of the timeouts may be big. Do you use any other > > approach? > > The easiest solution to this problem is to either configure a proxy so it > doesn't time out (but rather get a 404 response from the HTTP server) or just > run Maven in off-line mode (by using the -o switch) > > -- > Trygve > > - > 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] XDoclet 2 plugin
Hi there, Is there any plugin to run XDoclet 2 under Maven 2? If not, any known plans to develop it anybody? (I've found Xdoclet 1 plugins for Maven 1 and 2 and Xdoclet 2 plugin for Maven 1, but not for Maven 2) Best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] Hibernate plugin
Hi there, I've seen in the plugin matrix that the Hibernate plugin is finished... how can I use / install / download it? Does it support hibernate 3.0.x? Does / will it support hibernate 3.1 annotations? Best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DocBook support
Hi there, I'm interested in evaluating maven, and I would like to know if it has support for DocBook, so I may have project documentation (requirements, use case specifications,...) integrated with maven generated documentation. From what I have read, it seems I have the following options: * Use the maven docbook plugin. This plugin seems to support only simplified docbook, and lose a lot of information when going to xdoc * Use the sdocbook plugin from maven-plugins.sourceforge.net. This plugin transforms a full docbook document into HTML without going through xdoc * Transform my DocBook to HTML (I guess it's possible to do this by hand using some XSLT tool under maven, or even the sdocbook plugin), and then use the Html2XDoc plugin Any other options? Pros and cons of these options? Is the xdoc step really needed? Thanks in advance, best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
maven-examples-plugin - cannot find it
Hi there, In the documentation located in the web they talk about a maven-examples-plugin, but I cannot find it in my installation nor at http://www.ibiblio.org/maven/maven/plugins/. Does this plugin exist? Where can I find it? Best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven-examples-plugin - cannot find it
Well, I was talking about this: http://maven.apache.org/reference/plugins/examples/ I think they aren't the same, are they? Nathan Coast wrote: the maven example plugin at codeczar is intended to standardise the process of developing and documenting example projects for maven plugins. If this is what you're after, it can be found here: http://www.codeczar.com/products/maven-example-plugin/index.html There wasn't much feedback after the initial posting so the plugin hasn't progressed much since then. Jose Gonzalez Gomez wrote: Hi there, In the documentation located in the web they talk about a maven-examples-plugin, but I cannot find it in my installation nor at http://www.ibiblio.org/maven/maven/plugins/. Does this plugin exist? Where can I find it? Best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Localized site generation
Hi there, Is there any way to generate a localized site using maven? I mean a site in a language other than english... Best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Localized site generation
Carlos, Do you know if there is any effort going on regarding this issue? I'm very interested in it, and would be willing to translate any template used. Regards Jose Carlos Sanchez wrote: Hi, Currently there is no way, but we're thinking (a bit) about that. Regards Carlos Sanchez A Coruña, Spain Oness Project http://oness.sourceforge.net -Original Message----- From: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 31, 2004 12:47 PM To: Maven Users List Subject: Localized site generation Hi there, Is there any way to generate a localized site using maven? I mean a site in a language other than english... Best regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Should I teach multiproject to climb up?
Hi there, I have the following problem: I was trying to do a multiproject for a J2EE project, and followed some examples to build a tree structure with a top project containing common stuff like this: project-root project.xml maven.xml project.properties [including maven.multiproject.includes=*/*/project.xml] modules first-module [maven stuff inside, including ${basedir}/../../project.xml] second-module [maven stuff inside, including ${basedir}/../../project.xml] This worked like a charm, but then I tried to use the Mevenide plugin and opened all the projects in Eclipse. I found that I couldn't open the top project because overlapped with the inner projects, So I thought to do the following, so I could open all the projects in Eclipse: project-root project project.xml maven.xml project.properties [including maven.multiproject.includes=../*/*/project.xml] modules first-module [maven stuff inside, including ${basedir}/../../project/project.xml] second-module [maven stuff inside, including ${basedir}/../../project/project.xml] and found that multiproject was no longer finding the projects under modules/. Is this expected behavior, or have I found a bug? Maybe I'm doing anything silly? Is there any way to make this work? Thanks in advance Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Should I teach multiproject to climb up?
Gilles Dodinet wrote: Jose Gonzalez Gomez wrote: project-root project project.xml maven.xml project.properties [including maven.multiproject.includes=../*/*/project.xml] modules first-module [maven stuff inside, including ${basedir}/../../project/project.xml] second-module [maven stuff inside, including ${basedir}/../../project/project.xml] and found that multiproject was no longer finding the projects under modules/. Is this expected behavior, or have I found a bug? Maybe I'm doing anything silly? Is there any way to make this work? i may be wrong but shouldnot then become : maven.multiproject.includes=../*/project.xml and ${basedir}/../project/project.xml ? perhaps this is just a typo in your mail.. regards, -- gd From project-root/project/project.xml I want to include project-root/modules/first-module/project.xml. So the ../ puts me in project-root, and then */*/ matches modules/first-module. Am I wrong? Regards Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Should I teach multiproject to climb up?
Jörg Schaible wrote: Jose Gonzalez Gomez wrote on Tuesday, September 07, 2004 10:40 PM: Hi there, I have the following problem: I was trying to do a multiproject for a J2EE project, and followed some examples to build a tree structure with a top project containing common stuff like this: project-root project.xml maven.xml project.properties [including maven.multiproject.includes=*/*/project.xml] modules first-module [maven stuff inside, including ${basedir}/../../project.xml] second-module [maven stuff inside, including ${basedir}/../../project.xml] This worked like a charm, but then I tried to use the Mevenide plugin and opened all the projects in Eclipse. I found that I couldn't open the top project because overlapped with the inner projects, So I thought to do the following, so I could open all the projects in Eclipse: project-root project project.xml maven.xml project.properties [including maven.multiproject.includes=../*/*/project.xml] modules first-module [maven stuff inside, including ${basedir}/../../project/project.xml] second-module [maven stuff inside, including ${basedir}/../../project/project.xml] and found that multiproject was no longer finding the projects under modules/. Is this expected behavior, or have I found a bug? Maybe I'm doing anything silly? Is there any way to make this work? maven.multiproject.include is relative to maven.multiproject.basedir Regards, Jörg Ok, defining the following in project-root/project/project.properties did the trick: maven.multiproject.basedir=.. maven.multiproject.includes=*/*/project.xml Thanks a lot for your help Jose - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven - specify SSH password
This is not the server requiring a password. This is ssh telling you that the server you are trying to connect to is not known. You should make a first connection outside maven (with the same user you will be running maven) and answer yes whenever ssh tells you about accepting the provided host key, so the key is cached. Regards Jose Dinko Hadzic wrote: Hi Is it possible to specify a SSH password to Maven? I try to execute "maven site:deploy", but the process fails because the remote SSH server requires a password authentication. Screen dump: ... [exec] The server's host key is not cached in the registry. You [exec] have no guarantee that the server is the computer you [exec] think it is. [exec] The server's rsa key fingerprint is: [exec] 1024 4a:a6:63:50:8f:5f:94:c2:5f:68:67:28:43:48:67:ac [exec] Connection abandoned. [exec] [ERROR] Result: 1 BUILD FAILED ... Regards Dinko - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven - specify SSH password
I personally prefer Cygwin (http://www.cygwin.com/) or OpenSSH for Windows (http://sshwindows.sourceforge.net/) than Putty... just an oppinion. Best regards Jose Eric Giguere wrote: Hi Presented this way, no, its not. But, to get around this, we're using here ssh-rsa keys (ssh2). From the client computer (deployment platform), you supply you private key to some ssh agent. On the server, you add your key footprint in the authorized_keys file. Using this scheme, you can log to the remote computer only by supplying the username. Maven may have to be configured on the deployment machine, depending on the OS. The default ssh client used is ssh. On M$ Win plateforms, you may have to specify another client to be used link plink that comes with the Putty package. Hope it helps. Eric. Dinko Hadzic wrote: Hi Is it possible to specify a SSH password to Maven? I try to execute "maven site:deploy", but the process fails because the remote SSH server requires a password authentication. Screen dump: ... [exec] The server's host key is not cached in the registry. You [exec] have no guarantee that the server is the computer you [exec] think it is. [exec] The server's rsa key fingerprint is: [exec] 1024 4a:a6:63:50:8f:5f:94:c2:5f:68:67:28:43:48:67:ac [exec] Connection abandoned. [exec] [ERROR] Result: 1 BUILD FAILED ... Regards Dinko - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: easy way to fetch jar dependencies
You mean that maven 2.0 will have recursive dependecy discovery and retrieval? Best regards Jose Brett Porter wrote: not yet. We are currently developing maven 2 which already has this functionality. - Brett On Fri, 10 Sep 2004 00:59:11 +0100, Pedro Salgado <[EMAIL PROTECTED]> wrote: Hi to all! Is there any way to do this: - fetch struts jar - fetch automatically all of struts dependencies? (without the need of writing the dependencies myself)? I tried the "copy paste technique" but I only found few poms in order to copy the dependencies :( Pedro Salgado - 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]