very new to maven Eclipse and java
I have wrote one test case in my new work place. now i have seen in other codes they have POM.xml. ques # 1==Could anybody tell me what exactly I have to put there to run my test. I am adding a pom.xml which i tried but did not work. let me know what i have to add. We are using Spring jdbc template. I am adding the test code and the pom.xml. first the test code is : import java.util.List; import junit.framework.TestCase; import org.springframework.context.ApplicationContext; import org.springframework.jdbc.core.JdbcTemplate; import com.tracfone.core.bean.User; import com.tracfone.core.component.ApplicationContextLoader; import com.tracfone.domain.api.user.UserDAO; public class UserDaoTestCase extends TestCase { private static final String CONFIG_FILE = C:/projects//Sadd/src/test/java/userTestCase.xml; private JdbcTemplate jdbcTemplate = null; private UserDAO userDAO = null; public UserDaoTestCase() { super(); } protected void setUp() throws Exception { ApplicationContext applicationContext = ApplicationContextLoader.load(CONFIG_FILE); jdbcTemplate = (JdbcTemplate) applicationContext.getBean(jdbcTemplate); userDAO = (UserDAO) applicationContext.getBean(userDAO); jdbcTemplate.execute(delete from table_user where objid=323); System.out.println(Junit Test case for user setUp3); jdbcTemplate.execute(INSERT INTO TABLE_USER ( + OBJID, LOGIN_NAME , PASSWORD ) VALUES (323,'testtracfone','test')); super.setUp(); } protected void tearDown() throws Exception { jdbcTemplate.execute(delete from table_user where objid=323); super.tearDown(); } public void testFindUser(){ User user = userDAO.findUser(testtracfone); String password=; if(user.getPassword()!=null){ password=user.getPassword(); } String id=; if(user.getId()!=null){ id=user.getId(); } assertEquals(323,id); assertEquals(test,password); } public void testFindUsersByGroup(){ List userList = userDAO.findUsersByGroup(ADMINCONSOLE); //String password=; assertNotNull(userList); assertEquals(userList.size(),4); } } the rough pom i have wrote is ?xml version=1.0 encoding=UTF-8? 4.0.0 Sadd //Ques#2:what should be groupID?? if my folder name is Sadd simple // Ques#3what should I put here in artifactId, what does it mean jar 1.0-SNAPSHOT simple http://maven.apache.org junit junit 3.8.1 test org.springframework spring 2.0 Sadd // Ques#4 Again if my folder name is Sadd, am i doing right? com.core // Ques#5my Sadd folder is dependant on com.core, am i doing right?? 1.0 test org.apache.maven.plugins maven-compiler-plugin 1.4 1.4 true org.apache.maven.plugins maven-surefire-plugin **/*TestCase.java true Ques#6: I have seen
Re: very new to maven Eclipse and java
Sorry for the mess. I m posting again: I have wrote one test case in my new work place. now i have seen in other codes they have POM.xml. ques # 1==Could anybody tell me what exactly I have to put there to run my test. I am adding a pom.xml which i tried but did not work. let me know what i have to add. We are using Spring jdbc template. I am adding the test code and the pom.xml. first the test code is : import java.util.List; import junit.framework.TestCase; import org.springframework.context.ApplicationContext; import org.springframework.jdbc.core.JdbcTemplate; import com.tracfone.core.bean.User; import com.tracfone.core.component.ApplicationContextLoader; import com.tracfone.domain.api.user.UserDAO; public class UserDaoTestCase extends TestCase { private static final String CONFIG_FILE = C:/projects//Sadd/src/test/java/userTestCase.xml; private JdbcTemplate jdbcTemplate = null; private UserDAO userDAO = null; public UserDaoTestCase() { super(); } protected void setUp() throws Exception { ApplicationContext applicationContext = ApplicationContextLoader.load(CONFIG_FILE); jdbcTemplate = (JdbcTemplate) applicationContext.getBean(jdbcTemplate); userDAO = (UserDAO) applicationContext.getBean(userDAO); jdbcTemplate.execute(delete from table_user where objid=323); System.out.println(Junit Test case for user setUp3); jdbcTemplate.execute(INSERT INTO TABLE_USER ( + OBJID, LOGIN_NAME , PASSWORD ) VALUES (323,'testtracfone','test')); super.setUp(); } protected void tearDown() throws Exception { jdbcTemplate.execute(delete from table_user where objid=323); super.tearDown(); } public void testFindUser(){ User user = userDAO.findUser(testtracfone); String password=; if(user.getPassword()!=null){ password=user.getPassword(); } String id=; if(user.getId()!=null){ id=user.getId(); } assertEquals(323,id); assertEquals(test,password); } public void testFindUsersByGroup(){ List userList = userDAO.findUsersByGroup(ADMINCONSOLE); //String password=; assertNotNull(userList); assertEquals(userList.size(),4); } } the rough pom i have wrote is ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdSadd/groupId //Ques#2:what should be groupID?? if my folder name is Sadd artifactIdsimple/artifactId // Ques#3what should I put here in artifactId, what does it mean packagingjar/packaging version1.0-SNAPSHOT/version namesimple/name urlhttp://maven.apache.org/url dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency dependency groupIdorg.springframework/groupId artifactIdspring/artifactId version2.0/version /dependency dependency groupIdSadd/groupId // Ques#4 Again if my folder name is Sadd, am i doing right? artifactIdcom.core/artifactId // Ques#5my Sadd folder is dependant on com.core, am i doing right?? version1.0/version scopetest/scope /dependency /dependencies build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId
RE: xdoc and spaces after anchor issue
Hi Dennis, Many thanks for your help! I switched my settings.xml to point to plugin repositories in http://people.apache.org/repo/m2-snapshot-repository in addition to Codehaus Snapshots (I need codehaus for the dashboard plugin) I also fixed the maven-site-plugin to the snapshot version where MSITE-274 is resolved and the generated site still has the anchor spaces problem. Attempting to troubleshoot this I deleted my ~/.m2/repository folder and building again now. Regards, Giovanni -Original Message- From: Dennis Lundberg [mailto:[EMAIL PROTECTED] Sent: Saturday, April 19, 2008 8:57 PM To: Maven Users List Subject: Re: xdoc and spaces after anchor issue You are running into http://jira.codehaus.org/browse/MSITE-274 which has been fixed in the, not yet released, 2.0-beta-7 version of the site-plugin. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
issues with snapshot repo config in settings.xml
Hi, I basically would like to have my site generated properly e.g. without issues like http://jira.codehaus.org/browse/MSITE-274 and also take advantage of a few beta plugins e.g. dashboard plugin. My problem is that I can't seem to find the optimal settings.xml repo configuration. By trying different setups I run into every kind of problems either one plugin component does not work or my build does not work at all etc. Right now I am trying to build my project with the setup shown in the snippet below. My question is can anyone recommend how to have the best compromise between stability e.g. avoid issues like MSITE-274 and still be able to use dashboard? e.g. one of the big issues I have is that depending of what's in my settings.xml I have to either build my project like: NORMAL CASE: building as $MAVEN_HOME/bin/mvn clean install site -e -Dgenerate.ydoc=true -Dgenerate.statsvn=true $* WORST CASE SCENARIO: my project sub-modules are not correctly seen # define the projects in the order the should be built PROJECTS=perfectjpattern-api perfectjpattern-core perfectjpattern-j2ee perfectjpattern-examples # start build process $MAVEN_HOME/bin/mvn -Pall clean for project in `echo $PROJECTS` do cd $project $MAVEN_HOME/bin/mvn clean install -e cd .. done $MAVEN_HOME/bin/mvn install site -e -Dgenerate.ydoc=true -Dgenerate.statsvn=true $* Many thanks in advance, Best regards, Giovanni In my settings.xml I have this default activated profile: ... profile idSnapshots/id repositories repository idPeople Apache Repository/id urlhttp://people.apache.org/repo/m2-snapshot-repository//url snapshots enabledtrue/enabled /snapshots releases enabledtrue/enabled /releases /repository /repositories pluginRepositories Codehaus Snapshots idCodehaus Snapshots/id urlhttp://snapshots.repository.codehaus.org//url snapshots enabledtrue/enabled /snapshots releases enabledtrue/enabled /releases /pluginRepository pluginRepository idPeople Apache Repository/id urlhttp://people.apache.org/repo/m2-snapshot-repository//url snapshots enabledtrue/enabled /snapshots releases enabledtrue/enabled /releases /pluginRepository /pluginRepositories /profile ... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: xdoc and spaces after anchor issue
Hi Dennis, Even now that I am using the fixed version of maven-site-plugin I still get all spaces/tabs/newline after the closing of the anchors in my project site. I configured my pom.xml to: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-site-plugin/artifactId version2.0-beta-7-SNAPSHOT/version /plugin See: http://perfectjpattern.svn.sourceforge.net/viewvc/perfectjpattern/trunk/pom. xml?view=markup And adding a default activated profile in my settings.xml like below to be able to access the maven-site-plugin version 2.0-beta-7-SNAPSHOT: profile idSnapshots/id repositories repository idPeople Apache repository/id urlhttp://people.apache.org/repo/m2-snapshot-repository//url /repository /repositories pluginRepositories pluginRepository idCodehaus Snapshots/id urlhttp://snapshots.repository.codehaus.org//url /pluginRepository pluginRepository idPeople Apache Plugins repository/id urlhttp://people.apache.org/repo/m2-snapshot-repository//url /pluginRepository /pluginRepositories /profile Best regards, Giovanni -Original Message- From: Dennis Lundberg [mailto:[EMAIL PROTECTED] Sent: Saturday, April 19, 2008 8:57 PM To: Maven Users List Subject: Re: xdoc and spaces after anchor issue You are running into http://jira.codehaus.org/browse/MSITE-274 which has been fixed in the, not yet released, 2.0-beta-7 version of the site-plugin. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: very new to maven Eclipse and java
Hi Hossain, On 20/04/2008, at 4:27 PM, hossainsaad wrote: I have wrote one test case in my new work place. now i have seen in other codes they have POM.xml. ques # 1==Could anybody tell me what exactly I have to put there to run my test. I am adding a pom.xml which i tried but did not work. let me know what i have to add. We are using Spring jdbc template. I am adding the test code and the pom.xml. I'm also relatively new to maven... but I think you'll find that you'll have better success if you do the tutorial here: http://maven.apache.org/guides/getting-started/index.html There's one bug in the tutorial under 'How do I create documentation?' you should type the following rather than what's written. mvn site:site the rough pom i have wrote is //Ques#2:what should be groupID?? if my folder name is Sadd Think of groupId like packages in java. It's up to you - but you'd normally use your reverse domain, for example. artifactIdsimple/artifactId // Ques#3what should I put here in artifactId, what does it mean Something that uniquely identifies your project/artifact (i.e., the thing you're building) from other artifacts that might live one day in a repository. dependency groupIdSadd/groupId // Ques#4 Again if my folder name is Sadd, am i doing right? Doesn't hurt. But it doesn't matter. artifactIdcom.core/artifactId // Ques#5my Sadd folder is dependant on com.core, am i doing right?? Check the pom declaration for core. They should match. artifactIds shouldn't have '.'s in them. They're usually the final part of a fully qualified id. It sounds like the group id for core should be Sadd.com i.e., artifactIdcore/artifactId groupIdSadd.com/groupId Sorry if my questions are too imple or stupid. I wanted to learn maven by actually doing a project. thats wht i m trying to do. if anybody could help me thank you in advance. I think maven is one of those things that you really need to do some reading first - before trying to piece things together like you've attempted to. See the tutorial link above... you should find after going through it bit by bit that you'll have a better idea of things. with regards, -- Lachlan Deck - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
build ear problem
Env: jboss 4.2.2GA/ Debian lenny testing/ jdk 1.6.0_01/maven 2.0.7 I try to create an ear file via maven, but it issues error reporting that it requires to download sub porjects (web and ejb, etc.) first. The message is as below. It looks like repository problem. Though I can download it manually, I prefer to get it done automatically because last time I create ear file maven successfully except the target application server is geronimo, not jboss (but i can't remember exactly what i did to get it work). So hope someone can give me advice. [code] ... [INFO] Downloading: http://repo1.maven.org/maven2/net/sf/sample/sample-web/0.1/sample-web-0.1.jar [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) net.sf.sample:sample-web:ejb:0.1 Try downloading the file manually from the project website. ... [/code] The way how I create ear project is through executing command 'mvn arcetype:create -DgropuId=net.sf.sample -DartifactId=sample -Dversion1.0' Then modifing the pom.xml (in ear folder) [code] ?xml version=1.0? project modelVersion4.0.0/modelVersion parent artifactIdsample/artifactId groupIdnet.sf.sample/groupId version0.1/version /parent artifactIdsample-ear/artifactId namesample-ear/name packagingear/packaging version0.1/version urlhttp://maven.apache.org/url dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency dependency groupIdnet.sample/groupId artifactIdsample-web/artifactId version0.1/version typewar/type /dependency dependency groupIdnet.sample/groupId artifactIdsample-web/artifactId version0.1/version typeejb/type /dependency /dependencies build plugins plugin artifactIdmaven-ear-plugin/artifactId configuration displayNameSample Project/displayName descriptionSample EAR artifact/description version5/version modules ejbModule groupIdnet.sf.sample/groupId artifactIdsample-middleware/artifactId bundleFileNamesample-middleware-0.1.jar/bundleFileName /ejbModule webModule groupIdnet.sf.sample/groupId artifactIdsample-web/artifactId bundleFileNamesample-web-0.1.jar/bundleFileName /webModule /modules /configuration /plugin /plugins /build project [/code] I can build ejb3 and web sub-projects successfully (execute 'mvn package' command and they work in jboss env). What part I may miss in ear pom.xml file? Thank you very much. -- View this message in context: http://www.nabble.com/build-ear-problem-tp16791088s177p16791088.html 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: issues with snapshot repo config in settings.xml
First thing, disable releases for those repos to speed up the build a bit. Second, if you are using the snapshot repositories, you really should lock down the versions of your plugins, otherwise you may end up with a bunch of snapshots that you didn't intend. You can see more about how to do this here: http://blogs.sonatype.com/brian/2008/04/10/1207873624557.html -Original Message- From: Giovanni Azua [mailto:[EMAIL PROTECTED] Sent: Sunday, April 20, 2008 6:09 AM To: 'Maven Users List' Subject: issues with snapshot repo config in settings.xml Hi, I basically would like to have my site generated properly e.g. without issues like http://jira.codehaus.org/browse/MSITE-274 and also take advantage of a few beta plugins e.g. dashboard plugin. My problem is that I can't seem to find the optimal settings.xml repo configuration. By trying different setups I run into every kind of problems either one plugin component does not work or my build does not work at all etc. Right now I am trying to build my project with the setup shown in the snippet below. My question is can anyone recommend how to have the best compromise between stability e.g. avoid issues like MSITE-274 and still be able to use dashboard? e.g. one of the big issues I have is that depending of what's in my settings.xml I have to either build my project like: NORMAL CASE: building as $MAVEN_HOME/bin/mvn clean install site -e -Dgenerate.ydoc=true -Dgenerate.statsvn=true $* WORST CASE SCENARIO: my project sub-modules are not correctly seen # define the projects in the order the should be built PROJECTS=perfectjpattern-api perfectjpattern-core perfectjpattern-j2ee perfectjpattern-examples # start build process $MAVEN_HOME/bin/mvn -Pall clean for project in `echo $PROJECTS` do cd $project $MAVEN_HOME/bin/mvn clean install -e cd .. done $MAVEN_HOME/bin/mvn install site -e -Dgenerate.ydoc=true -Dgenerate.statsvn=true $* Many thanks in advance, Best regards, Giovanni In my settings.xml I have this default activated profile: ... profile idSnapshots/id repositories repository idPeople Apache Repository/id urlhttp://people.apache.org/repo/m2-snapshot-repository//url snapshots enabledtrue/enabled /snapshots releases enabledtrue/enabled /releases /repository /repositories pluginRepositories Codehaus Snapshots idCodehaus Snapshots/id urlhttp://snapshots.repository.codehaus.org//url snapshots enabledtrue/enabled /snapshots releases enabledtrue/enabled /releases /pluginRepository pluginRepository idPeople Apache Repository/id urlhttp://people.apache.org/repo/m2-snapshot-repository//url snapshots enabledtrue/enabled /snapshots releases enabledtrue/enabled /releases /pluginRepository /pluginRepositories /profile ... - 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]
MPIR 2.1 release?
What's up with maven-project-info-reports plugin (MPIR) 2.1 release? According to http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truepid=11142fixfor=12621, there are no open issues left for 2.1. I couldn't find any details about the status of the plugin, either from the user or the dev list. Is there something that's holding up the release that's not reflected in the JIRA? Kalle
Sharing artifacts between multimodule project
Hello, I'm not brand new to Maven but I'm still in the experience phase and I think I'm missing something in my understanding of multi module projects and I'm hoping can help me clarify it. So here is the issue I'm struggling with. I already have a multimodule project containing 4 other artifacts (A1, A2, A3, A4). These artifacts are linked by a simple dependency ( A1 -- A2 -- A3 -- A4). Now I want to start a new multimodule project which will be very similar to the previous project and I would like this new project to use the artifacts A3 and A4. And this is where I'm stuck because I'm not sure what's the best way to achieve this. Because ideally when I build either project, I would like the 2 common artifacts to be built, when I run the reports, I would like the reports to include the common artifacts' reports, ... So my question is can I achieve what I want ? Or is there a layout I could use which will get me close to that result ? Thanks. Guillaume
collection of dependencies
Hi, how can I put all (transitive) dependencies into one directory/zip-file? I tried the assembly plugin, but the transitive dependencies descriptor puts everything into one jar - that doesn't work in my case. Thanks, Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: xdoc and spaces after anchor issue
I checked out the code and tried to build the site locally. The site build doesn't complete, because I haven't installed the artifacts in my local repo. Anyway, the html files that do get generated from xdoc files look fine to me. Can you give me a concrete example of one file that exhibits this problem? Giovanni Azua wrote: Hi Dennis, Even now that I am using the fixed version of maven-site-plugin I still get all spaces/tabs/newline after the closing of the anchors in my project site. I configured my pom.xml to: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-site-plugin/artifactId version2.0-beta-7-SNAPSHOT/version /plugin See: http://perfectjpattern.svn.sourceforge.net/viewvc/perfectjpattern/trunk/pom. xml?view=markup And adding a default activated profile in my settings.xml like below to be able to access the maven-site-plugin version 2.0-beta-7-SNAPSHOT: profile idSnapshots/id repositories repository idPeople Apache repository/id urlhttp://people.apache.org/repo/m2-snapshot-repository//url /repository /repositories pluginRepositories pluginRepository idCodehaus Snapshots/id urlhttp://snapshots.repository.codehaus.org//url /pluginRepository pluginRepository idPeople Apache Plugins repository/id urlhttp://people.apache.org/repo/m2-snapshot-repository//url /pluginRepository /pluginRepositories /profile Best regards, Giovanni -Original Message- From: Dennis Lundberg [mailto:[EMAIL PROTECTED] Sent: Saturday, April 19, 2008 8:57 PM To: Maven Users List Subject: Re: xdoc and spaces after anchor issue You are running into http://jira.codehaus.org/browse/MSITE-274 which has been fixed in the, not yet released, 2.0-beta-7 version of the site-plugin. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Dennis Lundberg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: MPIR 2.1 release?
We need a release of maven-doxia-tools before it can be released. Kalle Korhonen wrote: What's up with maven-project-info-reports plugin (MPIR) 2.1 release? According to http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truepid=11142fixfor=12621, there are no open issues left for 2.1. I couldn't find any details about the status of the plugin, either from the user or the dev list. Is there something that's holding up the release that's not reflected in the JIRA? Kalle -- Dennis Lundberg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: xdoc and spaces after anchor issue
hi Dennis, Many thanks for your help! Anyway, the html files that do get generated from xdoc files look fine to me. Can you give me a concrete example of one file that exhibits this problem? e.g. the index.html file has the issue: http://perfectjpattern.svn.sourceforge.net/viewvc/perfectjpattern/trunk/src /site/xdoc/index.xml?view=markup The only thing I recall needs local installation is JTA 1.0.1B API, that you can download from this link and rename to jar: https://sdlc1a.sun.com/ECom/EComActionServlet;jsessionid=FBB957A912422239F1 014E29F5D0B517 which options did you use for building? did you use build.sh? The only open point remaining would be the settings.xml, mine is below. Best regards, Giovanni * settings.xml * settings proxies /proxies servers server idsourceforge.net/id username/username password/password filePermissions775/filePermissions directoryPermissions775/directoryPermissions /server /servers mirrors mirror idibiblio.org/id urlhttp://mirrors.ibiblio.org/pub/mirrors/maven2/url mirrorOfcentral/mirrorOf !-- United States, North Carolina -- /mirror mirror idlsu.edu/id urlhttp://ibiblio.lsu.edu/main/pub/packages/maven2/url mirrorOfcentral/mirrorOf !-- United States, Louisiana -- /mirror mirror idsateh.com/id urlhttp://maven.sateh.com/repository/url mirrorOfcentral/mirrorOf !-- The Netherlands, Amsterdam -- /mirror mirror iddotsrc.org/id urlhttp://mirrors.dotsrc.org/maven2/url mirrorOfcentral/mirrorOf !-- Denmark -- /mirror mirror idsunsite.dk/id urlhttp://mirrors.sunsite.dk/maven2/url mirrorOfcentral/mirrorOf !-- Denmark -- /mirror mirror idskynet.be/id urlhttp://maven2.mirrors.skynet.be/pub/maven2/url mirrorOfcentral/mirrorOf !-- Belgium -- /mirror mirror idcica.es/id urlhttp://ftp.cica.es/mirrors/maven2/url mirrorOfcentral/mirrorOf !-- Spain, Sevilla -- /mirror mirror idredv.com/id urlhttp://mirrors.redv.com/maven2/url mirrorOfcentral/mirrorOf !-- Shanghai, China -- /mirror !-- these just point to ibiblio.org -- mirror idibiblio.net/id urlhttp://www.ibiblio.net/pub/packages/maven2/url mirrorOfcentral/mirrorOf !-- United States, North Carolina -- /mirror /mirrors profiles profile idydoc/id activation activeByDefault/ /activation properties ydoc.home/opt/noarch/ydoc/3.0/ydoc.home ydoc.license/opt/noarch/ydoc/3.0/license/ydoc.license/ydoc.license /properties /profile profile idSnapshots/id repositories repository idPeople Apache repository/id urlhttp://people.apache.org/repo/m2-snapshot-repository//url snapshots enabledtrue/enabled /snapshots releases enabledfalse/enabled /releases /repository /repositories pluginRepositories pluginRepository idCodehaus Snapshots/id urlhttp://snapshots.repository.codehaus.org//url snapshots enabledtrue/enabled /snapshots releases enabledfalse/enabled /releases /pluginRepository pluginRepository idPeople Apache Plugins repository/id urlhttp://people.apache.org/repo/m2-snapshot-repository//url snapshots enabledtrue/enabled /snapshots releases enabledfalse/enabled /releases /pluginRepository /pluginRepositories /profile /profiles activeProfiles activeProfileydoc/activeProfile activeProfileSnapshots/activeProfile /activeProfiles /settings - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: collection of dependencies
On Sun, Apr 20, 2008 at 11:40 AM, Jan Torben Heuer [EMAIL PROTECTED] wrote: how can I put all (transitive) dependencies into one directory/zip-file? I tried the assembly plugin, but the transitive dependencies descriptor puts everything into one jar - that doesn't work in my case. It sounds like you might be using the 'jar-with-dependencies' assembly descriptor. If so, try 'bin' and see if that's closer to what you want. http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.html If that's not quite it, you can write your own assembly descriptor that does exactly what you need. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Removal the specified execution
I thought it is possible using activeByDefault. But, activeByDefaulttrue/activeByDefault doesn't work. What's wrong? On Sat, Apr 19, 2008 at 12:28 AM, Wayne Fay [EMAIL PROTECTED] wrote: No. You will need to use a profile that adds the execution instead. Wayne On 4/18/08, Edward J. Yoon [EMAIL PROTECTED] wrote: I'd like to remove the specified execution when '-Dignore' option appeared. For example, 'mvn -U clean package -Dignore=A' ... executions executionidA/id/execution executionidB/id/execution /executions ... Is it possible? -- B. Regards, Edward J. Yoon - 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] -- B. Regards, Edward J. Yoon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Removal the specified execution
What exactly is the question? You may find it useful to run: mvn help:effective-pom Wayne On 4/20/08, Edward J. Yoon [EMAIL PROTECTED] wrote: I thought it is possible using activeByDefault. But, activeByDefaulttrue/activeByDefault doesn't work. What's wrong? On Sat, Apr 19, 2008 at 12:28 AM, Wayne Fay [EMAIL PROTECTED] wrote: No. You will need to use a profile that adds the execution instead. Wayne On 4/18/08, Edward J. Yoon [EMAIL PROTECTED] wrote: I'd like to remove the specified execution when '-Dignore' option appeared. For example, 'mvn -U clean package -Dignore=A' ... executions executionidA/id/execution executionidB/id/execution /executions ... Is it possible? -- B. Regards, Edward J. Yoon - 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] -- B. Regards, Edward J. Yoon - 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]
Hi may I know how to do hot deploy with maven ?
Hi may I know how to do hot deploy with maven , because It's causing alot of time to developing a JSF application which error message is not clear. Thank you -- View this message in context: http://www.nabble.com/Hi-may-I-know-how-to-do-hot-deploy-with-maven---tp16802415s177p16802415.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]