Re: where to put config files under WEB-INF directory
Dear liu, in src/main/webapp/WEB-INF folder. thanks. Tel: (020)83020988-328 Fax: (020)36315170 |-+ | | 子民 刘 | | | [EMAIL PROTECTED]| | | o.com.cn| | || | | 12/09/2006 14:44 | | | Please respond to| | | Maven Users | | | List| | || |-+ --| | | | To: users@maven.apache.org | | cc: | | Subject: where to put config files under WEB-INF directory | --| hi all, i want to use maven2 on my new web project. I know there are standard directory conventions in maven2. The configuration files that should be deployed under WEB-INF/classes in war should be placed under src/main/resources directory. But how about the configuration files that should be deployed under WEB-INF, for example spring application context files. where to put them in development directory. Should i put them in src/main/webapp/WEB-INF or src/main/resources? If i put them in src/main/resources, then these files will be deployed under /WEB-INF/classes in war.Is there any way i can customize? Thanks in advance! ___ 抢注雅虎免费邮箱-3.5G容量,20M附件! http://cn.mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ 2006 sees Hactl's 30 years of commitment to Hong Kong and our customers. On this occasion we extend our thanks to all of you for your loyalty and trust. You have contributed to our success. Visit us at our website at www.hactl.com DISCLAIMER :- The information contained in this message, including any attachment, is confidential and may also be privileged. The information is intended only for the person or entity to which it is addressed. Any review, re-transmission, copying, storage, distribution or other use or disclosure of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please contact the sender immediately by return email and delete this message from your system. Thank you. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __
RE: Super Pom
Dear all, For maven2, the child POM will inherit all properties from parent pom. thanks. Tel: (020)36315358-328 Fax: (020)36315170 Lakshman Srilakshmanan [EMAIL PROTECTED]To: Maven Users List users@maven.apache.org ost.com.au cc: Subject: RE: Super Pom 28/07/2006 10:12 Please respond to Maven Users List Thanks Stephen, Sending to maven users list for future reference. Thanks Lakshman -Original Message- From: Stephen Duncan [mailto:[EMAIL PROTECTED] Sent: Friday, 28 July 2006 12:09 PM To: Lakshman Srilakshmanan Subject: Re: Super Pom Yes. That Super POM is basically a set of default values built in to Maven (from my understanding). This includes things like a profile activated by performRelease=true that includes the javadoc:jar and source:jar goals at package time, etc. - Stephen On 7/27/06, Lakshman Srilakshmanan [EMAIL PROTECTED] wrote: Hi Stephen, Thanks for your suggestion, I was coming to the same conclusion. What puzzled me was the manual Better Builds with Maven pg 24, where they refer to a Super POM that is implicitly inherited by all pom's. I guess this is buried deep in the maven code somewhere and not available for the end user. Could you please confirm my observation above, about the Super POM. Thanks Lakshman -Original Message- From: Stephen Duncan [mailto:[EMAIL PROTECTED] Sent: Thursday, 27 July 2006 10:38 AM To: Maven Users List Subject: Re: Super Pom You can choose to make a super-pom that all your projects inherit from to provide common configuration. - Stephen On 7/26/06, Lakshman Srilakshmanan [EMAIL PROTECTED] wrote: Hi Emmanuel, Thanks for your reply. The http://maven.apache.org/plugins/maven-checkstyle-plugin/customize.html describes how to include a customised checkstyle within a POM. I need to know the location of the super POM itself, if one exists. Thanks Lakshman -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Wednesday, 26 July 2006 5:28 PM To: Maven Users List Subject: Re: Super Pom http://maven.apache.org/plugins/maven-checkstyle-plugin/customize.html Lakshman Srilakshmanan a écrit : Hi All, I have used maven 1.x for a couple of years now and am in the process of migrating to maven 2.x I need to set some configuration globally (eg customised checkstyle). I find the appropriate place would be to include it in the super pom. Unfortunately I don't seem to be able to find it. Could you please direct me to where it is located. Thanks Lakshman - 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] -- 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
Re: [m2] How to exclude a jar in WEB-INF/lib
Dear you can exclude jar in web-intf/lib. thanks. Tel: (020)36315358-328 Fax: (020)36315170 Tom Joad [EMAIL PROTECTED]To: Maven Users List users@maven.apache.org cc: Subject: Re: [m2] How to exclude a jar in WEB-INF/lib 06/04/2006 16:50 Please respond to Maven Users List Hello, If the two jars are direct dependency in your project you can use scope provided for what you want to exclude. If they are bundled by transitive dependency mechanism , you declare them as direct dependency inside the pom.xml and use provided scope. I do it to exclude servlet-api which is compile dependency of spring and acegisecurity in WEB-INF/lib . I hope it helps, Tom. 2006/4/6, Wesslan [EMAIL PROTECTED]: When I build my jar with mvn package I get both cglib-2.1_3.jar and cglib-nodep-2.1_3.jar in WEB-INF/lib. I only want cglib-nodep-2.1_3.jar so how do I get rid of cglib-2.1_3.jar? Regards, Peter -- View this message in context: http://www.nabble.com/-m2-How-to-exclude-a-jar-in-WEB-INF-lib-t1404553.html#a3780339 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ 2006 sees Hactl's 30 years of commitment to Hong Kong and our customers. On this occasion we extend our thanks to all of you for your loyalty and trust. You have contributed to our success. Visit us at our website at www.hactl.com DISCLAIMER :- The information contained in this message, including any attachment, is confidential and may also be privileged. The information is intended only for the person or entity to which it is addressed. Any review, re-transmission, copying, storage, distribution or other use or disclosure of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please contact the sender immediately by return email and delete this message from your system. Thank you. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] plugin dependency exclusions
Dear , You should remember the true name of jar should be same to jar name in run-time . thanks. Tel: (020)36315358-328 Fax: (020)36315170 Wayne Fay [EMAIL PROTECTED]To: Maven Users List users@maven.apache.org om cc: Subject: Re: [m2] plugin dependency exclusions 21/03/2006 05:08 Please respond to Maven Users List The easiest way to achieve this is to just add the dependency to your pom with scopeprovided/scope You can also exclude specific files from your WAR or EAR, take a look at: http://jira.codehaus.org/browse/MWAR-6 http://jira.codehaus.org/browse/MEAR-3 This has also come up previously on user@ list, if you search the archives, you should be able to find more discussion and some pom.xml examples. Wayne On 3/20/06, Mark Hobson [EMAIL PROTECTED] wrote: Hi there, Is there any plans for an exclusions block for plugin dependencies within the pom? I have a use-case of wanting to exclude slf4j-simple from the jetty6 plugin in order to use an alternative implementation. Cheers, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ 2006 sees Hactl's 30 years of commitment to Hong Kong and our customers. On this occasion we extend our thanks to all of you for your loyalty and trust. You have contributed to our success. Visit us at our website at www.hactl.com DISCLAIMER :- The information contained in this message, including any attachment, is confidential and may also be privileged. The information is intended only for the person or entity to which it is addressed. Any review, re-transmission, copying, storage, distribution or other use or disclosure of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please contact the sender immediately by return email and delete this message from your system. Thank you. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven kodo plugin
Dear Stephane, You mean that kodo-jdo-runtime.jar? thanks. Tel: (020)36315358-328 Fax: (020)36315170 stéphane bouchet Stephane.BouchetTo: Maven Users List users@maven.apache.org @emn.fr cc: Subject: Re: maven kodo plugin 08/02/2006 16:36 Please respond to Maven Users List Henry S. Isidro a écrit : [EMAIL PROTECTED] wrote: Dear Henry, I have got org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT. However, I can't get com.solarmetric:kodo-jdo:jar:3.0 I don't think it's in the repositories. Have you tried their website -- http://www.solarmetric.com/ Henry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Hi, All the jars from kodo can't be in remote repo, due to licence limitations. Kodo is a commercial implementation of JDO, so you must download a version from their website, and put manually the Jars to your local repo. -- Stéphane Bouchet http://sbouchet.blogspot.com Architecte Logiciel du projet CASTORE http://www.castore.org EMN - CRITE La chantrerie 4, rue Alfred Kastler 44300 NANTES 02.51.85.82.29 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ 2006 sees Hactl's 30 years of commitment to Hong Kong and our customers. On this occasion we extend our thanks to all of you for your loyalty and trust. You have contributed to our success. Visit us at our website at www.hactl.com DISCLAIMER :- The information contained in this message, including any attachment, is confidential and may also be privileged. The information is intended only for the person or entity to which it is addressed. Any review, re-transmission, copying, storage, distribution or other use or disclosure of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please contact the sender immediately by return email and delete this message from your system. Thank you. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven kodo plugin
Dear Stephane, I have compiled the maven-kodo-plugin and installed it sucessfully. Another project'm pom is project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi =http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion parent artifactIdjaf-framework/artifactId groupIdcom.hactl.jaf/groupId version1.0/version /parent artifactIdcas-document-jdo/artifactId namecas-document-jdo/name groupIdcom.hactl.core/groupId packagingjar/packaging inceptionYear2005/inceptionYear urlhttp://maven.apache.org/url dependencies dependency groupIdcom.hactl.core/groupId artifactIdcommon-util/artifactId version1.0/version scopecompile/scope /dependency /dependencies build sourceDirectorysrc/java/sourceDirectory outputDirectorytarget/classes/outputDirectory finalName${artifactId}/finalName resources resource directorysrc/java/directory filteringtrue/filtering includes include**/*.properties/include include**/*.jdo/include include**/*.mapping/include /includes /resource /resources plugins plugin groupIdhactlext.kodo/groupId artifactIdmaven-kodo-plugin/artifactId version1.0-alpha-1-SNAPSHOT/version executions execution phasecompile/phase configuration extraClassPathItems extraClassPathItemtarget/classes/extraClassPathItem extraClassPathItemsrc/java/**/*.jdo/extraClassPathItem extraClassPathItemf:/corewas/core-main/*.properties/extraClassPathItem /extraClassPathItems /configuration goals goalenhance/goal /goals /execution /executions /plugin /plugins /build /project However ,a n error found. F:\corewas\cas-document-jdomvn -X compile + Error stacktraces are turned on. [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settings\gz-clark_rao\.m2\plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: 'd: \maven-2.01-bin\conf\plugin-registry.xml' [INFO] Scanning for projects... [DEBUG] Using parent-POM from the project hierarchy at: '../pom.xml' for project: com.hactl.core:cas-document-jdo:jar:nu ll [INFO] [INFO] Building cas-document-jdo [INFO]task-segment: [compile] [INFO] [DEBUG] maven-resources-plugin: resolved to version 2.1 from repository central [DEBUG] Retrieving parent-POM from the repository for project: null:maven-resources-plugin:maven-plugin:2.1 [DEBUG] maven-compiler-plugin: resolved to version 2.0 from repository central [DEBUG] Retrieving parent-POM from the repository for project: null:maven-compiler-plugin:maven-plugin:2.0 [DEBUG] maven-clean-plugin: resolved to version 2.0 from repository central [DEBUG] Retrieving parent-POM from the repository for project: null:maven-clean-plugin:maven-plugin:2.0 [DEBUG] maven-surefire-plugin: resolved to version 2.1.1 from repository central [DEBUG] Retrieving parent-POM from the repository for project: null:maven-surefire-plugin:maven-plugin:2.1.1 [DEBUG] maven-jar-plugin: resolved to version 2.0 from repository central [DEBUG] Retrieving parent-POM from the repository for project: null:maven-jar-plugin:maven-plugin:2.0 [DEBUG] maven-war-plugin: resolved to version 2.0-beta-2 from repository central [DEBUG] Retrieving parent-POM from the repository for project: null:maven-war-plugin:maven-plugin:2.0-beta-2 [DEBUG] maven-ejb-plugin: resolved to version 2.0 from repository central [DEBUG] Retrieving parent-POM from the repository for project: null:maven-ejb-plugin:maven-plugin:2.0 [DEBUG] maven-ear-plugin: resolved to version 2.1 from repository central [DEBUG] Retrieving parent-POM from the repository for project: null:maven-ear-plugin:maven-plugin:2.1 [DEBUG] Skipping disabled repository central [DEBUG] Skipping disabled repository central [DEBUG] maven-kodo-plugin: using locally installed snapshot [DEBUG] maven-kodo-plugin: using locally installed snapshot [INFO] [ERROR] FATAL ERROR [INFO] [INFO] null [INFO] [DEBUG] Trace java.lang.NullPointerException at
maven kodo plugin
Dear all, When I build maven kodo plugin, it failed. can you help? GroupId: org.codehaus.mojo ArtifactId: mojo-sandbox Version: 2-SNAPSHOT Reason: Unable to download the artifact from any repository org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), central-1 (file:///d:/m2localrepo/) [INFO] [DEBUG] Trace org.apache.maven.reactor.MavenExecutionException: POM 'org.codehaus.mojo:mojo-sandbox' not found in repository: Unable t o download the artifact from any repository org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), central-1 (file:///d:/m2localrepo/) 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: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) Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.codehaus.mojo:mojo-sandbox' not found in reposito ry: Unable to download the artifact from any repository org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), central-1 (file:///d:/m2localrepo/) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:4 20) at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:969) at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:583) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFile(DefaultMavenProjectBuilder.java:295) at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:273) at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:447) at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351) ... 11 more Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any reposi tory org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), central-1 (file:///d:/m2localrepo/) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:136) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:3 77) ... 18 more Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:260) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:124) ... 20 more [INFO] [INFO] Total time: 1 second [INFO] Finished at: Wed Feb 08 13:20:01 CST 2006 [INFO] Final Memory: 1M/4M [INFO] thanks. Tel: (020)36315358-328 Fax: (020)36315170 thanks. Tel: (020)36315358-328 Fax: (020)36315170 ___ 2006 sees Hactl's 30 years of commitment to Hong Kong and our customers. On this occasion we extend our thanks to all of you for your loyalty and trust. You have contributed to our success. Visit us at our website at www.hactl.com DISCLAIMER :- The information contained in this message, including any attachment, is confidential and may also be privileged. The information is intended only for the person or entity to which it is addressed. Any review, re-transmission, copying, storage, distribution or other use or disclosure of this information by persons or entities other than the intended recipient is prohibited.
Re: maven kodo plugin
Dear Henry, thanks a lot thanks. Tel: (020)36315358-328 Fax: (020)36315170 Henry S. Isidro [EMAIL PROTECTED]To: Maven Users List users@maven.apache.org m cc: Subject: Re: maven kodo plugin 08/02/2006 14:00 Please respond to Maven Users List [EMAIL PROTECTED] wrote: Dear all, When I build maven kodo plugin, it failed. can you help? GroupId: org.codehaus.mojo ArtifactId: mojo-sandbox Version: 2-SNAPSHOT Reason: Unable to download the artifact from any repository org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), central-1 (file:///d:/m2localrepo/) [INFO] [DEBUG] Trace org.apache.maven.reactor.MavenExecutionException: POM 'org.codehaus.mojo:mojo-sandbox' not found in repository: Unable t o download the artifact from any repository org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), central-1 (file:///d:/m2localrepo/) You're using a sandbox plugin. Read this for more info: http://mojo.codehaus.org/using-sandbox-plugins.html HTH, Henry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ 2006 sees Hactl's 30 years of commitment to Hong Kong and our customers. On this occasion we extend our thanks to all of you for your loyalty and trust. You have contributed to our success. Visit us at our website at www.hactl.com DISCLAIMER :- The information contained in this message, including any attachment, is confidential and may also be privileged. The information is intended only for the person or entity to which it is addressed. Any review, re-transmission, copying, storage, distribution or other use or disclosure of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please contact the sender immediately by return email and delete this message from your system. Thank you. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven kodo plugin
Dear Henry, I have got org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT. However, I can't get com.solarmetric:kodo-jdo:jar:3.0 thanks. Tel: (020)36315358-328 Fax: (020)36315170 Henry S. Isidro [EMAIL PROTECTED]To: Maven Users List users@maven.apache.org m cc: Subject: Re: maven kodo plugin 08/02/2006 14:00 Please respond to Maven Users List [EMAIL PROTECTED] wrote: Dear all, When I build maven kodo plugin, it failed. can you help? GroupId: org.codehaus.mojo ArtifactId: mojo-sandbox Version: 2-SNAPSHOT Reason: Unable to download the artifact from any repository org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), central-1 (file:///d:/m2localrepo/) [INFO] [DEBUG] Trace org.apache.maven.reactor.MavenExecutionException: POM 'org.codehaus.mojo:mojo-sandbox' not found in repository: Unable t o download the artifact from any repository org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), central-1 (file:///d:/m2localrepo/) You're using a sandbox plugin. Read this for more info: http://mojo.codehaus.org/using-sandbox-plugins.html HTH, Henry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ 2006 sees Hactl's 30 years of commitment to Hong Kong and our customers. On this occasion we extend our thanks to all of you for your loyalty and trust. You have contributed to our success. Visit us at our website at www.hactl.com DISCLAIMER :- The information contained in this message, including any attachment, is confidential and may also be privileged. The information is intended only for the person or entity to which it is addressed. Any review, re-transmission, copying, storage, distribution or other use or disclosure of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please contact the sender immediately by return email and delete this message from your system. Thank you. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m201] Plugin Dependency Configuration
Dear, the version of plugin should be written out. thanks. Tel: (020)36315358-328 Fax: (020)36315170 Allison, Bob [EMAIL PROTECTED]To: Maven Users List users@maven.apache.org west.comcc: Subject: RE: [m201] Plugin Dependency Configuration 09/01/2006 17:39 Please respond to Maven Users List Anybody have any idea what I am doing wrong? -Original Message- From: Allison, Bob [mailto:[EMAIL PROTECTED] Sent: Friday, January 06, 2006 06:52 To: Maven Users List Subject: [m201] Plugin Dependency Configuration I am trying to configure a plugin with dependencies. According to the current project descriptor document (http://maven.apache.org/maven-model/maven.html), I should do the following: project build plugins plugin groupId/ artifactId/ dependencies dependency groupId/ artifactId/ /dependency /dependencies configuration/ /plugin /plugins /build /project When I do this, I get a parse error on the POM that the dependencies tag within the plugin is unrecognized. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ Hactl..Moving forward with you. Best Air Cargo Terminal - Asia 2005 Air Cargo Terminal of the Year 2002, 2003 2004 Web: http://www.hactl.com DISCLAIMER :- The information contained in this message, including any attachment, is confidential and may also be privileged. The information is intended only for the person or entity to which it is addressed. Any review, re-transmission, copying, storage, distribution or other use or disclosure of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please contact the sender immediately by return email and delete this message from your system. Thank you. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Default Maven repository (iBiblio) really slow on a consistent basis?
Dear haginow, Yes, The speed of connet to central repository. Thereforefore, I set reposity idcentral to local reposity in setting.xml. thanks. Tel: (020)36315358-328 Fax: (020)36315170 haginow2001-nabble @yahoo.comTo: users@maven.apache.org cc: 10/01/2006 03:18 Subject: [m2] Default Maven repository (iBiblio) really slow on a consistent basis? Please respond to Maven Users List It looks as if iBiblio is very slow or even down most of the time. Do other people experience this as well and if so is there a plan to improve this? Chris __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ Hactl..Moving forward with you. Best Air Cargo Terminal - Asia 2005 Air Cargo Terminal of the Year 2002, 2003 2004 Web: http://www.hactl.com DISCLAIMER :- The information contained in this message, including any attachment, is confidential and may also be privileged. The information is intended only for the person or entity to which it is addressed. Any review, re-transmission, copying, storage, distribution or other use or disclosure of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please contact the sender immediately by return email and delete this message from your system. Thank you. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] war as a dependency
Dear all, Can manven2 support an ear as dependency? For application server,we should let class in one ear can access ejbs in another ear. thanks. Tel: (020)36315358-328 Fax: (020)36315170 David Hawkins [EMAIL PROTECTED]To: 'Maven Users List' users@maven.apache.org om cc: Subject: RE: [m2] war as a dependency 04/01/2006 01:24 Please respond to Maven Users List When you specified the dependency, did you specify the type? Your dependency should look something like: dependency groupIdcom.contentconnections.mpl/groupId artifactIdmpl-common-webapp/artifactId version0.1-SNAPSHOT/version typewar/type /dependency --David -Original Message- From: Richard Wallace [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 03, 2006 11:03 AM To: Maven Users List Subject: Re: [m2] war as a dependency I checked out the source for the maven-war-plugin and installed it in my local repository. But when I try and do a 'mvn war:war' I'm still getting required artifacts missing: com.contentconnections.mpl:mpl-common-webapp:jar:0.1-SNAPSHOT So it looks like maven is still trying to download the artifact as a jar instead of as a war which is what mpl-common-webapps packaging is defined to be in it's pom. Do I also need to use a snapshot version of maven to make this work or is there something else I'm missing? Thanks for the help, Rich Stephane Nicoll wrote: On 1/3/06, Richard Wallace [EMAIL PROTECTED] wrote: Hello all, I thought I saw on the list some time ago that a pom for a war could specify another war artifact as a dependency with the idea being that the depended war would be unzipped and then the webapp from the current project would be copied over it. Is this only available in a snapshot version of the war plugin? Is it deployed anywhere? If not, where is the source repo for the war plugin? I tried looking at the project page for the plugin, but that has an invalid link http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven-plugins/maven -war-plugin. Plugins have moved http://svn.apache.org/viewcvs.cgi/maven/plugins/trunk/maven-war-plugin/ Stéphane -- .::You're welcome ::. - 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] __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ Hactl..Moving forward with you. Best Air Cargo Terminal - Asia 2005 Air Cargo Terminal of the Year 2002, 2003 2004 Web: http://www.hactl.com DISCLAIMER :- The information contained in this message, including any attachment, is confidential and may also be privileged. The information is intended only for the person or entity to which it is addressed. Any review, re-transmission, copying, storage, distribution or other use or disclosure of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please contact the sender immediately by return email and delete this message from your system. Thank you.
Re: How to override the maven central repository completely
Dear , You can set you reposity id in setting.xml as central . for example profiles profile iddevpprofile1/id activation os familyunix/family /os /activation properties devep.websiteresource/appserver/devep.website /properties repositories repository releases enabledtrue/enabled updatePolicyalways/updatePolicy checksumPolicyfail/checksumPolicy /releases snapshots enabledtrue/enabled updatePolicyalways/updatePolicy checksumPolicyfail/checksumPolicy /snapshots idmaven2repo1/id namedeveloper Resp/name urlhttp://repo1.maven.org/maven2//url /repository repository releases enabledtrue/enabled updatePolicynever/updatePolicy checksumPolicyfail/checksumPolicy /releases snapshots enabledtrue/enabled updatePolicynever/updatePolicy checksumPolicyfail/checksumPolicy /snapshots idlocalreposity/id namedeveloper local Resp/name urlfile:///d:/m2localrepo//url /repository /repositories pluginRepositories pluginRepository releases enabledtrue/enabled updatePolicynever/updatePolicy checksumPolicyfail/checksumPolicy /releases idpluginLili/id namemaven plugin/name urlhttp://www.ibiblio.org/maven2//url /pluginRepository pluginRepository releases enabledtrue/enabled updatePolicynever/updatePolicy checksumPolicyfail/checksumPolicy /releases idlocalplugin/id namelocal maven plugin/name urlfile:///d:/m2localrepo//url /pluginRepository /pluginRepositories /profile profile iddevpprofile2/id activation !--jdk1.5.0_04/jdk-- os familywindows/family /os /activation properties devep.websiteresource/appserver/devep.website /properties repositories repository snapshots enabledfalse/enabled /snapshots idcentral/id nameMaven Repository Switchboard/name !--urlhttp://repo1.maven.org/maven2/url-- urlfile:///d:/m2localrepo//url /repository /repositories pluginRepositories pluginRepository releases updatePolicynever/updatePolicy /releases snapshots enabledfalse/enabled /snapshots idcentral/id nameMaven Plugin Repository/name !-- urlhttp://repo1.maven.org/maven2/url-- urlfile:///d:/m2localrepo//url /pluginRepository /pluginRepositories /profile /profiles !-- activeProfiles | List of profiles that are active for all builds. |-- activeProfiles !--activeProfiledevpprofile1/activeProfile-- activeProfiledevpprofile2/activeProfile !--activeProfileanotherAlwaysActiveProfile/activeProfile-- /activeProfiles thanks. Tel: (020)36315358-328 Fax: (020)36315170 Allan Ramirez [EMAIL PROTECTED]To: Maven Users List users@maven.apache.org om cc: Subject: Re: How to override the maven central repository completely 21/12/2005 09:26 Please respond to Maven Users List
Re: Use Maven in multiple Java SDKs
Dear build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-clean-plugin/artifactId executions execution idclean/id phasevalidate/phase goals goalclean/goal /goals /execution /executions /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target skiptrue/skip /configuration /plugin plugins thanks. Tel: (020)36315358-328 Fax: (020)36315170 De Silva, Sam [EMAIL PROTECTED]To: 'users@maven.apache.org' users@maven.apache.org imited.com cc: Subject: Use Maven in multiple Java SDKs 20/12/2005 15:48 Please respond to Maven Users List Hi, How do I perform the builds using Maven for two projects that are in two different Java SDKs? Sam DISCLAIMER: --- This Email may contain confidential and/or privileged information and is intended solely for the addressee(s) named. If you have received this information in error, or are advised that you have been posted this Email by accident, please notify the sender by return Email, do not redistribute it, delete the Email and keep no copies. -- __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ Hactl..Moving forward with you. Best Air Cargo Terminal - Asia 2005 Air Cargo Terminal of the Year 2002, 2003 2004 Web: http://www.hactl.com DISCLAIMER :- The information contained in this message, including any attachment, is confidential and may also be privileged. The information is intended only for the person or entity to which it is addressed. Any review, re-transmission, copying, storage, distribution or other use or disclosure of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please contact the sender immediately by return email and delete this message from your system. Thank you. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: including empty directories in a war build
Dear all, Maven war plugin doesn't copy empty folder to .war file. thanks. Tel: (020)36315358-328 Fax: (020)36315170 Brian E. Fox [EMAIL PROTECTED]To: Maven Users List users@maven.apache.org inity.nucc: Subject: RE: including empty directories in a war build 20/12/2005 07:42 Please respond to Maven Users List Ah, I misunderstood you. I thought you already had the folder but the war plugin was skipping the empty dirs. Glad you got it working. -Original Message- From: Frank Russo [mailto:[EMAIL PROTECTED] Sent: Monday, December 19, 2005 4:39 PM To: Maven Users List Subject: RE: including empty directories in a war build I got it working using the antrun plugin as follows (not sure if the best way, but it was the only way it worked): plugins plugin artifactIdmaven-antrun-plugin/artifactId executions execution phasecompile/phase configuration tasks mkdir dir=target/fxalladmin/WEB-INF/bigbrother/ /tasks /configuration goals goalrun/goal /goals /execution /executions /plugin /plugins Alternate solutions are welcome... Frank Russo Senior Developer FX Alliance, LLC -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Monday, December 19, 2005 4:10 PM To: Maven Users List Subject: RE: including empty directories in a war build Bummer. I'm not sure how that would work without code changes then. -Original Message- From: Frank Russo [mailto:[EMAIL PROTECTED] Sent: Monday, December 19, 2005 2:50 PM To: Maven Users List Subject: RE: including empty directories in a war build I see where you meant. The includes element is for configuring a resource. By doing that, if I could get it to work, that would automatically put it in web-inf/classes. All resources go into the web-inf/classes directory. I need it to go in web-inf. Also, I tried a bunch of combinations with the includes just to see if it would copy the empty folder, but it didn't work... Frank Russo Senior Developer FX Alliance, LLC -Original Message- From: Frank Russo Sent: Monday, December 19, 2005 2:15 PM To: Maven Users List Subject: RE: including empty directories in a war build Do you mean for the plugin element in the pom? Just want to clarify where you are suggesting this. Thanks... Frank Russo Senior Developer FX Alliance, LLC -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Monday, December 19, 2005 1:13 PM To: Maven Users List Subject: RE: including empty directories in a war build Although hardly an expert, I have poked around in the war plugin. It uses the plexus directory scanner to gen a list of artifacts to include. This is probably why it won't find empty folders. You may be able to override this using the includes/excludes settings (note that currently , separated lists don't work). (ie you could add an include to /foldername that you wanted to keep) -Original Message- From: Frank Russo [mailto:[EMAIL PROTECTED] Sent: Monday, December 19, 2005 11:12 AM To: Maven Users List Subject: RE: including empty
Re: [m2] ear plugin: jar does not get added to application xml (as java module)
Dear, exaplme: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId configuration archive manifest addClasspathtrue/addClasspath /manifest manifestEntries modeclark rao/mode urlareden.blog.com/url /manifestEntries /archive /configuration /plugin thanks. Tel: (020)36315358-328 Fax: (020)36315170 Edwin Punzalan [EMAIL PROTECTED]To: Maven Users List users@maven.apache.org com cc: Subject: Re: [m2] ear plugin: jar does not get added to application xml (as java 15/12/2005 11:13 module) Please respond to Maven Users List The ejb plugin has configuration elements for the application.xml. Please see: http://maven.apache.org/plugins/maven-ear-plugin/howto.html Dário Luís Coneglian Oliveros wrote: Hi, I´ve been trying to create an EAR that contains a JAR, an EJB JAR (depends on JAR) and a WAR, however only EJB JAR and WAR gets added to the application.xml as ejb and web modules respectively. The JAR is not added at all. This used to work in Maven 1. How can I have an entry of JAR in the application.xml as a java module ? Do I need to add it manually ? I´ve noticed that all dependency jars are added to the EAR (depending on the scope), but they are not present in the application.xml as java modules. Should I report a bug or this is an expected behaviour ? Please find below my POM: project modelVersion4.0.0/modelVersion groupIdcom.mycompany.sample/groupId artifactIdsample-ear/artifactId packagingear/packaging version1.0-SNAPSHOT/version dependencies dependency groupIdcom.mycompany.sample/groupId artifactIdsample-java/artifactId version1.0-SNAPSHOT/version /dependency dependency groupIdcom.mycompany.sample/groupId artifactIdsample-ejb/artifactId version1.0-SNAPSHOT/version typeejb/type /dependency dependency groupIdcom.mycompany.sample/groupId artifactIdsample-web/artifactId version1.0-SNAPSHOT/version typewar/type /dependency /dependencies build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ear-plugin/artifactId /plugin /plugins /build /project application.xml -- application display-namesample-ear/display-name module ejbsample-ejb-1.0-SNAPSHOT.jar/ejb /module module web web-urisample-web-1.0-SNAPSHOT.war/web-uri context-root/sample-web/context-root /web /module /application Any clues ? I am not sure if that´s the right way to create an EAR. I would appreciate any help. Thanks in advance, Dário - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __
Re: M2 Kodo Plugin
Dear , We can re-build it for mave 2, isn't right? thanks. Tel: (020)36315358-328 Fax: (020)36315170 stéphane bouchet Stephane.BouchetTo: Maven Users List users@maven.apache.org @emn.fr cc: Subject: Re: M2 Kodo Plugin 05/12/2005 19:14 Please respond to Maven Users List Hi, I actually manage this plugin , and it is hosted on sourceforge. I am not currently working with M2, so feel free to take the m1 code and modify it to do a M2 plugin ! Stéphane Brian E. Fox a écrit : Anyone have an M2 Kodo plugin? We currently use Ant to do it, but I was thinking about making a plugin. Didn't want to reinvent the wheel... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ Hactl..Moving forward with you. Best Air Cargo Terminal - Asia 2005 Air Cargo Terminal of the Year 2002, 2003 2004 Web: http://www.hactl.com DISCLAIMER :- The information contained in this message, including any attachment, is confidential and may also be privileged. The information is intended only for the person or entity to which it is addressed. Any review, re-transmission, copying, storage, distribution or other use or disclosure of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please contact the sender immediately by return email and delete this message from your system. Thank you. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How not to include all jar files from parent pom?
Dear all, the scopecompile/scope in depency element in pom.xml. thanks. Tel: (020)36315358-328 Fax: (020)36315170 Stephane Nicoll stephane.nicoll@To: Maven Users List users@maven.apache.org gmail.com cc: Subject: Re: How not to include all jar files from parent pom? 01/12/2005 16:54 Please respond to Maven Users List Indeed. My mistake, tired yesterday. s/ On 12/1/05, Henry Isidro [EMAIL PROTECTED] wrote: Stephane Nicoll wrote: Use the right scope. If you don't want them to be included, specify the scope of your dependency (compile / provided). Hope it helps, Stéphane Just to clarify things further, the compile scope includes the dependencies in the final package and the provided scope does not. Regards, Henry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- .::You're welcome ::. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ Hactl..Moving forward with you. Best Air Cargo Terminal - Asia 2005 Air Cargo Terminal of the Year 2002, 2003 2004 Web: http://www.hactl.com DISCLAIMER :- The information contained in this message, including any attachment, is confidential and may also be privileged. The information is intended only for the person or entity to which it is addressed. Any review, re-transmission, copying, storage, distribution or other use or disclosure of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please contact the sender immediately by return email and delete this message from your system. Thank you. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Jars inside ear as java modules in the application.xml
Dear Bruno, I think you MAY can put jar to own plugin. I'll try it. thanks. Tel: (020)36315358-328 Fax: (020)36315170 Bruno Aranda [EMAIL PROTECTED]To: Maven Users List users@maven.apache.org l.com cc: Subject: [m2] Jars inside ear as java modules in the application.xml 01/12/2005 00:19 Please respond to Maven Users List Hi all, I wonder if it is possible to configure the ear plugin somehow to put some of the jar dependencies inside the application.xml file as modulejavamyFile.jar/java/module, as it is actually done with ejb's and webapps... I need this because I have a par (ejb3) that depends on a jar and in order to make this work I also need that jar in the application.xml file... Regards, Bruno - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ Hactl..Moving forward with you. Best Air Cargo Terminal - Asia 2005 Air Cargo Terminal of the Year 2002, 2003 2004 Web: http://www.hactl.com DISCLAIMER :- The information contained in this message, including any attachment, is confidential and may also be privileged. The information is intended only for the person or entity to which it is addressed. Any review, re-transmission, copying, storage, distribution or other use or disclosure of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please contact the sender immediately by return email and delete this message from your system. Thank you. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Jars inside ear as java modules in the application.xml
Dear Bruno, In pom.xml. You should add this jar to dependency. my pom.xml is below. project modelVersion4.0.0/modelVersion groupIdears/groupId artifactIdear/artifactId packagingpom/packaging version1.0/version nameear assembly/name dependencies dependency groupIdpojos/groupId artifactIdpojo/artifactId version1.0/version /dependency dependency groupIdejbs/groupId artifactIdejb/artifactId version1.0/version typeejb/type /dependency dependency groupIdwars/groupId artifactIdwar/artifactId version1.0/version typewar/type /dependency /dependencies build !-- outputDirectoryC:\test\sample\ear\target1/outputDirectory -- plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ear-plugin/artifactId version2.1-SNAPSHOT/version executions execution idear/id phasepackage/phase goals goalgenerate-application-xml/goal goalear/goal /goals configuration modules javaModule groupIdpojos/groupId artifactIdpojo/artifactId ! --includeInApplicationXmltrue/includeInApplicationXml-- uripojo-1.0.jar/uri /javaModule ejbModule groupIdejbs/groupId artifactIdejb/artifactId uriejb-1.0.jar/uri /ejbModule webModule groupIdwars/groupId artifactIdwar/artifactId context-rootdss/context-root /webModule /modules /configuration /execution /executions /plugin /plugins /build /project thanks. Tel: (020)36315358-328 Fax: (020)36315170 Bruno Aranda [EMAIL PROTECTED]To: Maven Users List users@maven.apache.org l.com cc: Subject: Re: [m2] Jars inside ear as java modules in the application.xml 01/12/2005 01:05 Please respond to Maven Users List I've found the solution myself googleing and looking to the source code :-) You have to use a javaModule inside the configuration of the maven-ear-plugin with the artifact information and the includeInApplicationXml set to true: plugin artifactIdmaven-ear-plugin/artifactId configuration modules javaModule groupIdebiointel-bionary/groupId artifactIdbionary/artifactId includeInApplicationXmltrue/includeInApplicationXml /javaModule /modules archive manifest addClasspathtrue/addClasspath /manifest /archive /configuration /plugin Regards, Bruno 2005/11/30, Bruno Aranda [EMAIL PROTECTED]: Hi all, I wonder if it is possible to configure the ear plugin somehow to put some of the jar dependencies inside the application.xml file as modulejavamyFile.jar/java/module, as it is actually done with ejb's and webapps... I need this because I have a par (ejb3) that depends on a jar and in order to make this work I also need that jar in the application.xml file... Regards, Bruno - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL
Re: calling an Ant task from mvn command
Dear nathaniel, phasegenerate-sources/phase should change to phaseinstall/phase , run mvn install. The phase should be same to mvn lifecycle phase. thanks. Tel: (020)36315358-328 Fax: (020)36315170 Nathaniel Auvil nathaniel.auvil@To: users@maven.apache.org gmail.com cc: Subject: calling an Ant task from mvn command 01/12/2005 03:16 Please respond to Maven Users List i have the following defined in my POM plugin artifactIdmaven-antrun-plugin/artifactId executions execution phasegenerate-sources/phase configuration tasks echo message=yeah yeah yeah / !-- Place any ant task here. You can add anything you can add between target and /target in a build.xml. -- /tasks /configuration goals goalrun/goal /goals /execution /executions /plugin How can i invoke that ant script in and of itself? I have tried: mvn ant:run but it says there is no goal run defined. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ Hactl..Moving forward with you. Best Air Cargo Terminal - Asia 2005 Air Cargo Terminal of the Year 2002, 2003 2004 Web: http://www.hactl.com DISCLAIMER :- The information contained in this message, including any attachment, is confidential and may also be privileged. The information is intended only for the person or entity to which it is addressed. Any review, re-transmission, copying, storage, distribution or other use or disclosure of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please contact the sender immediately by return email and delete this message from your system. Thank you. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Artifact Override
Dear Mik, For example: mvn install:install-file -Dfile=oracle8ijdbc.jar -DgroupId=database -DartifactId=oracle8i -Dversion=8i -Dpackaging=jar thanks. Tel: (020)36315358-328 Fax: (020)36315170 Nik Gonzalez [EMAIL PROTECTED]To: Maven Users List users@maven.apache.org com cc: Subject: Re: [m2] Artifact Override 01/12/2005 11:37 Please respond to Maven Users List Michael, Please take a look at this: http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html hth, Nik Michael Thompson wrote: I am doing eclipse plugin development using maven 2.0. In my pom for my eclipse plugin, I have the packaging set to jar. So in the end, the file: target\artifactId-version.jar gets created. BUT, I've also added an antrun task to the packaging phase that packages the source, resources and eclipse plugin descriptor into a proper eclipse plugin zip file. The issue is that when I do a mvn install, the JAR gets installed in my local repo. Is there anyway to override the final artifact and make it so that it installs my ZIP instead? Thanks in advance! --m Michael Thompson Senior Software Engineer Main: (512) 334 3200 Direct: (512) 334 3229 Email: [EMAIL PROTECTED] Webify Solutions Enabling the On Demand Enterprise www.webifysolutions.com http://www.webifysolutions.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ Hactl..Moving forward with you. Best Air Cargo Terminal - Asia 2005 Air Cargo Terminal of the Year 2002, 2003 2004 Web: http://www.hactl.com DISCLAIMER :- The information contained in this message, including any attachment, is confidential and may also be privileged. The information is intended only for the person or entity to which it is addressed. Any review, re-transmission, copying, storage, distribution or other use or disclosure of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please contact the sender immediately by return email and delete this message from your system. Thank you. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How copy files from local repo to remote
Dear, You can runant-run plugin in maven2.(goal:copy) And also, you can run ftp. thanks. Tel: (020)36315358-328 Fax: (020)36315170 Oles [EMAIL PROTECTED]To: users@maven.apache.org dessa.uacc: Subject: How copy files from local repo to remote 28/11/2005 21:58 Please respond to Maven Users List Hi all. Prompt to me please. I have two repo - local and our group running on Apache. I make some build and maven's getting necessaries files and putting its to local repo. How can I copy files form my local repo to group repo excepting by Cntr-C Cntr-V and how can I compare what files yet is absent in group repo? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ Hactl..Moving forward with you. Best Air Cargo Terminal - Asia 2005 Air Cargo Terminal of the Year 2002, 2003 2004 Web: http://www.hactl.com DISCLAIMER :- The information contained in this message, including any attachment, is confidential and may also be privileged. The information is intended only for the person or entity to which it is addressed. Any review, re-transmission, copying, storage, distribution or other use or disclosure of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please contact the sender immediately by return email and delete this message from your system. Thank you. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ear includes all jar files
Dear, You can use exclusives in build element of pom.xml. thanks. Tel: (020)36315358-328 Fax: (020)36315170 [EMAIL PROTECTED] pmchase.com To: users@maven.apache.org cc: 28/11/2005 23:43 Subject: ear includes all jar files Please respond to Maven Users List Hi this is my project structre +- - Project | +- - EJBs |+- - - pom.xml | +- - War | + - - - pom.xml | +- - EAR | + - - - pom.xml |- - pom.xml so when i ran mvn package from Porject directory it goes and creates ejbs jar and war and also ear file and works fine. but my problem is my ear file contains all the other dependencies jar from EJBs War Directory which i don't want. is there a way to control this so that it will only have my EJBs.jar and War.war file only not the dependecies jar of EJBs War Thanks, __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ Hactl..Moving forward with you. Best Air Cargo Terminal - Asia 2005 Air Cargo Terminal of the Year 2002, 2003 2004 Web: http://www.hactl.com DISCLAIMER :- The information contained in this message, including any attachment, is confidential and may also be privileged. The information is intended only for the person or entity to which it is addressed. Any review, re-transmission, copying, storage, distribution or other use or disclosure of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please contact the sender immediately by return email and delete this message from your system. Thank you. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: maven 2 ear -plug in
Dear all, Folder: sample --pom.xml (ear) |__src\main\application\meta-inf\application.xml | |---primary-source-|--pom.xml(java jar) | |--src\main\java\ We try to package an ear with java jar. under sample directory, mvn compile is ok .However,package wrong. groupIdcom.hactl/groupId artifactIdjavatest/artifactId version1.0/version the artifactId javatest exists sample\primary-source\pom.xml project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi =http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; xmlns:artifact =urn:maven-artifact-ant modelVersion4.0.0/modelVersion groupIdcom.hactl/groupId artifactIdjavatest/artifactId packagingjar/packaging version1.0/version namecore project classes/name dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency /dependencies build /build /project --- sample\ pom.xml: project modelVersion4.0.0/modelVersion groupIdcom.hactl/groupId version1.0/version artifactIdxxxproject/artifactId packagingpom/packaging namexxxproject/name build plugins plugin artifactIdmaven-ear-plugin/artifactId executions execution idear1/id phasepackage/phase configuration archive manifest addClasspathtrue/addClasspath /manifest /archive outputDirectoryeardir/outputDirectory modules module groupIdcom.hactl/groupId artifactIdjavatest/artifactId version1.0/version /module /modules !--includescommons-logging.jar/includes-- /configuration goals goalear/goal /goals /execution /executions /plugin /plugins /build /project -mvn -X package- + Error stacktraces are turned on. [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settings\gz-clark_rao\.m2\plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: 'd: \maven-2.0-bin\conf\plugin-registry.xml' [INFO] Scanning for projects... [INFO] [INFO] Building xxxproject [INFO]task-segment: [package] [INFO] [DEBUG] maven-ear-plugin: resolved to version 2.0 from repository central [DEBUG] Retrieving parent-POM from the repository for project: null:maven-ear-plugin:maven-plugin:2.0 [DEBUG] com.hactl:xxxproject:pom:1.0 (selected for null) [DEBUG] org.apache.maven.plugins:maven-ear-plugin:maven-plugin:2.0 (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for runtime) [DEBUG] Retrieving parent-POM from the repository for project: null:maven-archiver:jar:2.0 [DEBUG] org.apache.maven:maven-archiver:jar:2.0 (selected for runtime) [DEBUG] Retrieving parent-POM from the repository for project: null:maven-project:jar:2.0 [DEBUG] org.apache.maven:maven-project:jar:2.0 (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8 (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for runtime) [DEBUG] classworlds:classworlds:jar:1.1-alpha-2 (selected for runtime) [DEBUG] junit:junit:jar:3.8.1 (selected for runtime) [DEBUG] Retrieving parent-POM from the repository for project: org.apache.maven:maven-artifact:jar:2.0 [DEBUG] org.apache.maven:maven-artifact:jar:2.0 (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for runtime) [DEBUG] Retrieving parent-POM from the repository for project: org.apache.maven:maven-model:jar:2.0 [DEBUG] org.apache.maven:maven-model:jar:2.0 (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for runtime) [DEBUG] Retrieving parent-POM from the repository for project: org.apache.maven:maven-artifact-manager:jar:2.0 [DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0 (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8 (selected for runtime) [DEBUG] org.apache.maven:maven-artifact:jar:2.0 (selected for runtime) [DEBUG] Retrieving
Re: [m2]Trouble with FTP deploy
Dear what ftp plugin version? thanks. Tel: (020)36315358-328 Fax: (020)36315170 Brett Porter [EMAIL PROTECTED]To: Maven Users List users@maven.apache.org il.com cc: Subject: Re: [m2]Trouble with FTP deploy 25/11/2005 08:07 Please respond to Maven Users List I think the last release had an issue with the settings file not being read. You might need to put the username/password config in the build script (of course, reading them from properties not shared :) On 11/23/05, Tim Kettler [EMAIL PROTECTED] wrote: Hi, I'm trying to a deploy via FTP with the maven ant tasks but am always hit by a NPE: --- deploy: [artifact:deploy] Deploying to ftp://spike/ BUILD FAILED C:\cygwin\home\tkettler\3d_party\alloy\build.xml:10: java.lang.NullPointerException at org.apache.tools.ant.Task.perform(Task.java:373) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) at org.apache.tools.ant.Project.executeTarget(Project.java:1185) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40) at org.apache.tools.ant.Project.executeTargets(Project.java:1068) at org.apache.tools.ant.Main.runBuild(Main.java:668) at org.apache.tools.ant.Main.startAnt(Main.java:187) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) Caused by: java.lang.NullPointerException at org.apache.maven.wagon.providers.ftp.FtpWagon.openConnection(FtpWagon.java:122) at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:143) at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:178) at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:109) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:77) at org.apache.maven.artifact.ant.DeployTask.doExecute(DeployTask.java:112) at org.apache.maven.artifact.ant.AbstractArtifactTask.execute(AbstractArtifactTask.java:451) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) ... 10 more --- Nested Exception --- java.lang.NullPointerException at org.apache.maven.wagon.providers.ftp.FtpWagon.openConnection(FtpWagon.java:122) at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:143) at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:178) at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:109) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:77) at org.apache.maven.artifact.ant.DeployTask.doExecute(DeployTask.java:112) at org.apache.maven.artifact.ant.AbstractArtifactTask.execute(AbstractArtifactTask.java:451) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) at
Re: mvn archetype:create seems to not work... did before...
Dear 1.0-alpha-4-SNAPSHOT is OK. thanks. Tel: (020)36315358-328 Fax: (020)36315170 Brett Porter [EMAIL PROTECTED]To: Maven Users List users@maven.apache.org, [EMAIL PROTECTED] il.com cc: Subject: Re: mvn archetype:create seems to not work... did before... 25/11/2005 07:19 Please respond to Maven Users List that archetype version doesn't exist. Try 1.0-alpha-3, or remove it altogether. - Brett On 11/25/05, Peter L. Berghold [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OK: this worked in the morning (I think) but doesn't seem to work now... What is going on or what am I having a brain fart over? - - 8 snip 8 - mvn archetype:create -DarchitypeGroupId=agilitystewards.org - -DarchetypeArtifactId=maven-archetype-webapp -DarchetypeVersion=1.0 - -DgroupId=agilitystewards.org -DartifactId=agilitystewards.org Yields: [INFO] Defaulting package to group ID: agilitystewards.org Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetypes/maven-archetype-webapp/1.0/maven-archetype-webapp-1.0.jar [WARNING] Unable to get resource from repository central ( http://repo1.maven.org/maven2) [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. GroupId: org.apache.maven.archetypes ArtifactId: maven-archetype-webapp Version: 1.0 Reason: Unable to download the artifact from any repository org.apache.maven.archetypes:maven-archetype-webapp:1.0:jar from the specified remote repositories: central (http://repo1.maven.org/maven2) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 4 seconds [INFO] Finished at: Thu Nov 24 12:43:26 EST 2005 [INFO] Final Memory: 4M/7M [INFO] Thoughts? - -- Peter L. Berghold [EMAIL PROTECTED] Those who fail to learn from history are condemned to repeat it. AIM: redcowdawgYahoo IM: blue_cowdawg ICQ: 11455958 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDhfxCUM9/01RIhaARAsKuAJ91OZzzyvVpJRGExxvcWY03qgHBnACfYa82 WcnCPA5cpCmXBQXcV7ROiGg= =ElRb -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ Hactl..Moving forward with you. Best Air Cargo Terminal - Asia 2005 Air Cargo Terminal of the Year 2002, 2003 2004 Web: http://www.hactl.com DISCLAIMER :- The information contained in this message, including any attachment, is confidential and may also be privileged. The information is intended only for the person or entity to which it
Re: [m2] Copy the dependencies of a project in a custom plugin
Dear Wim, For my sample-- dependencies dependency groupIdorg.apache.maven/groupId artifactIdmaven-plugin-api/artifactId version2.0/version /dependency pom.xml project modelVersion4.0.0/modelVersion groupIdsample.plugins/groupId artifactIdmaven-hello-plugin/artifactId packagingmaven-plugin/packaging !--version2.1-SNAPSHOT/version-- version2/version nameSample Parameter-less Maven Plugin/name dependencies dependency groupIdorg.apache.maven/groupId artifactIdmaven-plugin-api/artifactId version2.0/version /dependency /dependencies build sourceDirectorysrc/main/java/sourceDirectory outputDirectorytarget/outputDirectory /build distributionManagement repository idlocalrepo_server/id namedistribution repository/name urlfile:///d:/m2localrepo//url /repository snapshotRepository idlocalrepo_server/id namedistribution repository/name urlfile:///d:/m2localrepo//url /snapshotRepository /distributionManagement /project thanks. Tel: (020)36315358-328 Fax: (020)36315170 Wim Deblauwe [EMAIL PROTECTED]To: Maven Users List users@maven.apache.org il.com cc: Subject: Re: [m2] Copy the dependencies of a project in a custom plugin 21/11/2005 19:41 Please respond to Maven Users List The collection of artifacts is empty. When I was using dependencies, it was not empty. What am I doing wrong? This is my code: /** * @goal process-resources * @description Copy the dependencies for the InstallShield Merge Module */ public class MsmProcessResourcesMojo extends AbstractMojo { /** * @parameter expression=${project.artifacts} * @requiresDependencyResolution */ private Collection artifacts; /** * @parameter expression=${project.build.directory}/resources */ private File targetDirectory; public MsmProcessResourcesMojo() { } public void execute() throws MojoExecutionException, MojoFailureException { try { getLog().info( Process Resources for InstallShield Merge Module... ); Iterator iterator = artifacts.iterator(); while (iterator.hasNext()) { Artifact artifact = (Artifact)iterator.next(); FileUtils.copyFileToDirectory( artifact.getFile(), new File( targetDirectory, artifact.getType() + s ) ); } } catch (IOException e) { throw new MojoExecutionException( Error copying artifacts, e ); } } } thank you, Wim 2005/11/21, Brett Porter [EMAIL PROTECTED]: maven-artifact and maven-project (though you may not need the project dependency if you are just using the expression below as it is runtime, and Mavne provides it). - Brett On 11/21/05, Wim Deblauwe [EMAIL PROTECTED] wrote: What dependency do I need for the Artifact and Project classes in my Mojo? 2005/11/21, Brett Porter [EMAIL PROTECTED]: On 11/21/05, Wim Deblauwe [EMAIL PROTECTED] wrote: Hi, I'm writing a custom plugin and I need to copy the project's dependencies from the local repository to a certain directory. How can I do this best? You should use ${project.artifacts} instead which includes all the transitive artifacts, and for which you can call artifact.getFile(). Make sure you include @requiresDependencyResolution question 2: When my plugin works, it will produce a different artifact (.msm), how should I handle the 'instal' and 'deploy' of that artifact? Do I need to write my own custom mojo for that or can I re-use the plugins already written for .jar files? You can reuse the mojos, but you will still need to define the customisations, which will require a plugin. There are examples in the introduction to the build lifecycle. Cheers,
Re: [M2]How to use filtering with build profiles?
Dear Dennis, What files in your resource directory? Can u give us a resource file? thanks. Tel: (020)36315358-328 Fax: (020)36315170 Dennis Ho [EMAIL PROTECTED]To: users@maven.apache.org om cc: Subject: [M2]How to use filtering with build profiles? 22/11/2005 10:18 Please respond to Maven Users List Hi, I am trying to use filtering to filter different properties file based on whether the profile is for myself, or dev, per say. An abstract of my pom looks like the following: project : : build resources resource directorysrc/main/resources/directory filteringtrue/filtering /resource /resources filters filter${my.filter.value}/filter /filters /build profiles profile idenv-dho/id activation property nameenv/name valuedho/value /property /activation properties my.filter.valuesrc/main/filters/env-dho/filter.properties/my.filter.v alue db.usernametest/db.username /properties /profile profile idenv-dev/id activation activeByDefaulttrue/activeByDefault /activation properties my.filter.valuesrc/main/filters/env-dev/filter.properties/my.filter.v alue /properties /profile /profiles /project But after running mvn -Denv=dho process-resources, the file's properties didn't get filtered. The file just got copied over. What have I done wrong? The file in the resources directory looks like, which after running process-resources remains unchanged: db.drivername=${db.drivername} db.urlscheme=${db.urlscheme} db.hostname=${db.hostname} db.name=${db.name} db.username=${db.username} db.password=${db.password} db.port=${db.port} And my filter.properties looks like: db.drivername=com.inet.tds.TdsDriver db.urlscheme=jdbc:inetdae7: db.hostname=host db.name=dbname db.username=user db.password=password db.port=1433 Thanks, Dennis Ho Senior Java Developer PaymentOne . : Office - 408.362.4237 . : www.paymentone.com . : [EMAIL PROTECTED] . : . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . : . . : Connecting Digital Merchants and Network Operators . : Named One of Forbes Top Ten to Watch in 2005 __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ Hactl..Moving forward with you. Best Air Cargo Terminal - Asia 2005 Air Cargo Terminal of the Year 2002, 2003 2004 Web: http://www.hactl.com DISCLAIMER :- The information contained in this message, including any attachment, is confidential and may also be privileged. The information is intended only for the person or entity to which it is addressed. Any review, re-transmission, copying, storage, distribution or other use or disclosure of this
Re: [m2] how to use javacc?
Dear Allan, You had better not use javac in maven. To complie a java file, create a jvm compiler is not good. You can read why we need ant and maven. thanks. Tel: (020)36315358-328 Fax: (020)36315170 Allan Ramirez [EMAIL PROTECTED]To: Maven Users List users@maven.apache.org om cc: Subject: Re: [m2] how to use javacc? 21/11/2005 13:52 Please respond to Maven Users List Hi Hubert, jjtree is not yet available in the javacc-maven-plugin. But it will have soon. regards, -allan Hubert Iwaniuk wrote: Hi, Please help me getting javacc jjtree generation work in maven. I simply can't figureout how to set properties, so mojo will know where is jjt file, and how to make code generation occure before code compilation. I'm new to maven at all. Thanks for you help, Hubert. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Hactl..Moving forward with you. Best Air Cargo Terminal - Asia 2005 Air Cargo Terminal of the Year 2002, 2003 2004 Web: http://www.hactl.com DISCLAIMER :- The information contained in this message, including any attachment, is confidential and may also be privileged. The information is intended only for the person or entity to which it is addressed. Any review, re-transmission, copying, storage, distribution or other use or disclosure of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please contact the sender immediately by return email and delete this message from your system. Thank you. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M 1.1b1] Maven-Reports: Encoding Problems
Dear, I can't display Chinese issue also. thanks. Tel: (020)36315358-328 Fax: (020)36315170 Gisbert Amm [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org cc: 16/11/2005 17:47 Subject: Re: [M 1.1b1] Maven-Reports: Encoding Problems Please respond to Maven Users List Arnaud HERITIER wrote: Can you open an issue on the xdoc plugin? Done: http://jira.codehaus.org/browse/MPXDOC-184 I didn't saw that I published some reports in French :-( Thanks to point to me this error. That wasn't indeed the main purpose of my post ;-) Thank you! Gisbert -Message d'origine- De : Gisbert Amm [mailto:[EMAIL PROTECTED] Envoyé : mardi 15 novembre 2005 16:08 À : Maven Users List Objet : [M 1.1b1] Maven-Reports: Encoding Problems We face encoding problems with the Maven-Reports. The output is declared to be ISO-8859-1 (Latin 1), but it actually isn't (neither the XML nor the HTML). Non-ASCII characters like German umlauts are not transcoded properly. I noticed the same problem in the docs of the official maven tasklist plugin at http://maven.apache.org/maven-1.x/reference/plugins/tasklist/c heckstyle/, e.g.: La variable 'destDir' devrait être privée et avoir des accesseurs. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ Hactl..Moving forward with you. Best Air Cargo Terminal - Asia 2005 Air Cargo Terminal of the Year 2002, 2003 2004 Web: http://www.hactl.com DISCLAIMER :- The information contained in this message, including any attachment, is confidential and may also be privileged. The information is intended only for the person or entity to which it is addressed. Any review, re-transmission, copying, storage, distribution or other use or disclosure of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please contact the sender immediately by return email and delete this message from your system. Thank you. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] building non-jar projects
Dear yes, You should use maven-ant-run plugin to run it. build sourceDirectorysrc/main/java/sourceDirectory outputDirectorytarget/outputDirectory plugins plugin artifactIdmaven-antrun-plugin/artifactId executions execution phasegenerate-sources/phase configuration tasks exec dir=${basedir}/tasks/ executable= ${basedir}/tasks/mdtest.bat env key=ra value=h/env /exec /tasks /configuration goals goalrun/goal /goals /execution /executions /plugin /plugins /build thanks. Tel: (020)36315358-328 Fax: (020)36315170 Wim Deblauwe [EMAIL PROTECTED]To: Maven Users List users@maven.apache.org il.com cc: Subject: Re: [m2] building non-jar projects 16/11/2005 17:51 Please respond to Maven Users List And is ant the best approach to start a (windows) bat file? In my maven 1 build I have in my maven.xml a custom goal with this: exec dir=${basedir}/../ide executable=${basedir}/../../../build/build-msm/build/buildmergemodule.bat failonerror=true arg line=${msmmodule.project.filename} ${msmmodule.project.productconf} ${ msmmodule.project.release}/ /exec Should I use ant to do the exec or is there a better way? I remember there was a discussion on the mailinglist about something like this if I recall correctly, but I can't remember what the conclusion was. regards, Wim 2005/11/16, Brett Porter [EMAIL PROTECTED]: The ability to write pure ant script plugins is not yet released (it will require features in the 2.0.1 release). You can however use the Ant Java API. - Brett On 11/16/05, Wim Deblauwe [EMAIL PROTECTED] wrote: ok, I got my alternate lifecycle working and my plugin get's called for projects that define theirselves as 'msm'. However, just printing a log string, as it does currently, will not help very much :) How do I run an ant script from within my Mojo? Can I somehow extend/use the antrun plugin? regards, Wim 2005/11/11, Brett Porter [EMAIL PROTECTED]: The plugin will always be activated, but that's not an issue - it will only do something if the packaging is set, or there is an executions element given. So this is the correct approach. There is not much details I can provide on components.xml other than the examples given. It is actually a very simple format. On 11/11/05, David Jackman [EMAIL PROTECTED] wrote: Would it be possible to set up a parent pom to contain all of the plugin information necessary so a subproject would only have to specify packagingmsm/packaging (or whatever other type it creates) and everything would work? Would that go in a pluginManagement section or the plugins section? If the plugins section (which I would think would be the case), how do you specify it such that the plugin won't get activated unless the packaging is the right type? ..David.. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Thursday, November 10, 2005 12:46 AM To: Maven Users List Subject: Re: [m2] building non-jar projects The required parts of the documentation are: - creating a lifecycle mapping for that packaging in components.xmlof your plugin - specifying your plugin with extensionstrue/extensions On 11/10/05, Wim Deblauwe [EMAIL PROTECTED] wrote: Hi, ok, I found much info here: http://maven.apache.org/maven2/lifecycle.html but what I still miss, is how I define that when
Re: m2 projects.properties
Your url links to maven1 project.xml. thanks. Tel: (020)36315358-328 Fax: (020)36315170 John Tolentino [EMAIL PROTECTED]To: Maven Users List users@maven.apache.org ergere.com cc: Subject: Re: m2 projects.properties 16/11/2005 18:05 Please respond to Maven Users List You might find this useful: http://maven.apache.org/reference/properties.html [EMAIL PROTECTED] wrote: Dear In maven2, we can read http://maven.apache.org/maven-v4_0_0.xsd. However, I have some properties which should come from xx.properties. In maven1, we can read property file=xx.properties.However, I can set property file=xx.properties in pom.xml. How to do? thanks. Tel: (020)36315358-328 Fax: (020)36315170 ___ Hactl..Moving forward with you. Best Air Cargo Terminal - Asia 2005 Air Cargo Terminal of the Year 2002, 2003 2004 Web: http://www.hactl.com DISCLAIMER :- The information contained in this message, including any attachment, is confidential and may also be privileged. The information is intended only for the person or entity to which it is addressed. Any review, re-transmission, copying, storage, distribution or other use or disclosure of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please contact the sender immediately by return email and delete this message from your system. Thank you. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ Hactl..Moving forward with you. Best Air Cargo Terminal - Asia 2005 Air Cargo Terminal of the Year 2002, 2003 2004 Web: http://www.hactl.com DISCLAIMER :- The information contained in this message, including any attachment, is confidential and may also be privileged. The information is intended only for the person or entity to which it is addressed. Any review, re-transmission, copying, storage, distribution or other use or disclosure of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please contact the sender immediately by return email and delete this message from your system. Thank you. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: m2 projects.properties
Dear John, i try to set version from propertis files. But I can't do . project modelVersion4.0.0/modelVersion groupIdsample.plugins/groupId artifactIdmaven-hello-plugin/artifactId packagingjar/packaging version2.1-SNAPSHOT/version nameSample Parameter-less Maven Plugin/name thanks. Tel: (020)36315358-328 Fax: (020)36315170 John Tolentino [EMAIL PROTECTED]To: Maven Users List users@maven.apache.org ergere.com cc: Subject: Re: m2 projects.properties 16/11/2005 18:36 Please respond to Maven Users List Hi Clark, As stated by Dion Gillard in the thread with the subject Problems with *.properites: Maven 2 is not backward compatible with Maven 1, and does not use build.properties or project.properties files. What are you trying to configure using the property file? Is this a plugin configuration? - John [EMAIL PROTECTED] wrote: Your url links to maven1 project.xml. thanks. Tel: (020)36315358-328 Fax: (020)36315170 John Tolentino [EMAIL PROTECTED]To: Maven Users List users@maven.apache.org ergere.com cc: Subject: Re: m2 projects.properties 16/11/2005 18:05 Please respond to Maven Users List You might find this useful: http://maven.apache.org/reference/properties.html [EMAIL PROTECTED] wrote: Dear In maven2, we can read http://maven.apache.org/maven-v4_0_0.xsd. However, I have some properties which should come from xx.properties. In maven1, we can read property file=xx.properties.However, I can set property file=xx.properties in pom.xml. How to do? thanks. Tel: (020)36315358-328 Fax: (020)36315170 ___ Hactl..Moving forward with you. Best Air Cargo Terminal - Asia 2005 Air Cargo Terminal of the Year 2002, 2003 2004 Web: http://www.hactl.com DISCLAIMER :- The information contained in this message, including any attachment, is confidential and may also be privileged. The information is intended only for the person or entity to which it is addressed. Any review, re-transmission, copying, storage, distribution or other use or disclosure of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please contact the sender immediately by return email and delete this message from your system. Thank you. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ Hactl..Moving forward with you. Best Air Cargo Terminal - Asia 2005 Air Cargo Terminal of the Year 2002, 2003 2004 Web: http://www.hactl.com DISCLAIMER :- The information contained in
Re: [m2] deploy with ftp
Dear what is your maven2 version and ftp plugin version? for example: project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi =http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdhactlmain/groupId artifactIdscmtest/artifactId packagingjar/packaging version4.1/version nameHactl Main Maven Quick Start Archetype/name urlhttp://www.hactl.com/url inceptionYear2005/inceptionYear developers developer nameclark/name email[EMAIL PROTECTED]/email rolesroleSA/role/roles /developer /developers scm connection/connection ! --connectionscm:cvs:pserver:clark:[EMAIL PROTECTED]:2402/src/project/m-business_landside_20050810/bcf/connection -- developerConnection/developerConnection ! --developerConnectionscm:cvs:pserver:[EMAIL PROTECTED]:2402:/src/project/m-business_landside_20050810/bcf/developerConnection -- tagHEAD/tag url description=vist cvs urlhttp://192.168.10.18/cgi-bin/viewcvs.cgi//url /scm dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version typejar/type scopetest/scope /dependency dependency groupIdmaven/groupId artifactIdmaven-j2ee-plugin/artifactId version1.4/version typejar/type scopecompile/scope /dependency /dependencies build sourceDirectorysrc/java/sourceDirectory !--sourceDirectory${gssd.src.directory}/sourceDirectory-- outputDirectorytarget/outputDirectory extensions extension groupIdorg.apache.maven.wagon/groupId artifactIdwagon-ftp/artifactId version1.0-alpha-5/version /extension /extensions defaultGoalcompile/defaultGoal resources resource directorysrc/resources/directory filteringtrue/filtering /resource /resources filters filterconf/env.properties/filter /filters plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-scm-plugin/artifactId version1.0-alpha-2/version executions execution idscm/id phasevalidate/phase goals goalcheckout/goal /goals inheritedtrue/inherited configuration debugtrue/debug passwordclark/password excludes*.class/excludes includes*.java/includes workingDirectorycvsout/workingDirectory usernameclark/username connectionUrlscm:cvs:pserver:clark:[EMAIL PROTECTED]:2402/src/project:m-business_landside_20050810/bcf//connectionUrl /configuration /execution /executions /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-clean-plugin/artifactId executions execution idclean2/id phasevalidate/phase goals goalclean/goal /goals configuration /configuration /execution /executions /plugin plugin artifactIdmaven-antrun-plugin/artifactId executions execution idandel/id phasedeploy/phase configuration tasks dircmd/login.bat/dir !--exec dir=cmd executable=login.bat failonerror =true/exec-- /tasks /configuration goals !-- goalrun/goal-- /goals /execution /executions /plugin /plugins /build distributionManagement !--repository iddistributeres/id namedistribution repository/name url${settings.localRepository}/url /repository snapshotRepository iddistributeres/id namedistribution repository/name urlfile:///d:/test/distres/url /snapshotRepository-- repository idftp-repository/id !--urlfile:///f:/test/scmtest/cvsout//url-- !--ok-- urlftp://172.19.100.41//url !--urlfile:///\\gslsvr01\TRAINING/url-- /repository /distributionManagement /project thanks. Tel: (020)36315358-328 Fax: (020)36315170 Antonio PAROLINITo: users@maven.apache.org Antonio.Parolinicc: @hcuge.ch
RE: Classpath in antrun plugin
Dear for reference: project modelVersion4.0.0/modelVersion groupIdsample.plugins/groupId artifactIdmaven-hello-plugin/artifactId packagingjar/packaging !--version2.1-SNAPSHOT/version-- version2/version nameSample Parameter-less Maven Plugin/name dependencies dependency groupIdorg.apache.maven/groupId artifactIdmaven-plugin-api/artifactId version2.0/version /dependency /dependencies build sourceDirectorysrc/main/java/sourceDirectory outputDirectorytarget/outputDirectory plugins plugin artifactIdmaven-antrun-plugin/artifactId executions execution phasegenerate-sources/phase configuration tasks property file=project.properties/ !--property name=sunone.home value=e:/sunapp7/-- property name=jespath value=sun-appserv-ant.jar/ path id=jesclasspath pathelement location=sun-appserv-ant.jar/ fileset dir=. includes=*.jar/ /path !--sun-appserv-ant.jar-- !--taskdef name=sun-appserv-admin classname =org.apache.tools.ant.taskdefs.optional.sun.appserv.AdminTask classpath =${jespath}/-- taskdef name=sun-appserv-admin classname =org.apache.tools.ant.taskdefs.optional.sun.appserv.AdminTask classpathref=jesclasspath / sun-appserv-admin command=start-instance --user admin --password admin1234 --host 172.19.100.41 dss /sun-appserv-admin /tasks !--taskdef name=sun-appserv-instance classname =org.apache.tools.ant.taskdefs.optional.sun.appserv.InstanceTask classpath=sun-appserv-ant.jar;f:\test\anttask\appserv-admin.jar;f: \test\anttask\appserv-rt.jar;f:\test\anttask\appserv-ext.jar;/ sun-appserv-instance action=start user= admin password=admin1234 host=172.19.100.41 instance=dss sunonehome= e:/sunapp7 /sun-appserv-instance /tasks-- !--taskdef name=sun-appserv-instance classname =org.apache.tools.ant.taskdefs.optional.sun.appserv.InstanceTask classpath=sun-appserv-ant.jar;f:\test\anttask\appserv-admin.jar;f: \test\anttask\appserv-rt.jar;f:\test\anttask\appserv-ext.jar;/ sun-appserv-instance action=create user= admin password=admin1234 host=localhost instanceport=1089 instance=clarkraotest sunonehome= e:/sunapp7 /sun-appserv-instance /tasks-- !--taskdef name=sun-appserv-instance classname =org.apache.tools.ant.taskdefs.optional.sun.appserv.InstanceTask classpath=sun-appserv-ant.jar;f:\test\anttask\appserv-admin.jar;f: \test\anttask\appserv-rt.jar;f:\test\anttask\appserv-ext.jar;/ sun-appserv-instance action=delete user= admin password=admin1234 host=localhost instance=clarkraotest sunonehome= e:/sunapp7 /sun-appserv-instance /tasks -- /configuration goals goalrun/goal /goals /execution /executions /plugin /plugins /build distributionManagement repository idlocalrepo_server/id namedistribution repository/name urlfile:///d:/m2localrepo//url /repository snapshotRepository idlocalrepo_server/id namedistribution repository/name urlfile:///d:/m2localrepo//url /snapshotRepository /distributionManagement /project thanks. Tel: (020)36315358-328 Fax: (020)36315170 Sean Hennessy [EMAIL PROTECTED]To: Maven Users List users@maven.apache.org tworks.comcc: Subject: RE: Classpath in antrun plugin 17/11/2005 06:36 Please respond to Maven Users List
Re: jars that are not in maven repository and how to deal with them
Dear the version can ideentify the folder!! thanks. Tel: (020)36315358-328 Fax: (020)36315170 Krikor Krumlian krikor_krumlian@To: Maven Users List users@maven.apache.org wgbh.orgcc: Subject: jars that are not in maven repository and how to deal with them 17/11/2005 04:44 Please respond to Maven Users List Ok guys here is the deal - Now I have a jar file called db2xml.jar - and this needs to go in my repository. So i executed the following command mvn install:install-file -Dfile=/Users/greg/.maven/repository/db2xml/ jars/db2xml.jar -DgroupId=db2xml -DartifactId=db2xml -Dversion=1.4 - Dpackaging=jar Ok now that is very good it added all the stuff to the repository now i go to compile and i get the following [INFO] Scanning for projects... [INFO] [INFO] Building Online Ingestor [INFO]task-segment: [compile] [INFO] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. Downloading: http://repo1.maven.org/maven2/db2xml/db2xml/1.4/ db2xml-1.4.pom [WARNING] Unable to get resource from repository central (http:// repo1.maven.org/maven2) [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 24 seconds [INFO] Finished at: Wed Nov 16 10:57:10 EST 2005 [INFO] Final Memory: 3M/6M [INFO] So i go to the ./m2/repository/db2xml/db2xml/1.4 and create a db2xml-1.4.pom with the following content project modelVersion4.0.0/modelVersion groupIddb2xml/groupId artifactIddb2xml/artifactId version1.4/version /project Now i compile and I dont get that message which is beautiful . But my question do i Have to do the same for each jar that is not in the maven 2 repository ? Thank you - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ Hactl..Moving forward with you. Best Air Cargo Terminal - Asia 2005 Air Cargo Terminal of the Year 2002, 2003 2004 Web: http://www.hactl.com DISCLAIMER :- The information contained in this message, including any attachment, is confidential and may also be privileged. The information is intended only for the person or entity to which it is addressed. Any review, re-transmission, copying, storage, distribution or other use or disclosure of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please contact the sender immediately by return email and delete this message from your system. Thank you. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Problem creating plugin with alternative lifecycle
Dear Wim, I just found it. thanks. Tel: (020)36315358-328 Fax: (020)36315170 Wim Deblauwe [EMAIL PROTECTED]To: Maven Users List users@maven.apache.org il.com cc: Subject: Re: [m2] Problem creating plugin with alternative lifecycle 16/11/2005 15:49 Please respond to Maven Users List ok, thanks! I just found out also :) regards, Wim 2005/11/16, Nitko2 [EMAIL PROTECTED]: Wim, you have to use full plugin specification: groupId:artifactId[:version]:goal So, instead of install:install you use org.apache.maven.plugins:install:2.0:install Filip. Wim Deblauwe wrote: Hi, I'm testing to create a new plugin that can generate a different kind of artifact (InstallShield Merge Module). Following the Guide to Developing Java plugins and Introduction to the build lifecycle, I come to the following: I made a components.xml file: component-set components component roleorg.apache.maven.lifecycle.mapping.LifecycleMapping/role role-hintmsm/role-hint implementation org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping /implementation configuration phases compilemsm:compile/compile packagemsm:package/package installinstall:install/install deploydeploy:deploy/deploy /phases /configuration /component /components /component-set Then in my pom.xml I set the packaging to 'msm' and added this: plugins plugin groupIdcom.mycomp.mavenplugin/groupId artifactIdmaven-msm-plugin/artifactId extensionstrue/extensions /plugin /plugins I then get the following error: [INFO] Scanning for projects... [INFO] [INFO] Building Utils Logging MSM Module [INFO] task-segment: [install] [INFO] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Mapped-prefix lookup of mojos are only supported from direct invocation. Please use specification of the form groupId:artifactId[:version]:goal instead. (Offending mojo: 'msm:compile', invoked via: 'install') [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Tue Nov 15 17:38:44 CET 2005 [INFO] Final Memory: 1M/3M [INFO] What am I doing wrong? I did a 'mvn -DupdateReleaseInfo=true install' to install my custom plugin and added pluginGroups pluginGroupcom.barcoview.mavenplugin/pluginGroup /pluginGroups to my settings.xml any help is very much appreciated! regards, Wim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ Hactl..Moving forward with you. Best Air Cargo Terminal - Asia 2005 Air Cargo Terminal of the Year 2002, 2003 2004 Web: http://www.hactl.com DISCLAIMER :- The information contained in this message, including any attachment, is
maven2 and jes7
Dear all, When u run ant to create-instance in pom.xml , the JAVA_HOME should be same to JES JDK version. Or , the message http://localhost:/web1/entry not reponse. and server.log. 15/Nov/2005:19:43:09] 信息 ( 1932): ADM6002:Received remote administration request [15/Nov/2005:19:43:09] 严重 ( 1932): StandardWrapperValve[AdminAPIEntryServlet]: Servlet.service() for servlet AdminAPIEntryServlet threw exception javax.servlet.ServletException: javax.management.ObjectName; local class incompatible: stream classdesc serialVersionUID = 1081892073854801359, local class serialVersionUID = -5467795090068647408 at com.iplanet.ias.admin.server.core.servlet.AdminAPIEntryServlet.doGet(AdminAPIEntryServlet.java:132) at com.iplanet.ias.admin.server.core.servlet.AdminAPIEntryServlet.doPost(AdminAPIEntryServlet.java:87) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720) at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118) at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505) at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:158) at com.iplanet.ias.web.WebContainer.service(WebContainer.java:856) ---pom.xml project modelVersion4.0.0/modelVersion groupIdsample.plugins/groupId artifactIdmaven-hello-plugin/artifactId packagingjar/packaging !--version2.1-SNAPSHOT/version-- version2/version nameSample Parameter-less Maven Plugin/name dependencies dependency groupIdorg.apache.maven/groupId artifactIdmaven-plugin-api/artifactId version2.0/version /dependency /dependencies build sourceDirectorysrc/main/java/sourceDirectory outputDirectorytarget/outputDirectory plugins plugin artifactIdmaven-antrun-plugin/artifactId executions execution phasegenerate-sources/phase configuration tasks property name=sunone.home value=e:/sunapp7/ property name=jespath value=sun-appserv-ant.jar/ path id=jesclasspath pathelement location=sun-appserv-ant.jar/ fileset dir=. includes=*.jar/ /path !--sun-appserv-ant.jar-- !--taskdef name=sun-appserv-admin classname =org.apache.tools.ant.taskdefs.optional.sun.appserv.AdminTask classpath =${jespath}/-- taskdef name=sun-appserv-admin classname =org.apache.tools.ant.taskdefs.optional.sun.appserv.AdminTask classpathref=jesclasspath / sun-appserv-admin command=stop-instance --user admin --password admin1234 --host 172.19.100.41 dss /sun-appserv-admin /tasks !--taskdef name=sun-appserv-instance classname =org.apache.tools.ant.taskdefs.optional.sun.appserv.InstanceTask classpath=sun-appserv-ant.jar;f:\test\anttask\appserv-admin.jar;f: \test\anttask\appserv-rt.jar;f:\test\anttask\appserv-ext.jar;/ sun-appserv-instance action=start user= admin password=admin1234 host=172.19.100.41 instance=dss sunonehome= e:/sunapp7 /sun-appserv-instance /tasks-- !--taskdef name=sun-appserv-instance classname =org.apache.tools.ant.taskdefs.optional.sun.appserv.InstanceTask classpath=sun-appserv-ant.jar;f:\test\anttask\appserv-admin.jar;f: \test\anttask\appserv-rt.jar;f:\test\anttask\appserv-ext.jar;/ sun-appserv-instance action=create user= admin password=admin1234 host=localhost instanceport=1089 instance=clarkraotest sunonehome= e:/sunapp7 /sun-appserv-instance /tasks-- !--taskdef name=sun-appserv-instance classname =org.apache.tools.ant.taskdefs.optional.sun.appserv.InstanceTask classpath=sun-appserv-ant.jar;f:\test\anttask\appserv-admin.jar;f: