Re: Setting classpath during junit execution
"Larry Suto" <[EMAIL PROTECTED]> writes: > Hi was wondering if anyone knows how I would set a classpath to a jdbc > properties file that is required by by a Junit test executed during > the Maven build. > > Would it work if I placed it in the test resources area. Yes. Anything residing in src/test/resources will be picked up from the classpath *before* anything in src/main/resources. Jim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
generating site for multiproject
hi all, how can i generate only one site for my multiproject? i want to avoid to put 'hardcoded' references to point to sites of my subprojects, i was wondering if maven could do an 'all in one' site.. any help? thanks in advance and regards marco
RE: How to share a common checkstyle config across modules?
Hi Tim, I recently did something like this (with PMD instead). I used then someone suggested I not use it -- it seems is headed towards deprecation. Instead under build/plugins/plugin add you stuff as a dependency. Something like this: org.apache.maven.plugins maven-checkstyle-plugin com.xxx -checkstyle 1.0.o Regards, Chris -Original Message- From: Tim Foster [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 11:51 AM To: Maven Users List Subject: RE: How to share a common checkstyle config across modules? Thanks, Gerald. This is exactly what I wanted and it worked just as you described. This mechanism will be useful for many other applications. Tim -Original Message- From: Nunn, Gerald [mailto:[EMAIL PROTECTED] Sent: Thursday, May 17, 2007 1:52 PM To: Maven Users List Subject: RE: How to share a common checkstyle config across modules? I jar my checkstyle configuration and then store it in an intranet Maven repository. Projects can then declare a dependency on this jar using the extensions tag in the build section of pom.xml. For example: com. -checkstyle 1.0.0 org.apache.maven.plugins maven-checkstyle-plugin config/cibc_checks.xml The configLocation is the classpath location in the -checkstyle.jar. Hope this helps. Gerald - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ** This communication and all information (including, but not limited to, market prices/levels and data) contained therein (the "Information") is for informational purposes only, is confidential, may be legally privileged and is the intellectual property of ICAP plc and its affiliates ("ICAP") or third parties. No confidentiality or privilege is waived or lost by any mistransmission. The Information is not, and should not be construed as, an offer, bid or solicitation in relation to any financial instrument or as an official confirmation of any transaction. The Information is not warranted, including, but not limited, as to completeness, timeliness or accuracy and is subject to change without notice. ICAP assumes no liability for use or misuse of the Information. All representations and warranties are expressly disclaimed. The Information does not necessarily reflect the views of ICAP. Access to the Information by anyone else other than the recipient is unauthorized and any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it is prohibited. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [groovy-user] Let your Mojo's be Groovy baby!
Sorry, I never got these emails in my inbox... dunno why. So I haven't just been ignoring you ;-) Anyways, looks like a bug in the Groovy descriptor extractor. I've filled an issue here: http://jira.codehaus.org/browse/MGROOVY-40 Will try to get that fixed asap. --jason Andrew Perepelytsya wrote: > > In a nice tradition of answering one's own questions... ;) > > Jason't other thread about site goal and similar symptoms gave me another > idea, which finally shaped into a solution. This could be included in the > Groovy m2 plugins development guide, smth under 'Building Groovy m2 > plugins in a reactor/multi-module project'. > > Full poms are available at the above mentioned SVN locations, I'll post > snippets here only. > > Parent: > === > > > > org.apache.maven.plugins > maven-plugin-plugin > > > > java > > > > > > > org.codehaus.mojo > groovy-mojo-tools > 1.0-alpha-3-SNAPSHOT > > > > > > > > The key here is the dependency of the plugin AND extractor configuration. > It's critical to not enable groovy extractor for plugins implemented in > Java, as maven will try to process them with both java and groovy and > fail. > > Child m2 plugin project implemented in groovy (the same build/plugins > section): > === > > org.apache.maven.plugins > maven-plugin-plugin > > > > groovy > > > > > Hope it saves much pain to others. And the best part is those settings are > available in released m2 plugins, which lessens the snapshot pain. > > Cheers! > Andrew > -- View this message in context: http://www.nabble.com/-groovy-user--Let-your-Mojo%27s-be-Groovy-baby%21-tf3529339s177.html#a10689632 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Setting classpath during junit execution
Hi was wondering if anyone knows how I would set a classpath to a jdbc properties file that is required by by a Junit test executed during the Maven build. Would it work if I placed it in the test resources area. Thanks, Larry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: M2 Repository Resolution
This sounds a lot like a problem I was seeing. I haven't have very much time to investigate, but it appears as though Maven gets to the first repository and it does have an entry for the groupId and artifactId, but not the particular version of the artifact. However, instead of going on to the other repositories, Maven just gives up and says it can't find it. Could that be what you're seeing as well? ..David.. -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, May 17, 2007 8:46 PM To: Maven Users List Subject: Re: M2 Repository Resolution On 5/17/07, Morgovsky, Alexander (US - Glen Mills) <[EMAIL PROTECTED]> wrote: > I define three repositories, but when the build does not find the > dependency in the first repository, the build fails. Specifically, the > build does not proceed to search the other two repositories for the > dependency. Why could this be? Thanks. Sorry, there isn't enough information here to help... Where/how did you define the repositories? What command did you execute, and what is the exact error message? It's probably not relevant to this problem but it never hurts to tell us what version you're using. :) If you can get on irc (#maven on codehaus, there's a web interface here: http://irc.codehaus.org/) we can probably sort it out fairly quickly. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Properties files in a WAR artifact...
Hi Nelz, Let me throw some ideas at you and take what you can. Here is what I do for all our internal projects: In the project's parent POM I have this: profile-db-postgresql org.postgresql.Driver someusername somepassword jdbc:postgresql://localhost:5432/somedatabase?autoReconnect=true profile-db-postgresql This allows me to activate databases based on a command line switch (I know you don't like this approach). Your class files are probably loading them from some properties files. That properties files can be then included in your WAR or JAR and loaded from the classpath. In the example above, I have a sub project that builds a EJB3 jar. I use the resource substitution via my pom.xml like: src/main/resources true So within my project, I have a src/main/resources where I stick my files that I want to be filtered. Btw, the resources directory is the default directory for a JAR to pick up extra files so I know it will be included in my final target output when I launch a build. Obviously the file included in src/main/resources looks like this: someapp.jdbc.ClassName = ${jdbc.driverClassName} someapp.jdbc.userName = ${jdbc.userName} ... etc. You could even have maven filter frame specific files such as an iBatis config or Hibernate file. I actually use the above approach to filter out datasource xml files for JBoss deployments. Your looking for per user username and password I suppose, so as per: http://maven.apache.org/guides/introduction/introduction-to-profiles.html You can EASILY do this via user specific profiles (I'm using the global POM based one, but the same approach applies, just change where the profile file is loaded from). Hopefully some of this helps, -aps On 5/18/07, Nelz <[EMAIL PROTECTED]> wrote: Hey All... I think I'm hitting one of the biggest problem areas in Maven: Properties. I'll put my requirement first, and the wrinkles I see after that. 1) I need to have a default set of properties for db connection (host, port, username, password) that end up next to my compiled .class files. - Ok: User resource filtering. But where to put the default property values in the POM? 2) I need each user to be able to override the default in their own environment. - My users are new, so I'd rather not make then specify anything "extra" at the command line. (I'd prefer documenting a changes to "settings.xml" first.) - Can I have them specify their values in a /settings/profiles/profile (that is meant to be an xpath-ish descriptor for example specification only) section? X-3-X) I also need this to work with the jetty:run (Jetty 6) plugin... (I didn't know if the resource filtering would work, but I just checked and the Jetty6 plugin has /target/classes as the first entry in the classpath... So, I am good on this point.) Am I going about this the wrong way? Isn't 2-tier web-app development explicitly requiring "non-portability"? - nelz Here's what I've gathered so far from: 1a) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- "What lies behind us and what lies in front of us is of little concern to what lies within us." -Ralph Waldo Emerson
Add and Label Artifact in SCM after Release:Perform
We are in the process of converting our build lifecycle from using ANT to Maven and are using Subversion as a SCM repository. Our desire is to version in SCM the project source and Pom.xml. However, not the "Target" directory. This is already working by using the release:prepare and release:perform goals. We are able to perform a complete build, label the source in SCM and move our artifacts to our Proximity repository. Our problem: However, after the release:perform, we desire to add the project artifact (ProjectName.war) in our Subversion repository (without the version number), tag the artifact, and copy the artifact to a specific directory (Tomcat webapps). Can anyone provide assistance how to perform this task? Lastly, if a new goal is necessary, any recommendation how to bind this new goal to the lifecycle to run after the release:perform? Any assistance is appreciated. Thanks in advance... Regards, Neil Hall Confidentiality Notice: This e-mail is intended only for the personal and confidential use of the individual to whom it is addressed and may contain information that is privileged, confidential and protected by law. If you are not the intended recipient, you are hereby notified that any use or disclosure of this information is strictly prohibited. If you have received this message in error, please notify the sender immediately by reply e-mail and delete the original message. Your compliance is appreciated. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Properties files in a WAR artifact...
Hey All... I think I'm hitting one of the biggest problem areas in Maven: Properties. I'll put my requirement first, and the wrinkles I see after that. 1) I need to have a default set of properties for db connection (host, port, username, password) that end up next to my compiled .class files. - Ok: User resource filtering. But where to put the default property values in the POM? 2) I need each user to be able to override the default in their own environment. - My users are new, so I'd rather not make then specify anything "extra" at the command line. (I'd prefer documenting a changes to "settings.xml" first.) - Can I have them specify their values in a /settings/profiles/profile (that is meant to be an xpath-ish descriptor for example specification only) section? X-3-X) I also need this to work with the jetty:run (Jetty 6) plugin... (I didn't know if the resource filtering would work, but I just checked and the Jetty6 plugin has /target/classes as the first entry in the classpath... So, I am good on this point.) Am I going about this the wrong way? Isn't 2-tier web-app development explicitly requiring "non-portability"? - nelz Here's what I've gathered so far from: 1a) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Merge assemblies across projects?
Hello List, I have a couple projects (each with their own assemblies) as modules of a current project. Is there a way I can have their generated assemblies merged when I call assembly:assembly? thanks, Mark ~ Mark R. Diggory - DSpace Systems Manager MIT Libraries, Systems and Technology Services Massachusetts Institute of Technology - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
eclipse plugin for maven - first letter missing in .classpath file
Hello I have a problem with eclipse plugin for maven 2 (i'm using maven 2.0.6). it generates wrong .classpath file - all classpath entries describing external jars have missing first letter (after M2_REPO env variable). let take an example: i found that someone already had this problem with maven, but there was no solution for it. do anybody know how to deal with that ? thanks in advance Kamil Pietak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Assembly filtering
It seems filtering is broken in the latest release of the assembly plugin (2.2-beta-1). The tip describing how to combine a element with a element to filter a select number of files within the directory named by a used to work in 2.1, but not now. The tip is here: http://maven.apache.org/plugins/maven-assembly-plugin/examples/single/filtering-some-distribution-files.html I do see properly filtered files beneath target/archive-tmp but not in the actual assembly file. It's as if the fileSet overwrites the filtered files, or maybe they're never even added to the archive. The only thing I've been able to get to filter properly is a single element with no other elements in the assembly descriptor. But that doesn't work for me since I'm only filtering a small subset of the directory of files I'm assembling. Adding a true element to a (supposedly supported in 2.2) does not work at all. I hate to go back to 2.1 since dependency resolution is so broken there, though filtering does seem to work ok. In case I'm doing something horribly stupid, has *anyone* gotten filtering to work with in version 2.2? Thanks, Jim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: m2 update plugin version
Just run the plugin like you normally do, and include -cpu to force an update check. Wayne On 5/18/07, DM <[EMAIL PROTECTED]> wrote: Hi, Thanks for the advice. But how do I specify the plugin that I want it to update? I guessed: mvn -Dplugin=eclipse -cpu But apparently my guess was wrong. Thanks, Don - Original Message From: Wayne Fay <[EMAIL PROTECTED]> To: Maven Users List Sent: Friday, 18 May, 2007 12:08:41 PM Subject: Re: m2 update plugin version mvn -h displays help. Among the options, you'll see -cpu which updates plugin. Wayne On 5/18/07, DM <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to update the version of the eclipse plugin version that I have installed. I'm referring to the "eclipse:eclipse" command-line plugin, not the Eclipse IDE plugin. > > When I run the command: > > mvn -Dplugin=eclipse help:describe > > > I see that I have version 2.2 of this plugin installed. In maven1, I could have updated it by running: > > maven -DartifactId=maven-eclipse-plugin -DgroupId=org.apache.maven.plugins -Dversion=2.3 plugin:download > > > But how can I do this in Maven2? > > Thanks in Advance, > Don > > > ___ > Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for > your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html > > - > 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] ___ What kind of emailer are you? Find out today - get a free analysis of your email personality. Take the quiz at the Yahoo! Mail Championship. http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: m2 update plugin version
Hi, Thanks for the advice. But how do I specify the plugin that I want it to update? I guessed: mvn -Dplugin=eclipse -cpu But apparently my guess was wrong. Thanks, Don - Original Message From: Wayne Fay <[EMAIL PROTECTED]> To: Maven Users List Sent: Friday, 18 May, 2007 12:08:41 PM Subject: Re: m2 update plugin version mvn -h displays help. Among the options, you'll see -cpu which updates plugin. Wayne On 5/18/07, DM <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to update the version of the eclipse plugin version that I have > installed. I'm referring to the "eclipse:eclipse" command-line plugin, not > the Eclipse IDE plugin. > > When I run the command: > > mvn -Dplugin=eclipse help:describe > > > I see that I have version 2.2 of this plugin installed. In maven1, I could > have updated it by running: > > maven -DartifactId=maven-eclipse-plugin -DgroupId=org.apache.maven.plugins > -Dversion=2.3 plugin:download > > > But how can I do this in Maven2? > > Thanks in Advance, > Don > > > ___ > Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for > your free account today > http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html > > - > 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] ___ What kind of emailer are you? Find out today - get a free analysis of your email personality. Take the quiz at the Yahoo! Mail Championship. http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Assembly my dependencies
Hi! I would like to create an assembly with all artifacts that my project depends on so that the archive can easily be used to update an internal repository with the artifacts used by your project. Like is described at: http://maven.apache.org/plugins/maven-assembly-plugin/examples/single/using-repositories.html But when I do what is described there, I get a jar file but inside the maven2 directory is empty. I don't understand, because the assembly descriptor is copy paste form the maven page. Any ideas ? Regards, Rodrigo. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Sudden change to SNAPSHOT behaviour
Hi all, I have a weird problem that has just struck - in the past, I have used "mvn deploy" to deploy snapshot packages to our internal repository, so that "mvn install" can pull down those snapshots to other environments. All of a sudden, mvn deploy complains that my snapshot artifact cannot be found. Turns out that mvn deploy has uploaded a file like this: alchemy-transformer-4.0.28-20070518.155230-1-R2006b-windows-x86.jar While mvn install is trying to download a file like this: alchemy-transformer-4.0.28-SNAPSHOT-R2006b-windows-x86.jar And the install fails. Does anyone know why mvn deploy no longer deploys -SNAPSHOT jars to the repository, or why the install plugin no longer downloads - jars from the repository? I am using mvn 2.0.4 for upload, and mvn v2.0.6 for download. Regards, Graham -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: m2 update plugin version
mvn -h displays help. Among the options, you'll see -cpu which updates plugin. Wayne On 5/18/07, DM <[EMAIL PROTECTED]> wrote: Hi, I'm trying to update the version of the eclipse plugin version that I have installed. I'm referring to the "eclipse:eclipse" command-line plugin, not the Eclipse IDE plugin. When I run the command: mvn -Dplugin=eclipse help:describe I see that I have version 2.2 of this plugin installed. In maven1, I could have updated it by running: maven -DartifactId=maven-eclipse-plugin -DgroupId=org.apache.maven.plugins -Dversion=2.3 plugin:download But how can I do this in Maven2? Thanks in Advance, Don ___ Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html - 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 share a common checkstyle config across modules?
Thanks, Gerald. This is exactly what I wanted and it worked just as you described. This mechanism will be useful for many other applications. Tim -Original Message- From: Nunn, Gerald [mailto:[EMAIL PROTECTED] Sent: Thursday, May 17, 2007 1:52 PM To: Maven Users List Subject: RE: How to share a common checkstyle config across modules? I jar my checkstyle configuration and then store it in an intranet Maven repository. Projects can then declare a dependency on this jar using the extensions tag in the build section of pom.xml. For example: com. -checkstyle 1.0.0 org.apache.maven.plugins maven-checkstyle-plugin config/cibc_checks.xml The configLocation is the classpath location in the -checkstyle.jar. Hope this helps. Gerald - 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: Non-terminating Builds
I cannot find the build ID in the SA.TABLE.BUILDRESULT table, as the latest build ID from the GUI is 1500 and that in this table is 1200. I am looking at SA.TABLE.BUILDRESULT.PROJECT_ID_IOD and SA.TABLE.PROJECT.ID, but I cannot find find a way to relate these two tables. Where can I find the rest of the build results? -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 11:18 AM To: [EMAIL PROTECTED] Subject: Re: Non-terminating Builds ok, what is the state of your 3 build in the db and the state of the related project? Morgovsky, Alexander (US - Glen Mills) a écrit : > Right, but if the "end date" field is set for all the builds, where do I find > the 3 builds which never terminated? > > -Original Message- > From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] > Sent: Friday, May 18, 2007 10:23 AM > To: [EMAIL PROTECTED] > Subject: Re: Non-terminating Builds > > In the Build Result table, you should have a endTime field. > > Morgovsky, Alexander (US - Glen Mills) a écrit : >> I am using 1.0.3. I have three builds running in a particular project. The >> "end date" filed in the database is not set for any projects. Thus, what is >> the name of the table which will hold these three failed builds, as the >> Build Result table does not have them? >> >> -Original Message- >> From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] >> Sent: Friday, May 18, 2007 10:01 AM >> To: [EMAIL PROTECTED] >> Subject: Re: Non-terminating Builds >> >> No, it only the "end date" field in the database that isn't set. >> >> Morgovsky, Alexander (US - Glen Mills) a écrit : >>> I think the build is still running because the time elapsed for the >>> build is constantly increasing. >>> >>> -Original Message- >>> From: Tomislav Stojcevich [mailto:[EMAIL PROTECTED] >>> Sent: Friday, May 18, 2007 8:28 AM >>> To: [EMAIL PROTECTED] >>> Subject: Re: Non-terminating Builds >>> >>> It doesn't sound like the build is still running. It sounds like the >>> project still looks like it's building because of the icon. I've had >>> this happen several times. >>> >>> I clear it up by adding a build definition to the project and specify >>> the goal as -v (which just gives the maven version) then I run that >>> build definition. >>> >>> >>> 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: How to handle inter-project dependencies
Hi again, No answer to this one in a few days, so I would have to suppose that it is not possible to solve this using standard Continuum features? In the mean time, our solution is a symlink in Continuum's working directory to a checked-out version of the 'common' project. When the builds fail due to a change in the common part, we simply have to update that and we can get by, more or less. >From our perspective, this type of project linking is a necessary feature of a continuous integration server. I've been very much in favour of Continuum over Cruisecontrol due to its simplicity of configuration. But Cruisecontrol lets me solve this particular problem, so if there really is no solution using Continuum, I guess that Cruisecontrol has to be the tool we use after all. I have added this as a feature request to JIRA. I really hope it can be implemented, because it is a necessity for us and I don't at all enjoy the prospect of going back to the complexity of configuring Cruisecontrol again.. :( / Petter > -Original Message- > From: Petter Måhlén [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 15, 2007 3:32 PM > To: [EMAIL PROTECTED] > Subject: How to handle inter-project dependencies > > Hi, > > We have a setup that works well during development but > doesn't agree with > Continuum's philosophy of how to handle things - or so it > seems to me. I > think there is a point in doing it another way than we are, > but I am not > sure how. Hopefully, somebody here can enlighten me. :) > > We have three projects: > > 1. 'common', which basically contains an XML schema > definition file for code > generation with XJC (other things as well, but that's > probably not relevant > for the issue at hand). > > 2. 'client', which is built using Ant (for historical > reasons, would have > preferred Maven but no time to fix that yet). One step of the > build looks > like so: > > > > > > > > >value="${common.dir}/src/main/schemas/database.xsd"/> > > > > In our local environments, '${common.dir}' points to a > directory where the > source code of the 'common' project resides (../common by default). > > 3. 'server', which is built using Maven, and which contains > the following > dependency: > > ... > > ... > > > com.sun.tools.xjc.maven2 > maven-jaxb-plugin > > > > generate > > > > > > se.jadestone.hc.client.database > > ../common/src/main/schemas > true > true > > > > > > Since we cannot know (I think) which directory name Continuum > will choose > when checking out and building the 'common' project, both of > these builds > fail. As far as I have been able to figure out, both the XJC > tool and the > maven-jaxb-plugin require that we specify an explicit path to > the file to > generate code from, so it doesn't seem to be an option to use > the jar file > that we actually build from other things in the 'common' > project. I would > like to get away from using explicit paths the way we are, > but I am not sure > how. > > Does anybody have a solution to this problem? We're using > 1.0.3, by the way. > > Thanks in advance, > > Petter > > >
Re: Non-terminating Builds
ok, what is the state of your 3 build in the db and the state of the related project? Morgovsky, Alexander (US - Glen Mills) a écrit : Right, but if the "end date" field is set for all the builds, where do I find the 3 builds which never terminated? -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 10:23 AM To: [EMAIL PROTECTED] Subject: Re: Non-terminating Builds In the Build Result table, you should have a endTime field. Morgovsky, Alexander (US - Glen Mills) a écrit : I am using 1.0.3. I have three builds running in a particular project. The "end date" filed in the database is not set for any projects. Thus, what is the name of the table which will hold these three failed builds, as the Build Result table does not have them? -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 10:01 AM To: [EMAIL PROTECTED] Subject: Re: Non-terminating Builds No, it only the "end date" field in the database that isn't set. Morgovsky, Alexander (US - Glen Mills) a écrit : I think the build is still running because the time elapsed for the build is constantly increasing. -Original Message- From: Tomislav Stojcevich [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 8:28 AM To: [EMAIL PROTECTED] Subject: Re: Non-terminating Builds It doesn't sound like the build is still running. It sounds like the project still looks like it's building because of the icon. I've had this happen several times. I clear it up by adding a build definition to the project and specify the goal as -v (which just gives the maven version) then I run that build definition. 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]
m2 update plugin version
Hi, I'm trying to update the version of the eclipse plugin version that I have installed. I'm referring to the "eclipse:eclipse" command-line plugin, not the Eclipse IDE plugin. When I run the command: mvn -Dplugin=eclipse help:describe I see that I have version 2.2 of this plugin installed. In maven1, I could have updated it by running: maven -DartifactId=maven-eclipse-plugin -DgroupId=org.apache.maven.plugins -Dversion=2.3 plugin:download But how can I do this in Maven2? Thanks in Advance, Don ___ Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven 1.0.2 build problem
We have a build that has been working for a couple years now, but when I tried this on Vista I ended up getting an error. Just wondering if anybody has seen this or had any ideas on what may be wrong. Error: It happens when trying to build a sub-project. We are using a jbrew pluggin, when it tries to build the jbrew target. I get a CreateProcess error=2 The system cannot find file specified. Which is "maven.bat" Now the maven home directory is in the path, but for some reason when it switches to the jbrew directory to run that build file it is not able to find it. -- View this message in context: http://www.nabble.com/Maven-1.0.2-build-problem-tf3778230s177.html#a10683841 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: axistools-maven-plugin
This may not be a supported function of the plugin at this time. I don't use it so I can't be sure. But if you need this feature, you are welcome to download the plugin code, modify as necessary, and contribute back your changes for the benefit of all Maven users. Wayne On 5/18/07, Vidya Mahavadi <[EMAIL PROTECTED]> wrote: Thanks for the reply. Yes.. I presume I could do that. But I would like to download the wsdl file which is sitting in a different server. I just have a URL of that file. Regards, Vidya "Murugan, Vellaichamy" <[EMAIL PROTECTED]> 18/05/2007 12:48 Please respond to "Maven Users List" To "Maven Users List" cc Subject RE: axistools-maven-plugin Hi, U have to change the URL to the following file:///C:/somefolder/src/main/swdl/somewsdl.wsdl Hope this helps, Regard's Murugan -Original Message- From: Vidya Mahavadi [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 4:11 PM To: users@maven.apache.org Subject: axistools-maven-plugin Hi, I am using axistools-maven-plugin to create stub jar files using .wsdl files. Here is the plugin config from my pom. Plugin does not create the stubs with urls mentioned in the configuration, it only creates them if I copy the wsdl files to \src\main\swdl folder. Can anyone please tell me, if I am missing anything in the configuration? org.codehaus.mojo axistools-maven-plugin http://samwise:8080/TTCWebServices/XSLTTransform?WSDL http://samwise:8080/dealamendments-2/AmendmentsBean?WSDL za.co.rmb.wsdl true true true wsdl2java Regards, Vidya This e-mail is subject to a disclaimer, available at http://www.rmb.co.za/web/elements.nsf/online/disclaimer-communications.h tml ** This message contains confidential information intended only for the use of the addressee(s) named above and may contain information that is legally privileged. If you are not the addressee, or the person responsible for delivering it to the addressee, you are hereby notified that reading, disseminating, distributing or copying this message is strictly prohibited. If you have received this message by mistake, please immediately notify us by replying to the message and delete the original message immediately thereafter. Thank you. FADLD Tag ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail is subject to a disclaimer, available at http://www.rmb.co.za/web/elements.nsf/online/disclaimer-communications.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: using blame
No, it isn't possible actually, but I think you can do it if you modify the actual mail notifier or create your own Emmanuel Ionut S a écrit : Nobody can comment on this one ? Ionut S <[EMAIL PROTECTED]> wrote: Actually we already get something like that .. I was wondering if there is some kind of module that parses the last error from continuum (the one that made the build fail) then verifies who modified any of the classes obtained after parsing. As a result, Continuum should send an email with a title like this: [BUILD FAILED] Committer: John Doe Is there such a module ? Wendy Smoak wrote: On 5/12/07, Ionut S wrote: How can we use the blame mechanism ? We already have emails coming when the build fails, but the only thing they say is the build failed, nothing more. I searched the continuum site and I couldn't find anything clear, this is why I'm writing you here.. What version of Continuum are you using? Here's an example of a build failure notice that shows the recent changes in scm and dependencies: http://mail-archives.apache.org/mod_mbox/myfaces-commits/200705.mbox/[EMAIL PROTECTED] Is that what you're looking for?
Re: dependency:unpack is not checking reactor artifacts for dependencies
I have a parent project which has two modules 'my-app' and 'my-dep-app' (both created by the archetype-create example). The 'my-dep-app' project wants the 'my-app' dependency to be unpacked into its target\classes folder. I am trying to merge the classes of multiple model projects before I can run the jibx xml binding compiler on them. This way I need only one jibx binding factory for a group of related models. The error 'Failed to resolve artifact' and the fact that it works when installed in the local repository suggests that reactor artifacts are not checked to resolve the dependency. Is this a multi-module problem? I would like to point out that looks very similar to a resolved dependency plugin issue (http://jira.codehaus.org/browse/MDEP-44), except that I dont use the assembly plugin as shown in the test case. Any help is appreciated. Maven : 2.0.6 Maven dependency plugin : 2.0 alpha 4 This is the output I get. PFA the poms(Zip attachments are getting rejected) * [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] my-app [INFO] my-dep-app [INFO] My-apps parent pom [INFO] [INFO] Building my-app [INFO]task-segment: [package] [INFO] ... [INFO] [jar:jar] [INFO] Building jar: C:\test\mvn\dependency-unpack-test\my-app\target\my-app-1.0-SNAPSHOT.jar [INFO] [INFO] Building my-dep-app [INFO]task-segment: [package] [INFO] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [dependency:unpack {execution: default}] [INFO] Configured Artifact: com.mycomp.app:my-app:?:jar [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. GroupId: com.mycomp.app ArtifactId: my-app Version: 1.0-SNAPSHOT Reason: Unable to download the artifact from any repository Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=com.mycomp.app -DartifactId=my-app \ -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file com.mycomp.app:my-app:jar:1.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 4 seconds [INFO] Finished at: Fri May 18 15:32:07 GST 2007 [INFO] Final Memory: 7M/13M [INFO] * com.zafinlabs.project.miRevenue.hdfc.impl 4.0.0 myApps 1.0-SNAPSHOT pom My-apps parent pom my-app my-dep-app 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";> 4.0.0 com.mycomp.app my-app jar 1.0-SNAPSHOT my-app http://maven.apache.org junit junit 3.8.1 test 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";> 4.0.0 com.mycomp.app my-dep-app jar 1.0-SNAPSHOT my-dep-app http://maven.apache.org com.mycomp.app my-app ${project.version} junit junit 3.8.1 test com.mycomp.app my-app org.apache.maven.plugins maven-dependency-plugin process-resources unpack com.mycomp.app my-app target/classes true - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: axistools-maven-plugin
Thanks for the reply. Yes.. I presume I could do that. But I would like to download the wsdl file which is sitting in a different server. I just have a URL of that file. Regards, Vidya "Murugan, Vellaichamy" <[EMAIL PROTECTED]> 18/05/2007 12:48 Please respond to "Maven Users List" To "Maven Users List" cc Subject RE: axistools-maven-plugin Hi, U have to change the URL to the following file:///C:/somefolder/src/main/swdl/somewsdl.wsdl Hope this helps, Regard's Murugan -Original Message- From: Vidya Mahavadi [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 4:11 PM To: users@maven.apache.org Subject: axistools-maven-plugin Hi, I am using axistools-maven-plugin to create stub jar files using .wsdl files. Here is the plugin config from my pom. Plugin does not create the stubs with urls mentioned in the configuration, it only creates them if I copy the wsdl files to \src\main\swdl folder. Can anyone please tell me, if I am missing anything in the configuration? org.codehaus.mojo axistools-maven-plugin http://samwise:8080/TTCWebServices/XSLTTransform?WSDL http://samwise:8080/dealamendments-2/AmendmentsBean?WSDL za.co.rmb.wsdl true true true wsdl2java Regards, Vidya This e-mail is subject to a disclaimer, available at http://www.rmb.co.za/web/elements.nsf/online/disclaimer-communications.h tml ** This message contains confidential information intended only for the use of the addressee(s) named above and may contain information that is legally privileged. If you are not the addressee, or the person responsible for delivering it to the addressee, you are hereby notified that reading, disseminating, distributing or copying this message is strictly prohibited. If you have received this message by mistake, please immediately notify us by replying to the message and delete the original message immediately thereafter. Thank you. FADLD Tag ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail is subject to a disclaimer, available at http://www.rmb.co.za/web/elements.nsf/online/disclaimer-communications.html
Re: using blame
Nobody can comment on this one ? Ionut S <[EMAIL PROTECTED]> wrote: Actually we already get something like that .. I was wondering if there is some kind of module that parses the last error from continuum (the one that made the build fail) then verifies who modified any of the classes obtained after parsing. As a result, Continuum should send an email with a title like this: [BUILD FAILED] Committer: John Doe Is there such a module ? Wendy Smoak wrote: On 5/12/07, Ionut S wrote: > How can we use the blame mechanism ? We already have emails coming when the > build fails, but the only thing they say is the build failed, nothing more. I > searched the continuum site and I couldn't find anything clear, this is why > I'm writing you here.. What version of Continuum are you using? Here's an example of a build failure notice that shows the recent changes in scm and dependencies: http://mail-archives.apache.org/mod_mbox/myfaces-commits/200705.mbox/[EMAIL PROTECTED] Is that what you're looking for? -- Wendy - Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. - Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online.
multiple execution in exec-maven-plugin
Hi, I need to call some executables from a single pom file and using exec-maven-plugin for that. Is there a way to configure it to run a set of executions and not just one? Thanks, Erez. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: axistools-maven-plugin
Hi, U have to change the URL to the following file:///C:/somefolder/src/main/swdl/somewsdl.wsdl Hope this helps, Regard's Murugan -Original Message- From: Vidya Mahavadi [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 4:11 PM To: users@maven.apache.org Subject: axistools-maven-plugin Hi, I am using axistools-maven-plugin to create stub jar files using .wsdl files. Here is the plugin config from my pom. Plugin does not create the stubs with urls mentioned in the configuration, it only creates them if I copy the wsdl files to \src\main\swdl folder. Can anyone please tell me, if I am missing anything in the configuration? org.codehaus.mojo axistools-maven-plugin http://samwise:8080/TTCWebServices/XSLTTransform?WSDL http://samwise:8080/dealamendments-2/AmendmentsBean?WSDL za.co.rmb.wsdl true true true wsdl2java Regards, Vidya This e-mail is subject to a disclaimer, available at http://www.rmb.co.za/web/elements.nsf/online/disclaimer-communications.h tml ** This message contains confidential information intended only for the use of the addressee(s) named above and may contain information that is legally privileged. If you are not the addressee, or the person responsible for delivering it to the addressee, you are hereby notified that reading, disseminating, distributing or copying this message is strictly prohibited. If you have received this message by mistake, please immediately notify us by replying to the message and delete the original message immediately thereafter. Thank you. FADLD Tag ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
axistools-maven-plugin
Hi, I am using axistools-maven-plugin to create stub jar files using .wsdl files. Here is the plugin config from my pom. Plugin does not create the stubs with urls mentioned in the configuration, it only creates them if I copy the wsdl files to \src\main\swdl folder. Can anyone please tell me, if I am missing anything in the configuration? org.codehaus.mojo axistools-maven-plugin http://samwise:8080/TTCWebServices/XSLTTransform?WSDL http://samwise:8080/dealamendments-2/AmendmentsBean?WSDL za.co.rmb.wsdl true true true wsdl2java Regards, Vidya This e-mail is subject to a disclaimer, available at http://www.rmb.co.za/web/elements.nsf/online/disclaimer-communications.html
jaxb2-maven-plugin
Hi, I am using jaxb2-maven-plugin and in the application I would like to validate the xml. And for that I would like to include schema in the artifact. Is it possible to configure the plugin for that? Regards, Vidya This e-mail is subject to a disclaimer, available at http://www.rmb.co.za/web/elements.nsf/online/disclaimer-communications.html
Re: Run package life cyclic for the subproject occur error.
This might be the cause for the cyclic reference. Your parent pom contains a dependency on and has a module defined as 'agentcommon' ... com.sinosafe.pcies agentcommon ${project.version} agentcommon agentwar agentapp ... cheers Varghese C V sam wrote: HI, Guys!I have set up a parent project which has three sub project.(see the attachments please).Both the agentapp project and the agentwar project is dependence agentcommon project. I have installed the agentcommon project to the local repo. and run mvn -N install under the parent project agent directory.so I can package the other subproject agentapp and agentwar, But when I package the agentcommon again,maven has reported the error message like this: = D:\workspace\agent\agentcommon>mvn package -X + Error stacktraces are turned on. Maven version: 2.0.5 [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settings\Administrator\.m2 \plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: 'E:\maven-2.0.5\bin\..\conf\plugin-registr y.xml' [INFO] Scanning for projects... [DEBUG] Searching for parent-POM: com.sinosafe.pcies:agent::1.0-SNAPSHOT of project: com.sinosafe.pc ies:agentcommon:jar:1.0-SNAPSHOT in relative path: ../pom.xml [DEBUG] Using parent-POM from the project hierarchy at: '../pom.xml' for project: com.sinosafe.pcies :agentcommon:jar:1.0-SNAPSHOT [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] The projects in the reactor contain a cyclic reference: Edge between 'Vertex{label='com.sinos afe.pcies:agentcommon'}' and 'Vertex{label='com.sinosafe.pcies:agentcommon'}' introduces to cycle in the graph com.sinosafe.pcies:agentcommon --> com.sinosafe.pcies:agentcommon [INFO] [DEBUG] Trace org.apache.maven.BuildFailureException : The projects in the reactor contain a cyclic reference: Edge between 'Vertex{label='com.sinosafe.pcies:agentcommon'}' and 'Vertex{label='com.sinosafe.pcies:agen tcommon'}' introduces to cycle in the graph com.sinosafe.pcies:agentcommon --> com.sinosafe.pcies:ag entcommon at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) 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(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.codehaus.plexus.util.dag.CycleDetectedException: Edge between 'Vertex{label='com.sino safe.pcies:agentcommon'}' and 'Vertex{label='com.sinosafe.pcies:agentcommon' }' introduces to cycle i n the graph com.sinosafe.pcies:agentcommon --> com.sinosafe.pcies:agentcommon at org.codehaus.plexus.util.dag.DAG.addEdge(DAG.java:127) at org.codehaus.plexus.util.dag.DAG.addEdge (DAG.java:107) at org.apache.maven.project.ProjectSorter.(ProjectSorter.java:104) at org.apache.maven.execution.ReactorManager.(ReactorManager.java:59) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:296) ... 10 more [INFO] [INFO] Total time: 1 second [INFO] Finished at: Fri May 18 17:14:20 CST 2007 [INFO] Final Memory: 1M/2M [INFO] === what this message mean please?thanks in Advance! 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";> 4.0.0 com.sinosafe.pcies agent pom 1.0-SNAPSHOT agent http://maven.apache.org
Run package life cyclic for the subproject occur error.
HI, Guys!I have set up a parent project which has three sub project.(see the attachments please).Both the agentapp project and the agentwar project is dependence agentcommon project. I have installed the agentcommon project to the local repo. and run mvn -N install under the parent project agent directory.so I can package the other subproject agentapp and agentwar, But when I package the agentcommon again,maven has reported the error message like this: = D:\workspace\agent\agentcommon>mvn package -X + Error stacktraces are turned on. Maven version: 2.0.5 [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settings\Administrator\.m2 \plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: 'E:\maven- 2.0.5\bin\..\conf\plugin-registr y.xml' [INFO] Scanning for projects... [DEBUG] Searching for parent-POM: com.sinosafe.pcies:agent::1.0-SNAPSHOT of project: com.sinosafe.pc ies:agentcommon:jar:1.0-SNAPSHOT in relative path: ../pom.xml [DEBUG] Using parent-POM from the project hierarchy at: '../pom.xml' for project: com.sinosafe.pcies :agentcommon:jar:1.0-SNAPSHOT [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] The projects in the reactor contain a cyclic reference: Edge between 'Vertex{label='com.sinos afe.pcies:agentcommon'}' and 'Vertex{label='com.sinosafe.pcies:agentcommon'}' introduces to cycle in the graph com.sinosafe.pcies:agentcommon --> com.sinosafe.pcies:agentcommon [INFO] [DEBUG] Trace org.apache.maven.BuildFailureException: The projects in the reactor contain a cyclic reference: Edge between 'Vertex{label='com.sinosafe.pcies:agentcommon'}' and 'Vertex{label='com.sinosafe.pcies:agen tcommon'}' introduces to cycle in the graph com.sinosafe.pcies:agentcommon--> com.sinosafe.pcies:ag entcommon at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) 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( 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.codehaus.plexus.util.dag.CycleDetectedException: Edge between 'Vertex{label='com.sino safe.pcies:agentcommon'}' and 'Vertex{label='com.sinosafe.pcies:agentcommon'}' introduces to cycle i n the graph com.sinosafe.pcies:agentcommon --> com.sinosafe.pcies:agentcommon at org.codehaus.plexus.util.dag.DAG.addEdge(DAG.java:127) at org.codehaus.plexus.util.dag.DAG.addEdge(DAG.java:107) at org.apache.maven.project.ProjectSorter.(ProjectSorter.java :104) at org.apache.maven.execution.ReactorManager.( ReactorManager.java:59) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:296) ... 10 more [INFO] [INFO] Total time: 1 second [INFO] Finished at: Fri May 18 17:14:20 CST 2007 [INFO] Final Memory: 1M/2M [INFO] === what this message mean please?thanks in Advance! 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";> 4.0.0 com.sinosafe.pcies agent pom 1.0-SNAPSHOT agent http://maven.apache.org ${basedir}/agentcommon/src/main/java maven-compiler-plugin 1.5 1.5 junit junit 3.8.1 test acegi-security acegi-security 1.0.0 commons-beanutils commons-beanutils 2006 ehcache ehcache 1.2beta4 log4j log4j 1.2.9 huafa huafa 1.0-rc3-20061220 javax.servlet servlet-api 2.4.public_draft struts struts 1.2.9 taglibs standard 1.1.2 ibatis ibatis-common 2.0.0 commons-collections commons-collections 3.1 ibatis ibatis-sqlmap 2.0.0 commons-lang commons-lang 2.1 ojdbc ojdbc 14 huafa
Re: MailSender configuration for continuum 1.1-alpha on tomcat
Emmanuel could you please send me a Tomcat resource definition for a working mail configuration with authentication (e.g. you mentioned gmail)... are any additional system properties required? I'm working with continuum 1.1 alpha that I built around May 5th! Martin Emmanuel Venisse wrote: > > I don't know what's happen, it works fine for me with several smpt server > (internal with/without authentication/ssl, gmail...) > > Emmanuel > > -- View this message in context: http://www.nabble.com/MailSender-configuration-for-continuum-1.1-alpha-on-tomcat-tf3763986.html#a10678874 Sent from the Continuum - Users mailing list archive at Nabble.com.
RE: Problems with preparationGoals config in the release plugin
Hi, Just try : assembly:assembly If you have more than one, just use as this : clean test-compile Have a look : http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html#preparationGoals HTH, -- Olivier -Message d'origine- De : Evan Toliopoulos [mailto:[EMAIL PROTECTED] Envoyé : vendredi 18 mai 2007 05:26 À : Maven Users List Objet : Problems with preparationGoals config in the release plugin Hi, Has any one managed to configure the *preparationGoals *for the *release *plugin successfully. I have the following in my pom.xml (which is a parent POM with packaging pom): org.apache.maven.plugins maven-release-plugin scm:svn:svn://svn.emagineinternational.com/tags/sms-transceiver assembly:assembly and when I try to run Maven v2.0.6 with goal *release:prepare* I get: [INFO] Failed to configure plugin parameters for: org.apache.maven.plugins:maven-release-plugin:2.0-beta-4 Cause: When configuring a basic element the configuration cannot contain any child elements. Configuration element 'preparationGoals'. Does anyone know what I am doing wrong? Thanks, Evan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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. - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: External dependencies in Maven remote repository
Generally artifacts are assigned groupIds corresponding to their domain name, in reverse. So software package "xyz" produced by http://a.b.org will be named groupId org.b.a and artifactId xyz. Knowing this, I found the SLF4J and MINA artifacts with no troubles: http://repo1.maven.org/maven2/org/slf4j/ http://repo1.maven.org/maven2/org/apache/mina/ Wayne On 5/18/07, wolverine my <[EMAIL PROTECTED]> wrote: Hi! May I know who is updating the Maven remote repository (http://www.ibiblio.org/maven2)? What should I do when I can't find my dependency in the remote repository? For example SLF4J (http://www.slf4j.org/) and MINA (http://mina.apache.org/), how can Maven download these libraries automatically? In Maven remote repository, there is a directory for 1.2.14 but the maven-metadata.xml shows the versions up to 1.2.13. How does this maven-metadata.xml affects Maven? The Maven is still able to download Log4j 1.2.14 anyway. /newbie - 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]