1.1 alpha 1 release?
Any idea when 1.1 alpha 1 will be released? I'm certain the Continuum community is excited about a release that contains 342 resolved issues. Thanks!
Re: 1.1 alpha 1 release?
A tag is created before the release, so we can test the tag. If it is correct and the vote (not started yet) is ok, we perform the release. Emmanuel LAMY Olivier a écrit : Hi, Just to know why there is already a tag ? https://svn.apache.org/repos/asf/maven/continuum/tags/continuum-1.1-alpha-1/ An undocumented release :-) -- Olivier -Message d'origine- De : Emmanuel Venisse [mailto:[EMAIL PROTECTED] Envoyé : jeudi 19 avril 2007 14:45 À : continuum-users@maven.apache.org Objet : Re: 1.1 alpha 1 release? Next week. Emmanuel Eric Miles a écrit : Any idea when 1.1 alpha 1 will be released? I'm certain the Continuum community is excited about a release that contains 342 resolved issues. Thanks! This e-mail, any attachments and the information contained therein (this message) are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited. -- Ce message électronique et tous les fichiers joints ainsi que les informations contenues dans ce message ( ci après le message ), sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites. -
Problem with cvs on Ant Project
Hi, I try Continuum for the first time, so be patient if I ask silly questions:-) Here is what I did so far: - Add Project: Ant Project - My SCM is CVS - My Scm url looks like: scm:cvs:pserver:@MyServer:/My/Repostory:my/moduel/path - Scm username and password contains the right values - Submit- Project created - ShowProject - MyProject - Build now That's the output I get: Provider message: The cvs command failed. Command output: --- Empty password used - try 'cvs login' with a real password cvs [checkout aborted]: authorization failed: server my server rejected access to :/My/Repostory for user [MyUsername] --- I tried also with Scm url: scm:cvs:pserver:[MyUsername]:[EMAIL PROTECTED]:/My/Repostory:my/moduel/path But with the same ouput. Does someone know where I do something wrong? Thanks in advance, Andy -- View this message in context: http://www.nabble.com/Problem-with-cvs-on-Ant-Project-tf3607520.html#a10079102 Sent from the Continuum - Users mailing list archive at Nabble.com.
Re: Problem with cvs on Ant Project
You can fix this problem by running 'cvs login' command with the user that continuum use. Emmanuel GFT_AL a écrit : Hi, I try Continuum for the first time, so be patient if I ask silly questions:-) Here is what I did so far: - Add Project: Ant Project - My SCM is CVS - My Scm url looks like: scm:cvs:pserver:@MyServer:/My/Repostory:my/moduel/path - Scm username and password contains the right values - Submit- Project created - ShowProject - MyProject - Build now That's the output I get: Provider message: The cvs command failed. Command output: --- Empty password used - try 'cvs login' with a real password cvs [checkout aborted]: authorization failed: server my server rejected access to :/My/Repostory for user [MyUsername] --- I tried also with Scm url: scm:cvs:pserver:[MyUsername]:[EMAIL PROTECTED]:/My/Repostory:my/moduel/path But with the same ouput. Does someone know where I do something wrong? Thanks in advance, Andy
Re: Exception in large maven2 build: Too many open files
I don't think it's a known issue. Please file an issue in jira with some informations (OS, nb files in your war...) that will can help. Thanks Emmanuel Ivo van Dongen a écrit : Hi, Thanks for the quick reply. So this is a known issue? Is there some way around this? The silly thing is that on my dev machine the thing builds just fine, but the build server has a problem (ubuntu 6.0.6 vs debian stable). Regards, Ivo It seems to be a bug in plexus-archiver. I see only one solution, look at plexus-archiver code and fix it to close files that aren't closed. Emmanuel Ivo van Dongen a écrit : Hi, We ran into a problem with a large maven2 build. In the last stages of the build (creating the war) an exception is thrown saying that there are too many open files. We're using continuum 1.0.3 on a debian (stable) server. We've already upped the system/process file handle limits. The last part of the maven output: [INFO] [war:war] [INFO] Exploding webapp... [INFO] Copy webapp webResources to /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT [INFO] Copy webapp webResources to /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT [INFO] Assembling webapp tesis in /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT [INFO] Generating war /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT.war [INFO] Building war: /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT.war [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error assembling WAR: Problem creating war: /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT/WEB-INF/lib/XmlSchema-1.1.jar (Too many open files) [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error assembling WAR: Problem creating war: /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT/WEB-INF/lib/XmlSchema-1.1.jar (Too many open files) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Error assembling WAR: Problem creating war: /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT/WEB-INF/lib/XmlSchema-1.1.jar (Too many open files) at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:149) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534) ... 16 more Caused by: org.codehaus.plexus.archiver.ArchiverException: Problem creating war: /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT/WEB-INF/lib/XmlSchema-1.1.jar (Too many open files) at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchiveMain(AbstractZipArchiver.java:403) at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchive(AbstractZipArchiver.java:229) at org.apache.maven.archiver.MavenArchiver.createArchive(MavenArchiver.java:332) at org.apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java:183) at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:133) ... 18 more Caused by: java.io.FileNotFoundException: /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT/WEB-INF/lib/XmlSchema-1.1.jar (Too many open files) at java.io.FileInputStream.open(Native Method) at
RE: Using XML-RPC client to trigger builds
In that case, cannot you set up a schedule which builds every second if and only if there is a change in SVN? -Original Message- From: Ben Mills [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 4:43 PM To: continuum-users@maven.apache.org Subject: Re: Using XML-RPC client to trigger builds Just to have it build as soon as a project is updated in SVN and only then. On Apr 19, 2007, at 4:35 PM, Morgovsky, Alexander ((US - Glen Mills)) wrote: If Continuum can be set up for any schedule, and it detects changes in your source code repository, what is the purpose of this XML-RPC client you need to write? -Original Message- From: Ben Mills [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 4:20 PM To: continuum-users@maven.apache.org Subject: Using XML-RPC client to trigger builds Greetings, I need to write an XML-RPC client for Continuum 1.0.3 (linux) and call it from a post commit hook (script) in Subversion (linux). The purpose is of course to trigger builds via post commit hook. Before I start, does anyone have any advice about pitfalls or any recommendations? Many thanks, Ben This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]
Re: Problem with database
Cool. I was afraid of that... On 4/18/07, Anoop kumar V [EMAIL PROTECTED] wrote: The only thing that worked for me (I tried a LOT of diff things) was to shutdown continuum ( I used pkill - ps kill) and then go into the database and remove the project from the table. You would need to log in to derby as the sa user. Anoop On 4/17/07, Mykel Alvis [EMAIL PROTECTED] wrote: I did. Unfortunately, you can't seem to remove a project definition that's currently building. On 4/17/07, Morgovsky, Alexander (US - Glen Mills) [EMAIL PROTECTED] wrote: I've had this issue. Try removing the build definition first from the project itself. Then try to removing the project again. Thanks. -Original Message- From: Mykel Alvis [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 17, 2007 12:12 PM To: continuum-users@maven.apache.org Subject: Problem with database I had a Maven 2 build in continuum that went rogue (for reasons totally outside of continuum's control, most likely). However, someone deleted the java process that was running and now I can't remove the project from continuum. It's not a blocker, since other projects will build, but it still appears to be in the project list and still has the building icon. Is there a way to remove this entry? Thanks, Mykel -- I'm just an unfrozen caveman software developer. I don't understand your strange, modern ways. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- I'm just an unfrozen caveman software developer. I don't understand your strange, modern ways. -- I'm just an unfrozen caveman software developer. I don't understand your strange, modern ways.
RE: Getting index.html of site generated automatically
Ian, I always get index.html generated by 'mvn site:site'. I'm using Maven-2.0.5 Can you provide more details? William -Original Message- From: Ian Rowlands [mailto:[EMAIL PROTECTED] Sent: Wednesday, 18 April 2007 5:25 PM To: users@maven.apache.org Subject: Getting index.html of site generated automatically When I do a site:site build of one of my projects, no index.html (or equivalent is generated). Is there a way to do this automatically, rather than put it an xdoc/index.xml in each individual project (this happens for all of the modules of the projects) as well? Regards, Ian Disclaimer: The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from your computer. Privacy: If you are responding to this email or providing personal information to the SRO for the purposes of one of the Acts it administers, such information is used only for the purpose for which it was collected ( administration of SRO legislation ) and is protected by the Information Privacy Act 2000 and secrecy provisions contained in legislation administered by SRO. It is not disclosed otherwise than in accordance with the law. If you would like a copy of the SRO Privacy Policy please refer to SRO website (www.sro.vic.gov.au) or contact SRO on 9628 0556 and request a copy. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to define variables and overwrite them with user defined files?
http://maven.apache.org/pom.html#Properties There is no Maven equivalent to build.properties. All properties for a project should be contained in the project files, within pom.xml and profiles.xml. Wayne On 4/18/07, Baz [EMAIL PROTECTED] wrote: All, How can i define variables in pom.xml and overwrite them with user defined files? For example, I would like to define a variable called mypath how can i define it in pom.xml? Is there a way like in Ant, within build.properties to redefine mypath? I know I can do -Dmypath=xyz Thanks. A. - 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]
Filtering with Maven 2.0.5
Hello all Is it possible to filter some of the resources / classes using maven? I have a scenario where I have to create two different jars one is ejb jar and other is helper classes. Can some one suggest how to do this with out using assembly? Thanks and Regards SomaSekharaReddy.K Notice: All email and instant messages (including attachments) sent to or from Franklin Templeton Investments (FTI) personnel may be retained, monitored and/or reviewed by FTI and its agents, or authorized law enforcement personnel, without further notice or consent. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Hello, I have the following problem since 2 weeks, hope someone can help me, i've tried to ask in much other forums before:
Hi Schludi, try to define the dependencies of the plugins directly within the plugin tag and not as deps to your component. - Jörg Schludi wrote on Wednesday, April 18, 2007 10:31 AM: Hello, I have the following problem since 2 weeks, hope someone can help me, i've tried to ask in much other forums before: I am new to maven and have to refactor an old project for JBossWS, which was deployed on Tomcat before. The maven-script (or ejbdoclet) currently don't generate the *Endpoint-Classes. I get the following error: Generating EJB deployment descriptor (ejb-jar.xml). [INFO] Executed tasks [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Compiling 3 source files to C:\dev\helloMaven\FirstEJB-ejb\target\classe [INFO] [antrun:run {execution: antTask}] [INFO] Executing tasks [echo] ** Running jboss ws ** log4j:WARN No appenders could be found for logger (org.jboss.ws.tools.WSTools). log4j:WARN Please initialize the log4j system properly. org.jboss.ws.WSException: Endpoint org.bbmag.test.StatlessEJBEndpoint ca not be loaded at org.jboss.ws.tools.helpers.ToolsHelper.handleJavaToWSDLGeneration(To lsHelper.java:113) at org.jboss.ws.tools.WSTools.process(WSTools.java:132) at org.jboss.ws.tools.WSTools.generate(WSTools.java:120) at org.jboss.ws.tools.ant.wstools.execute(wstools.java:103) 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.maven.plugin.antrun.AbstractAntMojo.executeTasks(Abstract ntMojo.java:108) at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:83 at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlug nManager.java:420) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Def ultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithL fecycle(DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defa ltLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHa dleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegme ts(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultL fecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123) at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430 at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] -- -- [ERROR] BUILD ERROR [INFO] -- -- [INFO] Error executing ant tasks Embedded error: Error running jbossws: Endpoint org.bbmag.test.StatlessEJBEndpoint cannot be loaded [INFO] -- -- [INFO] For more information, run Maven with the -e switch [INFO] -- -- [INFO] Total time: 1 minute 7 seconds [INFO] Finished at: Wed Apr 18 09:44:02 CEST 2007 [INFO] Final Memory: 8M/21M [INFO] -- -- Here the Maven Script for the EJB, which creates an ant-task to generate: project modelVersion4.0.0/modelVersion parent groupIdorg.bbmag.test/groupId artifactIdFirstEJB/artifactId version0.1/version /parent artifactIdFirstEJB-ejb/artifactId packagingejb/packaging nameFirstEJBejb/name descriptionEine EJB/description dependencies dependency groupIdorg.apache.geronimo.specs/groupId artifactIdgeronimo-j2ee_1.4_spec/artifactId version1.0/version scopeprovided/scope /dependency
RE: Hello, I have the following problem since 2 weeks, hope someone can help me, i've tried to ask in much other forums before:
Hello Jörg, thanks foir your reply, can you give me an example how to do this? Best regards -- View this message in context: http://www.nabble.com/Maven2-%2B-XDoclet-%2B-JBoss-%28JBossWS%29-tf3599590s177.html#a10072616 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Deploying artifacts to a remote repository
Hi All, Using deploy goal, we upload artifacts to remote repo. Our problem lies when uploading SNAPSHOT artifacts. When we upload artifact with a version SNAPSHOT, the SNAPSHOT is replaced by, [timestamp]-[some number] Ex: Foo-SNAPSHOT.jar deployed to a remote repo it will be something like Foo-20070412.093819-12.jar. Is there a way to control this replacing number. Why is it like this? Thank you, Saminda -- Saminda Abeyruwan Software Engineer WSO2 Inc. - www.wso2.org
Maven does not find artifact in local repo
Hi! I am a newbie in maven an i have one maybe silly question. I have created one project with its pom.xml: ?xml version=1.0? ejb com.sius.beans 1.0-SNAPSHOT 4.0.0 com.sius.beans ejb3 ejb ejb :: ${artifactId} 1.0-SNAPSHOT http://maven.apache.org junit junit 3.8.1 test org.jboss ejb3-persistence 1.0-SNAPSHOT provided org.jboss jboss-ejb3x 1.0-SNAPSHOT provided I have executed commands: mvn package mvn install Everything went right. Now I have another project that depends on previous one. (pom.xml): ?xml version=1.0? ejb com.sius.beans 1.0-SNAPSHOT 4.0.0 com.sius.beans webapp war ejb :: ${artifactId} 1.0-SNAPSHOT webapp junit junit 3.8.1 test org.jboss jboss-ejb3x 1.0-SNAPSHOT provided com.sius.beans ejb3 1.0-SNAPSHOT i execute mvn package and i get the following error: [INFO] Failed to resolve artifact. GroupId: com.sius.beans ArtifactId: ejb Version: 1.0-SNAPSHOT Reason: Unable to download the artifact from any repository com.sius.beans:ejb:pom:1.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) Could someone help me in solving this problem ? first project can be found in my local repo at .m2\repository\com\sius\beans\ejb3\1.0-SNAPSHOT\ so I don't know what to do. Thanks in advance. Maciej -- View this message in context: http://www.nabble.com/Maven-does-not-find-artifact-in-local-repo-tf3605339s177.html#a10072678 Sent from the Maven - Users mailing list archive at Nabble.com.
Re: Deploying artifacts to a remote repository
Hi, Adding a little thought, if the artifact in a remote repo for example is Foo-20070412.093819-12.jar. If someone using this, is there a way to tell the users pom, that use the version SNAPSHOT rather 20070412.093819-12. When the user use the assembly plugging to download the dependencies to create a distribution, that distribution should contain Foo-SNAPSHOT.jarrather Foo-20070412.093819-12.jar. Is this possible ? Thank you Saminda On 4/19/07, Saminda Abeyruwan [EMAIL PROTECTED] wrote: Hi All, Using deploy goal, we upload artifacts to remote repo. Our problem lies when uploading SNAPSHOT artifacts. When we upload artifact with a version SNAPSHOT, the SNAPSHOT is replaced by, [timestamp]-[some number] Ex: Foo-SNAPSHOT.jar deployed to a remote repo it will be something like Foo-20070412.093819-12.jar. Is there a way to control this replacing number. Why is it like this? Thank you, Saminda -- Saminda Abeyruwan Software Engineer WSO2 Inc. - www.wso2.org -- Saminda Abeyruwan Software Engineer WSO2 Inc. - www.wso2.org
Re: Deploying artifacts to a remote repository
2007/4/19, Saminda Abeyruwan [EMAIL PROTECTED]: Hi, Adding a little thought, if the artifact in a remote repo for example is Foo-20070412.093819-12.jar. If someone using this, is there a way to tell the users pom, that use the version SNAPSHOT rather 20070412.093819-12. AFAIK If you refer to your artifact version as version-number-SNAPSHOT, it will take the latest snapshot that you deployed. Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Hello, I have the following problem since 2 weeks, hope someone can help me, i've tried to ask in much other forums before:
Hi Schludi, Schludi wrote on Thursday, April 19, 2007 8:36 AM: Hello Jörg, thanks foir your reply, can you give me an example how to do this? Best regards well, since you use two different plugins here and I don't know which deps are only for which plugin only, the modified POM below is a simple guess, but you might fix it once you get the idea: project modelVersion4.0.0/modelVersion parent groupIdorg.bbmag.test/groupId artifactIdFirstEJB/artifactId version0.1/version /parent artifactIdFirstEJB-ejb/artifactId packagingejb/packaging nameFirstEJBejb/name descriptionEine EJB/description dependencies dependency groupIdorg.apache.geronimo.specs/groupId artifactIdgeronimo-j2ee_1.4_spec/artifactId version1.0/version scopeprovided/scope /dependency dependency groupIdcommons-logging/groupId artifactIdcommons-logging/artifactId version1.0.3/version scopeprovided/scope /dependency dependency groupIdaxis/groupId artifactIdaxis/artifactId version1.2/version scopeprovided/scope /dependency dependency groupIdaxis/groupId artifactIdaxis-jaxrpc/artifactId version1.2/version scopeprovided/scope /dependency dependency groupIdlog4j/groupId artifactIdlog4j/artifactId version1.2.13/version scopeprovided/scope /dependency /dependencies build testSourceDirectorysrc/test/testSourceDirectory plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdxdoclet-maven-plugin/artifactId executions execution idejb/id phasegenerate-sources/phase goals goalxdoclet/goal /goals configuration tasks ejbdoclet verbose=true force=true ejbSpec=2.1 destDir=${project.build.directory}/generated-sources/xdoclet fileset dir=${project.build.sourceDirectory} include name=**/*Bean.java/include include name=**/*MDB.java/include /fileset homeinterface / remoteinterface / localhomeinterface / localinterface / service-endpoint/ utilobject localProxies=true/ deploymentdescriptor destDir=${project.build.outputDirectory}/META-INF/ /ejbdoclet /tasks /configuration /execution /executions dependencies dependency groupIdxdoclet/groupId artifactIdxdoclet-wsee-module/artifactId version1.2.3/version /dependency /dependencies /plugin plugin
RE: Maven does not find artifact in local repo
Hi Maciej, well, your POM should contain XML tags ;-) ... Resend the message in a format please, that does not filter out the XML tags - otherwise noone can say something useful. - Jörg Wodzuu wrote on Thursday, April 19, 2007 8:42 AM: Hi! I am a newbie in maven an i have one maybe silly question. I have created one project with its pom.xml: ?xml version=1.0? ejb com.sius.beans 1.0-SNAPSHOT 4.0.0 com.sius.beans ejb3 ejb ejb :: ${artifactId} 1.0-SNAPSHOT http://maven.apache.org junit junit 3.8.1 test org.jboss ejb3-persistence 1.0-SNAPSHOT provided org.jboss jboss-ejb3x 1.0-SNAPSHOT provided I have executed commands: mvn package mvn install Everything went right. Now I have another project that depends on previous one. (pom.xml): ?xml version=1.0? ejb com.sius.beans 1.0-SNAPSHOT 4.0.0 com.sius.beans webapp war ejb :: ${artifactId} 1.0-SNAPSHOT webapp junit junit 3.8.1 test org.jboss jboss-ejb3x 1.0-SNAPSHOT provided com.sius.beans ejb3 1.0-SNAPSHOT i execute mvn package and i get the following error: [INFO] Failed to resolve artifact. GroupId: com.sius.beans ArtifactId: ejb Version: 1.0-SNAPSHOT Reason: Unable to download the artifact from any repository com.sius.beans:ejb:pom:1.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) Could someone help me in solving this problem ? first project can be found in my local repo at .m2\repository\com\sius\beans\ejb3\1.0-SNAPSHOT\ so I don't know what to do. Thanks in advance. Maciej - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Howto enable 1.1 xml-rpc service in plexus application
It's always there and configured in application.xml Bram de Kruijff a écrit : Hi, when I was running continuum-20070323.15 plexus application I noticed that my xml-rpc service was gone. Looking at the trunk source it seems that it totally gone from the application.xml en the application doesnt contain the service either. So two questions... Is it supposed to be gone and how do I get my xml-rpc interface back? thanks, Bram
RE: Hello, I have the following problem since 2 weeks, hope someone can help me, i've tried to ask in much other forums before:
Hi! I have tried but its still the same :/. Do you have any more idea. Thx for your reply -- View this message in context: http://www.nabble.com/Maven2-%2B-XDoclet-%2B-JBoss-%28JBossWS%29-tf3599590s177.html#a10073372 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven does not find artifact in local repo
Hi! Thanks for your reply. Hmm... that's strange I can see them correctly. To be sure you can se then correctly too i put them on my server under adress : http://student.agh.edu.pl/~zientar/poms/ There you can find first and the second one :) Maybe now you can help me :) thanks. Jörg Schaible wrote: Hi Maciej, well, your POM should contain XML tags ;-) ... Resend the message in a format please, that does not filter out the XML tags - otherwise noone can say something useful. - Jörg Wodzuu wrote on Thursday, April 19, 2007 8:42 AM: Hi! I am a newbie in maven an i have one maybe silly question. I have created one project with its pom.xml: ?xml version=1.0? ejb com.sius.beans 1.0-SNAPSHOT 4.0.0 com.sius.beans ejb3 ejb ejb :: ${artifactId} 1.0-SNAPSHOT http://maven.apache.org junit junit 3.8.1 test org.jboss ejb3-persistence 1.0-SNAPSHOT provided org.jboss jboss-ejb3x 1.0-SNAPSHOT provided I have executed commands: mvn package mvn install Everything went right. Now I have another project that depends on previous one. (pom.xml): ?xml version=1.0? ejb com.sius.beans 1.0-SNAPSHOT 4.0.0 com.sius.beans webapp war ejb :: ${artifactId} 1.0-SNAPSHOT webapp junit junit 3.8.1 test org.jboss jboss-ejb3x 1.0-SNAPSHOT provided com.sius.beans ejb3 1.0-SNAPSHOT i execute mvn package and i get the following error: [INFO] Failed to resolve artifact. GroupId: com.sius.beans ArtifactId: ejb Version: 1.0-SNAPSHOT Reason: Unable to download the artifact from any repository com.sius.beans:ejb:pom:1.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) Could someone help me in solving this problem ? first project can be found in my local repo at .m2\repository\com\sius\beans\ejb3\1.0-SNAPSHOT\ so I don't know what to do. Thanks in advance. Maciej - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Maven-does-not-find-artifact-in-local-repo-tf3605339s177.html#a10073396 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven does not find artifact in local repo
My best guess is that the type of the artifact is missing. So just change in your pom2.xml the dependency description by adding the type: dependency groupIdcom.sius.beans/groupId artifactIdejb3/artifactId version1.0-SNAPSHOT/version typeejb/type /dependency Without the type Maven tries to resolve the dependency for a jar type which is the default. See http://maven.apache.org/ref/current/maven-model/maven.html#class_dependency. I hope this helps... /Holger -Original Message- From: Wodzuu [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 9:44 AM To: users@maven.apache.org Subject: RE: Maven does not find artifact in local repo Hi! Thanks for your reply. Hmm... that's strange I can see them correctly. To be sure you can se then correctly too i put them on my server under adress : http://student.agh.edu.pl/~zientar/poms/ There you can find first and the second one :) Maybe now you can help me :) thanks. Jörg Schaible wrote: Hi Maciej, well, your POM should contain XML tags ;-) ... Resend the message in a format please, that does not filter out the XML tags - otherwise noone can say something useful. - Jörg Wodzuu wrote on Thursday, April 19, 2007 8:42 AM: Hi! I am a newbie in maven an i have one maybe silly question. I have created one project with its pom.xml: ?xml version=1.0? ejb com.sius.beans 1.0-SNAPSHOT 4.0.0 com.sius.beans ejb3 ejb ejb :: ${artifactId} 1.0-SNAPSHOT http://maven.apache.org junit junit 3.8.1 test org.jboss ejb3-persistence 1.0-SNAPSHOT provided org.jboss jboss-ejb3x 1.0-SNAPSHOT provided I have executed commands: mvn package mvn install Everything went right. Now I have another project that depends on previous one. (pom.xml): ?xml version=1.0? ejb com.sius.beans 1.0-SNAPSHOT 4.0.0 com.sius.beans webapp war ejb :: ${artifactId} 1.0-SNAPSHOT webapp junit junit 3.8.1 test org.jboss jboss-ejb3x 1.0-SNAPSHOT provided com.sius.beans ejb3 1.0-SNAPSHOT i execute mvn package and i get the following error: [INFO] Failed to resolve artifact. GroupId: com.sius.beans ArtifactId: ejb Version: 1.0-SNAPSHOT Reason: Unable to download the artifact from any repository com.sius.beans:ejb:pom:1.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) Could someone help me in solving this problem ? first project can be found in my local repo at .m2\repository\com\sius\beans\ejb3\1.0-SNAPSHOT\ so I don't know what to do. Thanks in advance. Maciej - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Maven-does-not-find-artifact-in-local-repo-tf3605339s177.html#a10073396 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: mvn site site:deploy problem
On Wed, 18 Apr 2007 06:50:25 -0700 (PDT), Ionut S [EMAIL PROTECTED] said: Ok, if I create that script how can I tell Continuum to run it ? When you are logged in, on the left, under Add Project. Choose Shell Project.
Re: mvn site site:deploy problem
On Wed, 18 Apr 2007 06:50:25 -0700 (PDT), Ionut S [EMAIL PROTECTED] said: Ok, if I create that script how can I tell Continuum to run it ?
Re: Maven does not find artifact in local repo
Sounds reasonable. In the dependency tag you have to define the type by using the type tag. Else Maven defaults to jar. Wodzuu can check this by having a look in his local repository. He wil probably find a file without an ejb classifier. (Which is nothing more than blabla-ejb-1.0.0.jar, notice the bold text.) When using a dependecymanagement section this already bit me a couple of times. Jeroen On 19/04/07, Riegel, Holger [EMAIL PROTECTED] wrote: My best guess is that the type of the artifact is missing. So just change in your pom2.xml the dependency description by adding the type: dependency groupIdcom.sius.beans/groupId artifactIdejb3/artifactId version1.0-SNAPSHOT/version typeejb/type /dependency Without the type Maven tries to resolve the dependency for a jar type which is the default. See http://maven.apache.org/ref/current/maven-model/maven.html#class_dependency . I hope this helps... /Holger -Original Message- From: Wodzuu [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 9:44 AM To: users@maven.apache.org Subject: RE: Maven does not find artifact in local repo Hi! Thanks for your reply. Hmm... that's strange I can see them correctly. To be sure you can se then correctly too i put them on my server under adress : http://student.agh.edu.pl/~zientar/poms/ There you can find first and the second one :) Maybe now you can help me :) thanks. Jörg Schaible wrote: Hi Maciej, well, your POM should contain XML tags ;-) ... Resend the message in a format please, that does not filter out the XML tags - otherwise noone can say something useful. - Jörg Wodzuu wrote on Thursday, April 19, 2007 8:42 AM: Hi! I am a newbie in maven an i have one maybe silly question. I have created one project with its pom.xml: ?xml version=1.0? ejb com.sius.beans 1.0-SNAPSHOT 4.0.0 com.sius.beans ejb3 ejb ejb :: ${artifactId} 1.0-SNAPSHOT http://maven.apache.org junit junit 3.8.1 test org.jboss ejb3-persistence 1.0-SNAPSHOT provided org.jboss jboss-ejb3x 1.0-SNAPSHOT provided I have executed commands: mvn package mvn install Everything went right. Now I have another project that depends on previous one. (pom.xml): ?xml version=1.0? ejb com.sius.beans 1.0-SNAPSHOT 4.0.0 com.sius.beans webapp war ejb :: ${artifactId} 1.0-SNAPSHOT webapp junit junit 3.8.1 test org.jboss jboss-ejb3x 1.0-SNAPSHOT provided com.sius.beans ejb3 1.0-SNAPSHOT i execute mvn package and i get the following error: [INFO] Failed to resolve artifact. GroupId: com.sius.beans ArtifactId: ejb Version: 1.0-SNAPSHOT Reason: Unable to download the artifact from any repository com.sius.beans:ejb:pom:1.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) Could someone help me in solving this problem ? first project can be found in my local repo at .m2\repository\com\sius\beans\ejb3\1.0-SNAPSHOT\ so I don't know what to do. Thanks in advance. Maciej - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Maven-does-not-find-artifact-in-local-repo-tf3605339s177.html#a10073396 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Plugin execution for a specific packaging
Hi, I have a build tree with 30+ projects of different packaging (jar, pom, dll, so, plugin, etc) built with Maven and I would like to specify in the top pom.xml that certain plugins are used for all projects of a given packaging. For example, I would like to have the CheckStyle plugin run on all projects with packaging jar. Of course I can set the configuration of the plugins in the top pom (with a pluginmanagement tag) and then just invoke the plugin explicitly in the projects but I would like to enforce that the plugin is used for all projects of the given packaging. It is very easy for example to forget to add CheckStyle to a new jar project. Adding the possibility of using a packaging filter to an execution element would solve it, but there are perhaps other ways? Any ideas? Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[mojo dev] Detect need for plugin execution.
Hello, At the project I'm at right now we have a plugin which runs the ejbdeploy tool for any EJB's we might have. (EJB Deploy generates WebSphere specific stub and interop code for an EJB.) The mojo pickes up the standard EJB jar, runs it through EJB Deploy and publishes the result using a custom artifact type (ejb-ibm) and classifier (IBM). (More on this on my blog: http://blog.leenarts.net/2007/02/11/maven-2s-ear-plugin-gives-me-a-headache/Oh and no headache anymore, it all works :D ) Nothing wrong with that, except it takes a long time to execute. Currently we're a little bit over half an hour execution time for a single build. Most of the times is used by running the EJB Deploy task. The thing is, running EJB Deploy is not needed when the relevant code has not changed. When executing the build I see the message that there are zero files to be compiled. I think packaging is also skipped. And then my EJB Deploy executes. A number of questions: -Am I right that the different packaging plugins (EJB, WAR, JAR, EAR) actually skip when nothing was compiled? -If so, how can I detect that nothing was actually packaged, and thus for no EJB Deploy is needed at that instance? I've digged through the Maven provided packaging plugins a bit and I could not find anything looking like what I would like to do. If it is there it is most likely somewhere in a dependency of the plugins. I can imagine that not running a packaging plugin will result in NOT publishing the artifact using the Maven project helper class. And therefor I can dig through the Maven Project Object tree to see if the artifact is there or not. When it's not there, packing was not done, so I don't need to run EJB deploy either... -Is the last paragraph above me being rational or halucinating? Input, thoughts, ideas and suggestions are much appreciated. Anyway,
Re: Plugin execution for a specific packaging
This will wett your appetite: /** * @parameter expression=${project.packaging} * @readonly */ private String packaging; /** * @see org.apache.maven.plugin.Mojo#execute() */ public void execute() throws MojoExecutionException, MojoFailureException { getLog().info(packaging); if (packaging == null || !packaging.equals(ejb)) { Regards, Jeroen On 19/04/07, Peter Nilsson [EMAIL PROTECTED] wrote: Hi, I have a build tree with 30+ projects of different packaging (jar, pom, dll, so, plugin, etc) built with Maven and I would like to specify in the top pom.xml that certain plugins are used for all projects of a given packaging. For example, I would like to have the CheckStyle plugin run on all projects with packaging jar. Of course I can set the configuration of the plugins in the top pom (with a pluginmanagement tag) and then just invoke the plugin explicitly in the projects but I would like to enforce that the plugin is used for all projects of the given packaging. It is very easy for example to forget to add CheckStyle to a new jar project. Adding the possibility of using a packaging filter to an execution element would solve it, but there are perhaps other ways? Any ideas? Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Plugin execution for a specific packaging
So yes it is possible, but not declarativly.. (I just read your post again, and see that you are using standard Maven mojo's and are not developing your own.) You probably noticed that running a mojo for all projects is easy. But that running for a subtype is more work. You could consider using an inheritance tree for your poms. + toplevel pom --jar pom FooBar pom --ejb pom FooBarEjb pom You would then define the checkstyle stuff in the jar of ejb poms. But it will probably not fit somewhere. jeroen On 19/04/07, Jeroen Leenarts [EMAIL PROTECTED] wrote: This will wett your appetite: /** * @parameter expression=${project.packaging} * @readonly */ private String packaging; /** * @see org.apache.maven.plugin.Mojo#execute () */ public void execute() throws MojoExecutionException, MojoFailureException { getLog().info(packaging); if (packaging == null || !packaging.equals(ejb)) { Regards, Jeroen On 19/04/07, Peter Nilsson [EMAIL PROTECTED] wrote: Hi, I have a build tree with 30+ projects of different packaging (jar, pom, dll, so, plugin, etc) built with Maven and I would like to specify in the top pom.xml that certain plugins are used for all projects of a given packaging. For example, I would like to have the CheckStyle plugin run on all projects with packaging jar. Of course I can set the configuration of the plugins in the top pom (with a pluginmanagement tag) and then just invoke the plugin explicitly in the projects but I would like to enforce that the plugin is used for all projects of the given packaging. It is very easy for example to forget to add CheckStyle to a new jar project. Adding the possibility of using a packaging filter to an execution element would solve it, but there are perhaps other ways? Any ideas? Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Plugin execution for a specific packaging
Yes, for the plugins we have developed in house it is no problem but that is not what I am struggling with right now (as you noticed). Reorganizing the tree is an option and is exactly what I am considering right now. However, I would rather keep a functional organization of my build tree and use features of the build system for controlling the build of different type of artifacts. A functional organization makes it easier for developers to check out and build only the part of the tree they are working on. A build tree organized after artifact type does not map to responsible developer/team very well. Perhaps it would be possible to use profiles for controlling the use of plugins and let the packaging activate the profile? Thanks. Peter -Original Message- From: Jeroen Leenarts [mailto:[EMAIL PROTECTED] Sent: den 19 april 2007 10:44 To: Maven Users List Subject: Re: Plugin execution for a specific packaging So yes it is possible, but not declarativly.. (I just read your post again, and see that you are using standard Maven mojo's and are not developing your own.) You probably noticed that running a mojo for all projects is easy. But that running for a subtype is more work. You could consider using an inheritance tree for your poms. + toplevel pom --jar pom FooBar pom --ejb pom FooBarEjb pom You would then define the checkstyle stuff in the jar of ejb poms. But it will probably not fit somewhere. jeroen On 19/04/07, Jeroen Leenarts [EMAIL PROTECTED] wrote: This will wett your appetite: /** * @parameter expression=${project.packaging} * @readonly */ private String packaging; /** * @see org.apache.maven.plugin.Mojo#execute () */ public void execute() throws MojoExecutionException, MojoFailureException { getLog().info(packaging); if (packaging == null || !packaging.equals(ejb)) { Regards, Jeroen On 19/04/07, Peter Nilsson [EMAIL PROTECTED] wrote: Hi, I have a build tree with 30+ projects of different packaging (jar, pom, dll, so, plugin, etc) built with Maven and I would like to specify in the top pom.xml that certain plugins are used for all projects of a given packaging. For example, I would like to have the CheckStyle plugin run on all projects with packaging jar. Of course I can set the configuration of the plugins in the top pom (with a pluginmanagement tag) and then just invoke the plugin explicitly in the projects but I would like to enforce that the plugin is used for all projects of the given packaging. It is very easy for example to forget to add CheckStyle to a new jar project. Adding the possibility of using a packaging filter to an execution element would solve it, but there are perhaps other ways? Any ideas? Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Plugin execution for a specific packaging
You might be on to something there The page: http://maven.apache.org/guides/introduction/introduction-to-profiles.html mentiones this piece of code. Activiation based on a property. This will activate the profile when the system property debug is specified with any value: profiles profile activation property namedebug/name /property /activation ... /profile /profiles Wouldn't a property named packaging with the relevant value work? Packaging is the tag defining a projects, ehr, packaging. Which is exactly the granularity you want to configure at. Well worth to try. Jeroen On 19/04/07, Peter Nilsson [EMAIL PROTECTED] wrote: Yes, for the plugins we have developed in house it is no problem but that is not what I am struggling with right now (as you noticed). Reorganizing the tree is an option and is exactly what I am considering right now. However, I would rather keep a functional organization of my build tree and use features of the build system for controlling the build of different type of artifacts. A functional organization makes it easier for developers to check out and build only the part of the tree they are working on. A build tree organized after artifact type does not map to responsible developer/team very well. Perhaps it would be possible to use profiles for controlling the use of plugins and let the packaging activate the profile? Thanks. Peter -Original Message- From: Jeroen Leenarts [mailto:[EMAIL PROTECTED] Sent: den 19 april 2007 10:44 To: Maven Users List Subject: Re: Plugin execution for a specific packaging So yes it is possible, but not declarativly.. (I just read your post again, and see that you are using standard Maven mojo's and are not developing your own.) You probably noticed that running a mojo for all projects is easy. But that running for a subtype is more work. You could consider using an inheritance tree for your poms. + toplevel pom --jar pom FooBar pom --ejb pom FooBarEjb pom You would then define the checkstyle stuff in the jar of ejb poms. But it will probably not fit somewhere. jeroen On 19/04/07, Jeroen Leenarts [EMAIL PROTECTED] wrote: This will wett your appetite: /** * @parameter expression=${project.packaging} * @readonly */ private String packaging; /** * @see org.apache.maven.plugin.Mojo#execute () */ public void execute() throws MojoExecutionException, MojoFailureException { getLog().info(packaging); if (packaging == null || !packaging.equals(ejb)) { Regards, Jeroen On 19/04/07, Peter Nilsson [EMAIL PROTECTED] wrote: Hi, I have a build tree with 30+ projects of different packaging (jar, pom, dll, so, plugin, etc) built with Maven and I would like to specify in the top pom.xml that certain plugins are used for all projects of a given packaging. For example, I would like to have the CheckStyle plugin run on all projects with packaging jar. Of course I can set the configuration of the plugins in the top pom (with a pluginmanagement tag) and then just invoke the plugin explicitly in the projects but I would like to enforce that the plugin is used for all projects of the given packaging. It is very easy for example to forget to add CheckStyle to a new jar project. Adding the possibility of using a packaging filter to an execution element would solve it, but there are perhaps other ways? Any ideas? Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Browsing over JUnit test history
Hi, Please see in-line comments below :) Mi?osz Witkowski wrote: Hi, I am wondering if Continuum has ability to keep results of JUnit tests performed during builds as he is keeping output of it? It only keeps the generated test results in the working directory IF the project is configured to generate them, but other than that Continuum only keeps the build logs. I am aware that JUnit test are performed when you specify proper goal or target and for this reason depends on project configuration, but I don't wan't to put logic for copying results inside my pom.xml. Can I specyfy in Continuum what other resources from target should be copyed to folder where continum is keeping history for a build? I don't think so.. Cheers, Milosz Thanks, Deng
Re: Plugin execution for a specific packaging
I've looked it up in the docs: http://maven.apache.org/pom.html#Properties It might actually be project.packaging. Jeroen On 19/04/07, Jeroen Leenarts [EMAIL PROTECTED] wrote: You might be on to something there The page: http://maven.apache.org/guides/introduction/introduction-to-profiles.html mentiones this piece of code. Activiation based on a property. This will activate the profile when the system property debug is specified with any value: profiles profile activation property namedebug/name /property /activation ... /profile /profiles Wouldn't a property named packaging with the relevant value work? Packaging is the tag defining a projects, ehr, packaging. Which is exactly the granularity you want to configure at. Well worth to try. Jeroen On 19/04/07, Peter Nilsson [EMAIL PROTECTED] wrote: Yes, for the plugins we have developed in house it is no problem but that is not what I am struggling with right now (as you noticed). Reorganizing the tree is an option and is exactly what I am considering right now. However, I would rather keep a functional organization of my build tree and use features of the build system for controlling the build of different type of artifacts. A functional organization makes it easier for developers to check out and build only the part of the tree they are working on. A build tree organized after artifact type does not map to responsible developer/team very well. Perhaps it would be possible to use profiles for controlling the use of plugins and let the packaging activate the profile? Thanks. Peter -Original Message- From: Jeroen Leenarts [mailto:[EMAIL PROTECTED] Sent: den 19 april 2007 10:44 To: Maven Users List Subject: Re: Plugin execution for a specific packaging So yes it is possible, but not declarativly.. (I just read your post again, and see that you are using standard Maven mojo's and are not developing your own.) You probably noticed that running a mojo for all projects is easy. But that running for a subtype is more work. You could consider using an inheritance tree for your poms. + toplevel pom --jar pom FooBar pom --ejb pom FooBarEjb pom You would then define the checkstyle stuff in the jar of ejb poms. But it will probably not fit somewhere. jeroen On 19/04/07, Jeroen Leenarts [EMAIL PROTECTED] wrote: This will wett your appetite: /** * @parameter expression=${project.packaging} * @readonly */ private String packaging; /** * @see org.apache.maven.plugin.Mojo#execute () */ public void execute() throws MojoExecutionException, MojoFailureException { getLog().info(packaging); if (packaging == null || !packaging.equals(ejb)) { Regards, Jeroen On 19/04/07, Peter Nilsson [EMAIL PROTECTED] wrote: Hi, I have a build tree with 30+ projects of different packaging (jar, pom, dll, so, plugin, etc) built with Maven and I would like to specify in the top pom.xml that certain plugins are used for all projects of a given packaging. For example, I would like to have the CheckStyle plugin run on all projects with packaging jar. Of course I can set the configuration of the plugins in the top pom (with a pluginmanagement tag) and then just invoke the plugin explicitly in the projects but I would like to enforce that the plugin is used for all projects of the given packaging. It is very easy for example to forget to add CheckStyle to a new jar project. Adding the possibility of using a packaging filter to an execution element would solve it, but there are perhaps other ways? Any ideas? Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to define variables and overwrite them with user defined files?
Perhaps this links helps a bit: http://maven.apache.org/examples/injecting-properties-via-settings.html On 19/04/07, Wayne Fay [EMAIL PROTECTED] wrote: http://maven.apache.org/pom.html#Properties There is no Maven equivalent to build.properties. All properties for a project should be contained in the project files, within pom.xml and profiles.xml. Wayne On 4/18/07, Baz [EMAIL PROTECTED] wrote: All, How can i define variables in pom.xml and overwrite them with user defined files? For example, I would like to define a variable called mypath how can i define it in pom.xml? Is there a way like in Ant, within build.properties to redefine mypath? I know I can do -Dmypath=xyz Thanks. A. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Is there any way to get timestamp in maven?
Look into the distributionmanagement section of the Maven pom: http://maven.apache.org/ref/2.0.4/maven-model/maven.html#class_distributionManagement Note the uniqueVersion element. Jeroen On 18/04/07, Chen Li [EMAIL PROTECTED] wrote: Hi, It might be a very basic question. I want to add timestamp to the distribute, for instance ${DSTAMP}.war . Is there any similar way in maven can do it like what tstamp/ does in ant? Thanks, Chen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Is there any way to get timestamp in maven?
This'll help a bit too I think: http://docs.codehaus.org/display/MAVENUSER/Creating+the+repositories (search for uniqueVersion with your browser on the page.) On 19/04/07, Jeroen Leenarts [EMAIL PROTECTED] wrote: Look into the distributionmanagement section of the Maven pom: http://maven.apache.org/ref/2.0.4/maven-model/maven.html#class_distributionManagement Note the uniqueVersion element. Jeroen On 18/04/07, Chen Li [EMAIL PROTECTED] wrote: Hi, It might be a very basic question. I want to add timestamp to the distribute, for instance ${DSTAMP}.war . Is there any similar way in maven can do it like what tstamp/ does in ant? Thanks, Chen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Howto enable 1.1 xml-rpc service in plexus application
Hi Emmanule, thanks for your reply. I see now that it is trying to start xmpl-rpc but it gets a bindException because the default port is in use. But now when I try to config it in application.xml like before it breaks during startup. Can you please explain how to configure it in? I use continuum-20070419.03.tar.gz at this point. I have this in the application.xml: service idxml-rpc/id configuration xmlrpc port19205/port /xmlrpc handlers handler roleorg.apache.maven.continuum.xmlrpc.ContinuumXmlRpc/role namecontinuum/name /handler /handlers /configuration /service The wrapper fails with this cause: INFO | jvm 1| 2007/04/19 10:41:12 | Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Component descriptor cannot be found in the component repository: org.codehaus.plexus.appserver.service.PlexusService [xml-rpc] (lookup realm: ClassRealm[plexus.core, parent: null]). thanks, Bram -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 9:21 AM To: [EMAIL PROTECTED] Subject: Re: Howto enable 1.1 xml-rpc service in plexus application It's always there and configured in application.xml Bram de Kruijff a écrit : Hi, when I was running continuum-20070323.15 plexus application I noticed that my xml-rpc service was gone. Looking at the trunk source it seems that it totally gone from the application.xml en the application doesnt contain the service either. So two questions... Is it supposed to be gone and how do I get my xml-rpc interface back? thanks, Bram
Re: Howto enable 1.1 xml-rpc service in plexus application
This service configuration isn't in the latest continuum, remove it from your application.xml You must modified the application.xml in apps/continuum/webapps/WEB-INF/classes/META-INF/plexus/ Emmanuel Bram de Kruijff a écrit : Hi Emmanule, thanks for your reply. I see now that it is trying to start xmpl-rpc but it gets a bindException because the default port is in use. But now when I try to config it in application.xml like before it breaks during startup. Can you please explain how to configure it in? I use continuum-20070419.03.tar.gz at this point. I have this in the application.xml: service idxml-rpc/id configuration xmlrpc port19205/port /xmlrpc handlers handler roleorg.apache.maven.continuum.xmlrpc.ContinuumXmlRpc/role namecontinuum/name /handler /handlers /configuration /service The wrapper fails with this cause: INFO | jvm 1| 2007/04/19 10:41:12 | Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Component descriptor cannot be found in the component repository: org.codehaus.plexus.appserver.service.PlexusService [xml-rpc] (lookup realm: ClassRealm[plexus.core, parent: null]). thanks, Bram -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 9:21 AM To: [EMAIL PROTECTED] Subject: Re: Howto enable 1.1 xml-rpc service in plexus application It's always there and configured in application.xml Bram de Kruijff a écrit : Hi, when I was running continuum-20070323.15 plexus application I noticed that my xml-rpc service was gone. Looking at the trunk source it seems that it totally gone from the application.xml en the application doesnt contain the service either. So two questions... Is it supposed to be gone and how do I get my xml-rpc interface back? thanks, Bram
activating profiles on the existence of envinronment variables?
Hi, I have a build where I need to copy dependencies around depending on the existence of an environment variable. I tried to do this via activation of profiles, this seems to work only sometimes, if at all. Did anybody do this successfully? If yes, I'd like to hear how it can be done. TIA, -dirk -- A: Maybe because some people are too annoyed by top-posting. Q: Why do I not get an answer to my question(s)? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven : deploy strategy
I have to deploy a war application. My web application has some dependencies (jar files). I deploy my war on production machine , what are all possible way to make these jar file (declared in my pom files) available on my application server ? --- Merouane AMRAOUI Consultant Expert Division Développement Email.: [EMAIL PROTECTED] Gsm .: 065 19 60 99 Tél. | Tel.: 022 98 70 70Téléc | Fax: 022 98 70 70 OMNIDATA , 74 Bv AbdelMoumen
RE: RE: maven-surefire-plugin problem
---BeginMessage--- It is not fetching this plug-in automatically.. So i have installed in the local repo... can u please send POM, so that I can use central repository as yours Is there any other way? Thanks, Ramesh From: Thorsten Heit [mailto:[EMAIL PROTECTED] Sent: Wed 4/18/2007 9:44 PM To: Maven Users List Subject: Re: RE: maven-surefire-plugin problem Hi, I used mvn install command as follows mvn install:install-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-surefire-plugin -Dversion=2.3 -Dpackaging=jar -Dfile=maven-surefire-plugin-2.3.jar Why did you do this? This isn't necessary as Maven automatically fetches plugins from central (assuming that you have Internet access and specified proxy settings if you are behind a firewall). Thorsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] winmail.dat---End Message--- DISCLAIMER: --- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Spam] Is there any way to get timestamp in maven?
On Wednesday 18 April 2007 17:41, Chen Li wrote: Hi, It might be a very basic question. I want to add timestamp to the distribute, for instance ${DSTAMP}.war . Is there any similar way in maven can do it like what tstamp/ does in ant? You can use Groovy. http://pteropus.blogspot.com/2007/03/from-maven-to-mvn-part-5.html Thanks, Chen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Javadoc for dependent libraries in Netbeans...
Hi again, I got the ant-script running from the POM now, partly. When I get to the javac-task in my build.xml ant file, I get the following error: [INFO]Error executing ant tasks Embedded error: The following error occurred while executing this line: [INFO]C:\Documents and Settings\asty\Skrivebord\CommonComponents\Jamod\build.xml:121: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK In my POM I have the following: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-antrun-plugin/artifactId executions execution idcompile/id phasecompile/phase configuration tasks ant antfile=${basedir}/build.xml inheritAll=false inheritRefs=false target name=jar/ /ant /tasks /configuration goals goalrun/goal /goals /execution /executions dependencies dependency groupIdant/groupId artifactIdant-antlr/artifactId version1.6.5/version /dependency dependency groupIdantlr/groupId artifactIdantlrall/artifactId version2.7.4/version /dependency /dependencies /plugin I had to set inheritAll to false, otherwise the ant script didn't seem to be able to use the ant-defined properties (defined in the build.xml-file) Any ideas ? Regards Arne -Original Message- From: Arne Styve [mailto:[EMAIL PROTECTED] Sent: 18. april 2007 15:36 To: 'Maven Users List' Subject: RE: RE: Javadoc for dependent libraries in Netbeans... Hi Thorsten, By the way, do you know how to call an ANT-file from the POM ? I have a project with a build.xml ant file that I would like to keep but want to call from a POM. I've searched the net, but found only hints about executing ant-statements from within the pom, and not calling an ant file. I guess this is what you're looking for (see the second example): http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html HTH Thorsten Just what I was looking for :-) Thanks ! Arne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE: RE: maven-surefire-plugin problem
Hi, It is not fetching this plug-in automatically.. What error is Maven showing with mvn -e -X ...? Have you checked that your network settings are correct? I.e. are you behind a firewall? If yes, do you have proxy settings specified in your settings.xml? So i have installed in the local repo... But _how_ did you install it? can u please send POM, so that I can use central repository as yours There's nothing to configure for that case; Maven automatically connects to the central repo for fetching plugins... Regards Thorsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE: Javadoc for dependent libraries in Netbeans...
Hi, I got the ant-script running from the POM now, partly. When I get to the javac-task in my build.xml ant file, I get the following error: [INFO]Error executing ant tasks Embedded error: The following error occurred while executing this line: [INFO]C:\Documents and Settings\asty\Skrivebord\CommonComponents\Jamod\build.xml:121: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK Perhaps you have to add another dependency for tools.jar to the plugin configuration...? HTH Thorsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: maven-surefire-plugin problem
I tried this one also, but still the same problem. Can u send me ur pOM...? Thanks, Ramesh From: Pankaj Tandon [mailto:[EMAIL PROTECTED] Sent: Wed 4/18/2007 10:22 PM To: users@maven.apache.org Subject: RE: maven-surefire-plugin problem Hi, I think your groupId is wrong. From my surefire pom, here is the groupId: ... groupIdorg.apache.maven.surefire/groupId artifactIdsurefire/artifactId packagingpom/packaging ... You have an extra 'plugins' there. Rather than trying downloading as a dependency, see if you can get it into your local repo usign mvn install:install-file goal with this groupId. HTH Pankaj Ramesh Babu Pokala - TLS, Chennai wrote: Hi, The following is my POM.xml content 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/xsd/settings-1.0.0.xsd; modelVersion4.0.0/modelVersion groupIdmain.java/groupId artifactIdSampleProject1/artifactId packagingjar/packaging nameSimple Demo/name version1.0-SNAPSHOT/version descriptionCIA Tool RCP Simple Demo/description dependencies !--dependency groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId version2.3/version /dependency-- dependency groupIdorg.eclipse/groupId artifactIdui.workbench/artifactId version3.2.0.I20060605-1400/version /dependency dependency groupIdorg.eclipse/groupId artifactIdcore.commands/artifactId version3.2.0.I20060605-1400/version /dependency dependency groupIdorg.eclipse/groupId artifactIdswt/artifactId version3.2.0.v3232o/version /dependency dependency groupIdorg.eclipse/groupId artifactIdui/artifactId version3.2.0.I20060605-1400/version /dependency dependency groupIdorg.eclipse/groupId artifactIdcore.contenttype/artifactId version3.2.0.v20060603/version /dependency dependency groupIdorg.eclipse/groupId artifactIdswt.win32.win32/artifactId versionx86_3.2.0.v3232m/version /dependency dependency groupIdorg.eclipse/groupId artifactIdosgi/artifactId version3.2.0.v20060601/version /dependency dependency groupIdorg.eclipse/groupId artifactIdjface/artifactId version3.2.0.I20060605-1400/version /dependency dependency groupIdorg.eclipse/groupId artifactIdequinox.registry/artifactId version3.2.0.v20060601/version /dependency dependency groupIdorg.eclipse/groupId artifactIdcore.jobs/artifactId version3.2.0.v20060603/version /dependency dependency groupIdorg.eclipse/groupId artifactIdequinox.common/artifactId version3.2.0.v20060603/version /dependency dependency groupIdorg.eclipse/groupId artifactIdequinox.preferences/artifactId version3.2.0.v20060601/version /dependency dependency groupIdorg.eclipse/groupId artifactIdcore.runtime/artifactId version3.2.0.v20060603/version /dependency /dependencies build plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdpde-maven-plugin/artifactId extensionstrue/extensions configuration eclipseInstallD:\eclipse/eclipseInstall /configuration /plugin /plugins /build /project Thanks Regards Ramesh Babu.P HCL Technologies - Chennai ( +91-9884506300 ' +9144-23728366 Extn: 1232 * [EMAIL PROTECTED] -Original Message- From: Pankaj Tandon [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 18, 2007 8:00 PM To: users@maven.apache.org Subject: Re: maven-surefire-plugin problem Hi, It may help if you posted the pom.xml of your project. Also I noticed that you have a project in your home folder.. not a big deal and it should not break anything but it's just a bit strange :). The repository is a peer to your project. Typically you will want to use the 'install' goal to get your project into the repository. Pankaj Ramesh Babu Pokala - TLS, Chennai wrote: Hi, I have installed maven-surefire-plugin version 2.3 in maven's local repository. But still i am getting the following error/. Can anyone help me in this issue...? C:\Documents and Settings\bpra\.m2\SampleProject1mvn -e package + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] -- -- [INFO] Building Simple Demo [INFO]task-segment: [package] [INFO] -- -- [INFO] -- -- [ERROR] BUILD ERROR [INFO]
RE: RE: Javadoc for dependent libraries in Netbeans...
Hi I got the ant-script running from the POM now, partly. When I get to the javac-task in my build.xml ant file, I get the following error: [INFO]Error executing ant tasks Embedded error: The following error occurred while executing this line: [INFO]C:\Documents and Settings\asty\Skrivebord\CommonComponents\Jamod\build.xml:121: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK Perhaps you have to add another dependency for tools.jar to the plugin configuration...? That did the trick. Thank you very much ! Regards Arne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: RE: RE: maven-surefire-plugin problem
---BeginMessage--- Yes I am working behind proxy. The following is my Settings.xml settings 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/xsd/settings-1.0.0.xsd; !-- | This file contains user specific maven settings. | It will be used by maven in the following situations: | * Using java-property: -Dorg.apache.maven.user-settings=/path/to/user/settings.xml | * Using mvn command switch: -s /path/to/user/settings.xml -- !-- | Specifies the local repository location. | Unfortunately, only system environment variables are expanded. | Java variables (-D) as well as maven properties are ignored. -- !-- Linux version localRepository${user.home}/.m2/VBL10/localRepository -- !-- Windows version -- localRepository${USERPROFILE}/.m2/VBL10/localRepository offlinefalse/offline profiles profile idVBLx/id properties VBLVBL10/VBL build-serverto0047/build-server build-server-urlhttp://${build-server}:8088/build-server-url repo-servertntnextgen02/repo-server repo-server-urlhttp://${repo-server}:8080/repo-server-url repo-url${repo-server-url}/proximity-${VBL}/repository/repo-url repo-release-pathfile://c:/Maven-deployed/VBLx/${VBL}/repo-release-path repo-snapshot-path${repo-release-path}.snapshot/repo-snapshot-path site-server${repo-server}/site-server site-server-urlhttp://${site-server}/site-server-url site-base-url${site-server-url}/genium/sites/${VBL}/site-base-url site-deploy-pathfile://c:/Maven-deployed/sites/${VBL}/site-deploy-path /properties repositories repository idcentral/id nameGenium ${VBL} Central Repository/name urlhttp://tntnextgen02:8080/proximity-VBL10/repository/url layoutdefault/layout releases enabledtrue/enabled updatePolicydaily/updatePolicy checksumPolicywarn/checksumPolicy /releases snapshots enabledtrue/enabled updatePolicyalways/updatePolicy checksumPolicywarn/checksumPolicy /snapshots /repository /repositories pluginRepositories pluginRepository idcentral/id nameGenium ${VBL} Central Plugin Repository/name urlhttp://tntnextgen02:8080/proximity-VBL10/repository/url layoutdefault/layout releases enabledtrue/enabled updatePolicydaily/updatePolicy checksumPolicywarn/checksumPolicy /releases snapshots enabledtrue/enabled updatePolicyalways/updatePolicy checksumPolicywarn/checksumPolicy /snapshots /pluginRepository /pluginRepositories /profile /profiles activeProfiles activeProfileVBLx/activeProfile /activeProfiles /settings I installed by using... mvn install:install-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-surefire-plugin -Dversion=2.3 -Dpackaging=jar -Dfile=maven-surefire-plugin-2.3.jar Is there anything wrong...? Thanks, Ramesh From: Thorsten Heit [mailto:[EMAIL PROTECTED] Sent: Thu 4/19/2007 4:59 PM To: Maven Users List Subject: Re: RE: RE: maven-surefire-plugin problem Hi, It is not fetching this plug-in automatically.. What error is Maven showing with mvn -e -X ...? Have you checked that your network settings are correct? I.e. are you behind a firewall? If yes, do you have proxy settings specified in your settings.xml? So i have installed in the local repo... But _how_ did you install it? can u please send POM, so that I can use central repository as yours There's nothing to configure for that case; Maven automatically connects to the central repo for fetching plugins... Regards Thorsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] winmail.dat---End Message--- DISCLAIMER: --- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Getting index.html of site generated automatically
Not sure what details you mean, so I'll make a guess! I'm running Maven 2.0.5, executing maven site:site on my projects (one parent project with a bunch of modules).Everything else seems to get generated in the site - the front page generated is the project-info.html file. Recently I cleaned the repository and tried it again, but the same result. The projects are Java 5 modules (web, ejb and other normal pieces). The reports I'm generating are Checkstyle, PMD, Javadoc, Cobertura, X-reference. There is no customisation of the site (don't dare to try that until I can get this to work!). Is that the information you want, or is there more that would be helpful? Any other suggestions? Regards, Ian - Message from William Ferguson [EMAIL PROTECTED] on Thu, 19 Apr 2007 09:29:07 +1000 - To: Maven Users List users@maven.apache.org Subject: RE: Getting index.html of site generated automatically Ian, I always get index.html generated by 'mvn site:site'. I'm using Maven-2.0.5 Can you provide more details? William -Original Message- From: Ian Rowlands [mailto:[EMAIL PROTECTED] Sent: Wednesday, 18 April 2007 5:25 PM To: users@maven.apache.org Subject: Getting index.html of site generated automatically When I do a site:site build of one of my projects, no index.html (or equivalent is generated). Is there a way to do this automatically, rather than put it an xdoc/index.xml in each individual project (this happens for all of the modules of the projects) as well? Regards, Ian Disclaimer: The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from your computer. Privacy: If you are responding to this email or providing personal information to the SRO for the purposes of one of the Acts it administers, such information is used only for the purpose for which it was collected ( administration of SRO legislation ) and is protected by the Information Privacy Act 2000 and secrecy provisions contained in legislation administered by SRO. It is not disclosed otherwise than in accordance with the law. If you would like a copy of the SRO Privacy Policy please refer to SRO website (www.sro.vic.gov.au) or contact SRO on 9628 0556 and request a copy. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-surefire-plugin:2.2:test'
DISCLAIMER: --- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE: RE: RE: maven-surefire-plugin problem
Yes I am working behind proxy. The following is my Settings.xml As I wrote in my last mail: Check your proxy settings - you haven't specified any in the settings.xml... See http://maven.apache.org/guides/mini/guide-proxies.html HTH Thorsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Compressing JavaScript with Maven
Ok I've been trying to figure out how to do this for some time now. I saw some vague references to it on the web but no real clear answers. I want to compress my web app JavaScript files during the maven build process. So the files stay uncompressed while I'm working on them but are compressed upon creation of the war file. Thanks in advance for any advice.
RE: RE: RE: RE: maven-surefire-plugin problem
---BeginMessage--- without using proxy settings I was able to download remaining plugins. If I want to download from maven central repository what are the settings I need to use...? Thank you Ramesh From: Thorsten Heit [mailto:[EMAIL PROTECTED] Sent: Thu 4/19/2007 6:18 PM To: Maven Users List Subject: Re: RE: RE: RE: maven-surefire-plugin problem Yes I am working behind proxy. The following is my Settings.xml As I wrote in my last mail: Check your proxy settings - you haven't specified any in the settings.xml... See http://maven.apache.org/guides/mini/guide-proxies.html HTH Thorsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] winmail.dat---End Message--- DISCLAIMER: --- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Settings.xml is needed.
DISCLAIMER: --- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Starting a new java process from within a test case is hanging the maven JVM
Hi all, I did work on this and found that maven's java process is not waiting until all other processes started during the build is completed / terminated. Following is what I did: In one of my test cases, I start a new process using the java Runtime class. For experimentation I executed the command notepad on windows which would start a separate process for me. The test case is as follows: Process p = Runtime.getRuntime().exec(notepad); When I do a mvn test, the java process started by the maven build does not exit until the notepad is closed or terminated. Is there a way or configuration in maven to work around such a setting or is maven designed like this? I might want to be starting a server like process in one of my test cases and would want maven to complete the build which currently is not happening. Regards, Ravi -Original Message- From: Balasubramanian, Ravi Shankar Sent: Wednesday, April 18, 2007 11:48 AM To: Maven Users List Subject: RE: Starting a new java process from within a test case is hanging the maven JVM Just in case, if anybody is looking into this, I tried creating a new java process from a simple Java class in it's main method and verified if the main class exits. It does exit and only when I run it through a test case in maven, the maven's java process is not exiting. Regards, Ravi -Original Message- From: Balasubramanian, Ravi Shankar Sent: Tuesday, April 17, 2007 5:29 PM To: Maven Users List Subject: Starting a new java process from within a test case is hanging the maven JVM Hi all, We use maven-surefire-plugin to run our testng test cases. I encountered a problem where in the maven VM is hanging when one of the test cases start a separate java process from within it using the java ProcessBuilder class(which I think is inconsequential here). What I am doing in the test case is starting a server which I need to be running throughout my maven builds across different projects. (Some sort of integration tests.). Following is the structure for my build: MainTestModule --setupTests --functionality1Tests --functionality2Tests ... My requirement is to have a server started (a separate java process) in one of the test cases in the setupTests module which needs to be running for all other tests to run. One of the test case which starts the server looks something like below: @Test public void startUpgradeTestRepository() throws Exception{ ProcessBuilder pb = new ProcessBuilder(cmd.exe,/c,C:\startrepo.bat); MapString, String env = pb.environment(); pb.directory(new File(infa_home)); Process raprocess = pb.start(); //Process p = Runtime.getRuntime().exec(cmd.exe /c dir); } This calls a batch script which starts a java process from within it: startrepo.bat: @echo off rem # - rem # Script for starting the Repository rem # - java com.informatica.repository.applications.repository.server.RepAgentApp %REP_AGENT_ARGS% exit My problem is when I run mvn test from the setupTests directory or from the parent directory, the maven java process that gets started for the setupTests module does not end until the java process started by the test case above is ended or is terminated. I am running the tests through the surefire plugin. When I run mvn test from the setupTests module, it runs all the test cases in the module successfully(the java process is also started successfully) and then it exits from the surefire's java process. However the build is not ending until the java process is ended or terminated. The maven java process that gets started for the setupTests is not ending until the java process started by my test case is terminated. Hence I am not able to run other tests of other modules automatically. Can one of you please let me know if there is any glitch anywhere in the way I have coded my test case or in my setup? Regards, Ravi. Tough times never last, but tough men do... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Settings.xml is needed.
http://maven.apache.org/general.html#proxy-needed http://maven.apache.org/guides/index.html http://maven.apache.org/ref/current/maven-settings/settings.html Just a few clicks on maven.apache.org Thorsten Original-Nachricht Datum: Thu, 19 Apr 2007 18:54:03 +0530 Von: Ramesh Babu Pokala - TLS, Chennai [EMAIL PROTECTED] An: users@maven.apache.org Betreff: Settings.xml is needed. DISCLAIMER: --- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Benchmark M1 - M2
Does any one has a comparative relating to speed and memory comsumption of M1 and M2. I'm getting loads of outof memory errors in M1 and as I'm trying to convince the porting to M2 this would be a good point. Thanks a lot emerson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Exception in large maven2 build: Too many open files
Hi, We ran into a problem with a large maven2 build. In the last stages of the build (creating the war) an exception is thrown saying that there are too many open files. We're using continuum 1.0.3 on a debian (stable) server. We've already upped the system/process file handle limits. The last part of the maven output: [INFO] [war:war] [INFO] Exploding webapp... [INFO] Copy webapp webResources to /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT [INFO] Copy webapp webResources to /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT [INFO] Assembling webapp tesis in /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT [INFO] Generating war /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT.war [INFO] Building war: /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT.war [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error assembling WAR: Problem creating war: /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT/WEB-INF/lib/XmlSchema-1.1.jar (Too many open files) [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error assembling WAR: Problem creating war: /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT/WEB-INF/lib/XmlSchema-1.1.jar (Too many open files) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Error assembling WAR: Problem creating war: /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT/WEB-INF/lib/XmlSchema-1.1.jar (Too many open files) at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:149) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534) ... 16 more Caused by: org.codehaus.plexus.archiver.ArchiverException: Problem creating war: /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT/WEB-INF/lib/XmlSchema-1.1.jar (Too many open files) at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchiveMain(AbstractZipArchiver.java:403) at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchive(AbstractZipArchiver.java:229) at org.apache.maven.archiver.MavenArchiver.createArchive(MavenArchiver.java:332) at org.apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java:183) at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:133) ... 18 more Caused by: java.io.FileNotFoundException: /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT/WEB-INF/lib/XmlSchema-1.1.jar (Too many open files) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:106) at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.zipFile(AbstractZipArchiver.java:679) at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.addResources(AbstractZipArchiver.java:492) at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchiveMain(AbstractZipArchiver.java:330) ... 22 more [INFO] [INFO] Total time: 3 minutes 54 seconds [INFO] Finished at: Thu Apr 19 14:26:45 CEST 2007 [INFO] Final Memory: 106M/209M [INFO] Any
Re: Benchmark M1 - M2
What version of m1 are you using? What plugin(s) encounters the OOM? Many plugins have JVM settings property to enable setting the max mem, e.g. -Xmx1024m. It is expected to set this for sizable codebases. Quoting emerson cargnin [EMAIL PROTECTED]: Does any one has a comparative relating to speed and memory comsumption of M1 and M2. I'm getting loads of outof memory errors in M1 and as I'm trying to convince the porting to M2 this would be a good point. Thanks a lot emerson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-surefire-plugin:2.2:test'
Is this a question? Or what? Consider reducing the quantity of your emails and increasing the quality. We'll all be a lot happier, as there will be fewer emails on the list and your problems are more likely to be solved. Wayne On 4/19/07, Ramesh Babu Pokala - TLS, Chennai [EMAIL PROTECTED] wrote: DISCLAIMER: --- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven : deploy strategy
If you bundle the war up into an ear, and assuming you have dependencies properly declared in pom.xml files etc, then all the supporting libraries will be included in the ear. Then you deploy the ear into your app server. Wayne On 4/19/07, Marouane Amraoui [EMAIL PROTECTED] wrote: I have to deploy a war application. My web application has some dependencies (jar files). I deploy my war on production machine , what are all possible way to make these jar file (declared in my pom files) available on my application server ? --- Merouane AMRAOUI Consultant Expert Division Développement Email.: [EMAIL PROTECTED] Gsm .: 065 19 60 99 Tél. | Tel.: 022 98 70 70Téléc | Fax: 022 98 70 70 OMNIDATA , 74 Bv AbdelMoumen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Release Strategy
Here's something I'm sure someone has encountered before ... We use M2 and Subversion to build web-apps. We make a QA/ branch from dev/ when a release cycle begins and run the maven 'release' goal to build the first release candidate [RC]. Version numbering looks like '1.2.3-RC-n'. Only changes necessary to fix release-blocking issues are allowed in the QA/ branch. Some of these changes occur in locally built jars. POM dependency tags are used used for these artifacts, but according to M2 none of the dependency artifacts can be SNAPSHOT versions. A series of successive RCs are built on the QA/ branch until one is approved. At that point the project is rebuilt on the QA/ branch without '-RC-n' in the version string and it becomes the final distribution. In the meantime, development has continued on the dev/ branch, with commits occurring in the main project as well as in sub-projects for any of the local jars. Dependencies refer to SNAPSHOT versions. We're getting tangled trying to reconcile versions of these local artifacts. Version 2.3.4 of a local jar doesn't necessarily represent the same content in the QA/ and dev/ branches. How should we be working this. Are mutiple 'release' repositories part of the answer? Thanks. Brad -- View this message in context: http://www.nabble.com/Release-Strategy-tf3607319s177.html#a10078348 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Exception in large maven2 build: Too many open files
It seems to be a bug in plexus-archiver. I see only one solution, look at plexus-archiver code and fix it to close files that aren't closed. Emmanuel Ivo van Dongen a écrit : Hi, We ran into a problem with a large maven2 build. In the last stages of the build (creating the war) an exception is thrown saying that there are too many open files. We're using continuum 1.0.3 on a debian (stable) server. We've already upped the system/process file handle limits. The last part of the maven output: [INFO] [war:war] [INFO] Exploding webapp... [INFO] Copy webapp webResources to /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT [INFO] Copy webapp webResources to /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT [INFO] Assembling webapp tesis in /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT [INFO] Generating war /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT.war [INFO] Building war: /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT.war [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error assembling WAR: Problem creating war: /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT/WEB-INF/lib/XmlSchema-1.1.jar (Too many open files) [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error assembling WAR: Problem creating war: /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT/WEB-INF/lib/XmlSchema-1.1.jar (Too many open files) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Error assembling WAR: Problem creating war: /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT/WEB-INF/lib/XmlSchema-1.1.jar (Too many open files) at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:149) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534) ... 16 more Caused by: org.codehaus.plexus.archiver.ArchiverException: Problem creating war: /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT/WEB-INF/lib/XmlSchema-1.1.jar (Too many open files) at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchiveMain(AbstractZipArchiver.java:403) at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchive(AbstractZipArchiver.java:229) at org.apache.maven.archiver.MavenArchiver.createArchive(MavenArchiver.java:332) at org.apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java:183) at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:133) ... 18 more Caused by: java.io.FileNotFoundException: /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT/WEB-INF/lib/XmlSchema-1.1.jar (Too many open files) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:106) at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.zipFile(AbstractZipArchiver.java:679) at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.addResources(AbstractZipArchiver.java:492) at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchiveMain(AbstractZipArchiver.java:330) ... 22 more [INFO] [INFO] Total time: 3 minutes 54
Re: Benchmark M1 - M2
Hi there It happens when i create a site for a multiproject of about 17 project, during a compilation of one of the projects. [exec] BUILD FAILED [exec] File.. /subversion/users/svnclient/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly [exec] Element... maven:reactor [exec] Line.. 103 [exec] Column 9 [exec] Unable to obtain goal [site] -- /subversion/users/svn/.maven/cache/maven-jdepend-plugin-1.5/plugin.jelly:57:26: ant:java java.io.IOException: java.io.IOException: Cannot allocate memory thanks a lot Emerson On 19/04/07, Jeff Jensen [EMAIL PROTECTED] wrote: What version of m1 are you using? What plugin(s) encounters the OOM? Many plugins have JVM settings property to enable setting the max mem, e.g. -Xmx1024m. It is expected to set this for sizable codebases. Quoting emerson cargnin [EMAIL PROTECTED]: Does any one has a comparative relating to speed and memory comsumption of M1 and M2. I'm getting loads of outof memory errors in M1 and as I'm trying to convince the porting to M2 this would be a good point. Thanks a lot emerson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Benchmark M1 - M2
sorry, i forgot, we use manen 1.0.2, e i configured the OPT like MAVEN_OPTS=-Xmx2600m thanks On 19/04/07, emerson cargnin [EMAIL PROTECTED] wrote: Hi there It happens when i create a site for a multiproject of about 17 project, during a compilation of one of the projects. [exec] BUILD FAILED [exec] File.. /subversion/users/svnclient/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly [exec] Element... maven:reactor [exec] Line.. 103 [exec] Column 9 [exec] Unable to obtain goal [site] -- /subversion/users/svn/.maven/cache/maven-jdepend-plugin-1.5/plugin.jelly:57:26: ant:java java.io.IOException: java.io.IOException: Cannot allocate memory thanks a lot Emerson On 19/04/07, Jeff Jensen [EMAIL PROTECTED] wrote: What version of m1 are you using? What plugin(s) encounters the OOM? Many plugins have JVM settings property to enable setting the max mem, e.g. -Xmx1024m. It is expected to set this for sizable codebases. Quoting emerson cargnin [EMAIL PROTECTED]: Does any one has a comparative relating to speed and memory comsumption of M1 and M2. I'm getting loads of outof memory errors in M1 and as I'm trying to convince the porting to M2 this would be a good point. Thanks a lot emerson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: 1.1 alpha 1 release?
Hi, Just to know why there is already a tag ? https://svn.apache.org/repos/asf/maven/continuum/tags/continuum-1.1-alpha-1/ An undocumented release :-) -- Olivier -Message d'origine- De : Emmanuel Venisse [mailto:[EMAIL PROTECTED] Envoyé : jeudi 19 avril 2007 14:45 À : [EMAIL PROTECTED] Objet : Re: 1.1 alpha 1 release? Next week. Emmanuel Eric Miles a écrit : Any idea when 1.1 alpha 1 will be released? I'm certain the Continuum community is excited about a release that contains 342 resolved issues. Thanks! This e-mail, any attachments and the information contained therein (this message) are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited. -- Ce message électronique et tous les fichiers joints ainsi que les informations contenues dans ce message ( ci après le message ), sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites. -
multimodule site: how to reference parent or root?
Hi, our project nests modules three levels deep. The site generates fine but I have enabled aggregated javadocs. Now I would like to put a link to the javadocs in a more prominent place than buried in the reports menu. Just adding a link to apidocs works from the top level but once I navigate to a module the link becomes stale. What do I have to put into the site.xml to always reference the toplevel apidocs directory? -dirk -- A: Maybe because some people are too annoyed by top-posting. Q: Why do I not get an answer to my question(s)? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Plugin execution for a specific packaging
Unfortunately it doesn't work. Project properties (or user properties defined in pom) cannot be used to activate a profile. I found a thread where someone had tried the same thing without success: http://www.nabble.com/Can-I-activate-a-profile-based-on-module-type--tf14098 16s177.html Back to reorganize the build tree I suppose. Anyhow, thanks for the help Jeroen. Peter -Original Message- From: Jeroen Leenarts [mailto:[EMAIL PROTECTED] Sent: den 19 april 2007 11:11 To: Maven Users List Subject: Re: Plugin execution for a specific packaging I've looked it up in the docs: http://maven.apache.org/pom.html#Properties It might actually be project.packaging. Jeroen On 19/04/07, Jeroen Leenarts [EMAIL PROTECTED] wrote: You might be on to something there The page: http://maven.apache.org/guides/introduction/introduction-to-profiles.html mentiones this piece of code. Activiation based on a property. This will activate the profile when the system property debug is specified with any value: profiles profile activation property namedebug/name /property /activation ... /profile /profiles Wouldn't a property named packaging with the relevant value work? Packaging is the tag defining a projects, ehr, packaging. Which is exactly the granularity you want to configure at. Well worth to try. Jeroen On 19/04/07, Peter Nilsson [EMAIL PROTECTED] wrote: Yes, for the plugins we have developed in house it is no problem but that is not what I am struggling with right now (as you noticed). Reorganizing the tree is an option and is exactly what I am considering right now. However, I would rather keep a functional organization of my build tree and use features of the build system for controlling the build of different type of artifacts. A functional organization makes it easier for developers to check out and build only the part of the tree they are working on. A build tree organized after artifact type does not map to responsible developer/team very well. Perhaps it would be possible to use profiles for controlling the use of plugins and let the packaging activate the profile? Thanks. Peter -Original Message- From: Jeroen Leenarts [mailto:[EMAIL PROTECTED] Sent: den 19 april 2007 10:44 To: Maven Users List Subject: Re: Plugin execution for a specific packaging So yes it is possible, but not declarativly.. (I just read your post again, and see that you are using standard Maven mojo's and are not developing your own.) You probably noticed that running a mojo for all projects is easy. But that running for a subtype is more work. You could consider using an inheritance tree for your poms. + toplevel pom --jar pom FooBar pom --ejb pom FooBarEjb pom You would then define the checkstyle stuff in the jar of ejb poms. But it will probably not fit somewhere. jeroen On 19/04/07, Jeroen Leenarts [EMAIL PROTECTED] wrote: This will wett your appetite: /** * @parameter expression=${project.packaging} * @readonly */ private String packaging; /** * @see org.apache.maven.plugin.Mojo#execute () */ public void execute() throws MojoExecutionException, MojoFailureException { getLog().info(packaging); if (packaging == null || !packaging.equals(ejb)) { Regards, Jeroen On 19/04/07, Peter Nilsson [EMAIL PROTECTED] wrote: Hi, I have a build tree with 30+ projects of different packaging (jar, pom, dll, so, plugin, etc) built with Maven and I would like to specify in the top pom.xml that certain plugins are used for all projects of a given packaging. For example, I would like to have the CheckStyle plugin run on all projects with packaging jar. Of course I can set the configuration of the plugins in the top pom (with a pluginmanagement tag) and then just invoke the plugin explicitly in the projects but I would like to enforce that the plugin is used for all projects of the given packaging. It is very easy for example to forget to add CheckStyle to a new jar project. Adding the possibility of using a packaging filter to an execution element would solve it, but there are perhaps other ways? Any ideas? Peter - 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
Re: Release Notes generation
Dennis Lundberg a écrit : This is the plugin that produces a release notes from JIRA. Not all features are fully documented yet, one of the reasons it's still a beta release. There are several configuration options mentioned in the goals page: http://maven.apache.org/plugins/maven-changes-plugin/jira-report-mojo.html Perhaps they can be of help... William Ferguson wrote: But how do you get issues grouped by released version? Maven-changes-plugin provides a great list of issues for the projects, filtered by different criteria. So it could provide all open issues for instance. Maybe I'm missing something, but this isn't what you want for release notes. ReleaseNotes should contain all the resolved issues, grouped by released version, ordered from most recent to least recent. It might also contain a list of open issues. The maven-changes-plugin change:jira-report looks like it is retrieving enough information to do this, but I can't see how to configure it to produce release notes. Can anyone tell me? Alternatively, is there a plugin that does produce release notes (from JIRA). William -Original Message- From: Dennis Lundberg [mailto:[EMAIL PROTECTED] Sent: Sunday, 15 April 2007 6:46 AM To: Maven Users List Subject: Re: Release Notes generation That'd be the maven-changes-plugin then: http://maven.apache.org/plugins/maven-changes-plugin/ Pankaj Tandon wrote: Thanks Dennis, That was really helpful. However, is there a report plugin that produces release notes as against a change log. Actually, I've seen the report such a plugin produces on the site of one of the maven projects (maybe one of the plugins). I just can't seem to find it now. The report has a bugs, enhancements, wishlist and a features section, all broken out by release. This changelog plugin doesn't seem to produce this kind of report. Ofcourse, we are using the maven-release-plugin to produce the releases. Any suggestions what plugin produces that report? Thanks, Pankaj dennisl-2 wrote: Pankaj Tandon wrote: Hello, I'd like to generate release notes as a part of my mvn site command. If I annotate the site.xml with the following: menu name=Maven 2.0 item name=Introduction href=index.html/ item name=Download href=download.html/ item name=Release Notes href=release-notes.html / item name=General Information href=about.html/ item name=For Maven 1.0 Users href=maven1.html/ item name=Road Map href=roadmap.html / /menu It certainly creates the menu correctly. However, where is the plugin that will actually create the release-notes.html? I tried project-info-reports:scm but that looks like a dead-end to me as far as release note generation goes. Any help is appreciated. Thanks Pankaj You might be looking for maven-changelog-plugin: http://maven.apache.org/plugins/maven-changelog-plugin/ -- Dennis Lundberg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Dennis Lundberg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] I have developped a plugin that parses SVN commit comments and produces a changelog report with links to bugs per svn tags (considering they are per release). Currently I am trying to persuade my hierarchy to opensource it so that I could merge it with changelog or changes plugin but it is quite hard ;o) Does it meet your requirements ? It would help to know that people are interested in it. Emmanuel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
insufficient and/or wrong information when browsing archiva repository
Hi all, I have a Maven project that I'm trying to deploy into Archiva, and all seems to work fine, except that when I browse to the artifact in my Archiva repository I only get the most basic of information: groupId, artifactId, version and packaging. There's no other information (POM dependency snippet, other details, SCM, dependency tab, ...). Also, the value for packaging is wrong, it says 'pom' instead of the 'jar' that is in my pom file. When I checked the archiva log file, I found this error: 98083709 [pool-1-thread-1] ERROR org.apache.maven.archiva.indexer.record.RepositoryIndexRecordFactory:standard - Error reading POM file [/var/local/repository/snapshot/com/mediamine/common/common/3.2-SNAPSHOT/common-3.2-20070419.140014-8.pom] for com.mediamine.common:common:jar:3.2-SNAPSHOT:runtime, not populating in index: Cannot find parent: com.mediamine:mediamine for project: com.mediamine.common:common:jar:3.2-SNAPSHOT Strangely enough this parent pom is nicely deployed in my repository, and both Maven and Continuum don't seem to have any problems retrieving it. Is it possible that Archiva has problems indexing artifacts that use POM inheritance? Or does Archiva somehow need more information about this parent pom? Or is this error message unrelated to my problem? Any ideas/suggestions? Many thanks! Jan
Re: Benchmark M1 - M2
1. The problem with only using MAVEN_OPTS is that when plugins fork to run a task in a separate JVM, the MAVEN_OPTS is not used. This is where we need to set the JVM property for the plugin that needs the memory. I suggest tracking to the plugin that causes the problem, and set its JVM property if possible. 2. Is it possible for you to try/use m1.1rc1 snapshot? It is what we use and is very good/stable (I wouldn't use 1.0.2 instead of 1.1 rc1); hopefully it would work well for you. Don't let the rc1 snapshot label trick you as to its quality. One of the reasons I suggest the upgrade is because I think more 1.1 plugins support that JVM property, and I'm not sure if the ones you need work with 1.0.2. Quoting emerson cargnin [EMAIL PROTECTED]: sorry, i forgot, we use manen 1.0.2, e i configured the OPT like MAVEN_OPTS=-Xmx2600m thanks On 19/04/07, emerson cargnin [EMAIL PROTECTED] wrote: Hi there It happens when i create a site for a multiproject of about 17 project, during a compilation of one of the projects. [exec] BUILD FAILED [exec] File.. /subversion/users/svnclient/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly [exec] Element... maven:reactor [exec] Line.. 103 [exec] Column 9 [exec] Unable to obtain goal [site] -- /subversion/users/svn/.maven/cache/maven-jdepend-plugin-1.5/plugin.jelly:57:26: ant:java java.io.IOException: java.io.IOException: Cannot allocate memory thanks a lot Emerson On 19/04/07, Jeff Jensen [EMAIL PROTECTED] wrote: What version of m1 are you using? What plugin(s) encounters the OOM? Many plugins have JVM settings property to enable setting the max mem, e.g. -Xmx1024m. It is expected to set this for sizable codebases. Quoting emerson cargnin [EMAIL PROTECTED]: Does any one has a comparative relating to speed and memory comsumption of M1 and M2. I'm getting loads of outof memory errors in M1 and as I'm trying to convince the porting to M2 this would be a good point. Thanks a lot emerson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Getting error while trying to build sample RCP Application
Hi Wayne, Can you please tell me the problem with the mail I have sent previously? I want to give you a clear idea about the problem by giving the complete log... Do you feel this as a problem for the group... I did not get your point here. Anyway Sorry for the inconvenience. Please find the log below if you did not receive the same previously. -- I am getting the following error while trying to package the eclipse RCP application C:\Documents and Settings\Administrator\.m2\SampleProject1mvn -e package + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] - --- [INFO] Building Simple Demo [INFO]task-segment: [package] [INFO] - --- Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/apache/mave n/plugins/maven-surefire-plugin/2.2/maven-surefire-plugin-2.2.pom [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/cor e.contenttype/3.2.0.v20060603/core.contenttype-3.2.0.v20060603.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/swt /3.2.0.v3232o/swt-3.2.0.v3232o.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/swt .win32.win32/x86_3.2.0.v3232m/swt.win32.win32-x86_3.2.0.v3232m.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/ui/ 3.2.0.I20060605-1400/ui-3.2.0.I20060605-1400.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/cor e.runtime/3.2.0.v20060603/core.runtime-3.2.0.v20060603.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/equ inox.common/3.2.0.v20060603/equinox.common-3.2.0.v20060603.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/jfa ce/3.2.0.I20060605-1400/jface-3.2.0.I20060605-1400.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/cor e.commands/3.2.0.I20060605-1400/core.commands-3.2.0.I20060605-1400.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/cor e.jobs/3.2.0.v20060603/core.jobs-3.2.0.v20060603.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/equ inox.preferences/3.2.0.v20060601/equinox.preferences-3.2.0.v20060601.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/ui. workbench/3.2.0.I20060605-1400/ui.workbench-3.2.0.I20060605-1400.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/osg i/3.2.0.v20060601/osgi-3.2.0.v20060601.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/equ inox.registry/3.2.0.v20060601/equinox.registry-3.2.0.v20060601.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/codehaus/pl exus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/codehaus/pl exus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/codehaus/pl exus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/codehaus/pl exus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/codehaus/pl exus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/codehaus/pl exus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.pom [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] No sources to compile - this realm = app0.child-container[org.apache.maven.plugins:maven-surefire-plugin ] urls[0] = file:/C:/Documents and Settings/Administrator/.m2/VBL10/org/apache/mav en/plugins/maven-surefire-plugin/2.2/maven-surefire-plugin-2.2.jar urls[1] = file:/C:/Documents and Settings/Administrator/.m2/VBL10/org/codehaus/p lexus/plexus-utils/1.1/plexus-utils-1.1.jar Number of imports: 4 import: [EMAIL PROTECTED] import: [EMAIL PROTECTED] import: [EMAIL PROTECTED] import: [EMAIL PROTECTED] this realm = plexus.core urls[0] = file:/C:/maven-2.0.6/maven-2.0.6/bin/../lib/maven-core-2.0.6-uber.jar Number of imports: 4 import: [EMAIL PROTECTED] import: [EMAIL PROTECTED] import: [EMAIL PROTECTED] import: [EMAIL PROTECTED] - [INFO]
Re: Getting error while trying to build sample RCP Application
Your previous email had exactly zero content, just a subject and your company's disclaimer. So I imagine you included an attachment which was stripped by the Apache mail server before sending the email to the list. So your email appeared to be completely empty except for a subject. That was the problem with the email. Now you've included the content as text in the email and we see the complete log. This entire discussion is a waste of time until you address the settings.xml issue. All of your problems stem from the fact that you do not have your web proxy set up properly. Until you configure it properly, you will not get ANYWHERE with Maven. (This is like complaining to Microsoft that you can't send email from Outlook but you never configured the SMTP server in settings.) So, go configure settings.xml with your proxy settings -- this is documented on the Maven website and in countless emails on this list -- search the archives on Nabble.com for proxy and you're bound to find many examples. Until you do this, your emails to this list will generally be ignored. Also, delete the directory ~/.m2/repository to eliminate invalid metadata. Wayne On 4/19/07, Ramesh Babu Pokala - TLS, Chennai [EMAIL PROTECTED] wrote: Hi Wayne, Can you please tell me the problem with the mail I have sent previously? I want to give you a clear idea about the problem by giving the complete log... Do you feel this as a problem for the group... I did not get your point here. Anyway Sorry for the inconvenience. Please find the log below if you did not receive the same previously. -- I am getting the following error while trying to package the eclipse RCP application C:\Documents and Settings\Administrator\.m2\SampleProject1mvn -e package + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] - --- [INFO] Building Simple Demo [INFO]task-segment: [package] [INFO] - --- Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/apache/mave n/plugins/maven-surefire-plugin/2.2/maven-surefire-plugin-2.2.pom [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/cor e.contenttype/3.2.0.v20060603/core.contenttype-3.2.0.v20060603.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/swt /3.2.0.v3232o/swt-3.2.0.v3232o.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/swt .win32.win32/x86_3.2.0.v3232m/swt.win32.win32-x86_3.2.0.v3232m.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/ui/ 3.2.0.I20060605-1400/ui-3.2.0.I20060605-1400.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/cor e.runtime/3.2.0.v20060603/core.runtime-3.2.0.v20060603.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/equ inox.common/3.2.0.v20060603/equinox.common-3.2.0.v20060603.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/jfa ce/3.2.0.I20060605-1400/jface-3.2.0.I20060605-1400.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/cor e.commands/3.2.0.I20060605-1400/core.commands-3.2.0.I20060605-1400.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/cor e.jobs/3.2.0.v20060603/core.jobs-3.2.0.v20060603.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/equ inox.preferences/3.2.0.v20060601/equinox.preferences-3.2.0.v20060601.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/ui. workbench/3.2.0.I20060605-1400/ui.workbench-3.2.0.I20060605-1400.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/osg i/3.2.0.v20060601/osgi-3.2.0.v20060601.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/equ inox.registry/3.2.0.v20060601/equinox.registry-3.2.0.v20060601.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/codehaus/pl exus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/codehaus/pl exus/plexus-compiler-manager/1.5.3/plexus-compiler-manager-1.5.3.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/codehaus/pl exus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/codehaus/pl exus/plexus-compiler-api/1.5.3/plexus-compiler-api-1.5.3.pom Downloading: http://tntnextgen02:8080/proximity-VBL10/repository/org/codehaus/pl exus/plexus-compiler-javac/1.5.3/plexus-compiler-javac-1.5.3.pom Downloading:
Re: Starting a new java process from within a test case is hanging the maven JVM
On 4/19/07, Balasubramanian, Ravi Shankar [EMAIL PROTECTED] wrote: Hi all, I did work on this and found that maven's java process is not waiting until all other processes started during the build is completed / terminated. Following is what I did: In one of my test cases, I start a new process using the java Runtime class. For experimentation I executed the command notepad on windows which would start a separate process for me. The test case is as follows: Process p = Runtime.getRuntime().exec(notepad); When I do a mvn test, the java process started by the maven build does not exit until the notepad is closed or terminated. Is there a way or configuration in maven to work around such a setting or is maven designed like this? I might want to be starting a server like process in one of my test cases and would want maven to complete the build which currently is not happening. Again, can you provide a thread dump log ? That will help us identify where maven hangs, and help us give you an answer. Jerome - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE: Getting error while trying to build sample RCP Application
Hi, Can you please tell me the problem with the mail I have sent previously? There was no content in it, only a quite long disclaimer... I am getting the following error while trying to package the eclipse RCP application *snip* Have a look at the stack trace: Caused by: org.apache.maven.plugin.PluginManagerException: Unable to find the mojo 'org.apache.maven.plugins:maven-surefire-plugin:2.2:test' in the plugin 'org.apache.maven.plugins:maven-surefire-plugin' ... Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupExc eption: Unable to lookup component 'org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-surefire-plugin:2.2:test', it could not be created ... Caused by: java.lang.NoClassDefFoundError: org/apache/maven/surefire/booter/SurefireExecutionException Can anyone tell me the solution...? As I wrote a couple of times: You should check your network connection and/or proxy settings. Especially on Promixity that you're using, right? HTH Thorsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
POM for common libraries
I have a project (common-data-access) of type pom that is used to group a set of common libraries for reuse. In this case, I group all libraries that I need for a data access project. In each data access project in include common-data-access as typepom/type. I have encountered two issues and I was hoping someone could help me. First, it appears as though artifacts that are defined as scopeprovide/scope in common-data-access are not recognized by projects that include common-data-access. The oracle jar file is one example. In addition, it appears as though dependencies with a test scope are also not recognized by projects that include common-data-access. Below is my pom.xml, am I doing something wrong here? 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 groupIdcom.foo/groupId artifactIdcommon-maven-build/artifactId version8.1-SNAPSHOT/version /parent groupIdcom.foo/groupId artifactIdcommon-data-access/artifactId version8.1-SNAPSHOT/version name${artifactId}/name packagingpom/packaging dependencies dependency groupIdorg.hibernate/groupId artifactIdhibernate/artifactId /dependency dependency groupIdorg.springframework/groupId artifactIdspring/artifactId /dependency dependency groupIdcom.oracle/groupId artifactIdoracle_jdbc/artifactId scopeprovided/scope /dependency dependency groupIdcom.foo/groupId artifactIdcommon-spring-util/artifactId /dependency dependency groupIdcom.foo/groupId artifactIdcommon-configuration/artifactId /dependency dependency groupIdcom.foo/groupId artifactIdcommon-abstract-unit-tests/artifactId typetest-jar/type scopetest/scope /dependency dependency groupIdlog4j/groupId artifactIdlog4j/artifactId scopetest/scope /dependency dependency groupIdcom.foo/groupId artifactIdcommon-configuration/artifactId scopetest/scope typetest-jar/type /dependency /dependencies /project -- View this message in context: http://www.nabble.com/POM-for-common-libraries-tf3607983s177.html#a10080824 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
three questions
Greetings, I am new to Continuum and have three questions. Running Continuum 1.0.3 on Linux (CentoOS 4.4) 1) It seems that I cannot configure Developers (i.e. for email or IM notification) or Dependancies within the web interface for a project if using Ant. Is this only available for Maven2 projects? 2) The continuum.log seems fairly verbose but I noticed that there are some configuration options in application.xml regarding the log file settings (i.e. WARN, INFO, etc) - is there any online information about these settings in application.xml? 3) Is there any way to configure the Schedules to be project specific? Many thanks in advance. Regards, Ben Mills
Re: POM for common libraries
What you're describing actually makes the most sense to me vs what you're expecting... Test scope means: when I am testing this particular artifact, I need to include these dependencies in the classpath. But you're not testing this artifact -- you're simply including it as a dependency of another artifact -- so why in the world would those test scoped artifacts come in? If you need these dependencies to test this other artifact/project, then it must attach them itself. (aka, test scope is not transitive) Provide scope means: I need these artifacts to properly build and use/run the code in this project, but I know these artifacts will be provided by the environment I'll be executing in. When you bring this dependency into another project, suddenly that new project is the environment and so it must ensure that dependency is available in the classpath (through provide or compile scope, as appropriate). (aka, provide scope is not transitive) I think that what you're seeing is exactly how it should work, and your expectations are simply invalid. But I'm happy to be proven wrong or continue this discussion. Wayne On 4/19/07, jp4 [EMAIL PROTECTED] wrote: I have a project (common-data-access) of type pom that is used to group a set of common libraries for reuse. In this case, I group all libraries that I need for a data access project. In each data access project in include common-data-access as typepom/type. I have encountered two issues and I was hoping someone could help me. First, it appears as though artifacts that are defined as scopeprovide/scope in common-data-access are not recognized by projects that include common-data-access. The oracle jar file is one example. In addition, it appears as though dependencies with a test scope are also not recognized by projects that include common-data-access. Below is my pom.xml, am I doing something wrong here? 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 groupIdcom.foo/groupId artifactIdcommon-maven-build/artifactId version8.1-SNAPSHOT/version /parent groupIdcom.foo/groupId artifactIdcommon-data-access/artifactId version8.1-SNAPSHOT/version name${artifactId}/name packagingpom/packaging dependencies dependency groupIdorg.hibernate/groupId artifactIdhibernate/artifactId /dependency dependency groupIdorg.springframework/groupId artifactIdspring/artifactId /dependency dependency groupIdcom.oracle/groupId artifactIdoracle_jdbc/artifactId scopeprovided/scope /dependency dependency groupIdcom.foo/groupId artifactIdcommon-spring-util/artifactId /dependency dependency groupIdcom.foo/groupId artifactIdcommon-configuration/artifactId /dependency dependency groupIdcom.foo/groupId artifactIdcommon-abstract-unit-tests/artifactId typetest-jar/type scopetest/scope /dependency dependency groupIdlog4j/groupId artifactIdlog4j/artifactId scopetest/scope /dependency dependency groupIdcom.foo/groupId artifactIdcommon-configuration/artifactId scopetest/scope typetest-jar/type /dependency /dependencies /project -- View this message in context: http://www.nabble.com/POM-for-common-libraries-tf3607983s177.html#a10080824 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven 2 ear plugin doesn't pick up resources
Thanks, worked like charm. The solution was to have src/main/resources/META-INF/vendor- deployment-descriptor.ext in the project source structure and then reference the resources directory in the pom: build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ear-plugin/artifactId configuration earSourceDirectory src/main/resources /earSourceDirectory /configuration /plugin /plugins /build Johan Eltes Callista Enterprise AB Mobil: +46 (0)708-22 41 86 [EMAIL PROTECTED] http://www.callistaenterprise.se 16 apr 2007 kl. 16.30 skrev Stephane Nicoll: Indeed. Note that resourcesDir is supported but you have to declare it explicitly in the ear plugin configuration. Resourcesdir is deprecated. Regards, Stéphane On 4/16/07, Marcel Schutte [EMAIL PROTECTED] wrote: Hi, You shouldn't use the resources section in the pom for this. Instead take a look at the docs for the ear plugin, especially the earSourceDirectory. Combine this with earSourceIncludes /-Excludes to do what you want. Regards, Marcel - Original Message From: Johan Eltes [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Sent: Friday, April 13, 2007 8:09:56 PM Subject: Re: Maven 2 ear plugin doesn't pick up resources Thanks for the suggestion. I did try it (using the default layout, omitting META-INF). Unfortunately, the xmi file still doesn't make it into the ear. Any other suggestions are appreciated. Johan Eltes Callista Enterprise AB Mobil: +46 (0)708-22 41 86 [EMAIL PROTECTED] http://www.callistaenterprise.se On 12 apr 2007, at 19.23, franz see wrote: Good day, If you're saying you have something like target/artifactName-version/classes/ibm-application-bnd.xmi Then I guess your resources are configured as follows project ... build ... resources ... resource directorysrc/main/resources/META-INF//directory /resource /resources /build /project If so, remove it or use the default project ... build ... resources ... resource directorysrc/main/resources//directory /resource /resources /build /project So that you will have something like target/artifactName-version/classes/META-INF/ibm-application- bnd.xmi But im just guessing here since I haven't tried that before with the ear plugin :-) Cheers, Franz Johan Eltes-3 wrote: I need to build an ear that - in addition to the generated application.xml - adds an existing vendor-specific deployment descriptor to the META-INF directory of the ear. I've tried the standard set-up: projectroot/scr/main/resources/META-INF/ibm-application-bnd.xmi When I invoke mvn install, the application.xml is generated and copied to ear/META-INF/ while ibm-application-bnd.xmi isn't. When looking into the target folder, I see the ibm-application- bnd.xmi has been copied into target/artifactName-version/classes/, but never made its way into the ear (or exploded ear). I see the same behavior on windows and Mac OS. Johan Eltes Callista Enterprise AB Mobil: +46 (0)708-22 41 86 [EMAIL PROTECTED] http://www.callistaenterprise.se - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Maven-2-ear- plugin-doesn%27t-pick-up-resources-tf3565230s177.html#a9964276 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: POM for common libraries
Wayne, Thanks for the reply. What you have described makes sense. I guess I am just looking for a way to avoid including the same test and provided scoped dependencies in multiple projects that follow essentially the same design patterns. Thanks, jp4 Wayne Fay wrote: What you're describing actually makes the most sense to me vs what you're expecting... Test scope means: when I am testing this particular artifact, I need to include these dependencies in the classpath. But you're not testing this artifact -- you're simply including it as a dependency of another artifact -- so why in the world would those test scoped artifacts come in? If you need these dependencies to test this other artifact/project, then it must attach them itself. (aka, test scope is not transitive) Provide scope means: I need these artifacts to properly build and use/run the code in this project, but I know these artifacts will be provided by the environment I'll be executing in. When you bring this dependency into another project, suddenly that new project is the environment and so it must ensure that dependency is available in the classpath (through provide or compile scope, as appropriate). (aka, provide scope is not transitive) I think that what you're seeing is exactly how it should work, and your expectations are simply invalid. But I'm happy to be proven wrong or continue this discussion. Wayne On 4/19/07, jp4 [EMAIL PROTECTED] wrote: I have a project (common-data-access) of type pom that is used to group a set of common libraries for reuse. In this case, I group all libraries that I need for a data access project. In each data access project in include common-data-access as typepom/type. I have encountered two issues and I was hoping someone could help me. First, it appears as though artifacts that are defined as scopeprovide/scope in common-data-access are not recognized by projects that include common-data-access. The oracle jar file is one example. In addition, it appears as though dependencies with a test scope are also not recognized by projects that include common-data-access. Below is my pom.xml, am I doing something wrong here? 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 groupIdcom.foo/groupId artifactIdcommon-maven-build/artifactId version8.1-SNAPSHOT/version /parent groupIdcom.foo/groupId artifactIdcommon-data-access/artifactId version8.1-SNAPSHOT/version name${artifactId}/name packagingpom/packaging dependencies dependency groupIdorg.hibernate/groupId artifactIdhibernate/artifactId /dependency dependency groupIdorg.springframework/groupId artifactIdspring/artifactId /dependency dependency groupIdcom.oracle/groupId artifactIdoracle_jdbc/artifactId scopeprovided/scope /dependency dependency groupIdcom.foo/groupId artifactIdcommon-spring-util/artifactId /dependency dependency groupIdcom.foo/groupId artifactIdcommon-configuration/artifactId /dependency dependency groupIdcom.foo/groupId artifactIdcommon-abstract-unit-tests/artifactId typetest-jar/type scopetest/scope /dependency dependency groupIdlog4j/groupId artifactIdlog4j/artifactId scopetest/scope /dependency dependency groupIdcom.foo/groupId artifactIdcommon-configuration/artifactId scopetest/scope typetest-jar/type /dependency /dependencies /project -- View this message in context: http://www.nabble.com/POM-for-common-libraries-tf3607983s177.html#a10080824 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/POM-for-common-libraries-tf3607983s177.html#a10082195 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
howto set svn:ignore in archetype ?
Hello is there any way to specify svn:ignore metadata as elements of an archetype ? I'd like my archetype to generate a webapp, with target and eclipse .project automatically set as svn:ignore. Any suggestion ? Nico
Re: POM for common libraries
I hear you and don't disagree with the sentiment. I'm not entirely sure how to reduce the management overhead and duplication in this particular case. Wayne On 4/19/07, jp4 [EMAIL PROTECTED] wrote: Wayne, Thanks for the reply. What you have described makes sense. I guess I am just looking for a way to avoid including the same test and provided scoped dependencies in multiple projects that follow essentially the same design patterns. Thanks, jp4 Wayne Fay wrote: What you're describing actually makes the most sense to me vs what you're expecting... Test scope means: when I am testing this particular artifact, I need to include these dependencies in the classpath. But you're not testing this artifact -- you're simply including it as a dependency of another artifact -- so why in the world would those test scoped artifacts come in? If you need these dependencies to test this other artifact/project, then it must attach them itself. (aka, test scope is not transitive) Provide scope means: I need these artifacts to properly build and use/run the code in this project, but I know these artifacts will be provided by the environment I'll be executing in. When you bring this dependency into another project, suddenly that new project is the environment and so it must ensure that dependency is available in the classpath (through provide or compile scope, as appropriate). (aka, provide scope is not transitive) I think that what you're seeing is exactly how it should work, and your expectations are simply invalid. But I'm happy to be proven wrong or continue this discussion. Wayne On 4/19/07, jp4 [EMAIL PROTECTED] wrote: I have a project (common-data-access) of type pom that is used to group a set of common libraries for reuse. In this case, I group all libraries that I need for a data access project. In each data access project in include common-data-access as typepom/type. I have encountered two issues and I was hoping someone could help me. First, it appears as though artifacts that are defined as scopeprovide/scope in common-data-access are not recognized by projects that include common-data-access. The oracle jar file is one example. In addition, it appears as though dependencies with a test scope are also not recognized by projects that include common-data-access. Below is my pom.xml, am I doing something wrong here? 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 groupIdcom.foo/groupId artifactIdcommon-maven-build/artifactId version8.1-SNAPSHOT/version /parent groupIdcom.foo/groupId artifactIdcommon-data-access/artifactId version8.1-SNAPSHOT/version name${artifactId}/name packagingpom/packaging dependencies dependency groupIdorg.hibernate/groupId artifactIdhibernate/artifactId /dependency dependency groupIdorg.springframework/groupId artifactIdspring/artifactId /dependency dependency groupIdcom.oracle/groupId artifactIdoracle_jdbc/artifactId scopeprovided/scope /dependency dependency groupIdcom.foo/groupId artifactIdcommon-spring-util/artifactId /dependency dependency groupIdcom.foo/groupId artifactIdcommon-configuration/artifactId /dependency dependency groupIdcom.foo/groupId artifactIdcommon-abstract-unit-tests/artifactId typetest-jar/type scopetest/scope /dependency dependency groupIdlog4j/groupId artifactIdlog4j/artifactId scopetest/scope /dependency dependency groupIdcom.foo/groupId artifactIdcommon-configuration/artifactId scopetest/scope typetest-jar/type /dependency /dependencies /project -- View this message in context: http://www.nabble.com/POM-for-common-libraries-tf3607983s177.html#a10080824 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/POM-for-common-libraries-tf3607983s177.html#a10082195 Sent from the Maven - Users mailing list archive at Nabble.com. -
Re: Exception in large maven2 build: Too many open files
Use the unix ulimit command to find out, and increase, the number of available file handles. You may find it's different between the two machines. David On Thu, 19 Apr 2007 17:23:37 +0200, Ivo van Dongen [EMAIL PROTECTED] said: Hi, Thanks for the quick reply. So this is a known issue? Is there some way around this? The silly thing is that on my dev machine the thing builds just fine, but the build server has a problem (ubuntu 6.0.6 vs debian stable). Regards, Ivo It seems to be a bug in plexus-archiver. I see only one solution, look at plexus-archiver code and fix it to close files that aren't closed. Emmanuel Ivo van Dongen a écrit : Hi, We ran into a problem with a large maven2 build. In the last stages of the build (creating the war) an exception is thrown saying that there are too many open files. We're using continuum 1.0.3 on a debian (stable) server. We've already upped the system/process file handle limits. The last part of the maven output: [INFO] [war:war] [INFO] Exploding webapp... [INFO] Copy webapp webResources to /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT [INFO] Copy webapp webResources to /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT [INFO] Assembling webapp tesis in /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT [INFO] Generating war /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT.war [INFO] Building war: /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT.war [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error assembling WAR: Problem creating war: /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT/WEB-INF/lib/XmlSchema-1.1.jar (Too many open files) [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error assembling WAR: Problem creating war: /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT/WEB-INF/lib/XmlSchema-1.1.jar (Too many open files) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Error assembling WAR: Problem creating war: /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT/WEB-INF/lib/XmlSchema-1.1.jar (Too many open files) at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:149) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534) ... 16 more Caused by: org.codehaus.plexus.archiver.ArchiverException: Problem creating war: /opt/continuum-1.0.3/apps/continuum/working-directory/55/target/ROOT/WEB-INF/lib/XmlSchema-1.1.jar (Too many open files) at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchiveMain(AbstractZipArchiver.java:403) at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchive(AbstractZipArchiver.java:229) at org.apache.maven.archiver.MavenArchiver.createArchive(MavenArchiver.java:332) at org.apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java:183) at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:133) ... 18 more
Where should assembly descriptors really be stored?
Hi, The standard directory layout page says that assembly descriptors should go in src/main/assembly. But the maven assembly plugin usage page says that assembly descriptors should go in src/assembly. Which is actually preferred? -- Dan MacMillan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: 1.1 alpha 1 release?
Where can I find the collection of issues which have been resolved with this release? Thanks. -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 10:50 AM To: [EMAIL PROTECTED] Subject: Re: 1.1 alpha 1 release? A tag is created before the release, so we can test the tag. If it is correct and the vote (not started yet) is ok, we perform the release. Emmanuel LAMY Olivier a écrit : Hi, Just to know why there is already a tag ? https://svn.apache.org/repos/asf/maven/continuum/tags/continuum-1.1-alpha-1/ An undocumented release :-) -- Olivier -Message d'origine- De : Emmanuel Venisse [mailto:[EMAIL PROTECTED] Envoyé : jeudi 19 avril 2007 14:45 À : [EMAIL PROTECTED] Objet : Re: 1.1 alpha 1 release? Next week. Emmanuel Eric Miles a écrit : Any idea when 1.1 alpha 1 will be released? I'm certain the Continuum community is excited about a release that contains 342 resolved issues. Thanks! This e-mail, any attachments and the information contained therein (this message) are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited. -- Ce message électronique et tous les fichiers joints ainsi que les informations contenues dans ce message ( ci après le message ), sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites. - This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]
snapshot dependency gets duplicate jars
Hi All, some of our team has this problem, they have dependency in their project which is a snapshot version (lets say a-snashot.jar) so when they build their artifact in their final ear file they are seeing multiple jar as a-snapshot.jar,a-{Date.timestamp}.jar, I've seen thread about this issue sometime, back but i couldn't find it, Can anyone help here please. Note : Lets say i don't wanna use uniqueVersion, Thanks, Disclaimer: This electronic mail and any attachments are confidential and may be privileged. If you are not the intended recipient, please notify the sender immediately by replying to this email, and destroy all copies of this email and any attachments. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: three questions
1. You could embed your Ant build.xml files in Maven 2 shell projects. This would solve this issue. 2. For the meaning of these levels, please research log4j. 3. After you create your schedules, you can assign specific schedules to specific projects on a project-by-project basis. Thanks. -Original Message- From: Ben Mills [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 12:24 PM To: [EMAIL PROTECTED] Subject: three questions Greetings, I am new to Continuum and have three questions. Running Continuum 1.0.3 on Linux (CentoOS 4.4) 1) It seems that I cannot configure Developers (i.e. for email or IM notification) or Dependancies within the web interface for a project if using Ant. Is this only available for Maven2 projects? 2) The continuum.log seems fairly verbose but I noticed that there are some configuration options in application.xml regarding the log file settings (i.e. WARN, INFO, etc) - is there any online information about these settings in application.xml? 3) Is there any way to configure the Schedules to be project specific? Many thanks in advance. Regards, Ben Mills This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]
Re: 1.1 alpha 1 release?
On 4/19/07, Morgovsky, Alexander (US - Glen Mills) [EMAIL PROTECTED] wrote: Where can I find the collection of issues which have been resolved with this release? Thanks. http://jira.codehaus.org/browse/CONTINUUM - Release Notes - select version and style - Create - http://jira.codehaus.org/secure/ReleaseNote.jspa?version=12082styleName=TextprojectId=10540Create=Create -- Wendy
Re: three questions
Many thanks for your fast response - much appreciated. Will try these out... Regards, Ben On Apr 19, 2007, at 1:38 PM, Morgovsky, Alexander ((US - Glen Mills)) wrote: 1. You could embed your Ant build.xml files in Maven 2 shell projects. This would solve this issue. 2. For the meaning of these levels, please research log4j. 3. After you create your schedules, you can assign specific schedules to specific projects on a project-by-project basis. Thanks. -Original Message- From: Ben Mills [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 12:24 PM To: [EMAIL PROTECTED] Subject: three questions Greetings, I am new to Continuum and have three questions. Running Continuum 1.0.3 on Linux (CentoOS 4.4) 1) It seems that I cannot configure Developers (i.e. for email or IM notification) or Dependancies within the web interface for a project if using Ant. Is this only available for Maven2 projects? 2) The continuum.log seems fairly verbose but I noticed that there are some configuration options in application.xml regarding the log file settings (i.e. WARN, INFO, etc) - is there any online information about these settings in application.xml? 3) Is there any way to configure the Schedules to be project specific? Many thanks in advance. Regards, Ben Mills This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]
Tasks aren't run for the maven-antrun-plugin
When I run 'mvn antrun:run', I see the following output in the console: [INFO] [antrun:run] [INFO] Executing tasks [INFO] Executed tasks [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 2 seconds [INFO] Finished at: Thu Apr 19 13:50:28 EDT 2007 [INFO] Final Memory: 24M/64M [INFO] Why are my tasks not being run? Here is the plugin in my pom.xml. plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-antrun-plugin/artifactId version1.1/version executions execution configuration phasedeploy/phase goals goalrun/goal /goals tasks echo message=Entering build.xml/ ant antfile=build.xml target=svn.commit inheritAll=false/ /tasks /configuration /execution /executions /plugin Thanks, Doug Tanner Configuration Management Engineer Benefitfocus.com, Inc. BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) ***
[m2] Best Practices for pom description... data for site documentation
I have the following in my root pom.xml: nameShared Services/name description Delta Dental Enterprise Shared Services Project Descriptor Add More details here --- * please /description I am trying to find some best practices to add more detail to each page? APT and HTML format do not seem to work. -- --- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.com http://www.djmick.com http://www.myspace.com/mickknutson http://www.myspace.com/djmick_dot_com http://www.myspace.com/sexybeotches http://www.thumpradio.com ---
antlib - fails to grab snapshot dependencies?
I'm using Antlib for Maven 2.0.4 to get a reference to the dependencies in my pom for use in some ant targets. It works fine (though you have to fiddle with your pom to get rid of the NPE's), but now it won't reference the snapshot dependencies. I've tried a bunch of different useScope values, but none will ref these snapshots (which are not only deployed but also installed and in common use by other maven goals). artifact:dependencies pathId=dependency.classpath filesetId=compile.dependency.fileset useScope=compile pom refid=maven.project/ /artifact:dependencies What do I need to do? Thanks, J -- Julian Wood [EMAIL PROTECTED] Software Engineer Teaching Learning Centre University of Calgary http://tlc.ucalgary.ca - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Best Practices for pom description... data for site documentation
On 4/19/07, Mick Knutson [EMAIL PROTECTED] wrote: I have the following in my root pom.xml: ... I am trying to find some best practices to add more detail to each page? APT and HTML format do not seem to work. I think description is just meant to be a paragraph... if you need more, create src/site/apt/index.apt and that will replace the generated page. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Best Practices for pom description... data for site documentation
Can I do the same with an xdoc page? eg. src/site/xdoc/index.xml On 4/19/07, Wendy Smoak [EMAIL PROTECTED] wrote: On 4/19/07, Mick Knutson [EMAIL PROTECTED] wrote: I have the following in my root pom.xml: ... I am trying to find some best practices to add more detail to each page? APT and HTML format do not seem to work. I think description is just meant to be a paragraph... if you need more, create src/site/apt/index.apt and that will replace the generated page. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- --- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.com http://www.djmick.com http://www.myspace.com/mickknutson http://www.myspace.com/djmick_dot_com http://www.myspace.com/sexybeotches http://www.thumpradio.com ---
Registration emails not being sent
I have deployed the Archiva SNAPSHOT, most recent revision 530476, web-app to Tomcat 5.5.23 on Unix. I have followed all the Tomcat setup instructions. I have Continuum installed on this server as well. I get emails from the Continuum SNAPSHOT for builds, but none for registration as well. I have updated the application.xml file and supplied the correct email settings for Archiva. component roleorg.codehaus.plexus.mailsender.MailSender/role implementationorg.codehaus.plexus.mailsender.javamail.JavamailMailSender/implementation configuration smtpHostx.x.xxx/smtpHost smtpPort/smtpPort username/username password/password /configuration /component Is this a known issue. Can't find one in Jira. No stacktrace for debug information is logged either when registering the user. The user does get created in Archiva. -- Eric Garza -- View this message in context: http://www.nabble.com/Registration-emails-not-being-sent-tf3608829.html#a10083778 Sent from the archiva-users mailing list archive at Nabble.com.
Re: Registration emails not being sent
On 4/19/07, egarza [EMAIL PROTECTED] wrote: I have deployed the Archiva SNAPSHOT, most recent revision 530476, web-app to Tomcat 5.5.23 on Unix. I have followed all the Tomcat setup instructions. Nothing in the logs? I'm surprised... http://docs.codehaus.org/display/MAVENUSER/Archiva+on+Tomcat WARNING: The Tomcat 5.5.20 and 5.5.23 releases are missing MailSessionFactory and a few other classes. JNDI mail sessions will not work. Use Tomcat 5.5.17 or see the workaround on Bug 40668. -- Wendy
Re: [m2] Best Practices for pom description... data for site documentation
On 4/19/07, Mick Knutson [EMAIL PROTECTED] wrote: Can I do the same with an xdoc page? eg. src/site/xdoc/index.xml Sure, pick whichever format you prefer. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JNDI mail/Session not located and Register emails not being sent
Issue 1: I have deployed the most recent Continuum SNAPSHOT to Tomcat 5.5.23 on AIX, revision 530476. I have used the TOMCAT setup instructions from the wiki. When using JNDI I have setup the context correctly I think. Resource name=mail/Session type=javax.mail.Session auth=Container mail.smtp.user=x password=xx mail.transport.protocol=smtp mail.smtp.auth=true mail.smtp.host=.xxx.xxx mail.debug=true mail.from=[EMAIL PROTECTED]/ I have applied the fix for the MailSession issue. Everytime an email gets sent I get an SMTP AuthenticationFailed exception, as my Relay server requires authentication. It seems the rest of the attributes are ignored from continuum.xml. If I replace the JNDI MailSender component in application.xml with this, emails get sent correctly: component roleorg.codehaus.plexus.mailsender.MailSender/role implementationorg.codehaus.plexus.mailsender.javamail.JavamailMailSender/implementation configuration smtpHostx.x.xxx/smtpHost smtpPort/smtpPort username/username password/password /configuration /component Issue 2: With the application.xml change above, which allows Continuum to send emails on builds, when a user registers, they are not emailed by Continuum. -- Eric Garza -- View this message in context: http://www.nabble.com/JNDI-mail-Session-not-located-and-Register-emails-not-being-sent-tf3608915.html#a10084063 Sent from the Continuum - Users mailing list archive at Nabble.com.
Re: [m2] Best Practices for pom description... data for site documentation
I created src/site/xdoc/utilities/index.xml But it did not seem to over write the index page. I still get the same one. I tested renaming it, and it creates the file then. On 4/19/07, Wendy Smoak [EMAIL PROTECTED] wrote: On 4/19/07, Mick Knutson [EMAIL PROTECTED] wrote: Can I do the same with an xdoc page? eg. src/site/xdoc/index.xml Sure, pick whichever format you prefer. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- --- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.com http://www.djmick.com http://www.myspace.com/mickknutson http://www.myspace.com/djmick_dot_com http://www.myspace.com/sexybeotches http://www.thumpradio.com ---
List for plugin developer?
Is there any list for plugin developers? I find myself writing more and more plugins of increasing complexity and would love to have somebody to discuss them with. Thanks Liz Liz Sommers [EMAIL PROTECTED]