Error at dbupgrade-maven-plugin:filelist-upgrade
Hi, I am getting the following error while executing dbupgrade:fileList. Any help would be greatly appreciated. Thanks a lot in advance. *Error:-* Failed to execute goal org.codehaus.mojo:dbupgrade-maven-plugin:1.0-beta-1:filelist-upgrade (default) on project contactusDataAccessServices: Execution default of goal org.codehaus.mojo:dbupgrade-maven-plugin:1.0-beta-1:filelist-upgrade failed: An API incompatibility was encountered while executing org.codehaus.mojo:dbupgrade-maven-plugin:1.0-beta-1:filelist-upgrade: java.lang.NoSuchMethodError: java.sql.SQLException: method init(Ljava/lang/String;Ljava/lang/Throwable;)V not found *where as my pom.xml* plugin groupIdorg.codehaus.mojo/groupId artifactIddbupgrade-maven-plugin/artifactId version1.0-beta-1/version dependencies dependency groupIdcom.oracle/groupId artifactIdojdbc14/artifactId version10.2.0.1.0XE/version scopecompile/scope /dependency /dependencies executions execution phasecompile/phase goalsgoalfilelist-upgrade/goal/goals configuration config driveroracle.jdbc.driver.OracleDriver/driver urljdbc:oracle:thin:@***:ORCL/url username**/username password**/password scriptDirectorysrc/main/resources/db-scripts/scriptDirectory upgradeFilesrc/main/resources/db-scripts/testUpgrade.txt/upgradeFile versionTableName_version/versionTableName versionColumnNameversion/versionColumnName /config /configuration /execution /executions /plugin -- View this message in context: http://maven.40175.n5.nabble.com/Error-at-dbupgrade-maven-plugin-filelist-upgrade-tp4676684p4676684.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Error at filelist-upgrade
Hi, I running dbupgrade-maven-plugin for Database upgradation, When I am trying to do the same, getting the given below exception. Can you please check it and let me know what is the issue. Pom.xml plugin groupIdorg.codehaus.mojo/groupId artifactIddbupgrade-maven-plugin/artifactId version1.0-beta-1/version !-- JDBC Driver -- dependencies dependency groupIdcom.oracle/groupId artifactIdojdbc14/artifactId version10.2.0.1.0XE/version scopecompile/scope /dependency /dependencies executions execution phasecompile/phase goalsgoalfilelist-upgrade/goal/goals configuration config driveroracle.jdbc.driver.OracleDriver/driver urljdbc:oracle:thin:@***:ORCL/url username**/username password**/password scriptDirectorysrc/main/resources/db-scripts/scriptDirectory upgradeFilesrc/main/resources/db-scripts/testUpgrade.txt/upgradeFile versionTableName_version/versionTableName versionColumnNameversion/versionColumnName /config /configuration /execution /executions /plugin testUpgrade.txt DBUpgrade_Testing/testUpgrade.sql testUpgrade.sql CREATE TABLE Anamika_Testing ( NAME_TITLEVARCHAR2(4 BYTE) NOT NULL, USERNAME VARCHAR2(30 BYTE) NOT NULL ); Exception:- [ERROR] Failed to execute goal org.codehaus.mojo:dbupgrade-maven-plugin:1.0-beta-1:filelist-upgrade (default) on project contactusDataAccessServices: Execution default of goal org.codehaus.mojo:dbupgrade-maven-plugin:1.0-beta-1:filelist-upgrade failed: An API incompatibility was encountered while executing org.codehaus.mojo:dbupgrade-maven-plugin:1.0-beta-1:filelist-upgrade: java.lang.NoSuchMethodError: java.sql.SQLException: method init(Ljava/lang/String;Ljava/lang/Throwable;)V not found [ERROR] - [ERROR] realm =pluginorg.codehaus.mojo:dbupgrade-maven-plugin:1.0-beta-1 [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] urls[0] = file:/local2/maven/mavenrepo/org/codehaus/mojo/dbupgrade-maven-plugin/1.0-beta-1/dbupgrade-maven-plugin-1.0-beta-1.jar [ERROR] urls[1] = file:/local2/maven/mavenrepo/com/oracle/ojdbc14/10.2.0.1.0XE/ojdbc14-10.2.0.1.0XE.jar [ERROR] urls[2] = file:/local2/maven/mavenrepo/org/codehaus/plexus/plexus-utils/2.0.1/plexus-utils-2.0.1.jar [ERROR] urls[3] = file:/local2/maven/mavenrepo/org/codehaus/mojo/dbupgrade/dbupgrade-core/1.0-beta-1/dbupgrade-core-1.0-beta-1.jar [ERROR] urls[4] = file:/local2/maven/mavenrepo/commons-dbutils/commons-dbutils/1.3/commons-dbutils-1.3.jar [ERROR] urls[5] =
Re: Error at dbupgrade-maven-plugin:filelist-upgrade
sound like you are not using java 1.5+ -D On Sun, Aug 7, 2011 at 11:12 PM, anamika gupta anam...@hcl.com wrote: Hi, I am getting the following error while executing dbupgrade:fileList. Any help would be greatly appreciated. Thanks a lot in advance. *Error:-* Failed to execute goal org.codehaus.mojo:dbupgrade-maven-plugin:1.0-beta-1:filelist-upgrade (default) on project contactusDataAccessServices: Execution default of goal org.codehaus.mojo:dbupgrade-maven-plugin:1.0-beta-1:filelist-upgrade failed: An API incompatibility was encountered while executing org.codehaus.mojo:dbupgrade-maven-plugin:1.0-beta-1:filelist-upgrade: java.lang.NoSuchMethodError: java.sql.SQLException: method init(Ljava/lang/String;Ljava/lang/Throwable;)V not found *where as my pom.xml* plugin groupIdorg.codehaus.mojo/groupId artifactIddbupgrade-maven-plugin/artifactId version1.0-beta-1/version dependencies dependency groupIdcom.oracle/groupId artifactIdojdbc14/artifactId version10.2.0.1.0XE/version scopecompile/scope /dependency /dependencies executions execution phasecompile/phase goalsgoalfilelist-upgrade/goal/goals configuration config driveroracle.jdbc.driver.OracleDriver/driver urljdbc:oracle:thin:@***:ORCL/url username**/username password**/password scriptDirectorysrc/main/resources/db-scripts/scriptDirectory upgradeFilesrc/main/resources/db-scripts/testUpgrade.txt/upgradeFile versionTableName_version/versionTableName versionColumnNameversion/versionColumnName /config /configuration /execution /executions /plugin -- View this message in context: http://maven.40175.n5.nabble.com/Error-at-dbupgrade-maven-plugin-filelist-upgrade-tp4676684p4676684.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Need help in uploading maven archetypes to nexus repo and in maven release
Don't repost! Someone already responded to your question the other day. /Anders (mobile) Den 8 aug 2011 01.19 skrev goutham goutham.vasire...@gmail.com: Hi I recently developed a maven plugin , which calls a set of archetype's on my local machine .m2 repository to create a module structure. 1) Now i want to upload the archetype's to nexus repository so that i can use -DarchetypeCatalog=http://nexusrepo/.../archetype-catalog.xml , so that i can use them on any machine . What are the steps to upload a archetype to nexus repo? 2)I was suggested to do maven release:prepare, perform on project . How does it help me? Any help will be thank full -Goutham -- View this message in context: http://maven.40175.n5.nabble.com/Need-help-in-uploading-maven-archetypes-to-nexus-repo-and-in-maven-release-tp4673441p4673441.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Can I invoke package on Eclipse auto-build?
Hi all. I'm using Eclipse 3.7 to develop Web Applications (jsp servlets) using Maven (m2eclipse). Currently, when I make modifications to a class or resource in Eclipse, I have to manually invoke mvn package on my project to get the updated resources/jars copied to the target directory (where the application is running, from an external Tomcat). Anyone know if I can make the Maven auto builder in Eclipse automatically update the web application residing in my target folder, so I can skip the manual step? (and totally enjoy the autoloading of modified classes JRebel is providing) (or if someone has a better idea for a workflow—essentially, I just want to code, and not have to do any manual work for each modification. Cheers, - hugi - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: [m2e-users] Maven, Eclipse, Nexus, Perforce, Team City, Oh My!
On 07/08/2011 10:13 PM, Barrie Treloar wrote: On Mon, Aug 8, 2011 at 8:25 AM, Eric Kolotylukeric.koloty...@gmail.com wrote: You're telling me Maven requires an advanced Maven Admin on the team/organization? No-one told me that before. Don't be fooled. Any build system requires this person. You can't expect clueless people to be able to run your build systems for you, that is a recipe for disaster. This may be true but we all get our level of cluelessness reduced over time and it is a question of how long does it take to go from clueless to sufficiently clued in. In our own case, we started out pretty clueless but got a major application into production in spite of ourselves. Getting Nexus (free) was a giant step forward and I am appalled at how much time we lost through the lack of transparency into Maven that we had before we got Nexus. Moving from Eclipse to Eclipse STS (also free) was another big step forward. The tight integration of Maven that comes right out of the box made it easier to ensure that everyone was running the same IDE including plug-ins and had all the right tools to work with Maven. Properly using SNAPSHOTs and releases was a big step in our maturity. Nexus' enforcement of immutability of releases made it easier to spot sloppy testing and poor specification processes. Getting control over dependencies was another big step forward since it centralized the choice of version of the 70+ third party libraries that we use. It also made us think more rationally about how we built and deployed utilities and web services to make them much more like third party tools - robust, released with a warranty, etc. It also reduced the size of our artifacts so that build and deploy was much faster. We are getting further away from clueless but there is still a lot to learn. Ron You need people who understand the fundamental problems and then how you map those into your build system of choice. Often developer aren't willing to step out of the comfort zone to learn this, since it works fine in their IDE why should they bother? But once you get continuous integration working then it is easier to stop the works for me mentality because they are responsible for ensuring it continues to work in a neutral third party. I've mailed previously that the entry curve for maven is low, especially if you are working by yourself on someone else's open source project. Install maven, run mvn install on your project, done. So there is little incentive to learn what the pom is and how to configure it. This entry curve is steeper when you are behind a firewall or trying to produce corporate guidelines, or are defining that project from scratch. You don't get that low entry for other build systems. You often have to tinker with something to specify your local configuration differences in the build system. This means the developer is forced to learn about the system and that incidentally learning is often enough for them to perceive that the learning curve isn't there or is not steep. And because maven can do so much for you out of the box, you need to remember to compare apples with apples. Yes its not all roses, buts its still the best option out there. (Note: Obviously I'm biased in my opinion) - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven build issue
Another strange problem, If I see the which application has occupied the lock on abc.xls file then it says eclipse and still ME_ECLIPSE cannot clean this file during clean install. I still have to close eclipse and do a clean build from command line, which is time consuming. Any idea!!! -- View this message in context: http://maven.40175.n5.nabble.com/Maven-build-issue-tp4669414p4677755.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven build issue
Another strange problem, If I see the which application has occupied the lock on abc.xls file then it says eclipse and still ME_ECLIPSE cannot clean this file during clean install. I still have to close eclipse and do a clean build from command line, which is time consuming. Probably the Eclipse folks/forums would be a better resource to get this question answered than us. I have no idea how Eclipse works underneath the covers especially regarding file locks etc, and doubt many (anyone?) else here does either, but the Eclipse people probably do. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Reactor:resume goal
I am trying to resume a multimodule project that is nested. I want to resume from a project that is in a project that is one level deep from the top level. I would assume that I would use from to say what folder to start from and fromArtifact to say what project to start. This doesn't seem to work. It doesn't like both the settings at once. If I leave off the folder and just do the artifact. It tells me that I can't specify both the folder and the artifact. The folder that it thinks it is using is null, so it is taking a default. I can't figure out a way to get it so fromArtifact is accepted. Level1ProjectFolder Level2ProjectFolder Level2Project mvn org.apache.maven.plugins:maven-reactor-plugin:1.0:resume -Dfrom=leve2ProjectFolder -DfromArtifact=level2Project Does anyone know how to make this work? Thanks, Todd
Trouble setting Boolean property in custom Mojo
Hi, I'm using Maven 3.0.3 and trying to develop my own Maven plugin. I'm having trouble getting my configuration set properly. I want to set a member field that is a Boolean. In my Mojo, I have public class SeleniumTestMojo extends AbstractMojo { private String results; private Boolean appendResults; … public void setAppendResults(Boolean appendResults) { System.out.println(calling append results with + appendResults); this.appendResults = appendResults; } but when I invoke this plugin from another project, a null is getting passed into appendResults. Here is how I have it configured ... plugin groupIdcom.myco.systems/groupId artifactIdmaven-selenium-plugin/artifactId executions execution phaseintegration-test/phase idintegration-test/id configuration resultsResults.html/results appendResultstrue/appendResults … /configuration goals goalseleniumtest/goal /goals /execution /executions /plugin Any ideas why I'm getting nulL passed in to the setter and how I can adjust my configuration or Mojo to get it set correctly? Thanks, - Dave -- View this message in context: http://maven.40175.n5.nabble.com/Trouble-setting-Boolean-property-in-custom-Mojo-tp4677954p4677954.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven build issue
javafan2011 wrote: Another strange problem, If I see the which application has occupied the lock on abc.xls file then it says eclipse and still ME_ECLIPSE cannot clean this file during clean install. I still have to close eclipse and do a clean build from command line, which is time consuming. Any idea!!! Well, actually this is *not* a Maven problem. Maven simply hits a limitation of the operating system as a side-effect from something else run by Eclipse. - Jörg - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Problem configuring PMD and CPD differently
Hello, We're using the PMD plugin to run both PMD and CPD on our codebase, however, we've come across a problem that has led us to disable CPD as a workaround. Specifically, we want to run PMD on all our code, but run CPD on only production code. The includeTests configuration tag appears to allow us to do this, however, when running both PMD and CPD, there doesn't seem to be any way to configure them differently. The problem seems to be that when you add configuration tags within an execution, the tags are specific to the goal specified, and have no function if the goal doesn't support them, even if that goal invokes another goal that does support those configuration tags. For the PMD plugin this means that when the check/cpd-check goals invoke the pmd/cpd goals, the pmd/cpd goals cannot be configured within the execution. If another execution configures the pmd/cpd goals, then the goals will run twice, once with the specified configuration and once with the default configuration. The only way to configure the pmd/cpd goals when invoked from the check/cpd-check goals is to add them to a configuration outside the execution. The problem with this is that the configuration outside the executions applies to both the pmd and cpd goals, so the pmd and cpd goals cannot be configured differently (for example running pmd on tests but not cpd). The best suggestion we have come up with to fix this is for the check/cpd-check goals to support all the configuration tags of the pmd and cpd goals respectively, and somehow pass them to the pmd and cpd goals when the check goals invoke them. For example configuring the check goal like this currently does not work, but ideally it should pass the rulesets configuration to the pmd goal that is invoked: execution idcompliance-pmd/id phaseverify/phase goals goalcheck/goal /goals configuration rulesets rulesetrules/pmd-rules.xml/ruleset /rulesets /configuration /execution Does anyone have comments on the feasibility of implementing such a solution? [http://elasticpath.com/images/ep.gif] Oskar Separovic, Release Engineer Phone: 604.408.8078 ext. 744 Email: oskar.separo...@elasticpath.commailto:oskar.separo...@elasticpath.com Elastic Path Software, Inc. Web elasticpath.com http://www.elasticpath.com/ | Blog getelastic.com http://www.getelastic.com/ | Twitter twitter.com/elasticpath http://www.twitter.com/elasticpath Careers elasticpath.com/jobshttp://www.elasticpath.com/jobs | Community grep.elasticpath.com http://grep.elasticpath.com/ Confidentiality Notice: This message is intended only for the use of the designated addressee(s), and may contain information that is privileged, confidential and exempt from disclosure. Any unauthorized viewing, disclosure, copying, distribution or use of information contained in this e-mail is prohibited and may be unlawful. If you received this e-mail in error, please reply to the sender immediately to inform us you are not the intended recipient and delete the email from your computer system.
Re: How can a plugin become aware of its environment (e.g. properties)?
On Sat, Aug 06, 2011 at 03:08:34PM +0200, Baptiste MATHUS wrote: Well, you were in the right place. http://maven.apache.org/guides/plugin/guide-java-plugin-development.html What are you missing? Any indication of what one should put into the default-value to get a handle on the mojo's entire environment. Any indication of what type one will receive when doing so, so that one can go look at the API doc.s and see what methods and attributes are available. As often today in programming, Maven mojo gets external property via dependency injection. That is, just declare your attribute with the right @parameter expression settings and your field will just get -DyourParam injected. Since I'm writing a mojo to filter any available properties into a file being built, I need an array or collection of *all* project properties, so I need to go to the model and get what it has. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Asking whether markets are efficient is like asking whether people are smart. pgp7qeuEpUSU4.pgp Description: PGP signature
Re: How can a plugin become aware of its environment (e.g. properties)?
On Sat, Aug 06, 2011 at 03:11:05PM +0200, Baptiste MATHUS wrote: And by the way, documentation is cool. But even better is look for real-life example. And what's cool with opensource is that it's easy to find a bunch of examples from simple to very complex. Just because X worked for someone sometime doesn't mean it will work for someone else in a different environment, or that it was meant to work that way and will continue to work. An example could be a fluke; documentation is a promise. Good documentation also explains *why* something works, so that you can more readily think about similar problems in context. It imparts knowledge, not just a datum. What's cool about open source is that, when the documentation is useless and the examples are all unexplained magic, I can go read the source and find out what's actually going on. And then I can fix the documentation. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Asking whether markets are efficient is like asking whether people are smart. pgpYnPYiREnFe.pgp Description: PGP signature
RE: Trouble setting Boolean property in custom Mojo
Please read http://www.sonatype.com/books/mvnref-book/reference/writing-plugins.html first! (little hint: it has to do with doclets...) -Robert Date: Mon, 8 Aug 2011 07:49:12 -0700 From: laredotorn...@gmail.com To: users@maven.apache.org Subject: Trouble setting Boolean property in custom Mojo Hi, I'm using Maven 3.0.3 and trying to develop my own Maven plugin. I'm having trouble getting my configuration set properly. I want to set a member field that is a Boolean. In my Mojo, I have public class SeleniumTestMojo extends AbstractMojo { private String results; private Boolean appendResults; … public void setAppendResults(Boolean appendResults) { System.out.println(calling append results with + appendResults); this.appendResults = appendResults; } but when I invoke this plugin from another project, a null is getting passed into appendResults. Here is how I have it configured ... plugin groupIdcom.myco.systems/groupId artifactIdmaven-selenium-plugin/artifactId executions execution phaseintegration-test/phase idintegration-test/id configuration resultsResults.html/results appendResultstrue/appendResults … /configuration goals goalseleniumtest/goal /goals /execution /executions /plugin Any ideas why I'm getting nulL passed in to the setter and how I can adjust my configuration or Mojo to get it set correctly? Thanks, - Dave -- View this message in context: http://maven.40175.n5.nabble.com/Trouble-setting-Boolean-property-in-custom-Mojo-tp4677954p4677954.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven 3 and cargo plugin
bluewhale wrote: Downloaded: http://repo1.maven.org/maven2/org/codehaus/cargo/maven-metadata.xml [...] [ERROR] No plugin found for prefix 'cargo' The proper metadata is now out such that mvn cargo:help works as intended. Please note that Maven refetches metadata by default only once a day. So you might need to add the CLI flag -U if you want to try out the fixed metadata before this 24h update interval. Benjamin - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven 3 and cargo plugin
And to add to that, if you're behind a Maven proxy/manager (like Nexus, Artifactory, or Archiva) forcing a update might still not help as the Maven proxy also needs to refresh its cached metadata. For Nexus that happens after 24 hours by default I believe. So if it still doesn't work, wait a day and try again. /Anders On Mon, Aug 8, 2011 at 19:35, Benjamin Bentmann benjamin.bentm...@udo.eduwrote: bluewhale wrote: Downloaded: http://repo1.maven.org/maven2/**org/codehaus/cargo/maven-**metadata.xmlhttp://repo1.maven.org/maven2/org/codehaus/cargo/maven-metadata.xml [...] [ERROR] No plugin found for prefix 'cargo' The proper metadata is now out such that mvn cargo:help works as intended. Please note that Maven refetches metadata by default only once a day. So you might need to add the CLI flag -U if you want to try out the fixed metadata before this 24h update interval. Benjamin --**--**- To unsubscribe, e-mail: users-unsubscribe@maven.**apache.orgusers-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: Trouble setting Boolean property in custom Mojo
Hi, I didn't find anything about doclets in the link and am still lost. My plugin config mirrors the example. What's more bizarre is that within my plugin project when I test my config, it works fine. My test config file is … project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; build plugins plugin groupIdcom.myco.systems/groupId artifactIdmaven-selenium-plugin/artifactId configuration resultsResults.html/results appendResultstrue/appendResults ... /configuration /plugin /plugins /build /project and my test file is … /** * Basic test of execution */ public void testExecution() throws Exception { try { final File pom = getTestFile(POMFILE); assertNotNull(pom); assertTrue(pom.exists()); final SeleniumTestMojo cacheClearMojo = (SeleniumTestMojo) lookupMojo(GOAL, pom); assertNotNull(cacheClearMojo); cacheClearMojo.execute(); } catch (final Exception e) { e.printStackTrace(); fail(); } } so everything is working great. Would really appreciate some additional help, - Dave -- View this message in context: http://maven.40175.n5.nabble.com/Trouble-setting-Boolean-property-in-custom-Mojo-tp4677954p4678945.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: Trouble setting Boolean property in custom Mojo
http://www.sonatype.com/books/mvnref-book/reference/writing-plugins-sect-mojo-params.html So that would make it: /** * @parameter */ private Boolean appendResults; And you probably don't want to use the setter. This field already works. -Robert Date: Mon, 8 Aug 2011 12:45:58 -0700 From: laredotorn...@gmail.com To: users@maven.apache.org Subject: RE: Trouble setting Boolean property in custom Mojo Hi, I didn't find anything about doclets in the link and am still lost. My plugin config mirrors the example. What's more bizarre is that within my plugin project when I test my config, it works fine. My test config file is … project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; build plugins plugin groupIdcom.myco.systems/groupId artifactIdmaven-selenium-plugin/artifactId configuration resultsResults.html/results appendResultstrue/appendResults ... /configuration /plugin /plugins /build /project and my test file is … /** * Basic test of execution */ public void testExecution() throws Exception { try { final File pom = getTestFile(POMFILE); assertNotNull(pom); assertTrue(pom.exists()); final SeleniumTestMojo cacheClearMojo = (SeleniumTestMojo) lookupMojo(GOAL, pom); assertNotNull(cacheClearMojo); cacheClearMojo.execute(); } catch (final Exception e) { e.printStackTrace(); fail(); } } so everything is working great. Would really appreciate some additional help, - Dave -- View this message in context: http://maven.40175.n5.nabble.com/Trouble-setting-Boolean-property-in-custom-Mojo-tp4677954p4678945.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
How to Generate EJB 2.1 classes from MAVEN
Hi, I am using old project converting in to MAVEN. And i am trying to find how can i compile my EJB 2.1 Files using MAVEN ? I tried using following line of code in my POM.XML plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ejb-plugin/artifactId version2.3/version configuration ejbVersion2.1/ejbVersion source${java-version}/source target${java-version}/target /configuration /plugin It's creating JAR file for me but the thing is, It doesn't create Home,Remote classes for my Client Class. And another thing i am using *.ejb extension files in my source code for those files also this plugin doesn't create related Classes file. Please guide me to create JAR file for EJB 2.1 version with JDK 1.4 Thanks, daivish.
Re: How to Generate EJB 2.1 classes from MAVEN
It's creating JAR file for me but the thing is, It doesn't create Home,Remote classes for my Client Class. Uhhh did you read the friendly manual?? I don't think you did. http://maven.apache.org/plugins/maven-ejb-plugin/examples/generating-ejb-client.html And another thing i am using *.ejb extension files in my source code for those files also this plugin doesn't create related Classes file. I don't believe that I have ever seen *.ejb files in my life. Where did they come from? What do you expect this plugin to do with them? Beans are just like any other Java source code and should use the .java extension. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: How to Generate EJB 2.1 classes from MAVEN
Hi Wayne, Thanks for your prompt reply. I am using .EJB extension file from Weblogic Workshop. My project is using Weblogic workshop and i am converting my project from ANT to MAVEN and i am trying to find if i can generate Class files from my existing code, Which has already SampleClient.java file and Sample.ejb file in my project. And think i have to use ANT task from MAVEN. Is there any other work around that you think for ? Thanks, daivish. On Mon, Aug 8, 2011 at 1:36 PM, Wayne Fay wayne...@gmail.com wrote: It's creating JAR file for me but the thing is, It doesn't create Home,Remote classes for my Client Class. Uhhh did you read the friendly manual?? I don't think you did. http://maven.apache.org/plugins/maven-ejb-plugin/examples/generating-ejb-client.html And another thing i am using *.ejb extension files in my source code for those files also this plugin doesn't create related Classes file. I don't believe that I have ever seen *.ejb files in my life. Where did they come from? What do you expect this plugin to do with them? Beans are just like any other Java source code and should use the .java extension. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: How to Generate EJB 2.1 classes from MAVEN
I am using .EJB extension file from Weblogic Workshop. My project is using Weblogic workshop and i am converting my project from ANT to MAVEN and i am trying to find if i can generate Class files from my existing code, Which has already SampleClient.java file and Sample.ejb file in my project. And think i have to use ANT task from MAVEN. Is there any other work around I have never seen *.ejb extension files in my life nor am I aware of any way in Maven or Ant to process them. There may be a plugin that I simply don't know about. Otherwise you are going to have to make your own plugin if you cannot or will not change your source code files (which seems like the easiest solution to me). Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Getting error when i am using maven-antrun-plugin for Weblogic Workshop project
Hi, I have some questions for maven-antrun-plugin. I want to use thing plugin to build my Weblogic workshop project and want to create JAR file for my EJB project. We are using Weblogic 8.1 and JDK is 1.4.2 version. I am using MAVEN 2.2.1 version with JDK 1.5 *I have some questions as below :* 1) What version of maven-antrun-plugin i should use so it should compile my source code with JDK 1.4.2 version ? 2) How can i add build.xml Property Values in following POM.XML, I tried adding property tag under target/target but it looks like it's not using this property values during my Ant RUN. 3) Please look at the error log and let me know why i am getting this error ? *POM.XML* project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation= http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd; modelVersion4.0.0/modelVersion parent artifactIdWPSMavenProject/artifactId groupIdWPSMavenProject/groupId version1.0/version /parent groupIdWPSEjb/groupId artifactIdWPSEjb/artifactId version1.0/version packagingjar/packaging properties java-version1.4.2/java-version /properties build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId version2.3.2/version configuration source${java-version}/source target${java-version}/target /configuration /plugin plugin artifactIdmaven-antrun-plugin/artifactId version1.1/version executions execution idcompile/id phasecompile/phase goals goalrun/goal /goals configuration source${java-version}/source target${java-version}/target target property environment=env / property name=weblogic.home value=${env.WL_HOME}/ property name=app.dir value=./src/main/java/ property name=work.file value=C:\WPS\WPS.work/ property name=output.dir value=C:/TEST} / property name=server.classpath value=${weblogic.home}/../jdk142_04/jre/lib/rt.jar;${weblogic.home}/../jdk142_04/jre/lib/jsse.jar;${weblogic.home}/../jdk142_04/jre/lib/jce.jar;${weblogic.home}/../jdk142_04/lib/tools.jar;${weblogic.home}/server/lib/knex.jar;${weblogic.home}/common/lib/log4j.jar;${weblogic.home}/server/lib/debugging.jar;${weblogic.home}/javelin/lib/javelin.jar;${weblogic.home}/server/lib/wlw-lang.jar;${weblogic.home}/server/lib/weblogic.jar;${weblogic.home}/common/eval/pointbase/lib/pbserver44.jar;${weblogic.home}/common/eval/pointbase/lib/pbclient44.jar;${weblogic.home}/server/lib/webservices.jar;${weblogic.home}/server/lib/webserviceclient.jar;${weblogic.home}/server/lib/webserviceclient+ssl.jar;${weblogic.home}/server/lib/wli.jar;${weblogic.home}/server/lib/xbean.jar;${weblogic.home}/server/lib/wlxbean.jar;${weblogic.home}/server/lib/xqrl.jar;${weblogic.home}/server/lib/netui/netui-compiler.jar / echo message=weblogic.home classpath: ${weblogic.home}/ echo message=app.dir classpath: ${app.dir}/ echo message=work.file classpath: ${weblogic.home}/ echo message=output.dir classpath: ${output.dir}/ echo message=server.classpath classpath: ${server.classpath}/ /target tasks taskdef name=wlwBuild classname=workshop.core.WlwBuildTask classpath refid=maven.dependency.classpath/ classpath fileset dir=C:\bea\weblogic81\workshop include name=wlw-ide.jar/ /fileset /classpath /taskdef wlwBuild work=C:\WPS.work serverclasspath=${server.classpath} build outputdir=C:\TEST outputfilename=WPSEjb.jar project=WPSEjb/ /wlwBuild /tasks /configuration /execution /executions /plugin /plugins /build /project Another thing i am getting following exception when i execute MAVEN INSTALL command. [INFO] Executing tasks [wlwBuild] Building Project : WPSEjb : C:\WPS\WPS.work [wlwBuild] server-classpath : [wlwBuild] ${server.classpath} [wlwBuild] output-directory : C:\TEST [wlwBuild] output-filename : WPSEjb.jar [wlwBuild] [Build] Build project WPSEjb started. [wlwBuild] [Build] This project type does not allow override of the output directory location. [wlwBuild] [Build] Build project WPSEjb complete. [wlwBuild] java.lang.reflect.InvocationTargetException [wlwBuild] java.lang.reflect.InvocationTargetException [wlwBuild] at
Re: How to Generate EJB 2.1 classes from MAVEN
Thanks Wayen. I think best way for now is to use ANT command from POM as I want to support legacy application by using MAVEN and we don't need any change in existing project structure or components for legacy applications. Thanks for your prompt reply and explanation. Regards, daivish. On Mon, Aug 8, 2011 at 2:36 PM, Wayne Fay wayne...@gmail.com wrote: I am using .EJB extension file from Weblogic Workshop. My project is using Weblogic workshop and i am converting my project from ANT to MAVEN and i am trying to find if i can generate Class files from my existing code, Which has already SampleClient.java file and Sample.ejb file in my project. And think i have to use ANT task from MAVEN. Is there any other work around I have never seen *.ejb extension files in my life nor am I aware of any way in Maven or Ant to process them. There may be a plugin that I simply don't know about. Otherwise you are going to have to make your own plugin if you cannot or will not change your source code files (which seems like the easiest solution to me). Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Getting error when i am using maven-antrun-plugin for Weblogic Workshop project
Now i have only one question so you can ignore other questions. My POM.XML project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation= http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd; modelVersion4.0.0/modelVersion parent artifactIdWPSMavenProject/artifactId groupIdWPSMavenProject/groupId version1.0/version /parent groupIdWPSEjb/groupId artifactIdWPSEjb/artifactId version1.0/version packagingjar/packaging properties java-version1.4.2/java-version weblogic.homeC:\bea\weblogic81/weblogic.home app.dir./src/main/java/app.dir work.fileC:\WPS\WPS.work/work.file output.dirC:/TEST/output.dir server.classpath${weblogic.home}/../jdk142_04/jre/lib/rt.jar;${weblogic.home}/../jdk142_04/jre/lib/jsse.jar;${weblogic.home}/../jdk142_04/jre/lib/jce.jar;${weblogic.home}/../jdk142_04/lib/tools.jar;${weblogic.home}/server/lib/knex.jar;${weblogic.home}/common/lib/log4j.jar;${weblogic.home}/server/lib/debugging.jar;${weblogic.home}/javelin/lib/javelin.jar;${weblogic.home}/server/lib/wlw-lang.jar;${weblogic.home}/server/lib/weblogic.jar;${weblogic.home}/common/eval/pointbase/lib/pbserver44.jar;${weblogic.home}/common/eval/pointbase/lib/pbclient44.jar;${weblogic.home}/server/lib/webservices.jar;${weblogic.home}/server/lib/webserviceclient.jar;${weblogic.home}/server/lib/webserviceclient+ssl.jar;${weblogic.home}/server/lib/wli.jar;${weblogic.home}/server/lib/xbean.jar;${weblogic.home}/server/lib/wlxbean.jar;${weblogic.home}/server/lib/xqrl.jar;${weblogic.home}/server/lib/netui/netui-compiler.jar/server.classpath java.homeC:\bea\jdk142_04/java.home /properties build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId version2.3.2/version configuration source${java-version}/source target${java-version}/target /configuration /plugin plugin artifactIdmaven-antrun-plugin/artifactId version1.1/version executions execution idcompile/id phasecompile/phase goals goalrun/goal /goals configuration source${java-version}/source target${java-version}/target tasks taskdef name=wlwBuild classname=workshop.core.WlwBuildTask classpath refid=maven.dependency.classpath/ classpath fileset dir=C:\bea\weblogic81\workshop include name=wlw-ide.jar/ /fileset /classpath /taskdef echo message=weblogic.home classpath: ${weblogic.home}/ echo message=app.dir classpath: ${app.dir}/ echo message=work.file classpath: ${weblogic.home}/ echo message=output.dir classpath: ${output.dir}/ echo message=server.classpath classpath: ${server.classpath}/ wlwBuild work=${work.file} serverclasspath=${server.classpath} build outputdir=${output.dir} outputfilename=WPSEjb.jar project=WPSEjb/ /wlwBuild /tasks /configuration /execution /executions dependencies dependency groupIdsun.jdk/groupId artifactIdtools/artifactId version1.4.2/version scopesystem/scope systemPath${java.home}/lib/tools.jar/systemPath /dependency /dependencies /plugin /plugins /build /project I am getting following Exception... [wlwBuild] server-classpath : [wlwBuild] C:/bea/weblogic81/../jdk142_04/jre/lib/rt.jar [wlwBuild] C:/bea/weblogic81/../jdk142_04/jre/lib/jsse.jar [wlwBuild] C:/bea/weblogic81/../jdk142_04/jre/lib/jce.jar [wlwBuild] C:/bea/weblogic81/../jdk142_04/lib/tools.jar [wlwBuild] C:/bea/weblogic81/server/lib/knex.jar [wlwBuild] C:/bea/weblogic81/common/lib/log4j.jar [wlwBuild] C:/bea/weblogic81/server/lib/debugging.jar [wlwBuild] C:/bea/weblogic81/javelin/lib/javelin.jar [wlwBuild] C:/bea/weblogic81/server/lib/wlw-lang.jar [wlwBuild] C:/bea/weblogic81/server/lib/weblogic.jar [wlwBuild] C:/bea/weblogic81/common/eval/pointbase/lib/pbserver44.jar [wlwBuild] C:/bea/weblogic81/common/eval/pointbase/lib/pbclient44.jar [wlwBuild] C:/bea/weblogic81/server/lib/webservices.jar [wlwBuild] C:/bea/weblogic81/server/lib/webserviceclient.jar [wlwBuild]
When is the best phase to generate javadocs?
I was generating javadocs with the maven-javadoc-plugin in the package phase, but ran into problems because other modules had not been through the install phase yet. To get around the problem I changed it to the deploy phase, but I'm not sure if this is the best place to do it. How do most people handle their javadoc generation in Maven? Is there some best practices documented about this? Cheers, Eric - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: When is the best phase to generate javadocs?
On Tue, Aug 9, 2011 at 10:02 AM, Eric Kolotyluk eric.koloty...@gmail.com wrote: I was generating javadocs with the maven-javadoc-plugin in the package phase, but ran into problems because other modules had not been through the install phase yet. To get around the problem I changed it to the deploy phase, but I'm not sure if this is the best place to do it. How do most people handle their javadoc generation in Maven? Is there some best practices documented about this? I let the release process handle this for me as there is not much value in javadocs for SNAPSHOTS, you want the source instead. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Getting error when i am using maven-antrun-plugin for Weblogic Workshop project
[wlwBuild] [Build] Build project WPSEjb started. [wlwBuild] [Build] This project type does not allow override of the output directory location. [wlwBuild] [Build] Build project WPSEjb complete. Most likely you will need to ask the company/group responsible for this Ant plugin for help. [wlwBuild] at workshop.core.Starter.invokeStart(Starter.java:34) [wlwBuild] at workshop.core.Compile.main(Compile.java:9) [wlwBuild] Caused by: java.lang.NoClassDefFoundError: org/apache/crimson/tree/XmlDocument Seems like you are missing a dependency declaration or something is not in your classpath as is required. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: When is the best phase to generate javadocs?
Normally I would agree with that, but this is an early stage of development and the javadocs are changing frequently, and I'm putting more stuff in them that would normally be documented elsewhere. Thanks for the advice though, I'll try to study the release process a little more to see if I'm missing something and trying to do more work than I need to. Cheers, Eric On 2011-08-08 5:40 PM, Barrie Treloar wrote: On Tue, Aug 9, 2011 at 10:02 AM, Eric Kolotyluk eric.koloty...@gmail.com wrote: I was generating javadocs with the maven-javadoc-plugin in the package phase, but ran into problems because other modules had not been through the install phase yet. To get around the problem I changed it to the deploy phase, but I'm not sure if this is the best place to do it. How do most people handle their javadoc generation in Maven? Is there some best practices documented about this? I let the release process handle this for me as there is not much value in javadocs for SNAPSHOTS, you want the source instead. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: When is the best phase to generate javadocs?
I prefer to gen JavaDoc in the nightly site gen run, from the parent. Avoids the problem you mentioned. You could run a site gen multiple times per day, if it's not a long duration. These days, IDEs such as Eclipse display JavaDoc pulled directly from source, so you could avoid a JavaDoc gen entirely if you configure the IDE correctly. And, as your code base grows, the build time will slow - so not the time to gen JavaDoc at any phase of the normal build. On Mon, Aug 8, 2011 at 10:53 PM, Eric Kolotyluk eric.koloty...@gmail.comwrote: Normally I would agree with that, but this is an early stage of development and the javadocs are changing frequently, and I'm putting more stuff in them that would normally be documented elsewhere. Thanks for the advice though, I'll try to study the release process a little more to see if I'm missing something and trying to do more work than I need to. Cheers, Eric On 2011-08-08 5:40 PM, Barrie Treloar wrote: On Tue, Aug 9, 2011 at 10:02 AM, Eric Kolotyluk eric.koloty...@gmail.com wrote: I was generating javadocs with the maven-javadoc-plugin in the package phase, but ran into problems because other modules had not been through the install phase yet. To get around the problem I changed it to the deploy phase, but I'm not sure if this is the best place to do it. How do most people handle their javadoc generation in Maven? Is there some best practices documented about this? I let the release process handle this for me as there is not much value in javadocs for SNAPSHOTS, you want the source instead. --**--**- To unsubscribe, e-mail: users-unsubscribe@maven.**apache.orgusers-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org --**--**- To unsubscribe, e-mail: users-unsubscribe@maven.**apache.orgusers-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Where to hook into to install dependencies prior to build
I do not know if I posted enough detail, if there are details missing, please le me know and I will post it. I know this is not how it should be done, but I have external requirements at the moment. The question is how could maven be configured to pull in the most recent non-maven managed dependency as part of a single build command: mvn package? Note the failure here: $ mvn compile [INFO] Scanning for projects... [INFO] [INFO] [INFO] Building fepl 5010 Spring-WS Application 1.0-SNAPSHOT [INFO] [WARNING] The POM for com.carefirst.fep.local.commons:fepl-commons:jar:1.0-SNAPSHOT is missing, no dependency information available [WARNING] The POM for com.carefirst.fep.local.datatier:fepl-orm-persistence-defaultconfig:jar:1.0-SNAP SHOT is missing, no dependency information available [WARNING] The POM for com.carefirst.fep.local.datatier:fepl-orm-core:jar:1.0-SNAPSHOT is missing, no dependency information available [WARNING] The POM for com.carefirst.fep.local.datatier:fepl-orm-claim:jar:1.0-SNAPSHOT is missing, no dependency information available [WARNING] The POM for com.carefirst.fep.local.datatier:fepl-orm-refdata:jar:1.0-SNAPSHOT is missing, no dependency information available [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 1.062s [INFO] Finished at: Tue Aug 09 01:12:26 EDT 2011 [INFO] Final Memory: 5M/121M [INFO] [ERROR] Failed to execute goal on project fepl5010webServices: Could not resolve dependencies for project com.carefirst.fep.local.webservices:fepl5010webServices:war:1.0-SNAPSHOT: The following artifacts could not be resolved: com.carefirst.fep.local.commons:fepl-commons:jar:1.0-SNAPSHOT, com.carefirst.fep.local.datatier:fepl-orm-persistence-defaultconfig:jar:1.0-SNAP SHOT, com.carefirst.fep.local.datatier:fepl-orm-core:jar:1.0-SNAPSHOT, com.carefirst.fep.local.datatier:fepl-orm-claim:jar:1.0-SNAPSHOT, com.carefirst.fep.local.datatier:fepl-orm-refdata:jar:1.0-SNAPSHOT: Could not find artifact com.carefirst.fep.local.commons:fepl-commons:jar:1.0-SNAPSHOT - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException But, run the same only upto the validate phase... $ mvn validate [INFO] Scanning for projects... [INFO] [INFO] [INFO] Building fepl 5010 Spring-WS Application 1.0-SNAPSHOT [INFO] [INFO] [INFO] --- maven-install-plugin:2.3.1:install-file (fepl-commons.jar) @ fepl5010webServices --- [INFO] Installing C:\Documents and Settings\All Users\workspace\fepl_5010_web_services\..\build\fepl-commons.jar to C:\Documents and Settings\All Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\commons \fepl-commons\1.0-SNAPSHOT\fepl-commons-1.0-SNAPSHOT.jar [INFO] Installing C:\cygwin\tmp\mvninstall4706321913072696756.pom to C:\Documents and Settings\All Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\commons \fepl-commons\1.0-SNAPSHOT\fepl-commons-1.0-SNAPSHOT.pom [INFO] [INFO] --- maven-install-plugin:2.3.1:install-file (fepl-orm-persistence-defaultconfig.jar) @ fepl5010webServices --- [INFO] Installing C:\Documents and Settings\All Users\workspace\fepl_5010_web_services\..\build\fepl-orm-persistence-defaultconf ig.jar to C:\Documents and Settings\All Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\datatie r\fepl-orm-persistence-defaultconfig\1.0-SNAPSHOT\fepl-orm-persistence-defaultco nfig-1.0-SNAPSHOT.jar [INFO] Installing C:\cygwin\tmp\mvninstall4508066304432652487.pom to C:\Documents and Settings\All Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\datatie r\fepl-orm-persistence-defaultconfig\1.0-SNAPSHOT\fepl-orm-persistence-defaultco nfig-1.0-SNAPSHOT.pom [INFO] [INFO] --- maven-install-plugin:2.3.1:install-file (fepl-orm-core.jar) @ fepl5010webServices --- [INFO] Installing C:\Documents and Settings\All Users\workspace\fepl_5010_web_services\..\build\fepl-orm-core.jar to C:\Documents and Settings\All Users\workspace\fepl_5010_web_services\.\lib\mvn\com\carefirst\fep\local\datatie r\fepl-orm-core\1.0-SNAPSHOT\fepl-orm-core-1.0-SNAPSHOT.jar [INFO] Installing C:\cygwin\tmp\mvninstall7943258661633420073.pom to C:\Documents and Settings\All
Re: When is the best phase to generate javadocs?
On Tue, Aug 9, 2011 at 2:00 PM, Jeff Jensen jeffjen...@upstairstechnology.com wrote: I prefer to gen JavaDoc in the nightly site gen run, from the parent. Avoids the problem you mentioned. You could run a site gen multiple times per day, if it's not a long duration. And we do this too, since there may be other things besides javadoc you want to reference, Think anything in src/main/site. These days, IDEs such as Eclipse display JavaDoc pulled directly from source, so you could avoid a JavaDoc gen entirely if you configure the IDE correctly. This was what I was meaning. And, as your code base grows, the build time will slow - so not the time to gen JavaDoc at any phase of the normal build. +1 to sub 10 minute developer builds http://www.google.com/search?q=sub+10+minute+developer+builds e.g. http://jamesshore.com/Agile-Book/ten_minute_build.html - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org