Re: Build error java.lang.IllegalArgumentException: Negative time, at java.io.File.setLastModified(File.java:1344)
Not really sure why the problem occurs, but found out the solution. The error occurs because, one or more file that you are trying to build, has a negative time.(file.getLastModified() returns a negative value). If its a huge project, might be hard to track which of them has gone wrong. Below code might help package com.example; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Date; import java.util.List; public class ModifyAll { public static void main(String[] args) throws IOException { List folderList = new ArrayList<>(); List fileList = new ArrayList<>(); File folder = new File("D:/Rakhu/Copy/projectfolder/src"); FileVO baseFileVO = segregateFiles(folder); fileList.addAll(baseFileVO.getFileList()); folderList.addAll(baseFileVO.getFolderList()); for (int i = 0; i < folderList.size(); i++) { FileVO thisVO = segregateFiles(folderList.get(i)); fileList.addAll(thisVO.getFileList()); folderList.addAll(thisVO.getFolderList()); } for (int i = 0; i < fileList.size(); i++) { Date dte = new Date(); long milliSeconds = dte.getTime(); System.out.println("Setting Time For " + fileList.get(i) + " as " + milliSeconds); fileList.get(i).setLastModified(milliSeconds); } System.out.println("Succesfully Modified..!!!"); } public static FileVO segregateFiles(File folder) { List folderList = new ArrayList<>(); List fileList = new ArrayList<>(); File[] listOfFiles = folder.listFiles(); for (int i = 0; i < listOfFiles.length; i++) { if (listOfFiles[i].isFile()) { fileList.add(listOfFiles[i]); } else { folderList.add(listOfFiles[i]); } System.out.println(listOfFiles[i]); } return new FileVO(fileList, folderList); } } FileVO.java package com.example; import java.io.File; import java.util.ArrayList; import java.util.List; public class FileVO { List fileList = new ArrayList<>(); List folderList = new ArrayList<>(); public FileVO(List fileList, List folderList) { this.fileList = fileList; this.folderList = folderList; } public List getFileList() { return fileList; } public void setFileList(List fileList) { this.fileList = fileList; } public List getFolderList() { return folderList; } public void setFolderList(List folderList) { this.folderList = folderList; } } - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: build error - could not access repository
As the error text states, https://maven-repository.dev. java.net/nonav/repository cannot be accessed. IIRC the java.net Maven repos have been shut down some time ago and Oracle moved all/some of it to central. Not everything is available there though so you might need to deploy some of the artifacts to your internal repo manager. /Anders On Tue, Jul 28, 2015 at 6:32 PM, Magnanao, Hector hector.magna...@sap.com wrote: Can anyone help on why I'm getting this error ? [ERROR] Failed to execute goal on project foundation: Could not resolve dependencies for project com.mycompany.app:foundation:jar:1.0-SNAPSHOT: The following artifacts could not be resolved: com.sun.jmx:jmxri:jar:1.2.1, javax.sql:jdbc-stdext:jar:2.0, javax.jms:jms:jar:1.1, com.sun.jdmk:jmxtools:jar:1.2.1: Could not transfer artifact com.sun.jmx:jmxri:jar:1.2.1 from/to java.net ( https://maven-repository.dev.java.net/nonav/repository): Cannot access https://maven-repository.dev.java.net/nonav/repository with type legacy using the available connector factories: BasicRepositoryConnectorFactory: Ca nnot access https://maven-repository.dev.java.net/nonav/repository with type legacy using the available layout factories: Maven2RepositoryLayoutFactory: Unsupported repository layout legacy - [Help 1 ] Hector Magnanao Jr. SCM Analyst Fieldglass, Inc. O: (331) 702-6142 M: (773) 474-3051 hector.magna...@sap.com www.fieldglass.com Fieldglass is now part of SAP This email contains confidential information. If you are not the intended recipient, do not read, distribute or reproduce this transmission (including any attachments). If you have received this email in error, please notify the sender by email reply.
Re: build error on strutsel
If you are using a Maven repo and and good IDE, it should help you find out what versions of the transitive dependencies are being loaded. You may need to look at the docs for the third party libraries and your own libraries to see what versions are required. Likely /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java: requires a later version of the class foundation.web.taglib.struts.html.FormTagEl that includes the methods that your code is trying to use. Maven is finding the class OK but the methods you are calling are not in that class. You need to read up on foundation.web.taglib.struts.html.FormTagEl to find out what versions include getName() getScope() setScope(java.lang.String) The version that you have specified in your POM does not. If you don't want to do that, you can just try the latest Struts and see what happens, The person who wrote /com/mycompany/app/web/taglib/struts/html/FormTagEl.java should be able to tell you what version he/she was reading about when they decided to use these methods. Ron Not sure why you are loading On 27/07/2015 11:16 AM, Magnanao, Hector wrote: Curtis, can you elaborate on this ? if the libraries I uploaded in my pom file are newer, how do I find out what version of those libraries are set of code compatible with ? For instance, in my old ant lib folder, I have a struts and struts-el.jar. should I load those into my own local repository ? Hector -Original Message- From: ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Friday, July 24, 2015 4:13 PM To: Maven Users List Subject: Re: build error on strutsel Hi Hector, Maybe you are depending on the wrong version of those libraries? API change and evolve; you have to depend on a version compatible with what was originally coded against. -Curtis On Fri, Jul 24, 2015 at 3:04 PM, Magnanao, Hector hector.magna...@sap.com wrote: Hi Curtis, I have these remaining errors on my compilation. I can't figure out if this is code or package errors. Can you help me out ? [ERROR] COMPILATION ERROR : [INFO] - [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[351,53] cannot find symbol symbol: method getName() location: class foundation.web.taglib.struts.html.FormTagEl [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[352,18] cannot find symbol symbol: method setName(java.lang.String) [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[360,54] cannot find symbol symbol: method getScope() location: class foundation.web.taglib.struts.html.FormTagEl [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[361,18] cannot find symbol symbol: method setScope(java.lang.String) [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[375,53] cannot find symbol symbol: method getType() location: class foundation.web.taglib.struts.html.FormTagEl [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[376,18] cannot find symbol symbol: method setType(java.lang.String) [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/cache/LicenseService.java:[35,23] cannot find symbol symbol: class License location: package aspose.pdf [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/cache/LicenseService.java:[35,59] cannot find symbol symbol: class License location: package aspose.pdf [INFO] 8 errors -Original Message- From: ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Friday, July 24, 2015 1:13 PM To: Maven Users List Subject: Re: build error on strutsel Hi Hector, package com.aspose.cells does not exist Looks like Aspose.Cells is in its own Maven repo from that company: http://www.aspose.com/blogs/aspose-products/aspose-total-product-family/archive/2014/08/12/aspose-for-maven-aspose-cloud-maven-repository.html Found by searching Google for com.aspose.cells maven Repeat these tricks for all packages you need to find. -Curtis On Fri, Jul 24, 2015 at 12:39 PM, Magnanao, Hector hector.magna...@sap.com wrote: Hi Curtis, that’s ok, I got past that error. Now I get this one. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project foundation: Compilation failure: Compilation failure: [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/cache/LicenseService.java:[3,24] package com.aspose.cells does not exist From: ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Friday, July 24, 2015 12:35 PM To: Maven
RE: build error on strutsel
Curtis, can you elaborate on this ? if the libraries I uploaded in my pom file are newer, how do I find out what version of those libraries are set of code compatible with ? For instance, in my old ant lib folder, I have a struts and struts-el.jar. should I load those into my own local repository ? Hector -Original Message- From: ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Friday, July 24, 2015 4:13 PM To: Maven Users List Subject: Re: build error on strutsel Hi Hector, Maybe you are depending on the wrong version of those libraries? API change and evolve; you have to depend on a version compatible with what was originally coded against. -Curtis On Fri, Jul 24, 2015 at 3:04 PM, Magnanao, Hector hector.magna...@sap.com wrote: Hi Curtis, I have these remaining errors on my compilation. I can't figure out if this is code or package errors. Can you help me out ? [ERROR] COMPILATION ERROR : [INFO] - [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[351,53] cannot find symbol symbol: method getName() location: class foundation.web.taglib.struts.html.FormTagEl [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[352,18] cannot find symbol symbol: method setName(java.lang.String) [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[360,54] cannot find symbol symbol: method getScope() location: class foundation.web.taglib.struts.html.FormTagEl [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[361,18] cannot find symbol symbol: method setScope(java.lang.String) [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[375,53] cannot find symbol symbol: method getType() location: class foundation.web.taglib.struts.html.FormTagEl [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[376,18] cannot find symbol symbol: method setType(java.lang.String) [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/cache/LicenseService.java:[35,23] cannot find symbol symbol: class License location: package aspose.pdf [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/cache/LicenseService.java:[35,59] cannot find symbol symbol: class License location: package aspose.pdf [INFO] 8 errors -Original Message- From: ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Friday, July 24, 2015 1:13 PM To: Maven Users List Subject: Re: build error on strutsel Hi Hector, package com.aspose.cells does not exist Looks like Aspose.Cells is in its own Maven repo from that company: http://www.aspose.com/blogs/aspose-products/aspose-total-product-family/archive/2014/08/12/aspose-for-maven-aspose-cloud-maven-repository.html Found by searching Google for com.aspose.cells maven Repeat these tricks for all packages you need to find. -Curtis On Fri, Jul 24, 2015 at 12:39 PM, Magnanao, Hector hector.magna...@sap.com wrote: Hi Curtis, that’s ok, I got past that error. Now I get this one. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project foundation: Compilation failure: Compilation failure: [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/cache/LicenseService.java:[3,24] package com.aspose.cells does not exist From: ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Friday, July 24, 2015 12:35 PM To: Maven Users List Subject: Re: build error on strutsel Hi Hector, I clicked on the link and it returns nothing. How do I search for it in the repository ? That's baffling. I see this: [Inline image 1] I have no clue why it would be different for you... Regards, Curtis On Fri, Jul 24, 2015 at 12:31 PM, Magnanao, Hector hector.magna...@sap.commailto:hector.magna...@sap.com wrote: Hi Curtis, I clicked on the link and it returns nothing. How do I search for it in the repository ? -Original Message- From: ctrueden.w...@gmail.commailto:ctrueden.w...@gmail.com [mailto: ctrueden.w...@gmail.commailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Friday, July 24, 2015 12:17 PM To: Maven Users List Subject: Re: build error on strutsel Hi Hector, I can't find it in the maven repository. http://search.maven.org/#search%7Cga%7C1%7Cfc%3A%22org.apache.strutsel.taglib.utils%22 -Curtis On Fri, Jul 24, 2015 at 12:11 PM, Magnanao, Hector hector.magna...@sap.commailto:hector.magna...@sap.com wrote
Re: build error on strutsel
Hi Hector, how do I find out what version of those libraries are set of code compatible with ? For instance, in my old ant lib folder, I have a struts and struts-el.jar. For JARs managed in this old Ant way, the versioning is at the whim of each particular library. You could check the JAR manifest to see if they put the relevant version string in there. You could just try all available versions of the library by changing the version of your pom.xml until it compiles successfully. You can do a binary version search to find the version in O(log n) steps instead of O(n). You could compare file sizes of the JARs again those of known versions (e.g., from a fresh download). But you have to be careful with the latter because the file size may not exactly match depending on exactly how the JAR was built. Maybe safer would be to diff the output of jar tf and javap on all the classes? Perhaps someone here knows a better way. should I load those into my own local repository ? Almost certainly not. Depend on the correct version from Maven Central whenever possible. Regards, Curtis On Mon, Jul 27, 2015 at 10:16 AM, Magnanao, Hector hector.magna...@sap.com wrote: Curtis, can you elaborate on this ? if the libraries I uploaded in my pom file are newer, how do I find out what version of those libraries are set of code compatible with ? For instance, in my old ant lib folder, I have a struts and struts-el.jar. should I load those into my own local repository ? Hector -Original Message- From: ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Friday, July 24, 2015 4:13 PM To: Maven Users List Subject: Re: build error on strutsel Hi Hector, Maybe you are depending on the wrong version of those libraries? API change and evolve; you have to depend on a version compatible with what was originally coded against. -Curtis On Fri, Jul 24, 2015 at 3:04 PM, Magnanao, Hector hector.magna...@sap.com wrote: Hi Curtis, I have these remaining errors on my compilation. I can't figure out if this is code or package errors. Can you help me out ? [ERROR] COMPILATION ERROR : [INFO] - [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[351,53] cannot find symbol symbol: method getName() location: class foundation.web.taglib.struts.html.FormTagEl [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[352,18] cannot find symbol symbol: method setName(java.lang.String) [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[360,54] cannot find symbol symbol: method getScope() location: class foundation.web.taglib.struts.html.FormTagEl [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[361,18] cannot find symbol symbol: method setScope(java.lang.String) [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[375,53] cannot find symbol symbol: method getType() location: class foundation.web.taglib.struts.html.FormTagEl [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[376,18] cannot find symbol symbol: method setType(java.lang.String) [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/cache/LicenseService.java:[35,23] cannot find symbol symbol: class License location: package aspose.pdf [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/cache/LicenseService.java:[35,59] cannot find symbol symbol: class License location: package aspose.pdf [INFO] 8 errors -Original Message- From: ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Friday, July 24, 2015 1:13 PM To: Maven Users List Subject: Re: build error on strutsel Hi Hector, package com.aspose.cells does not exist Looks like Aspose.Cells is in its own Maven repo from that company: http://www.aspose.com/blogs/aspose-products/aspose-total-product-family/archive/2014/08/12/aspose-for-maven-aspose-cloud-maven-repository.html Found by searching Google for com.aspose.cells maven Repeat these tricks for all packages you need to find. -Curtis On Fri, Jul 24, 2015 at 12:39 PM, Magnanao, Hector hector.magna...@sap.com wrote: Hi Curtis, that’s ok, I got past that error. Now I get this one. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project foundation: Compilation failure: Compilation failure: [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/cache/LicenseService.java:[3,24
Re: build error on strutsel
Hi Hector, Maybe you are depending on the wrong version of those libraries? API change and evolve; you have to depend on a version compatible with what was originally coded against. -Curtis On Fri, Jul 24, 2015 at 3:04 PM, Magnanao, Hector hector.magna...@sap.com wrote: Hi Curtis, I have these remaining errors on my compilation. I can't figure out if this is code or package errors. Can you help me out ? [ERROR] COMPILATION ERROR : [INFO] - [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[351,53] cannot find symbol symbol: method getName() location: class foundation.web.taglib.struts.html.FormTagEl [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[352,18] cannot find symbol symbol: method setName(java.lang.String) [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[360,54] cannot find symbol symbol: method getScope() location: class foundation.web.taglib.struts.html.FormTagEl [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[361,18] cannot find symbol symbol: method setScope(java.lang.String) [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[375,53] cannot find symbol symbol: method getType() location: class foundation.web.taglib.struts.html.FormTagEl [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[376,18] cannot find symbol symbol: method setType(java.lang.String) [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/cache/LicenseService.java:[35,23] cannot find symbol symbol: class License location: package aspose.pdf [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/cache/LicenseService.java:[35,59] cannot find symbol symbol: class License location: package aspose.pdf [INFO] 8 errors -Original Message- From: ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Friday, July 24, 2015 1:13 PM To: Maven Users List Subject: Re: build error on strutsel Hi Hector, package com.aspose.cells does not exist Looks like Aspose.Cells is in its own Maven repo from that company: http://www.aspose.com/blogs/aspose-products/aspose-total-product-family/archive/2014/08/12/aspose-for-maven-aspose-cloud-maven-repository.html Found by searching Google for com.aspose.cells maven Repeat these tricks for all packages you need to find. -Curtis On Fri, Jul 24, 2015 at 12:39 PM, Magnanao, Hector hector.magna...@sap.com wrote: Hi Curtis, that’s ok, I got past that error. Now I get this one. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project foundation: Compilation failure: Compilation failure: [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/cache/LicenseService.java:[3,24] package com.aspose.cells does not exist From: ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Friday, July 24, 2015 12:35 PM To: Maven Users List Subject: Re: build error on strutsel Hi Hector, I clicked on the link and it returns nothing. How do I search for it in the repository ? That's baffling. I see this: [Inline image 1] I have no clue why it would be different for you... Regards, Curtis On Fri, Jul 24, 2015 at 12:31 PM, Magnanao, Hector hector.magna...@sap.commailto:hector.magna...@sap.com wrote: Hi Curtis, I clicked on the link and it returns nothing. How do I search for it in the repository ? -Original Message- From: ctrueden.w...@gmail.commailto:ctrueden.w...@gmail.com [mailto: ctrueden.w...@gmail.commailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Friday, July 24, 2015 12:17 PM To: Maven Users List Subject: Re: build error on strutsel Hi Hector, I can't find it in the maven repository. http://search.maven.org/#search%7Cga%7C1%7Cfc%3A%22org.apache.strutsel.taglib.utils%22 -Curtis On Fri, Jul 24, 2015 at 12:11 PM, Magnanao, Hector hector.magna...@sap.commailto:hector.magna...@sap.com wrote: How do I resolve this package error ? I can't find it in the maven repository. ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project foundation: Compilation failure: Compilation failure: ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[64,40] package org.apache.strutsel.taglib.utils does not exist ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web
Re: build error on strutsel
Agreed. There's no point in using Struts-EL anymore. There was a time, as David said, when EL was a tag-only solution. But since JSP 2.0, the servlet container understands EL natively so every tag can use EL. Cheers, Paul On Fri, Jul 24, 2015 at 4:20 PM, David Karr davidmichaelk...@gmail.com wrote: One thing I should mention about your use of the Struts-EL library (which I wrote, like, 15 years ago). It was a stopgap solution to somewhat integrate Struts with JSP expressions, but only in JSP 1.2 containers. If you use it in a JSP 2.0 or newer container, you'll likely get confusing results. It should only be used in a JSP1.2 container. On Fri, Jul 24, 2015 at 2:14 PM Curtis Rueden ctrue...@wisc.edu wrote: Hi Hector, Maybe you are depending on the wrong version of those libraries? API change and evolve; you have to depend on a version compatible with what was originally coded against. -Curtis On Fri, Jul 24, 2015 at 3:04 PM, Magnanao, Hector hector.magna...@sap.com wrote: Hi Curtis, I have these remaining errors on my compilation. I can't figure out if this is code or package errors. Can you help me out ? [ERROR] COMPILATION ERROR : [INFO] - [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[351,53] cannot find symbol symbol: method getName() location: class foundation.web.taglib.struts.html.FormTagEl [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[352,18] cannot find symbol symbol: method setName(java.lang.String) [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[360,54] cannot find symbol symbol: method getScope() location: class foundation.web.taglib.struts.html.FormTagEl [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[361,18] cannot find symbol symbol: method setScope(java.lang.String) [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[375,53] cannot find symbol symbol: method getType() location: class foundation.web.taglib.struts.html.FormTagEl [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[376,18] cannot find symbol symbol: method setType(java.lang.String) [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/cache/LicenseService.java:[35,23] cannot find symbol symbol: class License location: package aspose.pdf [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/cache/LicenseService.java:[35,59] cannot find symbol symbol: class License location: package aspose.pdf [INFO] 8 errors -Original Message- From: ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Friday, July 24, 2015 1:13 PM To: Maven Users List Subject: Re: build error on strutsel Hi Hector, package com.aspose.cells does not exist Looks like Aspose.Cells is in its own Maven repo from that company: http://www.aspose.com/blogs/aspose-products/aspose-total-product-family/archive/2014/08/12/aspose-for-maven-aspose-cloud-maven-repository.html Found by searching Google for com.aspose.cells maven Repeat these tricks for all packages you need to find. -Curtis On Fri, Jul 24, 2015 at 12:39 PM, Magnanao, Hector hector.magna...@sap.com wrote: Hi Curtis, that’s ok, I got past that error. Now I get this one. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project foundation: Compilation failure: Compilation failure: [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/cache/LicenseService.java:[3,24] package com.aspose.cells does not exist From: ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Friday, July 24, 2015 12:35 PM To: Maven Users List Subject: Re: build error on strutsel Hi Hector, I clicked on the link and it returns nothing. How do I search for it in the repository ? That's baffling. I see this: [Inline image 1] I have no clue why it would be different for you... Regards, Curtis On Fri, Jul 24, 2015 at 12:31 PM, Magnanao, Hector hector.magna...@sap.commailto:hector.magna...@sap.com wrote: Hi Curtis, I clicked on the link and it returns nothing. How do I search for it in the repository ? -Original Message- From: ctrueden.w...@gmail.commailto:ctrueden.w...@gmail.com
Re: build error on strutsel
One thing I should mention about your use of the Struts-EL library (which I wrote, like, 15 years ago). It was a stopgap solution to somewhat integrate Struts with JSP expressions, but only in JSP 1.2 containers. If you use it in a JSP 2.0 or newer container, you'll likely get confusing results. It should only be used in a JSP1.2 container. On Fri, Jul 24, 2015 at 2:14 PM Curtis Rueden ctrue...@wisc.edu wrote: Hi Hector, Maybe you are depending on the wrong version of those libraries? API change and evolve; you have to depend on a version compatible with what was originally coded against. -Curtis On Fri, Jul 24, 2015 at 3:04 PM, Magnanao, Hector hector.magna...@sap.com wrote: Hi Curtis, I have these remaining errors on my compilation. I can't figure out if this is code or package errors. Can you help me out ? [ERROR] COMPILATION ERROR : [INFO] - [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[351,53] cannot find symbol symbol: method getName() location: class foundation.web.taglib.struts.html.FormTagEl [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[352,18] cannot find symbol symbol: method setName(java.lang.String) [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[360,54] cannot find symbol symbol: method getScope() location: class foundation.web.taglib.struts.html.FormTagEl [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[361,18] cannot find symbol symbol: method setScope(java.lang.String) [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[375,53] cannot find symbol symbol: method getType() location: class foundation.web.taglib.struts.html.FormTagEl [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[376,18] cannot find symbol symbol: method setType(java.lang.String) [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/cache/LicenseService.java:[35,23] cannot find symbol symbol: class License location: package aspose.pdf [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/cache/LicenseService.java:[35,59] cannot find symbol symbol: class License location: package aspose.pdf [INFO] 8 errors -Original Message- From: ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Friday, July 24, 2015 1:13 PM To: Maven Users List Subject: Re: build error on strutsel Hi Hector, package com.aspose.cells does not exist Looks like Aspose.Cells is in its own Maven repo from that company: http://www.aspose.com/blogs/aspose-products/aspose-total-product-family/archive/2014/08/12/aspose-for-maven-aspose-cloud-maven-repository.html Found by searching Google for com.aspose.cells maven Repeat these tricks for all packages you need to find. -Curtis On Fri, Jul 24, 2015 at 12:39 PM, Magnanao, Hector hector.magna...@sap.com wrote: Hi Curtis, that’s ok, I got past that error. Now I get this one. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project foundation: Compilation failure: Compilation failure: [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/cache/LicenseService.java:[3,24] package com.aspose.cells does not exist From: ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Friday, July 24, 2015 12:35 PM To: Maven Users List Subject: Re: build error on strutsel Hi Hector, I clicked on the link and it returns nothing. How do I search for it in the repository ? That's baffling. I see this: [Inline image 1] I have no clue why it would be different for you... Regards, Curtis On Fri, Jul 24, 2015 at 12:31 PM, Magnanao, Hector hector.magna...@sap.commailto:hector.magna...@sap.com wrote: Hi Curtis, I clicked on the link and it returns nothing. How do I search for it in the repository ? -Original Message- From: ctrueden.w...@gmail.commailto:ctrueden.w...@gmail.com [mailto: ctrueden.w...@gmail.commailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Friday, July 24, 2015 12:17 PM To: Maven Users List Subject: Re: build error on strutsel Hi Hector, I can't find it in the maven repository. http://search.maven.org/#search%7Cga%7C1%7Cfc%3A%22org.apache.strutsel.taglib.utils%22 -Curtis On Fri, Jul 24, 2015 at 12:11 PM, Magnanao, Hector hector.magna
Re: build error on strutsel
Hi Hector, package com.aspose.cells does not exist Looks like Aspose.Cells is in its own Maven repo from that company: http://www.aspose.com/blogs/aspose-products/aspose-total-product-family/archive/2014/08/12/aspose-for-maven-aspose-cloud-maven-repository.html Found by searching Google for com.aspose.cells maven Repeat these tricks for all packages you need to find. -Curtis On Fri, Jul 24, 2015 at 12:39 PM, Magnanao, Hector hector.magna...@sap.com wrote: Hi Curtis, that’s ok, I got past that error. Now I get this one. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project foundation: Compilation failure: Compilation failure: [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/cache/LicenseService.java:[3,24] package com.aspose.cells does not exist From: ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Friday, July 24, 2015 12:35 PM To: Maven Users List Subject: Re: build error on strutsel Hi Hector, I clicked on the link and it returns nothing. How do I search for it in the repository ? That's baffling. I see this: [Inline image 1] I have no clue why it would be different for you... Regards, Curtis On Fri, Jul 24, 2015 at 12:31 PM, Magnanao, Hector hector.magna...@sap.commailto:hector.magna...@sap.com wrote: Hi Curtis, I clicked on the link and it returns nothing. How do I search for it in the repository ? -Original Message- From: ctrueden.w...@gmail.commailto:ctrueden.w...@gmail.com [mailto: ctrueden.w...@gmail.commailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Friday, July 24, 2015 12:17 PM To: Maven Users List Subject: Re: build error on strutsel Hi Hector, I can't find it in the maven repository. http://search.maven.org/#search%7Cga%7C1%7Cfc%3A%22org.apache.strutsel.taglib.utils%22 -Curtis On Fri, Jul 24, 2015 at 12:11 PM, Magnanao, Hector hector.magna...@sap.commailto:hector.magna...@sap.com wrote: How do I resolve this package error ? I can't find it in the maven repository. ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project foundation: Compilation failure: Compilation failure: ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[64,40] package org.apache.strutsel.taglib.utils does not exist ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/bean/MessageTagEl.java:[72,40] package org.apache.strutsel.taglib.utils does not exist Hector Magnanao Jr. SCM Analyst Fieldglass, Inc. O: (331) 702-6142tel:%28331%29%20702-6142 M: (773) 474-3051tel:%28773%29%20474-3051 hector.magna...@sap.commailto:hector.magna...@sap.com www.fieldglass.comhttp://www.fieldglass.com Fieldglass is now part of SAP This email contains confidential information. If you are not the intended recipient, do not read, distribute or reproduce this transmission (including any attachments). If you have received this email in error, please notify the sender by email reply. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.orgmailto: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.orgmailto: users-h...@maven.apache.org
Re: build error on strutsel
Hi Hector, I can't find it in the maven repository. http://search.maven.org/#search%7Cga%7C1%7Cfc%3A%22org.apache.strutsel.taglib.utils%22 -Curtis On Fri, Jul 24, 2015 at 12:11 PM, Magnanao, Hector hector.magna...@sap.com wrote: How do I resolve this package error ? I can't find it in the maven repository. ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project foundation: Compilation failure: Compilation failure: ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[64,40] package org.apache.strutsel.taglib.utils does not exist ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/bean/MessageTagEl.java:[72,40] package org.apache.strutsel.taglib.utils does not exist Hector Magnanao Jr. SCM Analyst Fieldglass, Inc. O: (331) 702-6142 M: (773) 474-3051 hector.magna...@sap.com www.fieldglass.com Fieldglass is now part of SAP This email contains confidential information. If you are not the intended recipient, do not read, distribute or reproduce this transmission (including any attachments). If you have received this email in error, please notify the sender by email reply.
RE: build error on strutsel
Hi Curtis, I clicked on the link and it returns nothing. How do I search for it in the repository ? -Original Message- From: ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Friday, July 24, 2015 12:17 PM To: Maven Users List Subject: Re: build error on strutsel Hi Hector, I can't find it in the maven repository. http://search.maven.org/#search%7Cga%7C1%7Cfc%3A%22org.apache.strutsel.taglib.utils%22 -Curtis On Fri, Jul 24, 2015 at 12:11 PM, Magnanao, Hector hector.magna...@sap.com wrote: How do I resolve this package error ? I can't find it in the maven repository. ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project foundation: Compilation failure: Compilation failure: ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[64,40] package org.apache.strutsel.taglib.utils does not exist ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/bean/MessageTagEl.java:[72,40] package org.apache.strutsel.taglib.utils does not exist Hector Magnanao Jr. SCM Analyst Fieldglass, Inc. O: (331) 702-6142 M: (773) 474-3051 hector.magna...@sap.com www.fieldglass.com Fieldglass is now part of SAP This email contains confidential information. If you are not the intended recipient, do not read, distribute or reproduce this transmission (including any attachments). If you have received this email in error, please notify the sender by email reply. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: build error on strutsel
Hi Hector, I clicked on the link and it returns nothing. How do I search for it in the repository ? That's baffling. I see this: [image: Inline image 1] I have no clue why it would be different for you... Regards, Curtis On Fri, Jul 24, 2015 at 12:31 PM, Magnanao, Hector hector.magna...@sap.com wrote: Hi Curtis, I clicked on the link and it returns nothing. How do I search for it in the repository ? -Original Message- From: ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Friday, July 24, 2015 12:17 PM To: Maven Users List Subject: Re: build error on strutsel Hi Hector, I can't find it in the maven repository. http://search.maven.org/#search%7Cga%7C1%7Cfc%3A%22org.apache.strutsel.taglib.utils%22 -Curtis On Fri, Jul 24, 2015 at 12:11 PM, Magnanao, Hector hector.magna...@sap.com wrote: How do I resolve this package error ? I can't find it in the maven repository. ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project foundation: Compilation failure: Compilation failure: ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[64,40] package org.apache.strutsel.taglib.utils does not exist ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/bean/MessageTagEl.java:[72,40] package org.apache.strutsel.taglib.utils does not exist Hector Magnanao Jr. SCM Analyst Fieldglass, Inc. O: (331) 702-6142 M: (773) 474-3051 hector.magna...@sap.com www.fieldglass.com Fieldglass is now part of SAP This email contains confidential information. If you are not the intended recipient, do not read, distribute or reproduce this transmission (including any attachments). If you have received this email in error, please notify the sender by email reply. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: build error on strutsel
Hi Curtis, that’s ok, I got past that error. Now I get this one. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project foundation: Compilation failure: Compilation failure: [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/cache/LicenseService.java:[3,24] package com.aspose.cells does not exist From: ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Friday, July 24, 2015 12:35 PM To: Maven Users List Subject: Re: build error on strutsel Hi Hector, I clicked on the link and it returns nothing. How do I search for it in the repository ? That's baffling. I see this: [Inline image 1] I have no clue why it would be different for you... Regards, Curtis On Fri, Jul 24, 2015 at 12:31 PM, Magnanao, Hector hector.magna...@sap.commailto:hector.magna...@sap.com wrote: Hi Curtis, I clicked on the link and it returns nothing. How do I search for it in the repository ? -Original Message- From: ctrueden.w...@gmail.commailto:ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.commailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Friday, July 24, 2015 12:17 PM To: Maven Users List Subject: Re: build error on strutsel Hi Hector, I can't find it in the maven repository. http://search.maven.org/#search%7Cga%7C1%7Cfc%3A%22org.apache.strutsel.taglib.utils%22 -Curtis On Fri, Jul 24, 2015 at 12:11 PM, Magnanao, Hector hector.magna...@sap.commailto:hector.magna...@sap.com wrote: How do I resolve this package error ? I can't find it in the maven repository. ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project foundation: Compilation failure: Compilation failure: ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[64,40] package org.apache.strutsel.taglib.utils does not exist ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/bean/MessageTagEl.java:[72,40] package org.apache.strutsel.taglib.utils does not exist Hector Magnanao Jr. SCM Analyst Fieldglass, Inc. O: (331) 702-6142tel:%28331%29%20702-6142 M: (773) 474-3051tel:%28773%29%20474-3051 hector.magna...@sap.commailto:hector.magna...@sap.com www.fieldglass.comhttp://www.fieldglass.com Fieldglass is now part of SAP This email contains confidential information. If you are not the intended recipient, do not read, distribute or reproduce this transmission (including any attachments). If you have received this email in error, please notify the sender by email reply. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.orgmailto:users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.orgmailto:users-h...@maven.apache.org
RE: build error on strutsel
Hi Curtis, I have these remaining errors on my compilation. I can't figure out if this is code or package errors. Can you help me out ? [ERROR] COMPILATION ERROR : [INFO] - [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[351,53] cannot find symbol symbol: method getName() location: class foundation.web.taglib.struts.html.FormTagEl [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[352,18] cannot find symbol symbol: method setName(java.lang.String) [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[360,54] cannot find symbol symbol: method getScope() location: class foundation.web.taglib.struts.html.FormTagEl [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[361,18] cannot find symbol symbol: method setScope(java.lang.String) [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[375,53] cannot find symbol symbol: method getType() location: class foundation.web.taglib.struts.html.FormTagEl [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[376,18] cannot find symbol symbol: method setType(java.lang.String) [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/cache/LicenseService.java:[35,23] cannot find symbol symbol: class License location: package aspose.pdf [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/cache/LicenseService.java:[35,59] cannot find symbol symbol: class License location: package aspose.pdf [INFO] 8 errors -Original Message- From: ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Friday, July 24, 2015 1:13 PM To: Maven Users List Subject: Re: build error on strutsel Hi Hector, package com.aspose.cells does not exist Looks like Aspose.Cells is in its own Maven repo from that company: http://www.aspose.com/blogs/aspose-products/aspose-total-product-family/archive/2014/08/12/aspose-for-maven-aspose-cloud-maven-repository.html Found by searching Google for com.aspose.cells maven Repeat these tricks for all packages you need to find. -Curtis On Fri, Jul 24, 2015 at 12:39 PM, Magnanao, Hector hector.magna...@sap.com wrote: Hi Curtis, that’s ok, I got past that error. Now I get this one. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project foundation: Compilation failure: Compilation failure: [ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/cache/LicenseService.java:[3,24] package com.aspose.cells does not exist From: ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Friday, July 24, 2015 12:35 PM To: Maven Users List Subject: Re: build error on strutsel Hi Hector, I clicked on the link and it returns nothing. How do I search for it in the repository ? That's baffling. I see this: [Inline image 1] I have no clue why it would be different for you... Regards, Curtis On Fri, Jul 24, 2015 at 12:31 PM, Magnanao, Hector hector.magna...@sap.commailto:hector.magna...@sap.com wrote: Hi Curtis, I clicked on the link and it returns nothing. How do I search for it in the repository ? -Original Message- From: ctrueden.w...@gmail.commailto:ctrueden.w...@gmail.com [mailto: ctrueden.w...@gmail.commailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: Friday, July 24, 2015 12:17 PM To: Maven Users List Subject: Re: build error on strutsel Hi Hector, I can't find it in the maven repository. http://search.maven.org/#search%7Cga%7C1%7Cfc%3A%22org.apache.strutsel.taglib.utils%22 -Curtis On Fri, Jul 24, 2015 at 12:11 PM, Magnanao, Hector hector.magna...@sap.commailto:hector.magna...@sap.com wrote: How do I resolve this package error ? I can't find it in the maven repository. ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project foundation: Compilation failure: Compilation failure: ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/html/FormTagEl.java:[64,40] package org.apache.strutsel.taglib.utils does not exist ERROR] /C:/Foundation/foundation/src/main/java/com/mycompany/app/web/taglib/struts/bean/MessageTagEl.java:[72,40] package org.apache.strutsel.taglib.utils does not exist Hector Magnanao Jr. SCM Analyst Fieldglass, Inc. O: (331) 702-6142tel:%28331%29%20702-6142 M: (773) 474-3051tel:%28773%29%20474-3051 hector.magna...@sap.commailto:hector.magna...@sap.com www.fieldglass.comhttp://www.fieldglass.com Fieldglass is now part of SAP
Re: Build error java.lang.IllegalArgumentException: Negative time, at java.io.File.setLastModified(File.java:1344)
Some related reports from 2011: https://jira.codehaus.org/browse/MJAR-142 https://jira.codehaus.org/browse/MWAR-255 AFAICT the PlexusIoFileResource is effectively doing setLastModified(file.lastModified()) to https://github.com/sonatype/plexus-io/blob/master/src/main/java/org/codehaus/plexus/components/io/resources/PlexusIoFileResource.java#L107 This JDK bug could be triggering the problem: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6791812 In which case the PlexusIoFileResource code just needs to be more defensive and not trust that lastModified returns a positive value... On 3 Oct 2013, at 19:29, Ron Wheeler wrote: This is an error that I get when I execute my project in Eclipse/STS while running from a RAM drive. If I run the same project running on Eclipse/STS while running on a regular disk drive it works. It is pretty deep in the Maven code and looks like Maven/Plexus sends a bad argument to a Java function. I have found another complaint like this by Googling but no one had any suggestion about how to fix it. My only fix is to stop using my high speed version and build it in my slow disk based Eclipse and maven (Same software just not on a RAM drive). I am intrigued by the idea that I am able to achieve some ability to reverse time but it does not actually let me get more work done in a day. Quite the contrary. Ron [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single (default) on project util-pom-hibernate-mysql-tomcat: Execution default of goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single failed: Negative time - [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single (default) on project util-pom-hibernate-mysql-tomcat: Execution default of goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single failed: Negative time at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default of goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single failed: Negative time at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more Caused by: java.lang.IllegalArgumentException: Negative time at java.io.File.setLastModified(File.java:1344) at org.codehaus.plexus.components.io.resources.PlexusIoFileResource.setLastModified(PlexusIoFileResource.java:174) at org.codehaus.plexus.components.io.resources.PlexusIoFileResource.setFile(PlexusIoFileResource.java:107) at org.codehaus.plexus.components.io.resources.PlexusIoFileResource.init(PlexusIoFileResource.java:82) at org.codehaus.plexus.components.io.resources.PlexusIoFileResource.init(PlexusIoFileResource.java:66) at org.codehaus.plexus.components.io.resources.PlexusIoFileResource.init(PlexusIoFileResource.java:49) at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.addParentDirs(AbstractZipArchiver.java:446) at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.addResources(AbstractZipArchiver.java:394) at
Re: Build error java.lang.IllegalArgumentException: Negative time, at java.io.File.setLastModified(File.java:1344)
Or alternately, there are cracks in the time-space continuum which is causing this. http://tardis.wikia.com/wiki/Time_Field Kristian (Who is planning to do plexus patches this weekend - hint hint) 2013/10/4 Stuart McCulloch mccu...@gmail.com: Some related reports from 2011: https://jira.codehaus.org/browse/MJAR-142 https://jira.codehaus.org/browse/MWAR-255 AFAICT the PlexusIoFileResource is effectively doing setLastModified(file.lastModified()) to https://github.com/sonatype/plexus-io/blob/master/src/main/java/org/codehaus/plexus/components/io/resources/PlexusIoFileResource.java#L107 This JDK bug could be triggering the problem: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6791812 In which case the PlexusIoFileResource code just needs to be more defensive and not trust that lastModified returns a positive value... On 3 Oct 2013, at 19:29, Ron Wheeler wrote: This is an error that I get when I execute my project in Eclipse/STS while running from a RAM drive. If I run the same project running on Eclipse/STS while running on a regular disk drive it works. It is pretty deep in the Maven code and looks like Maven/Plexus sends a bad argument to a Java function. I have found another complaint like this by Googling but no one had any suggestion about how to fix it. My only fix is to stop using my high speed version and build it in my slow disk based Eclipse and maven (Same software just not on a RAM drive). I am intrigued by the idea that I am able to achieve some ability to reverse time but it does not actually let me get more work done in a day. Quite the contrary. Ron [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single (default) on project util-pom-hibernate-mysql-tomcat: Execution default of goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single failed: Negative time - [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single (default) on project util-pom-hibernate-mysql-tomcat: Execution default of goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single failed: Negative time at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default of goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single failed: Negative time at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more Caused by: java.lang.IllegalArgumentException: Negative time at java.io.File.setLastModified(File.java:1344) at org.codehaus.plexus.components.io.resources.PlexusIoFileResource.setLastModified(PlexusIoFileResource.java:174) at org.codehaus.plexus.components.io.resources.PlexusIoFileResource.setFile(PlexusIoFileResource.java:107) at org.codehaus.plexus.components.io.resources.PlexusIoFileResource.init(PlexusIoFileResource.java:82) at org.codehaus.plexus.components.io.resources.PlexusIoFileResource.init(PlexusIoFileResource.java:66) at
Re: Build error java.lang.IllegalArgumentException: Negative time, at java.io.File.setLastModified(File.java:1344)
I added a comment to https://jira.codehaus.org/browse/MJAR-142 with my stacktrace and my workaround. Ron On 04/10/2013 7:27 AM, Stuart McCulloch wrote: Some related reports from 2011: https://jira.codehaus.org/browse/MJAR-142 https://jira.codehaus.org/browse/MWAR-255 AFAICT the PlexusIoFileResource is effectively doing setLastModified(file.lastModified()) to https://github.com/sonatype/plexus-io/blob/master/src/main/java/org/codehaus/plexus/components/io/resources/PlexusIoFileResource.java#L107 This JDK bug could be triggering the problem: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6791812 In which case the PlexusIoFileResource code just needs to be more defensive and not trust that lastModified returns a positive value... On 3 Oct 2013, at 19:29, Ron Wheeler wrote: This is an error that I get when I execute my project in Eclipse/STS while running from a RAM drive. If I run the same project running on Eclipse/STS while running on a regular disk drive it works. It is pretty deep in the Maven code and looks like Maven/Plexus sends a bad argument to a Java function. I have found another complaint like this by Googling but no one had any suggestion about how to fix it. My only fix is to stop using my high speed version and build it in my slow disk based Eclipse and maven (Same software just not on a RAM drive). I am intrigued by the idea that I am able to achieve some ability to reverse time but it does not actually let me get more work done in a day. Quite the contrary. Ron [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single (default) on project util-pom-hibernate-mysql-tomcat: Execution default of goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single failed: Negative time - [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single (default) on project util-pom-hibernate-mysql-tomcat: Execution default of goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single failed: Negative time at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default of goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single failed: Negative time at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more Caused by: java.lang.IllegalArgumentException: Negative time at java.io.File.setLastModified(File.java:1344) at org.codehaus.plexus.components.io.resources.PlexusIoFileResource.setLastModified(PlexusIoFileResource.java:174) at org.codehaus.plexus.components.io.resources.PlexusIoFileResource.setFile(PlexusIoFileResource.java:107) at org.codehaus.plexus.components.io.resources.PlexusIoFileResource.init(PlexusIoFileResource.java:82) at org.codehaus.plexus.components.io.resources.PlexusIoFileResource.init(PlexusIoFileResource.java:66) at org.codehaus.plexus.components.io.resources.PlexusIoFileResource.init(PlexusIoFileResource.java:49) at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.addParentDirs(AbstractZipArchiver.java:446) at
Re: BUILD ERROR required class is missing: org/apache/maven/shared/model/fileset/FileSet
Salut , je compile le code source opennms 1.10.8 et je trouve des erreurs et j'ai pas réussie de les résoudre et merci de me donner de l'aide . Cordialement, Voila les erreurs trouvés:[INFO] [ERROR] Failed to execute goal com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin:1.2:generate (default) on project org.opennms.features.jdbc -collector: Execution default of goal com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin:1.2:generate failed: A required class was missing wh ile executing com.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin:1.2:generate: com/sun/mirror/apt/AnnotationProcessorFactory [ERROR] - [ERROR] realm = plugincom.sun.tools.jxc.maven2:maven-jaxb-schemagen-plugin:1.2 [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] urls[0] = file:/C:/Users/user/.m2/repository/com/sun/tools/jxc/maven2/maven-jaxb-schemagen-plugin/1.2/maven-jaxb-schemagen-plugin-1.2.j ar [ERROR] urls[1] = file:/C:/Users/user/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar [ERROR] urls[2] = file:/C:/Users/user/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar [ERROR] urls[3] = file:/C:/Users/user/.m2/repository/javax/xml/bind/jaxb-api/2.0/jaxb-api-2.0.jar [ERROR] urls[4] = file:/C:/Users/user/.m2/repository/com/sun/xml/bind/jaxb-impl/2.0.2/jaxb-impl-2.0.2.jar [ERROR] urls[5] = file:/C:/Users/user/.m2/repository/ant/ant/1.6.5/ant-1.6.5.jar [ERROR] urls[6] = file:/C:/Users/user/.m2/repository/com/sun/xml/bind/jaxb-xjc/2.0.2/jaxb-xjc-2.0.2.jar [ERROR] urls[7] = file:/C:/Users/user/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar [ERROR] urls[8] = file:/C:/Users/user/.m2/repository/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0.jar [ERROR] Number of foreign imports: 1 [ERROR] import: Entry[import from realm ClassRealm[projectorg.opennms.features:org.opennms.features.jdbc-collector:1.11.90-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]] [ERROR] [ERROR] -: com.sun.mirror.apt.AnnotationProcessorFactory [ERROR] - [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/PluginContainerException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn goals -rf :org.opennms.features.jdbc-collector -- View this message in context: http://maven.40175.n5.nabble.com/BUILD-ERROR-required-class-is-missing-org-apache-maven-shared-model-fileset-FileSet-tp118390p5751833.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: BUILD ERROR required class is missing: org/apache/maven/shared/model/fileset/FileSet
Maven is running on Windows7 64bit, installed in C:\Program Files (x86)\apache-maven-2.2.1\, and the PATH of the machine includes C:\Program Files (x86)\apache-maven-2.2.1\bin I can't tell you why exactly FileSet can't be found... but you should probably redo your install to avoid future issues. Put it in c:\dev\maven or something without spaces in the directory names. Every now and then there's an odd error that pops up on this list like unknown protocol: and due to the and in C:\Documents and Settings etc. Ideally you might also define your local repo cache to be in a similar no-spaces path via settings.xml. Try mvn -U clean to force an update of plugins and see if that fixes your error. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: BUILD ERROR required class is missing: org/apache/maven/shared/model/fileset/FileSet
Hello, Have you tried running it at the command line? It appears you may have a few issues. 1) Do you have an .m2 under your home folder? It should be there with a settings file. 2) Are you logged in as the user user? That is where maven is looking for the repository there. 3) You should have M2_HOME as well as JAVA_HOME set. 4) Doing a dir \ /X will show you the short names for the folders Documents and Settings and Program Files. This should alleviate the space issue. Windows file system only get something like 240 characters for file names. Terrible to have to shorten names to get things to work on Windows. Hope this helps. I'm no expert on Maven, so I have seen those problems before. Pete Maxim Veksler wrote: Hello, I'm just starting with Maven. Maven is running on Windows7 64bit, installed in C:\Program Files (x86)\apache-maven-2.2.1\, and the PATH of the machine includes C:\Program Files (x86)\apache-maven-2.2.1\bin I've created a new Maven project from eclipse using m2eclipse. The archetype of the newly created project is maven-archetype-webapp. This is the POM: 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 groupIdTest/groupId artifactIdTest/artifactId packagingwar/packaging version0.0.1-SNAPSHOT/version nameTest Maven Webapp/name urlhttp://maven.apache.org/url dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency /dependencies build finalNameTest/finalName /build /project Trying to run a simple mvn clean, either from Eclipse or from command line gives the following error: C:\Users\User\test\Testmvn clean [INFO] Scanning for projects... [INFO] [INFO] Building Test Maven Webapp [INFO]task-segment: [clean] [INFO] - this realm = app0.child-container[org.apache.maven.plugins:maven-clean-plugin:2. 2] urls[0] = file:/C:/Users/User/.m2/repository/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.jar urls[1] = file:/C:/Users/User/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar urls[2] = file:/C:/Users/User/.m2/repository/org/apache/maven/shared/file-management/1.2/file-management-1.2.jar urls[3] = file:/C:/Users/User/.m2/repository/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.jar Number of imports: 10 import: org.codehaus.classworlds.en...@a6c57a42 import: org.codehaus.classworlds.en...@12f43f3b import: org.codehaus.classworlds.en...@20025374 import: org.codehaus.classworlds.en...@f8e44ca4 import: org.codehaus.classworlds.en...@92758522 import: org.codehaus.classworlds.en...@ebf2705b import: org.codehaus.classworlds.en...@bb25e54 import: org.codehaus.classworlds.en...@bece5185 import: org.codehaus.classworlds.en...@3fee8e37 import: org.codehaus.classworlds.en...@3fee19d8 this realm = plexus.core urls[0] = file:/C:/Program Files (x86)/apache-maven-2.2.1/bin/../lib/maven-2.2.1-uber.jar Number of imports: 10 import: org.codehaus.classworlds.en...@a6c57a42 import: org.codehaus.classworlds.en...@12f43f3b import: org.codehaus.classworlds.en...@20025374 import: org.codehaus.classworlds.en...@f8e44ca4 import: org.codehaus.classworlds.en...@92758522 import: org.codehaus.classworlds.en...@ebf2705b import: org.codehaus.classworlds.en...@bb25e54 import: org.codehaus.classworlds.en...@bece5185 import: org.codehaus.classworlds.en...@3fee8e37 import: org.codehaus.classworlds.en...@3fee19d8 - [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-clean-plugin:2.2:clean': Unable to load the mojo 'org.apache.maven.plugins:mavenclean-plugin:2.2:clean' in the plugin 'org.apache.maven.plugins:maven-clean-plugin'. A required class is missing: org/apache/maven/shared/model/fileset/FileSet [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Sun Mar 21 19:05:24 IST 2010 [INFO] Final Memory: 2M/5M [INFO] What could be the problem? Thank you, Maxim. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
Re: BUILD ERROR required class is missing: org/apache/maven/shared/model/fileset/FileSet
On Sun, Mar 21, 2010 at 7:22 PM, Wayne Fay wayne...@gmail.com wrote: Maven is running on Windows7 64bit, installed in C:\Program Files (x86)\apache-maven-2.2.1\, and the PATH of the machine includes C:\Program Files (x86)\apache-maven-2.2.1\bin I can't tell you why exactly FileSet can't be found... but you should probably redo your install to avoid future issues. Put it in c:\dev\maven or something without spaces in the directory names. Every now and then there's an odd error that pops up on this list like unknown protocol: and due to the and in C:\Documents and Settings etc. Ideally you might also define your local repo cache to be in a similar no-spaces path via settings.xml. Try mvn -U clean to force an update of plugins and see if that fixes your error. Wayne Hi Wayne, thanks for helping. Deleting my repository completely and letting maven re-download the whole thing solved the problem. Strange, it's a fresh install of maven... perhaps the tool should add chksum verification for broken jars ? -- Cheers, Maxim Veksler Free as in Freedom - Do u GNU ? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: build error
That was all, many thanks wayne!!! Already theres another error whit the pom.xml but i have one in the directory [INFO] Scanning for projects... [INFO] [INFO] Building Maven Default Project [INFO]task-segment: [package] [INFO] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Cannot execute mojo: resources. It requires a project with an existing pom.xml, but the build is not using one. [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Fri Apr 03 10:24:13 CEST 2009 [INFO] Final Memory: 3M/6M [INFO] 2009/4/2 Wayne Fay wayne...@gmail.com On Thu, Apr 2, 2009 at 1:26 AM, Carlos Palop cpa...@gmail.com wrote: I've configured the proxy in settings.xml like this, we don't have proxy user and password: Did you remove the !-- and -- from around the proxy node in settings.xml? Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: build error
Thx 4 all Wayne it was a path error! 2009/4/3 Carlos Palop cpa...@gmail.com That was all, many thanks wayne!!! Already theres another error whit the pom.xml but i have one in the directory [INFO] Scanning for projects... [INFO] [INFO] Building Maven Default Project [INFO]task-segment: [package] [INFO] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Cannot execute mojo: resources. It requires a project with an existing pom.xml, but the build is not using one. [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Fri Apr 03 10:24:13 CEST 2009 [INFO] Final Memory: 3M/6M [INFO] 2009/4/2 Wayne Fay wayne...@gmail.com On Thu, Apr 2, 2009 at 1:26 AM, Carlos Palop cpa...@gmail.com wrote: I've configured the proxy in settings.xml like this, we don't have proxy user and password: Did you remove the !-- and -- from around the proxy node in settings.xml? Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: build error
I've configured the proxy in settings.xml like this, we don't have proxy user and password: proxy idoptional/id activetrue/active protocolhttp/protocol username/username password/password hostPROXYUFV.MAIL/host port8080/port nonProxyHosts/nonProxyHosts /proxy Then I've tried this: r...@carlos-laptop:/dspace# mvn -U package [INFO] Scanning for projects... [INFO] [INFO] Building Maven Default Project [INFO]task-segment: [package] [INFO] [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for updates from central [WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-resources-plugin' could not be retrieved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 3 minutes 9 seconds [INFO] Finished at: Thu Apr 02 10:21:11 CEST 2009 [INFO] Final Memory: 1M/2M [INFO] 2009/4/1 Wayne Fay wayne...@gmail.com [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found Try mvn -U package and see if that resolves it. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: build error
On Thu, Apr 2, 2009 at 1:26 AM, Carlos Palop cpa...@gmail.com wrote: I've configured the proxy in settings.xml like this, we don't have proxy user and password: Did you remove the !-- and -- from around the proxy node in settings.xml? Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: build error
[INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found Try mvn -U package and see if that resolves it. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: BUILD ERROR
can you enable debug mode? with -e or -X ? On Sun, Jan 25, 2009 at 8:42 PM, Wen Shixiang crest@gmail.com wrote: Hi All I am one Maven newer. I encountered the following error when I try to run mvn clean install: ==START== B:\mvn clean install [INFO] Scanning for projects... [INFO] [INFO] Building Maven Default Project [INFO]task-segment: [clean, install] [INFO] Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. GroupId: org.apache.maven.plugins ArtifactId: maven-clean-plugin Version: 2.2 Reason: Unable to download the artifact from any repository org.apache.maven.plugins:maven-clean-plugin:pom:2.2 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: 2 seconds [INFO] Finished at: Mon Jan 26 04:23:08 GMT 2009 [INFO] Final Memory: 1M/254M [INFO] ==END== Anybody can get me out of this? Thanks in advance! -- Best Regards! Bruce Wen A thousand-li journey is started by taking the first step. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: BUILD ERROR
Maybe it's a metadata problem? Could you try deleting the 2.2 directory of the maven-clean-plugin in your local repository and then build again? Thanks, Deng On Mon, Jan 26, 2009 at 12:42 PM, Wen Shixiang crest@gmail.com wrote: Hi All I am one Maven newer. I encountered the following error when I try to run mvn clean install: ==START== B:\mvn clean install [INFO] Scanning for projects... [INFO] [INFO] Building Maven Default Project [INFO]task-segment: [clean, install] [INFO] Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. GroupId: org.apache.maven.plugins ArtifactId: maven-clean-plugin Version: 2.2 Reason: Unable to download the artifact from any repository org.apache.maven.plugins:maven-clean-plugin:pom:2.2 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: 2 seconds [INFO] Finished at: Mon Jan 26 04:23:08 GMT 2009 [INFO] Final Memory: 1M/254M [INFO] ==END== Anybody can get me out of this? Thanks in advance! -- Best Regards! Bruce Wen A thousand-li journey is started by taking the first step. -- Maria Odea Ching Software Engineer | Exist Global | 687-4091 | Skype: maria.odea.ching | www.exist.com | Innovation Delivered
RE: Build error at site-plugin = The skin does not exist
I get this error if the central repository is not available when running the site command. In our environment, we use Artifactory with the mirrors setting. We have also disabled the central repository that is defined in the super pom. This prevents our builds from ever needing to go to the Internet for anything. Everything goes through Artifactory. For some reason I don't understand if you disable Central, this error occurs when running the maven site command. It's documented here: http://jira.codehaus.org/browse/MNG-3139 -Original Message- From: Ole Laurisch [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2008 8:59 AM To: users@maven.apache.org Subject: Build error at site-plugin = The skin does not exist Hi, I get this error today while making a build with the site plugin. Some Google search leads me to similar problems where it is said that a possible solution (or workaround) would be to add a site directory with a site.xml specifying the skin version. The thing is, that I don't have any site plugin customization. The site goal worked perfectly well for weeks and our pom.xml is unchanged since October 9th. Do you habe any idea what the cause of the problem is and how I can handle it? Thanks in advance, Ole Maven trace: [INFO] [site:site] [WARNING] No URL defined for the project - decoration links will not be resolved [INFO] artifact org.apache.maven.skins:maven-default-skin: checking for updates from central [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] The skin does not exist: Unable to determine the release version Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.maven.skins -DartifactId=maven-default-skin -Dversion=RELEASE -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.maven.skins -DartifactId=maven-default-skin -Dversion=RELEASE -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] org.apache.maven.skins:maven-default-skin:jar:RELEASE -- Kommen Sie uns besuchen: Vom 18.-21.11. 2008 wird engram auf der Innovationsfläche des IT-Forums der Finanz Informatik in Frankfurt als Aussteller innovative Lösungen im Bereich IT vorstellen. Interessenten finden engram in der Halle 4.2, Frankfurter Messe. Wir freuen uns auf Ihren Besuch! engram GmbH Konsul-Smidt-Straße 8r 28217 Bremen Germany Tel.: +49-[0]421-620298-0 Fax: +49-[0]421-620298-999 Handelsregister Bremen HRB 20782 Geschäftsführer: Jens Wünderlich Aufsichtsratsvorsitzender: Ralf Paslack - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Antwort: RE: Build error at site-plugin = The skin does not exist
I don't know exactly why, but the problem has disappeared as silent as it came. We are using nexus as a repository manager and yesterday I had another problem with its repositories. Maybe the fix of that problem has fixed the build problem too. Von: Vogelsang, Jeff [EMAIL PROTECTED] An: Maven Users List users@maven.apache.org Datum: 19.11.2008 12:32 Betreff: RE: Build error at site-plugin = The skin does not exist I get this error if the central repository is not available when running the site command. In our environment, we use Artifactory with the mirrors setting. We have also disabled the central repository that is defined in the super pom. This prevents our builds from ever needing to go to the Internet for anything. Everything goes through Artifactory. For some reason I don't understand if you disable Central, this error occurs when running the maven site command. It's documented here: http://jira.codehaus.org/browse/MNG-3139 -Original Message- From: Ole Laurisch [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2008 8:59 AM To: users@maven.apache.org Subject: Build error at site-plugin = The skin does not exist Hi, I get this error today while making a build with the site plugin. Some Google search leads me to similar problems where it is said that a possible solution (or workaround) would be to add a site directory with a site.xml specifying the skin version. The thing is, that I don't have any site plugin customization. The site goal worked perfectly well for weeks and our pom.xml is unchanged since October 9th. Do you habe any idea what the cause of the problem is and how I can handle it? Thanks in advance, Ole Maven trace: [INFO] [site:site] [WARNING] No URL defined for the project - decoration links will not be resolved [INFO] artifact org.apache.maven.skins:maven-default-skin: checking for updates from central [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] The skin does not exist: Unable to determine the release version Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.maven.skins -DartifactId=maven-default-skin -Dversion=RELEASE -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.maven.skins -DartifactId=maven-default-skin -Dversion=RELEASE -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] org.apache.maven.skins:maven-default-skin:jar:RELEASE -- Kommen Sie uns besuchen: Vom 18.-21.11. 2008 wird engram auf der Innovationsfläche des IT-Forums der Finanz Informatik in Frankfurt als Aussteller innovative Lösungen im Bereich IT vorstellen. Interessenten finden engram in der Halle 4.2, Frankfurter Messe. Wir freuen uns auf Ihren Besuch! engram GmbH Konsul-Smidt-Straße 8r 28217 Bremen Germany Tel.: +49-[0]421-620298-0 Fax: +49-[0]421-620298-999 Handelsregister Bremen HRB 20782 Geschäftsführer: Jens Wünderlich Aufsichtsratsvorsitzender: Ralf Paslack - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Kommen Sie uns besuchen: Vom 18.-21.11. 2008 wird engram auf der Innovationsfläche des IT-Forums der Finanz Informatik in Frankfurt als Aussteller innovative Lösungen im Bereich IT vorstellen. Interessenten finden engram in der Halle 4.2, Frankfurter Messe. Wir freuen uns auf Ihren Besuch! engram GmbH Konsul-Smidt-Straße 8r 28217 Bremen Germany Tel.: +49-[0]421-620298-0 Fax: +49-[0]421-620298-999 Handelsregister Bremen HRB 20782 Geschäftsführer: Jens Wünderlich Aufsichtsratsvorsitzender: Ralf Paslack
Re: Build error just after install during 5 minutes guide
Are you behind a proxy? This error tells you, that maven couldn't find a plugin, which it will try to retrieve from the central repository. If you are behind a proxy, you cannot retrieve this plugin, so maven will fail. To resolve this, take a look at [1] and add a proxy section to your settings.xml. This file is in your maven directory and in your user directory. [1] http://maven.apache.org/ref/2.0.7/maven-settings/settings.html Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Mon, Oct 20, 2008 at 10:46 AM, Dmitry S. Kravchenko [EMAIL PROTECTED] wrote: Hi! I have installed maven-2.0.9 into C:\Program Files\Apache Software Foundation Also I have followed instructions 2-7 from here http://maven.apache.org/download.html#Installation After that mvn --version says this: D:\Users\Dims\Design\Mavenmvn --version Maven version: 2.0.9 Java version: 1.6.0_03 OS name: windows xp version: 5.1 arch: x86 Family: windows But the next instruction from 5 minute guide causes an error (I have supplied -e switch for more details): D:\Users\Dims\Design\Mavenmvn -e archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] org.apache.maven.plugins: checking for updates from central [INFO] org.codehaus.mojo: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-archetype-plugin: checking for updates from central [WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-archetype-plugin' could not be retrieved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid versi on could be found [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.maven.plugins:maven-a rchetype-plugin' does not exist or no valid version could be found at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor .java:1303) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExe cutor.java:1542) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(Def aultLifecycleExecutor.java:405) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java :137) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) 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:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException: The plugin 'org.apache.ma ven.plugins:maven-archetype-plugin' does not exist or no valid version could be found at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultP luginVersionManager.java:229) at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultP luginVersionManager.java:91) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:171) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor .java:1274) ... 14 more [INFO] [INFO] Total time: 38 seconds [INFO] Finished at: Mon Oct 20 12:44:21 MSD 2008 [INFO] Final Memory: 12M/64M [INFO] Why? And what to do? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED]
Re: Build error with jython plugin !!??
Set the groupId of the plugin: groupIdcom.servprise.maven.plugins/groupId Their instructions seem odd to me (creating a dependency instead of setting the version and group in the plugin tag). Give this a try instead of using a dependency: plugin artifactIdmaven-jython-plugin/artifactId groupIdcom.servprise.maven.plugins/groupId version0.3/version executions execution idcompile/id configuration jythonHomeC:\jython2.2.1/jythonHome /configuration goals goalcompile/goal /goals /execution /executions /plugin On Tue, Sep 30, 2008 at 6:25 AM, miata [EMAIL PROTECTED] wrote: Hi, I'm new user of maven and I want use the jython plugin but I have a problem at compilation... This is the error : The plugin 'org.apache.maven.plugins:maven-jython-plugin' does not exist or no valid version could be found It's use in a new project and his configuration pom is very simple : plugins plugin artifactIdmaven-jython-plugin/artifactId executions execution idcompile/id configuration jythonHomeC:\jython2.2.1/jythonHome /configuration goals goalcompile/goal /goals /execution /executions /plugin /plugins /build repositories repository idServprise Repository/id urlhttp://dev.servprise.com/maven-repository/url /repository /repositories dependencies !-- JYTHON -- dependency groupIdcom.servprise.maven.plugins/groupId artifactIdmaven-jython-plugin/artifactId version0.3/version scopecompile/scope /dependency /dependencies My m2Repository have the plugin, the version is good and the plugin has been add into the project... I don't understand this problem compilation, if someone has an idea to resolve ??? thanks -- View this message in context: http://www.nabble.com/Build-error-with-jython-plugin-%21%21---tp19741002p19741002.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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Build error with jython plugin !!??
It's works !!! Thank you very much :drunk: Andrew Robinson-5 wrote: Set the groupId of the plugin: groupIdcom.servprise.maven.plugins/groupId Their instructions seem odd to me (creating a dependency instead of setting the version and group in the plugin tag). Give this a try instead of using a dependency: plugin artifactIdmaven-jython-plugin/artifactId groupIdcom.servprise.maven.plugins/groupId version0.3/version executions execution idcompile/id configuration jythonHomeC:\jython2.2.1/jythonHome /configuration goals goalcompile/goal /goals /execution /executions /plugin On Tue, Sep 30, 2008 at 6:25 AM, miata [EMAIL PROTECTED] wrote: Hi, I'm new user of maven and I want use the jython plugin but I have a problem at compilation... This is the error : The plugin 'org.apache.maven.plugins:maven-jython-plugin' does not exist or no valid version could be found It's use in a new project and his configuration pom is very simple : plugins plugin artifactIdmaven-jython-plugin/artifactId executions execution idcompile/id configuration jythonHomeC:\jython2.2.1/jythonHome /configuration goals goalcompile/goal /goals /execution /executions /plugin /plugins /build repositories repository idServprise Repository/id urlhttp://dev.servprise.com/maven-repository/url /repository /repositories dependencies !-- JYTHON -- dependency groupIdcom.servprise.maven.plugins/groupId artifactIdmaven-jython-plugin/artifactId version0.3/version scopecompile/scope /dependency /dependencies My m2Repository have the plugin, the version is good and the plugin has been add into the project... I don't understand this problem compilation, if someone has an idea to resolve ??? thanks -- View this message in context: http://www.nabble.com/Build-error-with-jython-plugin-%21%21---tp19741002p19741002.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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Build-error-with-jython-plugin-%21%21---tp19741002p19745409.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: Build Error - Error assembling WAR: Deployment descriptor:
On 6/8/08, Andrew Madu [EMAIL PROTECTED] wrote: Error assembling WAR: Deployment descriptor: C:Documents and Settings\mysite\mysite-spring-app\target\mysite-spring-app-1.0-SNAPSHOT\WEB-INF\web.xml does not exist It appears that you do not have web.xml file in your src/main/webapp/WEB-INF folder. Add one, and try again. Wayne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Build Error in Maven
Hi Brian, I deleted the repository folder under .m2\. But still I am facing the same problem. 2.0.9 is not showing under maven downloades in Apache.org site. I could only work with 2.0.8. I have uninstalled and installed the maven several times by downloading from different mirros in apache. Still doesn't work. It only gives me version. None of the commands working. For every command I try I get the below build error. Any suggestions? Thanks Madhu Brian E Fox wrote: Are you able to access http://repo1.maven.org from your desk without a proxy? Try clearing your repository by deleting $HOME/.m2/repository (the logs below don't show it even attempting to download, which could mean bad metadata...this is fixed in 2.0.9) -Original Message- From: maluri [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 7:51 PM To: users@maven.apache.org Subject: Build Error in Maven When I try to run any command other than mvn -v I am getting the below error. I have installed the maven 2.0.8 properly and everything looks good. Please let me know the solution. H:\mvn help:describe -Dplugin=help [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retri eved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 21 seconds [INFO] Finished at: Thu Mar 20 15:20:30 PDT 2008 [INFO] Final Memory: 1M/4M [INFO] H:\mvn help:describe -Dplugin=compiler -Dmojo=compile -Dfull [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] org.codehaus.mojo: checking for updates from central [WARNING] repository metadata for: 'org.codehaus.mojo' could not be retrieved fr om repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 21 seconds [INFO] Finished at: Thu Mar 20 15:21:55 PDT 2008 [INFO] Final Memory: 1M/4M [INFO] H:\mvn -v Maven version: 2.0.8 Java version: 1.6.0_05 OS name: windows xp version: 5.1 arch: x86 Family: windows H:\mvn help:describe -Dplugin=help -Dfull [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] artifact org.apache.maven.plugins:maven-help-plugin: checking for updates from central [WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-help -plugin' could not be retrieved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 21 seconds [INFO] Finished at: Thu Mar 20 16:41:55 PDT 2008 [INFO] Final Memory: 1M/4M [INFO] H:\ -- View this message in context: http://www.nabble.com/Build-Error-in-Maven-tp16191404s177p16191404.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,
Re: Build Error in Maven
It sounds like you have not properly configured your web proxy in settings.xml. http://maven.apache.org/guides/mini/guide-proxies.html Wayne On 3/21/08, maluri [EMAIL PROTECTED] wrote: Hi Brian, I deleted the repository folder under .m2\. But still I am facing the same problem. 2.0.9 is not showing under maven downloades in Apache.org site. I could only work with 2.0.8. I have uninstalled and installed the maven several times by downloading from different mirros in apache. Still doesn't work. It only gives me version. None of the commands working. For every command I try I get the below build error. Any suggestions? Thanks Madhu Brian E Fox wrote: Are you able to access http://repo1.maven.org from your desk without a proxy? Try clearing your repository by deleting $HOME/.m2/repository (the logs below don't show it even attempting to download, which could mean bad metadata...this is fixed in 2.0.9) -Original Message- From: maluri [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 7:51 PM To: users@maven.apache.org Subject: Build Error in Maven When I try to run any command other than mvn -v I am getting the below error. I have installed the maven 2.0.8 properly and everything looks good. Please let me know the solution. H:\mvn help:describe -Dplugin=help [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retri eved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 21 seconds [INFO] Finished at: Thu Mar 20 15:20:30 PDT 2008 [INFO] Final Memory: 1M/4M [INFO] H:\mvn help:describe -Dplugin=compiler -Dmojo=compile -Dfull [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] org.codehaus.mojo: checking for updates from central [WARNING] repository metadata for: 'org.codehaus.mojo' could not be retrieved fr om repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 21 seconds [INFO] Finished at: Thu Mar 20 15:21:55 PDT 2008 [INFO] Final Memory: 1M/4M [INFO] H:\mvn -v Maven version: 2.0.8 Java version: 1.6.0_05 OS name: windows xp version: 5.1 arch: x86 Family: windows H:\mvn help:describe -Dplugin=help -Dfull [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] artifact org.apache.maven.plugins:maven-help-plugin: checking for updates from central [WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-help -plugin' could not be retrieved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 21 seconds [INFO] Finished at: Thu Mar 20 16:41:55 PDT 2008 [INFO] Final Memory: 1M/4M [INFO] H:\ -- View this message in context:
Re: Build Error in Maven
Hi Wayne, Somehow I don't have settings.xml file under .m2. So I created one. My settings.xml file looks like this: But still it doesn't work. Same build error is showing up for any command I type except for mvn -v settings xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd; localRepository${user.home}/.m2/repository/localRepository interactiveModetrue/interactiveMode usePluginRegistryfalse/usePluginRegistry offlinefalse/offline pluginGroups pluginGrouporg.codehaus.mojo/pluginGroup /pluginGroups proxies proxy idmyproxy/id activetrue/active protocolhttp/protocol hostproxy.somewhere.com/host port8080/port usernameproxyuser/username passwordsomepassword/password nonProxyHosts*.google.com|ibiblio.org/nonProxyHosts /proxy /proxies /settings I really need to fix this ASAP to work on Maven. Wayne Fay wrote: It sounds like you have not properly configured your web proxy in settings.xml. http://maven.apache.org/guides/mini/guide-proxies.html Wayne On 3/21/08, maluri [EMAIL PROTECTED] wrote: Hi Brian, I deleted the repository folder under .m2\. But still I am facing the same problem. 2.0.9 is not showing under maven downloades in Apache.org site. I could only work with 2.0.8. I have uninstalled and installed the maven several times by downloading from different mirros in apache. Still doesn't work. It only gives me version. None of the commands working. For every command I try I get the below build error. Any suggestions? Thanks Madhu Brian E Fox wrote: Are you able to access http://repo1.maven.org from your desk without a proxy? Try clearing your repository by deleting $HOME/.m2/repository (the logs below don't show it even attempting to download, which could mean bad metadata...this is fixed in 2.0.9) -Original Message- From: maluri [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 7:51 PM To: users@maven.apache.org Subject: Build Error in Maven When I try to run any command other than mvn -v I am getting the below error. I have installed the maven 2.0.8 properly and everything looks good. Please let me know the solution. H:\mvn help:describe -Dplugin=help [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retri eved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 21 seconds [INFO] Finished at: Thu Mar 20 15:20:30 PDT 2008 [INFO] Final Memory: 1M/4M [INFO] H:\mvn help:describe -Dplugin=compiler -Dmojo=compile -Dfull [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] org.codehaus.mojo: checking for updates from central [WARNING] repository metadata for: 'org.codehaus.mojo' could not be retrieved fr om repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 21 seconds [INFO] Finished at: Thu Mar 20 15:21:55 PDT 2008 [INFO] Final Memory: 1M/4M [INFO] H:\mvn -v Maven version: 2.0.8 Java version: 1.6.0_05 OS name: windows xp version: 5.1 arch: x86 Family: windows H:\mvn help:describe -Dplugin=help -Dfull [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] artifact
Re: Build Error in Maven
Not having a settings.xml file is normal -- this is not installed along with the other files at installation. Unfortunately, it is impossible for anyone outside of your network to help you configure proper proxy settings. Please work with your local network administrator to make it work. But right off the bat, I'm wondering why you have ibiblio.org in the nonProxyHosts -- I'd remove it. Until you get this resolved, there is no point testing other commands. Maven comes in a very small execution bundle for installation, and then runs out to the Internet to download the various plugins it needs for the various commands. Wayne On 3/21/08, maluri [EMAIL PROTECTED] wrote: Hi Wayne, Somehow I don't have settings.xml file under .m2. So I created one. My settings.xml file looks like this: But still it doesn't work. Same build error is showing up for any command I type except for mvn -v settings xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd; localRepository${user.home}/.m2/repository/localRepository interactiveModetrue/interactiveMode usePluginRegistryfalse/usePluginRegistry offlinefalse/offline pluginGroups pluginGrouporg.codehaus.mojo/pluginGroup /pluginGroups proxies proxy idmyproxy/id activetrue/active protocolhttp/protocol hostproxy.somewhere.com/host port8080/port usernameproxyuser/username passwordsomepassword/password nonProxyHosts*.google.com|ibiblio.org/nonProxyHosts /proxy /proxies /settings I really need to fix this ASAP to work on Maven. Wayne Fay wrote: It sounds like you have not properly configured your web proxy in settings.xml. http://maven.apache.org/guides/mini/guide-proxies.html Wayne On 3/21/08, maluri [EMAIL PROTECTED] wrote: Hi Brian, I deleted the repository folder under .m2\. But still I am facing the same problem. 2.0.9 is not showing under maven downloades in Apache.org site. I could only work with 2.0.8. I have uninstalled and installed the maven several times by downloading from different mirros in apache. Still doesn't work. It only gives me version. None of the commands working. For every command I try I get the below build error. Any suggestions? Thanks Madhu Brian E Fox wrote: Are you able to access http://repo1.maven.org from your desk without a proxy? Try clearing your repository by deleting $HOME/.m2/repository (the logs below don't show it even attempting to download, which could mean bad metadata...this is fixed in 2.0.9) -Original Message- From: maluri [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 7:51 PM To: users@maven.apache.org Subject: Build Error in Maven When I try to run any command other than mvn -v I am getting the below error. I have installed the maven 2.0.8 properly and everything looks good. Please let me know the solution. H:\mvn help:describe -Dplugin=help [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retri eved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 21 seconds [INFO] Finished at: Thu Mar 20 15:20:30 PDT 2008 [INFO] Final Memory: 1M/4M [INFO] H:\mvn help:describe -Dplugin=compiler -Dmojo=compile -Dfull [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] org.codehaus.mojo: checking for updates from central [WARNING] repository metadata for: 'org.codehaus.mojo' could not be retrieved fr om repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found [INFO]
RE: Build Error in Maven
Go back to my first question: Are you able to access http://repo1.maven.org from your desk without a proxy? -Original Message- From: maluri [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2008 11:41 AM To: users@maven.apache.org Subject: RE: Build Error in Maven Hi Brian, I deleted the repository folder under .m2\. But still I am facing the same problem. 2.0.9 is not showing under maven downloades in Apache.org site. I could only work with 2.0.8. I have uninstalled and installed the maven several times by downloading from different mirros in apache. Still doesn't work. It only gives me version. None of the commands working. For every command I try I get the below build error. Any suggestions? Thanks Madhu Brian E Fox wrote: Are you able to access http://repo1.maven.org from your desk without a proxy? Try clearing your repository by deleting $HOME/.m2/repository (the logs below don't show it even attempting to download, which could mean bad metadata...this is fixed in 2.0.9) -Original Message- From: maluri [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 7:51 PM To: users@maven.apache.org Subject: Build Error in Maven When I try to run any command other than mvn -v I am getting the below error. I have installed the maven 2.0.8 properly and everything looks good. Please let me know the solution. H:\mvn help:describe -Dplugin=help [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retri eved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 21 seconds [INFO] Finished at: Thu Mar 20 15:20:30 PDT 2008 [INFO] Final Memory: 1M/4M [INFO] H:\mvn help:describe -Dplugin=compiler -Dmojo=compile -Dfull [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] org.codehaus.mojo: checking for updates from central [WARNING] repository metadata for: 'org.codehaus.mojo' could not be retrieved fr om repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 21 seconds [INFO] Finished at: Thu Mar 20 15:21:55 PDT 2008 [INFO] Final Memory: 1M/4M [INFO] H:\mvn -v Maven version: 2.0.8 Java version: 1.6.0_05 OS name: windows xp version: 5.1 arch: x86 Family: windows H:\mvn help:describe -Dplugin=help -Dfull [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] artifact org.apache.maven.plugins:maven-help-plugin: checking for updates from central [WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-help -plugin' could not be retrieved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 21 seconds [INFO] Finished at: Thu Mar 20 16:41:55 PDT 2008 [INFO] Final Memory: 1M/4M [INFO] H:\ -- View this message in context: http
Re: Build Error in Maven
I think we might seriously want to throw a little code in core-uber that is delivered with the installation that can attempt to access the Internet without any proxy, and then some more code that uses the settings.xml proxy info, to be used for debugging these kinds of situations. So we can tell people, what does mvn --internet say? Wayne On 3/21/08, Brian E. Fox [EMAIL PROTECTED] wrote: Go back to my first question: Are you able to access http://repo1.maven.org from your desk without a proxy? -Original Message- From: maluri [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2008 11:41 AM To: users@maven.apache.org Subject: RE: Build Error in Maven Hi Brian, I deleted the repository folder under .m2\. But still I am facing the same problem. 2.0.9 is not showing under maven downloades in Apache.org site. I could only work with 2.0.8. I have uninstalled and installed the maven several times by downloading from different mirros in apache. Still doesn't work. It only gives me version. None of the commands working. For every command I try I get the below build error. Any suggestions? Thanks Madhu Brian E Fox wrote: Are you able to access http://repo1.maven.org from your desk without a proxy? Try clearing your repository by deleting $HOME/.m2/repository (the logs below don't show it even attempting to download, which could mean bad metadata...this is fixed in 2.0.9) -Original Message- From: maluri [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 7:51 PM To: users@maven.apache.org Subject: Build Error in Maven When I try to run any command other than mvn -v I am getting the below error. I have installed the maven 2.0.8 properly and everything looks good. Please let me know the solution. H:\mvn help:describe -Dplugin=help [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retri eved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 21 seconds [INFO] Finished at: Thu Mar 20 15:20:30 PDT 2008 [INFO] Final Memory: 1M/4M [INFO] H:\mvn help:describe -Dplugin=compiler -Dmojo=compile -Dfull [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] org.codehaus.mojo: checking for updates from central [WARNING] repository metadata for: 'org.codehaus.mojo' could not be retrieved fr om repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 21 seconds [INFO] Finished at: Thu Mar 20 15:21:55 PDT 2008 [INFO] Final Memory: 1M/4M [INFO] H:\mvn -v Maven version: 2.0.8 Java version: 1.6.0_05 OS name: windows xp version: 5.1 arch: x86 Family: windows H:\mvn help:describe -Dplugin=help -Dfull [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] artifact org.apache.maven.plugins:maven-help-plugin: checking for updates from central [WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-help -plugin' could not be retrieved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does
Re: Build Error in Maven
Filed as new improvement MNG-3474... http://jira.codehaus.org/browse/MNG-3474 Wayne On 3/21/08, Wayne Fay [EMAIL PROTECTED] wrote: I think we might seriously want to throw a little code in core-uber that is delivered with the installation that can attempt to access the Internet without any proxy, and then some more code that uses the settings.xml proxy info, to be used for debugging these kinds of situations. So we can tell people, what does mvn --internet say? Wayne On 3/21/08, Brian E. Fox [EMAIL PROTECTED] wrote: Go back to my first question: Are you able to access http://repo1.maven.org from your desk without a proxy? -Original Message- From: maluri [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2008 11:41 AM To: users@maven.apache.org Subject: RE: Build Error in Maven Hi Brian, I deleted the repository folder under .m2\. But still I am facing the same problem. 2.0.9 is not showing under maven downloades in Apache.org site. I could only work with 2.0.8. I have uninstalled and installed the maven several times by downloading from different mirros in apache. Still doesn't work. It only gives me version. None of the commands working. For every command I try I get the below build error. Any suggestions? Thanks Madhu Brian E Fox wrote: Are you able to access http://repo1.maven.org from your desk without a proxy? Try clearing your repository by deleting $HOME/.m2/repository (the logs below don't show it even attempting to download, which could mean bad metadata...this is fixed in 2.0.9) -Original Message- From: maluri [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 7:51 PM To: users@maven.apache.org Subject: Build Error in Maven When I try to run any command other than mvn -v I am getting the below error. I have installed the maven 2.0.8 properly and everything looks good. Please let me know the solution. H:\mvn help:describe -Dplugin=help [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retri eved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 21 seconds [INFO] Finished at: Thu Mar 20 15:20:30 PDT 2008 [INFO] Final Memory: 1M/4M [INFO] H:\mvn help:describe -Dplugin=compiler -Dmojo=compile -Dfull [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] org.codehaus.mojo: checking for updates from central [WARNING] repository metadata for: 'org.codehaus.mojo' could not be retrieved fr om repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 21 seconds [INFO] Finished at: Thu Mar 20 15:21:55 PDT 2008 [INFO] Final Memory: 1M/4M [INFO] H:\mvn -v Maven version: 2.0.8 Java version: 1.6.0_05 OS name: windows xp version: 5.1 arch: x86 Family: windows H:\mvn help:describe -Dplugin=help -Dfull [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] artifact org.apache.maven.plugins:maven-help-plugin: checking for updates from central [WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-help -plugin' could not be retrieved from repository: central due to an error: Error transferring file [INFO] Repository 'central
RE: Build Error in Maven
Yes. I am able to access http://repo1.maven.org from my desktop without a proxy. Brian E Fox wrote: Go back to my first question: Are you able to access http://repo1.maven.org from your desk without a proxy? -Original Message- From: maluri [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2008 11:41 AM To: users@maven.apache.org Subject: RE: Build Error in Maven Hi Brian, I deleted the repository folder under .m2\. But still I am facing the same problem. 2.0.9 is not showing under maven downloades in Apache.org site. I could only work with 2.0.8. I have uninstalled and installed the maven several times by downloading from different mirros in apache. Still doesn't work. It only gives me version. None of the commands working. For every command I try I get the below build error. Any suggestions? Thanks Madhu Brian E Fox wrote: Are you able to access http://repo1.maven.org from your desk without a proxy? Try clearing your repository by deleting $HOME/.m2/repository (the logs below don't show it even attempting to download, which could mean bad metadata...this is fixed in 2.0.9) -Original Message- From: maluri [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 7:51 PM To: users@maven.apache.org Subject: Build Error in Maven When I try to run any command other than mvn -v I am getting the below error. I have installed the maven 2.0.8 properly and everything looks good. Please let me know the solution. H:\mvn help:describe -Dplugin=help [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retri eved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 21 seconds [INFO] Finished at: Thu Mar 20 15:20:30 PDT 2008 [INFO] Final Memory: 1M/4M [INFO] H:\mvn help:describe -Dplugin=compiler -Dmojo=compile -Dfull [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] org.codehaus.mojo: checking for updates from central [WARNING] repository metadata for: 'org.codehaus.mojo' could not be retrieved fr om repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 21 seconds [INFO] Finished at: Thu Mar 20 15:21:55 PDT 2008 [INFO] Final Memory: 1M/4M [INFO] H:\mvn -v Maven version: 2.0.8 Java version: 1.6.0_05 OS name: windows xp version: 5.1 arch: x86 Family: windows H:\mvn help:describe -Dplugin=help -Dfull [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] artifact org.apache.maven.plugins:maven-help-plugin: checking for updates from central [WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-help -plugin' could not be retrieved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 21 seconds [INFO] Finished at: Thu Mar 20 16:41:55 PDT 2008 [INFO
Re: Build Error in Maven
How do you know you're not using a proxy? It is pretty simple to set up a transparent (aka intercepting) web proxy like squid. Perhaps try TraceTCP and make sure there's no proxy: http://tracetcp.sourceforge.net/usage_proxy.html There is no good reason why this should not work if you do not have a web proxy. As I said before, these kinds of issues are nearly impossible for someone outside of your network to help you debug/resolve, so you're going to have to work with local network admin resources to solve it. Wayne On 3/21/08, maluri [EMAIL PROTECTED] wrote: Yes. I am able to access http://repo1.maven.org from my desktop without a proxy. Brian E Fox wrote: Go back to my first question: Are you able to access http://repo1.maven.org from your desk without a proxy? -Original Message- From: maluri [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2008 11:41 AM To: users@maven.apache.org Subject: RE: Build Error in Maven Hi Brian, I deleted the repository folder under .m2\. But still I am facing the same problem. 2.0.9 is not showing under maven downloades in Apache.org site. I could only work with 2.0.8. I have uninstalled and installed the maven several times by downloading from different mirros in apache. Still doesn't work. It only gives me version. None of the commands working. For every command I try I get the below build error. Any suggestions? Thanks Madhu Brian E Fox wrote: Are you able to access http://repo1.maven.org from your desk without a proxy? Try clearing your repository by deleting $HOME/.m2/repository (the logs below don't show it even attempting to download, which could mean bad metadata...this is fixed in 2.0.9) -Original Message- From: maluri [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 7:51 PM To: users@maven.apache.org Subject: Build Error in Maven When I try to run any command other than mvn -v I am getting the below error. I have installed the maven 2.0.8 properly and everything looks good. Please let me know the solution. H:\mvn help:describe -Dplugin=help [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retri eved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 21 seconds [INFO] Finished at: Thu Mar 20 15:20:30 PDT 2008 [INFO] Final Memory: 1M/4M [INFO] H:\mvn help:describe -Dplugin=compiler -Dmojo=compile -Dfull [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] org.codehaus.mojo: checking for updates from central [WARNING] repository metadata for: 'org.codehaus.mojo' could not be retrieved fr om repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 21 seconds [INFO] Finished at: Thu Mar 20 15:21:55 PDT 2008 [INFO] Final Memory: 1M/4M [INFO] H:\mvn -v Maven version: 2.0.8 Java version: 1.6.0_05 OS name: windows xp version: 5.1 arch: x86 Family: windows H:\mvn help:describe -Dplugin=help -Dfull [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] artifact org.apache.maven.plugins:maven-help-plugin: checking for updates from central [WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-help -plugin' could not be retrieved from repository: central due to an error: Error
RE: Build Error in Maven
Does windows OS differentiate Internet Exploder firewall permissions, allow access to http://repo1.maven.org, however maven application firewall permission as separate? -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2008 11:30 AM To: Maven Users List Subject: Re: Build Error in Maven How do you know you're not using a proxy? It is pretty simple to set up a transparent (aka intercepting) web proxy like squid. Perhaps try TraceTCP and make sure there's no proxy: http://tracetcp.sourceforge.net/usage_proxy.html There is no good reason why this should not work if you do not have a web proxy. As I said before, these kinds of issues are nearly impossible for someone outside of your network to help you debug/resolve, so you're going to have to work with local network admin resources to solve it. Wayne On 3/21/08, maluri [EMAIL PROTECTED] wrote: Yes. I am able to access http://repo1.maven.org from my desktop without a proxy. Brian E Fox wrote: Go back to my first question: Are you able to access http://repo1.maven.org from your desk without a proxy? -Original Message- From: maluri [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2008 11:41 AM To: users@maven.apache.org Subject: RE: Build Error in Maven Hi Brian, I deleted the repository folder under .m2\. But still I am facing the same problem. 2.0.9 is not showing under maven downloades in Apache.org site. I could only work with 2.0.8. I have uninstalled and installed the maven several times by downloading from different mirros in apache. Still doesn't work. It only gives me version. None of the commands working. For every command I try I get the below build error. Any suggestions? Thanks Madhu Brian E Fox wrote: Are you able to access http://repo1.maven.org from your desk without a proxy? Try clearing your repository by deleting $HOME/.m2/repository (the logs below don't show it even attempting to download, which could mean bad metadata...this is fixed in 2.0.9) -Original Message- From: maluri [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 7:51 PM To: users@maven.apache.org Subject: Build Error in Maven When I try to run any command other than mvn -v I am getting the below error. I have installed the maven 2.0.8 properly and everything looks good. Please let me know the solution. H:\mvn help:describe -Dplugin=help [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retri eved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 21 seconds [INFO] Finished at: Thu Mar 20 15:20:30 PDT 2008 [INFO] Final Memory: 1M/4M [INFO] H:\mvn help:describe -Dplugin=compiler -Dmojo=compile -Dfull [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] org.codehaus.mojo: checking for updates from central [WARNING] repository metadata for: 'org.codehaus.mojo' could not be retrieved fr om repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 21 seconds [INFO] Finished at: Thu Mar 20 15:21:55 PDT 2008 [INFO] Final Memory: 1M/4M [INFO] H:\mvn -v Maven version: 2.0.8 Java version: 1.6.0_05 OS name: windows xp version: 5.1 arch: x86 Family: windows H:\mvn help:describe -Dplugin=help -Dfull [INFO] Scanning
Re: Build Error in Maven
Absolutely. Maven's process is java.exe vs iexplore.exe. So the Windows firewall can be a problem, or various additional firewall and anti-virus software, etc. Windows is just a hassle to deal with when it comes to these kinds of issues. Too many potential problem spots. Wayne On 3/21/08, Sean Hennessy [EMAIL PROTECTED] wrote: Does windows OS differentiate Internet Exploder firewall permissions, allow access to http://repo1.maven.org, however maven application firewall permission as separate? -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2008 11:30 AM To: Maven Users List Subject: Re: Build Error in Maven How do you know you're not using a proxy? It is pretty simple to set up a transparent (aka intercepting) web proxy like squid. Perhaps try TraceTCP and make sure there's no proxy: http://tracetcp.sourceforge.net/usage_proxy.html There is no good reason why this should not work if you do not have a web proxy. As I said before, these kinds of issues are nearly impossible for someone outside of your network to help you debug/resolve, so you're going to have to work with local network admin resources to solve it. Wayne On 3/21/08, maluri [EMAIL PROTECTED] wrote: Yes. I am able to access http://repo1.maven.org from my desktop without a proxy. Brian E Fox wrote: Go back to my first question: Are you able to access http://repo1.maven.org from your desk without a proxy? -Original Message- From: maluri [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2008 11:41 AM To: users@maven.apache.org Subject: RE: Build Error in Maven Hi Brian, I deleted the repository folder under .m2\. But still I am facing the same problem. 2.0.9 is not showing under maven downloades in Apache.org site. I could only work with 2.0.8. I have uninstalled and installed the maven several times by downloading from different mirros in apache. Still doesn't work. It only gives me version. None of the commands working. For every command I try I get the below build error. Any suggestions? Thanks Madhu Brian E Fox wrote: Are you able to access http://repo1.maven.org from your desk without a proxy? Try clearing your repository by deleting $HOME/.m2/repository (the logs below don't show it even attempting to download, which could mean bad metadata...this is fixed in 2.0.9) -Original Message- From: maluri [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 7:51 PM To: users@maven.apache.org Subject: Build Error in Maven When I try to run any command other than mvn -v I am getting the below error. I have installed the maven 2.0.8 properly and everything looks good. Please let me know the solution. H:\mvn help:describe -Dplugin=help [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retri eved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 21 seconds [INFO] Finished at: Thu Mar 20 15:20:30 PDT 2008 [INFO] Final Memory: 1M/4M [INFO] H:\mvn help:describe -Dplugin=compiler -Dmojo=compile -Dfull [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] org.codehaus.mojo: checking for updates from central [WARNING] repository metadata for: 'org.codehaus.mojo' could not be retrieved fr om repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO
RE: Build Error in Maven
Good idea. I pulled this into 2.0.10 -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2008 1:36 PM To: Maven Users List Subject: Re: Build Error in Maven Filed as new improvement MNG-3474... http://jira.codehaus.org/browse/MNG-3474 Wayne On 3/21/08, Wayne Fay [EMAIL PROTECTED] wrote: I think we might seriously want to throw a little code in core-uber that is delivered with the installation that can attempt to access the Internet without any proxy, and then some more code that uses the settings.xml proxy info, to be used for debugging these kinds of situations. So we can tell people, what does mvn --internet say? Wayne On 3/21/08, Brian E. Fox [EMAIL PROTECTED] wrote: Go back to my first question: Are you able to access http://repo1.maven.org from your desk without a proxy? -Original Message- From: maluri [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2008 11:41 AM To: users@maven.apache.org Subject: RE: Build Error in Maven Hi Brian, I deleted the repository folder under .m2\. But still I am facing the same problem. 2.0.9 is not showing under maven downloades in Apache.org site. I could only work with 2.0.8. I have uninstalled and installed the maven several times by downloading from different mirros in apache. Still doesn't work. It only gives me version. None of the commands working. For every command I try I get the below build error. Any suggestions? Thanks Madhu Brian E Fox wrote: Are you able to access http://repo1.maven.org from your desk without a proxy? Try clearing your repository by deleting $HOME/.m2/repository (the logs below don't show it even attempting to download, which could mean bad metadata...this is fixed in 2.0.9) -Original Message- From: maluri [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 7:51 PM To: users@maven.apache.org Subject: Build Error in Maven When I try to run any command other than mvn -v I am getting the below error. I have installed the maven 2.0.8 properly and everything looks good. Please let me know the solution. H:\mvn help:describe -Dplugin=help [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retri eved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 21 seconds [INFO] Finished at: Thu Mar 20 15:20:30 PDT 2008 [INFO] Final Memory: 1M/4M [INFO] H:\mvn help:describe -Dplugin=compiler -Dmojo=compile -Dfull [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] org.codehaus.mojo: checking for updates from central [WARNING] repository metadata for: 'org.codehaus.mojo' could not be retrieved fr om repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 21 seconds [INFO] Finished at: Thu Mar 20 15:21:55 PDT 2008 [INFO] Final Memory: 1M/4M [INFO] H:\mvn -v Maven version: 2.0.8 Java version: 1.6.0_05 OS name: windows xp version: 5.1 arch: x86 Family: windows H:\mvn help:describe -Dplugin=help -Dfull [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] artifact org.apache.maven.plugins:maven-help-plugin: checking for updates from central [WARNING] repository metadata
RE: Build Error in Maven
Are you able to access http://repo1.maven.org from your desk without a proxy? Try clearing your repository by deleting $HOME/.m2/repository (the logs below don't show it even attempting to download, which could mean bad metadata...this is fixed in 2.0.9) -Original Message- From: maluri [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 7:51 PM To: users@maven.apache.org Subject: Build Error in Maven When I try to run any command other than mvn -v I am getting the below error. I have installed the maven 2.0.8 properly and everything looks good. Please let me know the solution. H:\mvn help:describe -Dplugin=help [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retri eved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 21 seconds [INFO] Finished at: Thu Mar 20 15:20:30 PDT 2008 [INFO] Final Memory: 1M/4M [INFO] H:\mvn help:describe -Dplugin=compiler -Dmojo=compile -Dfull [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] org.codehaus.mojo: checking for updates from central [WARNING] repository metadata for: 'org.codehaus.mojo' could not be retrieved fr om repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 21 seconds [INFO] Finished at: Thu Mar 20 15:21:55 PDT 2008 [INFO] Final Memory: 1M/4M [INFO] H:\mvn -v Maven version: 2.0.8 Java version: 1.6.0_05 OS name: windows xp version: 5.1 arch: x86 Family: windows H:\mvn help:describe -Dplugin=help -Dfull [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'help'. [INFO] artifact org.apache.maven.plugins:maven-help-plugin: checking for updates from central [WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-help -plugin' could not be retrieved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-help-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 21 seconds [INFO] Finished at: Thu Mar 20 16:41:55 PDT 2008 [INFO] Final Memory: 1M/4M [INFO] H:\ -- View this message in context: http://www.nabble.com/Build-Error-in-Maven-tp16191404s177p16191404.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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Build Error: svn: Working copy '.' locked
I know, but I don't want this to happen at all. I don't want my developers to be bothered by non-relevant emails of Continuum -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of olivier lamy Sent: 05 November 2007 09:54 To: continuum-users@maven.apache.org Subject: Re: Build Error: svn: Working copy '.' locked Hi, You have to go to continuum Working Directory/${projectId} then do a svn cleanup. Working Directory is configured in your continuum instance. -- Olivier 2007/11/5, VanIngen, Erik (ESTG) [EMAIL PROTECTED]: Hi continuum, We are using continuum 1.1-beta-3 on Windows 2000. It is working fine but today all of the sudden there is this message: ** ** Build Error: ** ** Provider message: The svn command failed. Command output: -- --- -- svn: Working copy '.' locked svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) Type 'svn help' for usage. -- --- -- Does anyone have any idea how to solve this? Kind Regards, Erik van Ingen
RE: Build Error: svn: Working copy '.' locked
On Mon, November 5, 2007 11:22 am, VanIngen, Erik (ESTG) wrote: I know, but I don't want this to happen at all. I don't want my developers to be bothered by non-relevant emails of Continuum From experience, this error happens extremely seldom, and only when continuum is forceably stopped. Is this happening often enough that this is a problem? Regards, Graham --
Re: Build Error: svn: Working copy '.' locked
It can happen if continuum was forceably stopped during a svn checkout or update. It's the same case if you forceably stopped your svn command line during a checkout or update. -- Olivier 2007/11/5, Graham Leggett [EMAIL PROTECTED]: On Mon, November 5, 2007 11:22 am, VanIngen, Erik (ESTG) wrote: I know, but I don't want this to happen at all. I don't want my developers to be bothered by non-relevant emails of Continuum From experience, this error happens extremely seldom, and only when continuum is forceably stopped. Is this happening often enough that this is a problem? Regards, Graham --
Re: Build Error
Hi man I'av cheked what you suggest me, but unfortunatelly didn't solve the problem since I had already done it. I will keep on trying, if any further help would be gratefull -- View this message in context: http://www.nabble.com/Build-Error-tf4324489s177.html#a12342145 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: Build Error
Hi, This kind of error is most often caused by maven not being able to connect to the repository due to a missing or wrong proxy configuration [1] in settings.xml ore some firewall issues. -Tim [1] http://maven.apache.org/guides/mini/guide-proxies.html theozaf schrieb: Hi guys I a really new to alla that maven thing, so I come up with some silly, for many of you, questions :) . Well I download the server and run it on my PC, then configuring all the settings.xml file and I think it's correct. I am testing by mvn --version which at least means the server runs. But when I am trying any other command lets say mvn instal just for testing I got the following error message. Any suggestion at least what should I check. I am trying to upload the plugins but I think I missing a point. [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exi st or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 3 seconds [INFO] Finished at: Fri Aug 24 19:10:41 EEST 2007 [INFO] Final Memory: 1M/2M [INFO] Theo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Build error with weblogic-maven-plugin
Hi Scott. Have you seen any progress on this issue? If I run the command manually, outside of maven, it works ok. I run it like this: java -Xmx1024m -classpath c:\bea92\weblogic92\server\lib\weblogic.jar;c:\bea92\jdk150_04\lib\tools.jar -Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0 weblogic.appc target/myArtifact-version.war -verbose -classpath The classpath argument is exactly the one that is used in the weblogic-plugin. I tried to rewrite your plugin to run the appc.main method like above, but I still get the NoClassDefError on the XmlException class. I guess that the problem is that the classpath in which the plugin is running crashes with the classpath needed by appc. Is there any way to fork the appc process? 2007/4/13, Doug Tanner [EMAIL PROTECTED]: Answer, you may need more dependencies than me...: plugin groupIdorg.codehaus.mojo/groupId artifactIdweblogic-maven-plugin/artifactId version2.9.0-SNAPSHOT/version configuration inputArtifactPath${basedir}/../../jar/broker.war/inputArtifactPath verbosetrue/verbose /configuration executions execution phasepackage/phase goals goalappc/goal /goals /execution /executions dependencies dependency groupIdweblogic/groupId artifactIdxbean/artifactId version9.2.0/version /dependency dependency groupIdweblogic/groupId artifactIdwlxbean/artifactId version9.2/version /dependency dependency groupIdweblogic/groupId artifactIdweblogic-container-binding/artifactId version9.2/version /dependency dependency groupIdcom.sun/groupId artifactIdtools/artifactId version1.5.0/version /dependency /dependencies /plugin Doug Tanner -Original Message- From: Doug Tanner [mailto:[EMAIL PROTECTED] Sent: Friday, April 13, 2007 7:09 AM To: Maven Users List Subject: RE: Build error with weblogic-maven-plugin I found this issue, http://jira.codehaus.org/browse/MOJO-585?page=com.atlassian.jira.plugin. system.issuetabpanels:all-tabpanel, while researching my problem. I have tried placing a dependency on the ${WL_HOME}/server/lib/xbean.jar in my pom, scoped as both system and provided (yes it is in my local repo), but I am still receiving the same error. I even see it in my output classpath during compilation, so how can it still be throwing a NoClassDefFoundError? Has anyone had success implementing the weblogic-maven-plugin, specifically version 2.9.0-SNAPSHOT? Thanks, Doug Tanner -Original Message- From: Scott Ryan [mailto:[EMAIL PROTECTED] On Behalf Of Scott Ryan Sent: Thursday, April 12, 2007 10:03 AM To: Maven Users List Subject: Re: Build error with weblogic-maven-plugin Yes that is a bug I am working on. I have some free days over then next week or so and hope to have a solution. There are many jars that need to be included in the APPC and I am trying to find a good way to include them all without forcing you to load all the jars to your repository. I am also testing with 10 as well. I hope to have some good news later this week. Let me know if there is anything else you need. Scott On Apr 12, 2007, at 7:36 AM, Doug Tanner wrote: I am using the 2.9.0-SNAPSHOT. After building my war, I wish to precompile all my JSPs for faster response times. As I understand it, the weblogic-maven-plugin goal weblogic:appc is what I need to use to do this. However, I am getting a no class def found error. From the output of my build I get the following lines, edited to remove non-essential information: [INFO] Weblogic APPC processing beginning for artifact c:\projects\trunk\4x\webapps\broker/../../jar/broker.war [INFO] Detailed Appc settings information AppcMojo[ basicClientJar = false forceGeneration = true keepGenerated = true lineNumbers = false inputArtifactPath = c:\projects\trunk\4x\webapps\broker/../../jar/broker.war outputArtifactPath = null artifacts = [..., bf.webapps:common:jar:SNAPSHOT:compile,...] project Packaging = war verbose = true] [INFO] Using Classpath ...;\maven\localRepository
RE: Build error with weblogic-maven-plugin
Hi, I have used this version version2.9.0-20061221.203929-8/version of weblogic-maven-plugin it is working perfectly. Regard's Murugan -Original Message- From: Ole-Martin Mørk [mailto:[EMAIL PROTECTED] Sent: Monday, May 21, 2007 2:37 PM To: Maven Users List Subject: Re: Build error with weblogic-maven-plugin Hi Scott. Have you seen any progress on this issue? If I run the command manually, outside of maven, it works ok. I run it like this: java -Xmx1024m -classpath c:\bea92\weblogic92\server\lib\weblogic.jar;c:\bea92\jdk150_04\lib\tools.jar -Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0 weblogic.appc target/myArtifact-version.war -verbose -classpath The classpath argument is exactly the one that is used in the weblogic-plugin. I tried to rewrite your plugin to run the appc.main method like above, but I still get the NoClassDefError on the XmlException class. I guess that the problem is that the classpath in which the plugin is running crashes with the classpath needed by appc. Is there any way to fork the appc process? 2007/4/13, Doug Tanner [EMAIL PROTECTED]: Answer, you may need more dependencies than me...: plugin groupIdorg.codehaus.mojo/groupId artifactIdweblogic-maven-plugin/artifactId version2.9.0-SNAPSHOT/version configuration inputArtifactPath${basedir}/../../jar/broker.war/inputArtifactPath verbosetrue/verbose /configuration executions execution phasepackage/phase goals goalappc/goal /goals /execution /executions dependencies dependency groupIdweblogic/groupId artifactIdxbean/artifactId version9.2.0/version /dependency dependency groupIdweblogic/groupId artifactIdwlxbean/artifactId version9.2/version /dependency dependency groupIdweblogic/groupId artifactIdweblogic-container-binding/artifactId version9.2/version /dependency dependency groupIdcom.sun/groupId artifactIdtools/artifactId version1.5.0/version /dependency /dependencies /plugin Doug Tanner -Original Message- From: Doug Tanner [mailto:[EMAIL PROTECTED] Sent: Friday, April 13, 2007 7:09 AM To: Maven Users List Subject: RE: Build error with weblogic-maven-plugin I found this issue, http://jira.codehaus.org/browse/MOJO-585?page=com.atlassian.jira.plugin. system.issuetabpanels:all-tabpanel, while researching my problem. I have tried placing a dependency on the ${WL_HOME}/server/lib/xbean.jar in my pom, scoped as both system and provided (yes it is in my local repo), but I am still receiving the same error. I even see it in my output classpath during compilation, so how can it still be throwing a NoClassDefFoundError? Has anyone had success implementing the weblogic-maven-plugin, specifically version 2.9.0-SNAPSHOT? Thanks, Doug Tanner -Original Message- From: Scott Ryan [mailto:[EMAIL PROTECTED] On Behalf Of Scott Ryan Sent: Thursday, April 12, 2007 10:03 AM To: Maven Users List Subject: Re: Build error with weblogic-maven-plugin Yes that is a bug I am working on. I have some free days over then next week or so and hope to have a solution. There are many jars that need to be included in the APPC and I am trying to find a good way to include them all without forcing you to load all the jars to your repository. I am also testing with 10 as well. I hope to have some good news later this week. Let me know if there is anything else you need. Scott On Apr 12, 2007, at 7:36 AM, Doug Tanner wrote: I am using the 2.9.0-SNAPSHOT. After building my war, I wish to precompile all my JSPs for faster response times. As I understand it, the weblogic-maven-plugin goal weblogic:appc is what I need to use to do this. However, I am getting a no class def found error. From the output of my build I get the following lines, edited to remove non-essential information: [INFO] Weblogic APPC processing beginning for artifact c:\projects\trunk\4x\webapps\broker/../../jar/broker.war [INFO] Detailed Appc settings information AppcMojo
RE: Build error with weblogic-maven-plugin
Answer, you may need more dependencies than me...: plugin groupIdorg.codehaus.mojo/groupId artifactIdweblogic-maven-plugin/artifactId version2.9.0-SNAPSHOT/version configuration inputArtifactPath${basedir}/../../jar/broker.war/inputArtifactPath verbosetrue/verbose /configuration executions execution phasepackage/phase goals goalappc/goal /goals /execution /executions dependencies dependency groupIdweblogic/groupId artifactIdxbean/artifactId version9.2.0/version /dependency dependency groupIdweblogic/groupId artifactIdwlxbean/artifactId version9.2/version /dependency dependency groupIdweblogic/groupId artifactIdweblogic-container-binding/artifactId version9.2/version /dependency dependency groupIdcom.sun/groupId artifactIdtools/artifactId version1.5.0/version /dependency /dependencies /plugin Doug Tanner -Original Message- From: Doug Tanner [mailto:[EMAIL PROTECTED] Sent: Friday, April 13, 2007 7:09 AM To: Maven Users List Subject: RE: Build error with weblogic-maven-plugin I found this issue, http://jira.codehaus.org/browse/MOJO-585?page=com.atlassian.jira.plugin. system.issuetabpanels:all-tabpanel, while researching my problem. I have tried placing a dependency on the ${WL_HOME}/server/lib/xbean.jar in my pom, scoped as both system and provided (yes it is in my local repo), but I am still receiving the same error. I even see it in my output classpath during compilation, so how can it still be throwing a NoClassDefFoundError? Has anyone had success implementing the weblogic-maven-plugin, specifically version 2.9.0-SNAPSHOT? Thanks, Doug Tanner -Original Message- From: Scott Ryan [mailto:[EMAIL PROTECTED] On Behalf Of Scott Ryan Sent: Thursday, April 12, 2007 10:03 AM To: Maven Users List Subject: Re: Build error with weblogic-maven-plugin Yes that is a bug I am working on. I have some free days over then next week or so and hope to have a solution. There are many jars that need to be included in the APPC and I am trying to find a good way to include them all without forcing you to load all the jars to your repository. I am also testing with 10 as well. I hope to have some good news later this week. Let me know if there is anything else you need. Scott On Apr 12, 2007, at 7:36 AM, Doug Tanner wrote: I am using the 2.9.0-SNAPSHOT. After building my war, I wish to precompile all my JSPs for faster response times. As I understand it, the weblogic-maven-plugin goal weblogic:appc is what I need to use to do this. However, I am getting a no class def found error. From the output of my build I get the following lines, edited to remove non-essential information: [INFO] Weblogic APPC processing beginning for artifact c:\projects\trunk\4x\webapps\broker/../../jar/broker.war [INFO] Detailed Appc settings information AppcMojo[ basicClientJar = false forceGeneration = true keepGenerated = true lineNumbers = false inputArtifactPath = c:\projects\trunk\4x\webapps\broker/../../jar/broker.war outputArtifactPath = null artifacts = [..., bf.webapps:common:jar:SNAPSHOT:compile,...] project Packaging = war verbose = true] [INFO] Using Classpath ...;\maven\localRepository\bf\webapps\common\SNAPSHOT\common- SNAPSHOT.ja r;... Created working directory: c:\DOCUME~1\dtanner\LOCALS~1\Temp\appcgen_broker.war [ERROR] Exception encountered during APPC processing weblogic.utils.compiler.ToolFailureException: com/bea/xml/XmlException This error does not show which file is causing the problem, so I ran java weblogic.appc broker.war from the command line and received this error: There are 1 nested errors: weblogic.servlet.internal.dd.compliance.ComplianceException: The class bf.web.c ommon.ApplicationContextListener referred by the descriptor element listener is not found. Please ensure that it is present
Re: Build error with weblogic-maven-plugin
Yes that is a bug I am working on. I have some free days over then next week or so and hope to have a solution. There are many jars that need to be included in the APPC and I am trying to find a good way to include them all without forcing you to load all the jars to your repository. I am also testing with 10 as well. I hope to have some good news later this week. Let me know if there is anything else you need. Scott On Apr 12, 2007, at 7:36 AM, Doug Tanner wrote: I am using the 2.9.0-SNAPSHOT. After building my war, I wish to precompile all my JSPs for faster response times. As I understand it, the weblogic-maven-plugin goal weblogic:appc is what I need to use to do this. However, I am getting a no class def found error. From the output of my build I get the following lines, edited to remove non-essential information: [INFO] Weblogic APPC processing beginning for artifact c:\projects\trunk\4x\webapps\broker/../../jar/broker.war [INFO] Detailed Appc settings information AppcMojo[ basicClientJar = false forceGeneration = true keepGenerated = true lineNumbers = false inputArtifactPath = c:\projects\trunk\4x\webapps\broker/../../jar/broker.war outputArtifactPath = null artifacts = [..., bf.webapps:common:jar:SNAPSHOT:compile,...] project Packaging = war verbose = true] [INFO] Using Classpath ...;\maven\localRepository\bf\webapps\common\SNAPSHOT\common- SNAPSHOT.ja r;... Created working directory: c:\DOCUME~1\dtanner\LOCALS~1\Temp\appcgen_broker.war [ERROR] Exception encountered during APPC processing weblogic.utils.compiler.ToolFailureException: com/bea/xml/XmlException This error does not show which file is causing the problem, so I ran java weblogic.appc broker.war from the command line and received this error: There are 1 nested errors: weblogic.servlet.internal.dd.compliance.ComplianceException: The class bf.web.c ommon.ApplicationContextListener referred by the descriptor element listener is not found. Please ensure that it is present in the classpath. However this class is in the common-SNAPSHOT.jar which is inside the Broker.war in WEB-INF/lib. Am I seeing 2 different errors due to the 2 different commands? How can I know from the mvn error which file is causing the problem? Thanks, Doug Tanner ** ** BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) ** * Scott Ryan CTO Soaring Eagle L.L.C. Denver, Co. 80129 www.soaringeagleco.com www.theryansplace.com (303) 263-3044 [EMAIL PROTECTED]
RE: Build error with weblogic-maven-plugin
Do you have a list of these jars? I'm looking forward to a fix for this, but in the mean time I need to continue working. Thanks, Doug Tanner -Original Message- From: Scott Ryan [mailto:[EMAIL PROTECTED] On Behalf Of Scott Ryan Sent: Thursday, April 12, 2007 10:03 AM To: Maven Users List Subject: Re: Build error with weblogic-maven-plugin Yes that is a bug I am working on. I have some free days over then next week or so and hope to have a solution. There are many jars that need to be included in the APPC and I am trying to find a good way to include them all without forcing you to load all the jars to your repository. I am also testing with 10 as well. I hope to have some good news later this week. Let me know if there is anything else you need. Scott On Apr 12, 2007, at 7:36 AM, Doug Tanner wrote: I am using the 2.9.0-SNAPSHOT. After building my war, I wish to precompile all my JSPs for faster response times. As I understand it, the weblogic-maven-plugin goal weblogic:appc is what I need to use to do this. However, I am getting a no class def found error. From the output of my build I get the following lines, edited to remove non-essential information: [INFO] Weblogic APPC processing beginning for artifact c:\projects\trunk\4x\webapps\broker/../../jar/broker.war [INFO] Detailed Appc settings information AppcMojo[ basicClientJar = false forceGeneration = true keepGenerated = true lineNumbers = false inputArtifactPath = c:\projects\trunk\4x\webapps\broker/../../jar/broker.war outputArtifactPath = null artifacts = [..., bf.webapps:common:jar:SNAPSHOT:compile,...] project Packaging = war verbose = true] [INFO] Using Classpath ...;\maven\localRepository\bf\webapps\common\SNAPSHOT\common- SNAPSHOT.ja r;... Created working directory: c:\DOCUME~1\dtanner\LOCALS~1\Temp\appcgen_broker.war [ERROR] Exception encountered during APPC processing weblogic.utils.compiler.ToolFailureException: com/bea/xml/XmlException This error does not show which file is causing the problem, so I ran java weblogic.appc broker.war from the command line and received this error: There are 1 nested errors: weblogic.servlet.internal.dd.compliance.ComplianceException: The class bf.web.c ommon.ApplicationContextListener referred by the descriptor element listener is not found. Please ensure that it is present in the classpath. However this class is in the common-SNAPSHOT.jar which is inside the Broker.war in WEB-INF/lib. Am I seeing 2 different errors due to the 2 different commands? How can I know from the mvn error which file is causing the problem? Thanks, Doug Tanner ** ** BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) ** * Scott Ryan CTO Soaring Eagle L.L.C. Denver, Co. 80129 www.soaringeagleco.com www.theryansplace.com (303) 263-3044 [EMAIL PROTECTED] BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Build error with weblogic-maven-plugin
Inside the weblogic.jar is a manifest that describes all the jars required to support the weblogic.jar. I am still going through to get the minimal combination that will work. Let me know if you have any ideas or make any progress. Scott On Apr 12, 2007, at 9:15 AM, Doug Tanner wrote: Do you have a list of these jars? I'm looking forward to a fix for this, but in the mean time I need to continue working. Thanks, Doug Tanner -Original Message- From: Scott Ryan [mailto:[EMAIL PROTECTED] On Behalf Of Scott Ryan Sent: Thursday, April 12, 2007 10:03 AM To: Maven Users List Subject: Re: Build error with weblogic-maven-plugin Yes that is a bug I am working on. I have some free days over then next week or so and hope to have a solution. There are many jars that need to be included in the APPC and I am trying to find a good way to include them all without forcing you to load all the jars to your repository. I am also testing with 10 as well. I hope to have some good news later this week. Let me know if there is anything else you need. Scott On Apr 12, 2007, at 7:36 AM, Doug Tanner wrote: I am using the 2.9.0-SNAPSHOT. After building my war, I wish to precompile all my JSPs for faster response times. As I understand it, the weblogic-maven-plugin goal weblogic:appc is what I need to use to do this. However, I am getting a no class def found error. From the output of my build I get the following lines, edited to remove non-essential information: [INFO] Weblogic APPC processing beginning for artifact c:\projects\trunk\4x\webapps\broker/../../jar/broker.war [INFO] Detailed Appc settings information AppcMojo[ basicClientJar = false forceGeneration = true keepGenerated = true lineNumbers = false inputArtifactPath = c:\projects\trunk\4x\webapps\broker/../../jar/broker.war outputArtifactPath = null artifacts = [..., bf.webapps:common:jar:SNAPSHOT:compile,...] project Packaging = war verbose = true] [INFO] Using Classpath ...;\maven\localRepository\bf\webapps\common\SNAPSHOT\common- SNAPSHOT.ja r;... Created working directory: c:\DOCUME~1\dtanner\LOCALS~1\Temp\appcgen_broker.war [ERROR] Exception encountered during APPC processing weblogic.utils.compiler.ToolFailureException: com/bea/xml/XmlException This error does not show which file is causing the problem, so I ran java weblogic.appc broker.war from the command line and received this error: There are 1 nested errors: weblogic.servlet.internal.dd.compliance.ComplianceException: The class bf.web.c ommon.ApplicationContextListener referred by the descriptor element listener is not found. Please ensure that it is present in the classpath. However this class is in the common-SNAPSHOT.jar which is inside the Broker.war in WEB-INF/lib. Am I seeing 2 different errors due to the 2 different commands? How can I know from the mvn error which file is causing the problem? Thanks, Doug Tanner ** ** BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005) ** * Scott Ryan CTO Soaring Eagle L.L.C. Denver, Co. 80129 www.soaringeagleco.com www.theryansplace.com (303) 263-3044 [EMAIL PROTECTED] ** ** BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. Unauthorized review, use, disclosure, or dissemination of this communication or its contents in any way is prohibited and may be unlawful. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please notify the original sender immediately by e-mail or telephone, return the original message to the original sender or to [EMAIL PROTECTED], and destroy all copies or derivations of the original message. Thank you. (BFeComNote Rev. 08/01/2005
Re: Build Error: cvs update
On 2/20/07, Jeff Mutonho [EMAIL PROTECTED] wrote: What does this error message mean? Build Error: Provider message: The cvs command failed. Command output: --- cvs update: in directory .: cvs [update aborted]: there is no version here; run 'cvs checkout' first --- The only thing that I can remember having chainged in my setup is that I added a changes.xml in the same directory as my top level pom.xml.I used Eclipse checkin the changes.xml file. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Build error when using Build All button
you need to remove all your target directories in working copies and add your target directories in svn:ignore property in svn (http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.advanced.props.special.ignore). All will be ok after that. Emmanuel Chris Russell a écrit : Hello, I just created a new project in Continuum 1.0.3. I built each project individually (there are 5) and each was successful. My error occurs when I hit Build All. 3 of my 5 projects fail with the following error: Provider message: The svn command failed. Command output: --- svn: Directory 'target/.svn' containing working copy admin area is missing --- Once I get this error, I try to build each project individually again and they fail. Any ideas? Thanks in advance, Chris
RE: Build error when using Build All button
Try clearing your checkout directory. Thanks. -Original Message- From: Chris Russell [mailto:[EMAIL PROTECTED] Sent: Monday, February 05, 2007 5:55 PM To: continuum-users@maven.apache.org Subject: Build error when using Build All button Hello, I just created a new project in Continuum 1.0.3. I built each project individually (there are 5) and each was successful. My error occurs when I hit Build All. 3 of my 5 projects fail with the following error: Provider message: The svn command failed. Command output: --- svn: Directory 'target/.svn' containing working copy admin area is missing --- Once I get this error, I try to build each project individually again and they fail. Any ideas? Thanks in advance, Chris 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: Build error with pde-maven-plugin
are you able to do an eclipse export of your pde artifact per pde-maven-plugin's FAQ? -D On 12/1/06, Dan Tran [EMAIL PROTECTED] wrote: are you able to run the m2eclipse example? -D On 12/1/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, i always get an error, when i try to build an eclipse plugin: Does't anyone have an idea what is wrong? Thanks and best Reragrds, Thorsten [INFO] Scanning for projects... [INFO] [INFO] Building ... project [INFO]task-segment: [compile] [INFO] [INFO] [pde:ext] [INFO] java -classpath C:\Programme\Eclipse\startup.jar org.eclipse.core.launcher.Main -application org.eclipse.ant.core.antRunner -buildfile C:\temp\project\target\pdeBuilder\build.xml -verbose -debug Install location: file:/c:/Programme/eclipse/ Configuration file: file:/c:/Programme/eclipse/configuration/config.ini loaded Configuration location: file:/c:/Programme/eclipse/configuration/ Framework located: file:/c:/Programme/eclipse/plugins/org.eclipse.osgi_3.2.1.R32x_v20060919.jar Framework classpath: file:/c:/Programme/eclipse/plugins/org.eclipse.osgi_3.2.1.R32x_v20060919.jar Debug options: file:/C:/temp/project/.options not found Time to load bundles: 0 Starting application: 805 Apache Ant version 1.6.5 compiled on June 2 2005 Apache Ant version 1.6.5 compiled on June 2 2005 Setting ro project property: ant.file - C:\temp\project\target\pdeBuilder\build.xml Buildfile: C:\temp\project\target\pdeBuilder\build.xml +Datatype eclipse.convertPath org.eclipse.core.resources.ant.ConvertPath +Datatype eclipse.incrementalBuild org.eclipse.core.resources.ant.IncrementalBuild +Datatype eclipse.refreshLocal org.eclipse.core.resources.ant.RefreshLocalTask +Datatype help.buildHelpIndex org.eclipse.help.internal.base.ant.BuildHelpIndex +Datatype eclipse.checkDebugAttributes org.eclipse.jdt.core.CheckDebugAttributes +Datatype eclipse.brand org.eclipse.pde.internal.build.tasks.BrandTask +Datatype eclipse.fetch org.eclipse.pde.internal.build.tasks.FetchTask +Datatype eclipse.buildScript org.eclipse.pde.internal.build.tasks.BuildScriptGeneratorTask +Datatype eclipse.generateFeature org.eclipse.pde.internal.build.tasks.FeatureGeneratorTask +Datatype eclipse.buildManifest org.eclipse.pde.internal.build.tasks.BuildManifestTask +Datatype eclipse.assembler org.eclipse.pde.internal.build.tasks.PackagerTask +Datatype eclipse.idReplacer org.eclipse.pde.internal.build.tasks.IdReplaceTask +Datatype eclipse.jnlpGenerator org.eclipse.pde.internal.build.tasks.JNLPGeneratorTask +Datatype eclipse.unzipperBuilder org.eclipse.pde.internal.build.tasks.UnzipperGeneratorTask +Datatype eclipse.fetchFilesGenerator org.eclipse.pde.internal.build.tasks.FetchFileGeneratorTask +Datatype eclipse.versionReplacer org.eclipse.pde.internal.build.tasks.GenericVersionReplacer +Datatype pde.convertSchemaToHTML org.eclipse.pde.internal.core.ant.ConvertSchemaToHTML +Datatype pde.exportPlugins org.eclipse.pde.internal.core.ant.PluginExportTask +Datatype pde.exportFeatures org.eclipse.pde.internal.core.ant.FeatureExportTask Adding reference: ant.projectHelper Adding reference: ant.parsing.context Adding reference: ant.targets parsing buildfile C:\temp\project\target\pdeBuilder\build.xml with URI = file:///C:/temp/project/target/pdeBuilder/build.xml Setting ro project property: ant.file.null - C:\temp\project\target\pdeBuilder\build.xml Project base dir set to: C:\temp\project\target\pdeBuilder +Target: +Target: generate Adding reference: eclipse.ant.targetVector Build sequence for target(s) `generate' is [generate] Complete build sequence is [generate, ] generate: [eclipse.buildScript] An error occured while generating manifest for C:\temp\project\..\... BUILD FAILED C:\temp\project\target\pdeBuilder\build.xml:8: Unable to find element: project. at org.eclipse.pde.internal.build.tasks.BuildScriptGeneratorTask.execute( BuildScriptGeneratorTask.java:74) at org.apache.tools.ant.UnknownElement.execute ( UnknownElement.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeSortedTargets(Project.java :1216) at org.apache.tools.ant.Project.executeTarget(Project.java:1185) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets ( DefaultExecutor.java:40) at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets( EclipseDefaultExecutor.java:32) at org.apache.tools.ant.Project.executeTargets(Project.java:1068) at org.eclipse.ant.internal.core.ant.InternalAntRunner.run( InternalAntRunner.java:706) at
Re: Build error with pde-maven-plugin
are you able to run the m2eclipse example? -D On 12/1/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, i always get an error, when i try to build an eclipse plugin: Does't anyone have an idea what is wrong? Thanks and best Reragrds, Thorsten [INFO] Scanning for projects... [INFO] [INFO] Building ... project [INFO]task-segment: [compile] [INFO] [INFO] [pde:ext] [INFO] java -classpath C:\Programme\Eclipse\startup.jar org.eclipse.core.launcher.Main -application org.eclipse.ant.core.antRunner-buildfile C:\temp\project\target\pdeBuilder\build.xml -verbose -debug Install location: file:/c:/Programme/eclipse/ Configuration file: file:/c:/Programme/eclipse/configuration/config.ini loaded Configuration location: file:/c:/Programme/eclipse/configuration/ Framework located: file:/c:/Programme/eclipse/plugins/org.eclipse.osgi_3.2.1.R32x_v20060919.jar Framework classpath: file:/c:/Programme/eclipse/plugins/org.eclipse.osgi_3.2.1.R32x_v20060919.jar Debug options: file:/C:/temp/project/.options not found Time to load bundles: 0 Starting application: 805 Apache Ant version 1.6.5 compiled on June 2 2005 Apache Ant version 1.6.5 compiled on June 2 2005 Setting ro project property: ant.file - C:\temp\project\target\pdeBuilder\build.xml Buildfile: C:\temp\project\target\pdeBuilder\build.xml +Datatype eclipse.convertPath org.eclipse.core.resources.ant.ConvertPath +Datatype eclipse.incrementalBuild org.eclipse.core.resources.ant.IncrementalBuild +Datatype eclipse.refreshLocal org.eclipse.core.resources.ant.RefreshLocalTask +Datatype help.buildHelpIndex org.eclipse.help.internal.base.ant.BuildHelpIndex +Datatype eclipse.checkDebugAttributes org.eclipse.jdt.core.CheckDebugAttributes +Datatype eclipse.brand org.eclipse.pde.internal.build.tasks.BrandTask +Datatype eclipse.fetch org.eclipse.pde.internal.build.tasks.FetchTask +Datatype eclipse.buildScript org.eclipse.pde.internal.build.tasks.BuildScriptGeneratorTask +Datatype eclipse.generateFeature org.eclipse.pde.internal.build.tasks.FeatureGeneratorTask +Datatype eclipse.buildManifest org.eclipse.pde.internal.build.tasks.BuildManifestTask +Datatype eclipse.assembler org.eclipse.pde.internal.build.tasks.PackagerTask +Datatype eclipse.idReplacer org.eclipse.pde.internal.build.tasks.IdReplaceTask +Datatype eclipse.jnlpGenerator org.eclipse.pde.internal.build.tasks.JNLPGeneratorTask +Datatype eclipse.unzipperBuilder org.eclipse.pde.internal.build.tasks.UnzipperGeneratorTask +Datatype eclipse.fetchFilesGenerator org.eclipse.pde.internal.build.tasks.FetchFileGeneratorTask +Datatype eclipse.versionReplacer org.eclipse.pde.internal.build.tasks.GenericVersionReplacer +Datatype pde.convertSchemaToHTML org.eclipse.pde.internal.core.ant.ConvertSchemaToHTML +Datatype pde.exportPlugins org.eclipse.pde.internal.core.ant.PluginExportTask +Datatype pde.exportFeatures org.eclipse.pde.internal.core.ant.FeatureExportTask Adding reference: ant.projectHelper Adding reference: ant.parsing.context Adding reference: ant.targets parsing buildfile C:\temp\project\target\pdeBuilder\build.xml with URI = file:///C:/temp/project/target/pdeBuilder/build.xml Setting ro project property: ant.file.null - C:\temp\project\target\pdeBuilder\build.xml Project base dir set to: C:\temp\project\target\pdeBuilder +Target: +Target: generate Adding reference: eclipse.ant.targetVector Build sequence for target(s) `generate' is [generate] Complete build sequence is [generate, ] generate: [eclipse.buildScript] An error occured while generating manifest for C:\temp\project\..\... BUILD FAILED C:\temp\project\target\pdeBuilder\build.xml:8: Unable to find element: project. at org.eclipse.pde.internal.build.tasks.BuildScriptGeneratorTask.execute( BuildScriptGeneratorTask.java:74) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java :275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeSortedTargets(Project.java :1216) at org.apache.tools.ant.Project.executeTarget(Project.java:1185) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets( DefaultExecutor.java:40) at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets( EclipseDefaultExecutor.java:32) at org.apache.tools.ant.Project.executeTargets(Project.java:1068) at org.eclipse.ant.internal.core.ant.InternalAntRunner.run( InternalAntRunner.java:706) at org.eclipse.ant.internal.core.ant.InternalAntRunner.run( InternalAntRunner.java:584) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at
Re: build error
do you have svn in your path? Emmanuel p_m a écrit : Hi, I am getting following error while doing build. SVN is installed and i am able to do manual check-out from SVN Online report : http://localhost:8080/continuum/servlet/continuum/target/ProjectBuild.vm /view/ProjectBuild/id/56/buildId/118 Build statistics: State: Error Previous State: Error Started at: Sun, 13 Aug 2006 21:03:37 -0400 Finished at: Sun, 13 Aug 2006 21:03:37 -0400 Total time: 0s Build Trigger: Forced Exit code: 0 Building machine hostname: emetadev1 Operating system : Linux(unknown) Java version : 1.4.2_04(Sun Microsystems Inc.) Changes No files changed Build Error: Exception: Cannot checkout sources. Exception while executing SCM command. Error while executing command. Error while executing process. java.io.IOException: svn: not found My SCM tag in POM is as below scm connection scm:svn:http://ip:port/svn/repos/proj/common /connection developerConnection scm:svn:http://ip:port/svn/repos/proj/common /developerConnection url http://ip:port/svn/repos/proj/common /url /scm Thanks P~M
Re: BUILD ERROR using native-maven-plugin: Cannot find lifecycle mapping for packaging: 'lib'
I ran the native-maven-plugin/src/it/linkages which as one lib project inthere and have no issue. Did you define extenstionstrue/extensions? please see the example -Dan On 6/26/06, Brad Harper [EMAIL PROTECTED] wrote: I've attempted a re-org of modules this morning and now see [ERROR] BUILD ERROR [INFO] ---... [INFO] Cannot find lifecycle mapping for packaging: 'lib'. Component descriptor cannot be found in the component repository: \ org.apache.maven.lifecycle.mapping.LifecycleMappingLib. ... using Maven 2.0.4 with locally built and installed alpha-1.0 of native.maven.plugin. Brad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: BUILD ERROR using native-maven-plugin: Cannot find lifecycle mapping for packaging: 'lib'
Oops. I dropped the extensions element somehow. Does that element tell maven that a plugin provides new lifecycle functionality? Wouldn't that information be something you'd expect a plugin to reveal about itself ... rather than be declared by a dependent project descriptor? Thanks, Dan. -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Monday, June 26, 2006 11:36 AM To: Maven Users List Subject: Re: BUILD ERROR using native-maven-plugin: Cannot find lifecycle mapping for packaging: 'lib' I ran the native-maven-plugin/src/it/linkages which as one lib project inthere and have no issue. Did you define extenstionstrue/extensions? please see the example -Dan On 6/26/06, Brad Harper [EMAIL PROTECTED] wrote: I've attempted a re-org of modules this morning and now see [ERROR] BUILD ERROR [INFO] ---... [INFO] Cannot find lifecycle mapping for packaging: 'lib'. Component descriptor cannot be found in the component repository: \ org.apache.maven.lifecycle.mapping.LifecycleMappingLib. ... using Maven 2.0.4 with locally built and installed alpha-1.0 of native.maven.plugin. Brad - 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: BUILD ERROR using native-maven-plugin: Cannot find lifecycle mapping for packaging: 'lib'
m2 comes with a bunch of build-in packages, but the native ones are not, so you need to activate it as an extension thru user's pom.xml -D On 6/26/06, Brad Harper [EMAIL PROTECTED] wrote: Oops. I dropped the extensions element somehow. Does that element tell maven that a plugin provides new lifecycle functionality? Wouldn't that information be something you'd expect a plugin to reveal about itself ... rather than be declared by a dependent project descriptor? Thanks, Dan. -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Monday, June 26, 2006 11:36 AM To: Maven Users List Subject: Re: BUILD ERROR using native-maven-plugin: Cannot find lifecycle mapping for packaging: 'lib' I ran the native-maven-plugin/src/it/linkages which as one lib project inthere and have no issue. Did you define extenstionstrue/extensions? please see the example -Dan On 6/26/06, Brad Harper [EMAIL PROTECTED] wrote: I've attempted a re-org of modules this morning and now see [ERROR] BUILD ERROR [INFO] ---... [INFO] Cannot find lifecycle mapping for packaging: 'lib'. Component descriptor cannot be found in the component repository: \ org.apache.maven.lifecycle.mapping.LifecycleMappingLib. ... using Maven 2.0.4 with locally built and installed alpha-1.0 of native.maven.plugin. Brad - 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: build error in multi module project
Maven is unable to find the parent artifact org.openuss:openuss:3.0-SNAPSHOT. Can you verify in your local repository that this exists? Cheers, Rahul - Original Message - From: Ingo Düppe [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Sent: Friday, June 02, 2006 3:33 AM Subject: build error in multi module project Hi, I have the following structure within my project openuss packagingpom/packaging framework packagingpom/packaging utilities packagingjar/packaging This is the pom.xml from my framework module: ?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; parent groupIdorg.openuss/groupId artifactIdopenuss/artifactId version3.0-SNAPSHOT/version /parent modelVersion4.0.0/modelVersion groupIdorg.openuss.framework/groupId artifactIdopenuss-framework/artifactId version3.0-SNAPSHOT/version nameOpenUSS - Framework/name packagingpom/packaging modules moduleutilities/module /modules /project I can run mvn install from openuss and from the utilities folder. But when I try to run mvn install from the framework folder I get the following error quoted below. Regards Ingo Buildfile: D:\development\workspaces\workspace-openuss-3.0\openuss\framework\build.xml install: [exec] [INFO] Scanning for projects... [exec] [INFO] [exec] [ERROR] FATAL ERROR [exec] [INFO] [exec] [INFO] Failed to resolve artifact. [exec] GroupId: org.openuss [exec] ArtifactId: openuss [exec] Version: 3.0-SNAPSHOT [exec] Reason: Unable to download the artifact from any repository [exec] org.openuss:openuss:pom:3.0-SNAPSHOT [exec] from the specified remote repositories: [exec] central (http://repo1.maven.org/maven2) [exec] [INFO] [exec] [INFO] Trace [exec] org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.openuss:openuss for project: org.openuss.framework:openuss-framework:pom:3.0-SNAPSHOT [exec] at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365) [exec] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278) [exec] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) [exec] at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [exec] at java.lang.reflect.Method.invoke(Method.java:585) [exec] at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) [exec] at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) [exec] at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) [exec] at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [exec] Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: org.openuss:openuss for project: org.openuss.framework:openuss-framework:pom:3.0-SNAPSHOT [exec] at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1161) [exec] at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1176) [exec] at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:674) [exec] at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:416) [exec] at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:192) [exec] at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515) [exec] at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:447) [exec] at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:491) [exec] at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351) [exec] ... 11 more [exec] Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.openuss:openuss' not found in repository: Unable to download the artifact from any repository [exec] org.openuss:openuss:pom:3.0-SNAPSHOT [exec] from the specified remote repositories: [exec] central (http://repo1.maven.org/maven2) [exec] at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:513) [exec] at
Re: build error in multi module project
Well it doesn't exist within my local repository. I know it works as long as org.openuss:openuss:3.0-SNAPSHOT exists in my local repository. But it should also work through the parent dependencies between openuss and framework. Just like it works when I build it from utilities with a empty repository. I guess the issue MNG-2068 isn't really fixed within mvn 2.0.4. Regards Ingo Rinku schrieb: Maven is unable to find the parent artifact org.openuss:openuss:3.0-SNAPSHOT. Can you verify in your local repository that this exists? Cheers, Rahul - Original Message - From: Ingo Düppe [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Sent: Friday, June 02, 2006 3:33 AM Subject: build error in multi module project Hi, I have the following structure within my project openuss packagingpom/packaging framework packagingpom/packaging utilities packagingjar/packaging This is the pom.xml from my framework module: ?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; parent groupIdorg.openuss/groupId artifactIdopenuss/artifactId version3.0-SNAPSHOT/version /parent modelVersion4.0.0/modelVersion groupIdorg.openuss.framework/groupId artifactIdopenuss-framework/artifactId version3.0-SNAPSHOT/version nameOpenUSS - Framework/name packagingpom/packaging modules moduleutilities/module /modules /project I can run mvn install from openuss and from the utilities folder. But when I try to run mvn install from the framework folder I get the following error quoted below. Regards Ingo Buildfile: D:\development\workspaces\workspace-openuss-3.0\openuss\framework\build.xml install: [exec] [INFO] Scanning for projects... [exec] [INFO] [exec] [ERROR] FATAL ERROR [exec] [INFO] [exec] [INFO] Failed to resolve artifact. [exec] GroupId: org.openuss [exec] ArtifactId: openuss [exec] Version: 3.0-SNAPSHOT [exec] Reason: Unable to download the artifact from any repository [exec] org.openuss:openuss:pom:3.0-SNAPSHOT [exec] from the specified remote repositories: [exec] central (http://repo1.maven.org/maven2) [exec] [INFO] [exec] [INFO] Trace [exec] org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.openuss:openuss for project: org.openuss.framework:openuss-framework:pom:3.0-SNAPSHOT [exec] at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365) [exec] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278) [exec] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) [exec] at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [exec] at java.lang.reflect.Method.invoke(Method.java:585) [exec] at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) [exec] at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) [exec] at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) [exec] at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [exec] Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: org.openuss:openuss for project: org.openuss.framework:openuss-framework:pom:3.0-SNAPSHOT [exec] at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1161) [exec] at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1176) [exec] at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:674) [exec] at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:416) [exec] at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:192) [exec] at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515) [exec] at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:447) [exec] at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:491) [exec] at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351) [exec] ... 11 more [exec] Caused by: org.apache.maven.project.ProjectBuildingException:
RE: Build Error
Please verify your path environment variable. Cvs.exe file should be in the path. I belive if you start cvs.exe command from cmd on the servers where continuum is running you will get the same message. -Original Message- From: Gerard Garrigan [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 6:30 PM To: continuum-users@maven.apache.org Subject: Build Error Hello, I've set up Continuum and everything seems to be fine but when I try to build a project I get the following error: Build Error: Provider message: The cvs command failed. Command output: --- 'cvs' is not recognized as an internal or external command, operable program or batch file. --- Any help on this is greatly appreciated, Thanks very much, Ger Ger Garrigan Software Engineer Castlewood House, Castlewood Ave, Rathmines, Dublin 6, Ireland. Tel: +353 1 4060738 Fax: +353 1 4060748 http://www.precisionsoftware.com/ www.precisionsoftware.com
RE: Build Error
Juri, If I run the cvs command from cmd there are no problems. I have the cvs.exe specified in the PATH. However is there special path settings for Continuum? Thanks for your reply, Ger -Original Message- From: Artamonov, Juri [mailto:[EMAIL PROTECTED] Sent: 23 May 2006 16:44 To: continuum-users@maven.apache.org Subject: RE: Build Error Please verify your path environment variable. Cvs.exe file should be in the path. I belive if you start cvs.exe command from cmd on the servers where continuum is running you will get the same message. -Original Message- From: Gerard Garrigan [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 6:30 PM To: continuum-users@maven.apache.org Subject: Build Error Hello, I've set up Continuum and everything seems to be fine but when I try to build a project I get the following error: Build Error: Provider message: The cvs command failed. Command output: --- 'cvs' is not recognized as an internal or external command, operable program or batch file. --- Any help on this is greatly appreciated, Thanks very much, Ger Ger Garrigan Software Engineer Castlewood House, Castlewood Ave, Rathmines, Dublin 6, Ireland. Tel: +353 1 4060738 Fax: +353 1 4060748 http://www.precisionsoftware.com/ www.precisionsoftware.com
RE: Build Error
Gerard, Perhaps you have cvs.exe in user's path, not in system? I would recommed you to put it to system variables. Best regards, Juri. -Original Message- From: Gerard Garrigan [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 6:47 PM To: continuum-users@maven.apache.org Subject: RE: Build Error Juri, If I run the cvs command from cmd there are no problems. I have the cvs.exe specified in the PATH. However is there special path settings for Continuum? Thanks for your reply, Ger -Original Message- From: Artamonov, Juri [mailto:[EMAIL PROTECTED] Sent: 23 May 2006 16:44 To: continuum-users@maven.apache.org Subject: RE: Build Error Please verify your path environment variable. Cvs.exe file should be in the path. I belive if you start cvs.exe command from cmd on the servers where continuum is running you will get the same message. -Original Message- From: Gerard Garrigan [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 6:30 PM To: continuum-users@maven.apache.org Subject: Build Error Hello, I've set up Continuum and everything seems to be fine but when I try to build a project I get the following error: Build Error: Provider message: The cvs command failed. Command output: --- 'cvs' is not recognized as an internal or external command, operable program or batch file. --- Any help on this is greatly appreciated, Thanks very much, Ger Ger Garrigan Software Engineer Castlewood House, Castlewood Ave, Rathmines, Dublin 6, Ireland. Tel: +353 1 4060738 Fax: +353 1 4060748 http://www.precisionsoftware.com/ www.precisionsoftware.com
RE: Build Error
Juri, The cvs.exe is in the system path. Could the problem be arising in the scm command or the connection tag in the pom.xml file? Ger -Original Message- From: Artamonov, Juri [mailto:[EMAIL PROTECTED] Sent: 23 May 2006 17:01 To: continuum-users@maven.apache.org Subject: RE: Build Error Gerard, Perhaps you have cvs.exe in user's path, not in system? I would recommed you to put it to system variables. Best regards, Juri. -Original Message- From: Gerard Garrigan [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 6:47 PM To: continuum-users@maven.apache.org Subject: RE: Build Error Juri, If I run the cvs command from cmd there are no problems. I have the cvs.exe specified in the PATH. However is there special path settings for Continuum? Thanks for your reply, Ger -Original Message- From: Artamonov, Juri [mailto:[EMAIL PROTECTED] Sent: 23 May 2006 16:44 To: continuum-users@maven.apache.org Subject: RE: Build Error Please verify your path environment variable. Cvs.exe file should be in the path. I belive if you start cvs.exe command from cmd on the servers where continuum is running you will get the same message. -Original Message- From: Gerard Garrigan [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 6:30 PM To: continuum-users@maven.apache.org Subject: Build Error Hello, I've set up Continuum and everything seems to be fine but when I try to build a project I get the following error: Build Error: Provider message: The cvs command failed. Command output: --- 'cvs' is not recognized as an internal or external command, operable program or batch file. --- Any help on this is greatly appreciated, Thanks very much, Ger Ger Garrigan Software Engineer Castlewood House, Castlewood Ave, Rathmines, Dublin 6, Ireland. Tel: +353 1 4060738 Fax: +353 1 4060748 http://www.precisionsoftware.com/ www.precisionsoftware.com
Re: Build Error
The error message you got is sended by the os when continuum call cvs, so cvs isn't in your path. Do you run continuum as a service? If yes, verify that the user used for continuum instance have cvs in path too. Emmanuel Gerard Garrigan a écrit : Juri, The cvs.exe is in the system path. Could the problem be arising in the scm command or the connection tag in the pom.xml file? Ger -Original Message- From: Artamonov, Juri [mailto:[EMAIL PROTECTED] Sent: 23 May 2006 17:01 To: continuum-users@maven.apache.org Subject: RE: Build Error Gerard, Perhaps you have cvs.exe in user's path, not in system? I would recommed you to put it to system variables. Best regards, Juri. -Original Message- From: Gerard Garrigan [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 6:47 PM To: continuum-users@maven.apache.org Subject: RE: Build Error Juri, If I run the cvs command from cmd there are no problems. I have the cvs.exe specified in the PATH. However is there special path settings for Continuum? Thanks for your reply, Ger -Original Message- From: Artamonov, Juri [mailto:[EMAIL PROTECTED] Sent: 23 May 2006 16:44 To: continuum-users@maven.apache.org Subject: RE: Build Error Please verify your path environment variable. Cvs.exe file should be in the path. I belive if you start cvs.exe command from cmd on the servers where continuum is running you will get the same message. -Original Message- From: Gerard Garrigan [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 6:30 PM To: continuum-users@maven.apache.org Subject: Build Error Hello, I've set up Continuum and everything seems to be fine but when I try to build a project I get the following error: Build Error: Provider message: The cvs command failed. Command output: --- 'cvs' is not recognized as an internal or external command, operable program or batch file. --- Any help on this is greatly appreciated, Thanks very much, Ger Ger Garrigan Software Engineer Castlewood House, Castlewood Ave, Rathmines, Dublin 6, Ireland. Tel: +353 1 4060738 Fax: +353 1 4060748 http://www.precisionsoftware.com/ www.precisionsoftware.com
Re: Build error
Hi, Simply there's no dist plugin in maven 2. To install an artifact try: 'mvn install' (which is a shortcut for mvn install:install) instead. Regards, Jakub On Thu, 18 May 2006 12:24:15 +0300, Evi wrote Hi! I am just beginning with Maven and while building Jetspeed got the following build error: C:\0portaal\Allalaetud tarkvara\jetspeed-1.6-war\jetspeed-1.6mvn dist:install [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'dist'. [INFO] org.apache.maven.plugins: checking for updates from central [INFO] org.codehaus.mojo: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-dist-plugin: checking for updates from central [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-dist-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 4 seconds [INFO] Finished at: Thu May 18 12:01:11 EEST 2006 [INFO] Final Memory: 1M/2M [INFO] Please advise how to proceed. Rgds, Evi - 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: Build error
Hi, the error says that maven can't find the 'maven-dist-plugin'. This is correct because a plugin with this name doesn't exist (at least for maven 2, for maven 1 I don't know). What are you trying to do? Just build the project? then you need to execute 'mvn package' for example. If you want to install the project to your local repository try 'mvn install'. Have you read the getting started guide and other maven documentation at http://maven.apache.org/guides/index.html ? Also the free book at http://www.mergere.com/m2book_download.jsp is a good starting point to get you up and running. Hope this helps -Tim Evi schrieb: Hi! I am just beginning with Maven and while building Jetspeed got the following build error: C:\0portaal\Allalaetud tarkvara\jetspeed-1.6-war\jetspeed-1.6mvn dist:install [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'dist'. [INFO] org.apache.maven.plugins: checking for updates from central [INFO] org.codehaus.mojo: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-dist-plugin: checking for updates from central [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-dist-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 4 seconds [INFO] Finished at: Thu May 18 12:01:11 EEST 2006 [INFO] Final Memory: 1M/2M [INFO] Please advise how to proceed. Rgds, Evi - 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: Build error
Are you sure that jetspeed has a maven 2 build ? Isn't it a maven 1 ? Arnaud On 5/18/06, Tim Kettler [EMAIL PROTECTED] wrote: Hi, the error says that maven can't find the 'maven-dist-plugin'. This is correct because a plugin with this name doesn't exist (at least for maven 2, for maven 1 I don't know). What are you trying to do? Just build the project? then you need to execute 'mvn package' for example. If you want to install the project to your local repository try 'mvn install'. Have you read the getting started guide and other maven documentation at http://maven.apache.org/guides/index.html ? Also the free book at http://www.mergere.com/m2book_download.jsp is a good starting point to get you up and running. Hope this helps -Tim Evi schrieb: Hi! I am just beginning with Maven and while building Jetspeed got the following build error: C:\0portaal\Allalaetud tarkvara\jetspeed-1.6-war\jetspeed-1.6mvn dist:install [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'dist'. [INFO] org.apache.maven.plugins: checking for updates from central [INFO] org.codehaus.mojo: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-dist-plugin: checking for updates from central [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-dist-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 4 seconds [INFO] Finished at: Thu May 18 12:01:11 EEST 2006 [INFO] Final Memory: 1M/2M [INFO] Please advise how to proceed. Rgds, Evi - 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: Build error
http://svn.apache.org/viewvc/portals/jetspeed-1/trunk/ http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/ They use maven 1. Arnaud On 5/18/06, Arnaud HERITIER [EMAIL PROTECTED] wrote: Are you sure that jetspeed has a maven 2 build ? Isn't it a maven 1 ? Arnaud On 5/18/06, Tim Kettler [EMAIL PROTECTED] wrote: Hi, the error says that maven can't find the 'maven-dist-plugin'. This is correct because a plugin with this name doesn't exist (at least for maven 2, for maven 1 I don't know). What are you trying to do? Just build the project? then you need to execute 'mvn package' for example. If you want to install the project to your local repository try 'mvn install'. Have you read the getting started guide and other maven documentation at http://maven.apache.org/guides/index.html ? Also the free book at http://www.mergere.com/m2book_download.jsp is a good starting point to get you up and running. Hope this helps -Tim Evi schrieb: Hi! I am just beginning with Maven and while building Jetspeed got the following build error: C:\0portaal\Allalaetud tarkvara\jetspeed-1.6-war\jetspeed-1.6mvn dist:install [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'dist'. [INFO] org.apache.maven.plugins: checking for updates from central [INFO] org.codehaus.mojo: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-dist-plugin: checking for updates from central [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-dist-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 4 seconds [INFO] Finished at: Thu May 18 12:01:11 EEST 2006 [INFO] Final Memory: 1M/2M [INFO] Please advise how to proceed. Rgds, Evi - 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: Build error
As Arnaud pointed out jetspeed is using maven 1 as a build tool. I just saw you executed 'mvn ...' which is the maven 2 exeutable, hence my previous answer. You need to switch to maven 1 to build jetspeed. The command to build jetspeed from source is 'maven war' as found here: http://portals.apache.org/jetspeed-1/install.html#Installation -Tim Tim Kettler schrieb: Hi, the error says that maven can't find the 'maven-dist-plugin'. This is correct because a plugin with this name doesn't exist (at least for maven 2, for maven 1 I don't know). What are you trying to do? Just build the project? then you need to execute 'mvn package' for example. If you want to install the project to your local repository try 'mvn install'. Have you read the getting started guide and other maven documentation at http://maven.apache.org/guides/index.html ? Also the free book at http://www.mergere.com/m2book_download.jsp is a good starting point to get you up and running. Hope this helps -Tim Evi schrieb: Hi! I am just beginning with Maven and while building Jetspeed got the following build error: C:\0portaal\Allalaetud tarkvara\jetspeed-1.6-war\jetspeed-1.6mvn dist:install [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'dist'. [INFO] org.apache.maven.plugins: checking for updates from central [INFO] org.codehaus.mojo: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-dist-plugin: checking for updates from central [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-dist-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 4 seconds [INFO] Finished at: Thu May 18 12:01:11 EEST 2006 [INFO] Final Memory: 1M/2M [INFO] Please advise how to proceed. Rgds, Evi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Build error
at: Thu May 18 15:46:50 EEST 2006 -Original Message- From: Tim Kettler [mailto:[EMAIL PROTECTED] Sent: Thursday, May 18, 2006 12:38 PM To: Maven Users List Subject: Re: Build error Hi, the error says that maven can't find the 'maven-dist-plugin'. This is correct because a plugin with this name doesn't exist (at least for maven 2, for maven 1 I don't know). What are you trying to do? Just build the project? then you need to execute 'mvn package' for example. If you want to install the project to your local repository try 'mvn install'. Have you read the getting started guide and other maven documentation at http://maven.apache.org/guides/index.html ? Also the free book at http://www.mergere.com/m2book_download.jsp is a good starting point to get you up and running. Hope this helps -Tim Evi schrieb: Hi! I am just beginning with Maven and while building Jetspeed got the following build error: C:\0portaal\Allalaetud tarkvara\jetspeed-1.6-war\jetspeed-1.6mvn dist:install [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'dist'. [INFO] org.apache.maven.plugins: checking for updates from central [INFO] org.codehaus.mojo: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-dist-plugin: checking for updates from central [INFO] -- -- [ERROR] BUILD ERROR [INFO] -- -- [INFO] The plugin 'org.apache.maven.plugins:maven-dist-plugin' does not exist or no valid version could be found [INFO] -- -- [INFO] For more information, run Maven with the -e switch [INFO] -- -- [INFO] Total time: 4 seconds [INFO] Finished at: Thu May 18 12:01:11 EEST 2006 [INFO] Final Memory: 1M/2M [INFO] -- -- Please advise how to proceed. Rgds, Evi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: build error on win2k
You proably need to checkout also the plugins folder from svn On 4/5/06, Dixit, Sandeep (ProSource Solutions) [EMAIL PROTECTED] wrote: I am getting a following error while building on win2k machine. Can someone please help me with this error? Thanks in advance, Sandeep [INFO] Scanning for projects... [INFO] [ERROR] FATAL ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: unknown Reason: Could not find the model file 'C:\sd\maven_svn\maven_all\maven\plugins\m aven-antrun-plugin\pom.xml'. [INFO] [INFO] Trace org.apache.maven.reactor.MavenExecutionException: Could not find the model file 'C:\sd\maven_svn\maven_all\maven\plugins\maven-antrun-plugin\pom.xml'. at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.project.ProjectBuildingException: Could not find the model file 'C:\sd\maven_svn\maven_all\maven\plugins\maven-antrun-plugin\pom.xml '. at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(Default MavenProjectBuilder.java:1245) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi leInternal(DefaultMavenProjectBuilder.java:412) at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMave nProjectBuilder.java:190) at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:447) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:491) at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351) ... 11 more Caused by: java.io.FileNotFoundException: C:\sd\maven_svn\maven_all\maven\plugin s\maven-antrun-plugin\pom.xml (The system cannot find the path specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.init(FileInputStream.java:106) at java.io.FileReader.init(FileReader.java:55) at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(Default MavenProjectBuilder.java:1240) ... 17 more [INFO] [INFO] Total time: 1 second [INFO] Finished at: Wed Apr 05 13:07:08 EDT 2006 [INFO] Final Memory: 1M/2M [INFO] Total time: 2 minutes 50 seconds Finished at: Wed Apr 05 13:07:08 EDT 2006 Using settings from C:\Documents and Settings\xswd53r\.m2\settings.xml Using the following proxy : authproxy.ntl-city.com/8080 Using the following for your local repository: C:/maven-2.0.3-SNAPSHOT/repositor y Using the following for your remote repository: [http://repo1.maven.org/maven2, http://snapshots.maven.codehaus.org/maven2/] Analysing dependencies ... Building project in C:\sd\maven_svn\maven_all\maven\components\maven-core-it-ver ifier -- Cleaning C:\sd\maven_svn\maven_all\maven\components\maven-core-it-verifier\targe t... Compiling sources ... Compiling 12 source files to C:\sd\maven_svn\maven_all\maven\components\maven-co re-it-verifier\target\classes Packaging resources ... Packaging C:\sd\maven_svn\maven_all\maven\components\maven-core-it-verifier\targ et\maven-core-it-verifier.jar ... -- Total time: 1 seconds Finished at: Wed Apr 05 13:07:09 EDT 2006 ECHO is off. --- Running integration tests --- Using default local repository: C:\maven-2.0.3-SNAPSHOT\repository it0102... Test it0102 in
RE: build error on win2k
I used the following: svn co https://svn.apache.org/repos/asf/maven/trunks maven I do see plugins folder along with components and archtype folders. Thanks, Sandeep -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Sanchez Sent: Wednesday, April 05, 2006 1:33 PM To: Maven Users List Subject: Re: build error on win2k You proably need to checkout also the plugins folder from svn On 4/5/06, Dixit, Sandeep (ProSource Solutions) [EMAIL PROTECTED] wrote: I am getting a following error while building on win2k machine. Can someone please help me with this error? Thanks in advance, Sandeep [INFO] Scanning for projects... [INFO] [ERROR] FATAL ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: unknown Reason: Could not find the model file 'C:\sd\maven_svn\maven_all\maven\plugins\m aven-antrun-plugin\pom.xml'. [INFO] [INFO] Trace org.apache.maven.reactor.MavenExecutionException: Could not find the model file 'C:\sd\maven_svn\maven_all\maven\plugins\maven-antrun-plugin\pom.xml'. at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.project.ProjectBuildingException: Could not find the model file 'C:\sd\maven_svn\maven_all\maven\plugins\maven-antrun-plugin\pom.xml '. at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(Default MavenProjectBuilder.java:1245) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi leInternal(DefaultMavenProjectBuilder.java:412) at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMave nProjectBuilder.java:190) at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:447) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:491) at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351) ... 11 more Caused by: java.io.FileNotFoundException: C:\sd\maven_svn\maven_all\maven\plugin s\maven-antrun-plugin\pom.xml (The system cannot find the path specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.init(FileInputStream.java:106) at java.io.FileReader.init(FileReader.java:55) at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(Default MavenProjectBuilder.java:1240) ... 17 more [INFO] [INFO] Total time: 1 second [INFO] Finished at: Wed Apr 05 13:07:08 EDT 2006 [INFO] Final Memory: 1M/2M [INFO] Total time: 2 minutes 50 seconds Finished at: Wed Apr 05 13:07:08 EDT 2006 Using settings from C:\Documents and Settings\xswd53r\.m2\settings.xml Using the following proxy : authproxy.ntl-city.com/8080 Using the following for your local repository: C:/maven-2.0.3-SNAPSHOT/repositor y Using the following for your remote repository: [http://repo1.maven.org/maven2, http://snapshots.maven.codehaus.org/maven2/] Analysing dependencies ... Building project in C:\sd\maven_svn\maven_all\maven\components\maven-core-it-ver ifier -- Cleaning C:\sd\maven_svn\maven_all\maven\components\maven-core-it-verifier\targe t... Compiling sources ... Compiling 12 source files to C:\sd\maven_svn\maven_all\maven\components\maven-co re-it-verifier\target\classes Packaging resources ... Packaging C:\sd\maven_svn\maven_all\maven\components\maven-core-it-verifier\targ et\maven-core-it-verifier.jar ... -- Total time
Re: Build error
Hi, My guess is that the central repository was down at that time so it could not download the maven-archetype-plugin. I would try it again at another time or add a mirror to your settings.xml file. This file can be found in your user home .m2 directory. If it's not there then make one like so: settings mirrors mirror idlsu.edu/id urlhttp://ibiblio.lsu.edu/main/pub/packages/maven2/url mirrorOfcentral/mirrorOf /mirror /settings I use this mirror and it's usually up. Give that a try. _Mang Lau Jeff Mutonho [EMAIL PROTECTED] 03/14/2006 09:00 AM Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Build error I've just started going through the M2 docs.I tried to create my first project , but got an error message as shown below : M2_FirstSteps]#mvn -e archetype:create -DgroupId=za.co.mycompany -DartifactId=myapp + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retri eved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] - --- [ERROR] BUILD ERROR [INFO] - --- [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exi st or no valid version could be found [INFO] - --- [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: The plugin ' org.apache.m aven.plugins:maven-archetype-plugin' does not exist or no valid version could be found at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin (Defa ultLifecycleExecutor.java:1247) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor (DefaultLifecycleExecutor.java:1483) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy AggregationNeeds(DefaultLifecycleExecutor.java:378) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute (DefaultLi fecycleExecutor.java:134) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java :315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java :430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException: The p lugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no val id version could be found at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl uginVersion(DefaultPluginVersionManager.java:225) at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl uginVersion(DefaultPluginVersionManager.java:87) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin (DefaultPlug inManager.java:160) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin (Defa ultLifecycleExecutor.java:1218) ... 14 more [INFO] - --- [INFO] Total time: 21 seconds [INFO] Finished at: Tue Mar 14 15:54:08 GMT+02:00 2006 [INFO] Final Memory: 1M/2M [INFO] - --- M2_FirstSteps]# All I ask is a chance to prove that money can't make me happy. Jeff Mutonho Java/J2EE Developer mob: + 27 82 907 6420 GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042
Re: Build error
Sorry missing a closing mirrors tag. It should be like this: settings mirrors mirror idlsu.edu/id urlhttp://ibiblio.lsu.edu/main/pub/packages/maven2/url mirrorOfcentral/mirrorOf /mirror /mirrors /settings _Mang Lau Mang Jun Lau [EMAIL PROTECTED] 03/14/2006 09:47 AM Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Re: Build error Hi, My guess is that the central repository was down at that time so it could not download the maven-archetype-plugin. I would try it again at another time or add a mirror to your settings.xml file. This file can be found in your user home .m2 directory. If it's not there then make one like so: settings mirrors mirror idlsu.edu/id urlhttp://ibiblio.lsu.edu/main/pub/packages/maven2/url mirrorOfcentral/mirrorOf /mirror /settings I use this mirror and it's usually up. Give that a try. _Mang Lau Jeff Mutonho [EMAIL PROTECTED] 03/14/2006 09:00 AM Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Build error I've just started going through the M2 docs.I tried to create my first project , but got an error message as shown below : M2_FirstSteps]#mvn -e archetype:create -DgroupId=za.co.mycompany -DartifactId=myapp + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retri eved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] - --- [ERROR] BUILD ERROR [INFO] - --- [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exi st or no valid version could be found [INFO] - --- [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: The plugin ' org.apache.m aven.plugins:maven-archetype-plugin' does not exist or no valid version could be found at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin (Defa ultLifecycleExecutor.java:1247) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor (DefaultLifecycleExecutor.java:1483) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy AggregationNeeds(DefaultLifecycleExecutor.java:378) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute (DefaultLi fecycleExecutor.java:134) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java :315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java :430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException: The p lugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no val id version could be found at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl uginVersion(DefaultPluginVersionManager.java:225) at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl uginVersion(DefaultPluginVersionManager.java:87) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin (DefaultPlug inManager.java:160) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin (Defa ultLifecycleExecutor.java:1218) ... 14 more [INFO] - --- [INFO] Total time: 21 seconds [INFO] Finished at: Tue Mar 14 15:54:08 GMT+02:00 2006 [INFO] Final Memory: 1M/2M [INFO] - --- M2_FirstSteps]# All I ask is a chance to prove that money can't make me happy. Jeff Mutonho Java/J2EE Developer mob: + 27 82 907 6420 GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042
Re: Build error
Sorry missing a closing mirrors tag. It should be like this: settings mirrors mirror idlsu.edu/id urlhttp://ibiblio.lsu.edu/main/pub/packages/maven2/url mirrorOfcentral/mirrorOf /mirror /mirrors /settings _Mang Lau I tried that but no luck.My settings.xml looks as follows : ?xml version=1.0 encoding=UTF-8? settings proxies proxy active/ protocol/ username/ password/ port80/port hostmyproxy/host id/ /proxy /proxies mirrors mirror idlsu.edu/id urlhttp://ibiblio.lsu.edu/main/pub/packages/maven2/url mirrorOfcentral/mirrorOf /mirror /mirrors /settings -- All I ask is a chance to prove that money can't make me happy. Jeff Mutonho Java/J2EE Developer mob: + 27 82 907 6420 GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042
Re: Build error
Try adding -U as a parameter after archetype:create. This will force an update from the server. _Mang Lau Jeff Mutonho [EMAIL PROTECTED] 03/14/2006 11:12 AM Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Re: Build error Sorry missing a closing mirrors tag. It should be like this: settings mirrors mirror idlsu.edu/id urlhttp://ibiblio.lsu.edu/main/pub/packages/maven2/url mirrorOfcentral/mirrorOf /mirror /mirrors /settings _Mang Lau I tried that but no luck.My settings.xml looks as follows : ?xml version=1.0 encoding=UTF-8? settings proxies proxy active/ protocol/ username/ password/ port80/port hostmyproxy/host id/ /proxy /proxies mirrors mirror idlsu.edu/id urlhttp://ibiblio.lsu.edu/main/pub/packages/maven2/url mirrorOfcentral/mirrorOf /mirror /mirrors /settings -- All I ask is a chance to prove that money can't make me happy. Jeff Mutonho Java/J2EE Developer mob: + 27 82 907 6420 GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042
Re: Build error
Try adding -U as a parameter after archetype:create. This will force an update from the server. Still same error :( -- All I ask is a chance to prove that money can't make me happy. Jeff Mutonho Java/J2EE Developer mob: + 27 82 907 6420 GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042
Re: Build error
hmm...your maven has almost no changes to it right? It's just unzipped and you played with some stuff in settings.xml? Has it retrieved anything from the repository at all? Does anyone have any ideas? _Mang Lau Jeff Mutonho [EMAIL PROTECTED] 03/14/2006 11:26 AM Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Re: Build error Try adding -U as a parameter after archetype:create. This will force an update from the server. Still same error :( -- All I ask is a chance to prove that money can't make me happy. Jeff Mutonho Java/J2EE Developer mob: + 27 82 907 6420 GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042
Re: Build error
On 3/14/06, Mang Jun Lau [EMAIL PROTECTED] wrote: hmm...your maven has almost no changes to it right? It's just unzipped and you played with some stuff in settings.xml? Has it retrieved anything from the repository at all? Does anyone have any ideas? _Mang Lau I downloaded M2 today, unzipped it , setup my $PATH variable and went to the getting started site ( http://maven.apache.org/guides/getting-started/index.html) , started reading , reached the How do I make my first Maven project? sub-heading and got STUMPED , with this error.My settings.xml looks as follows (without the blah.blah.blah) ?xml version=1.0 encoding=UTF-8? settings proxies proxy active/ protocol/ username/ password/ port80/port host198.blah.blah.blah/host id/ /proxy /proxies mirrors mirror idlsu.edu/id urlhttp://ibiblio.lsu.edu/main/pub/packages/maven2/url mirrorOfcentral/mirrorOf /mirror /mirrors /settings -- All I ask is a chance to prove that money can't make me happy. Jeff Mutonho Java/J2EE Developer mob: + 27 82 907 6420 GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042
Re: Build error
Try mvn -X -e ... to get full debugging info. I'm sure something is wrong with your proxy, but of course I don't use proxy so I have no idea what it should look like in the configuration or what the potential errors might be. Hopefully -X will reveal what's going on exactly. Wayne On 3/14/06, Jeff Mutonho [EMAIL PROTECTED] wrote: On 3/14/06, Mang Jun Lau [EMAIL PROTECTED] wrote: hmm...your maven has almost no changes to it right? It's just unzipped and you played with some stuff in settings.xml? Has it retrieved anything from the repository at all? Does anyone have any ideas? _Mang Lau I downloaded M2 today, unzipped it , setup my $PATH variable and went to the getting started site ( http://maven.apache.org/guides/getting-started/index.html) , started reading , reached the How do I make my first Maven project? sub-heading and got STUMPED , with this error.My settings.xml looks as follows (without the blah.blah.blah) ?xml version=1.0 encoding=UTF-8? settings proxies proxy active/ protocol/ username/ password/ port80/port host198.blah.blah.blah/host id/ /proxy /proxies mirrors mirror idlsu.edu/id urlhttp://ibiblio.lsu.edu/main/pub/packages/maven2/url mirrorOfcentral/mirrorOf /mirror /mirrors /settings -- All I ask is a chance to prove that money can't make me happy. Jeff Mutonho Java/J2EE Developer mob: + 27 82 907 6420 GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042
Re: Build error
I haven't played with proxies but from your file, it looks like you have some tags with no values in them proxies proxy active/ protocol/ username/ password/ port80/port host198.blah.blah.blah/host id/ /proxy /proxies Your active, protocol, username, password, id fields are all empty. Either set these fields or remove them. Also, set activetrue/active. Again I haven't tried this stuff before so I'm just guessing. If you can, remove the proxy section all together. _Mang Lau Jeff Mutonho [EMAIL PROTECTED] 03/14/2006 11:38 AM Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Re: Build error On 3/14/06, Mang Jun Lau [EMAIL PROTECTED] wrote: hmm...your maven has almost no changes to it right? It's just unzipped and you played with some stuff in settings.xml? Has it retrieved anything from the repository at all? Does anyone have any ideas? _Mang Lau I downloaded M2 today, unzipped it , setup my $PATH variable and went to the getting started site ( http://maven.apache.org/guides/getting-started/index.html) , started reading , reached the How do I make my first Maven project? sub-heading and got STUMPED , with this error.My settings.xml looks as follows (without the blah.blah.blah) ?xml version=1.0 encoding=UTF-8? settings proxies proxy active/ protocol/ username/ password/ port80/port host198.blah.blah.blah/host id/ /proxy /proxies mirrors mirror idlsu.edu/id urlhttp://ibiblio.lsu.edu/main/pub/packages/maven2/url mirrorOfcentral/mirrorOf /mirror /mirrors /settings -- All I ask is a chance to prove that money can't make me happy. Jeff Mutonho Java/J2EE Developer mob: + 27 82 907 6420 GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042
Re: Build error
Your active, protocol, username, password, id fields are all empty. Either set these fields or remove them. Also, set activetrue/active. Again I haven't tried this stuff before so I'm just guessing. If you can, remove the proxy section all together. _Mang Lau Whoo hoo!!!It really was those unset fields.I took them out and it worked!Thanx Mang :) -- All I ask is a chance to prove that money can't make me happy. Jeff Mutonho Java/J2EE Developer mob: + 27 82 907 6420 GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042
RE: Build Error while creating project
Here is what I'm getting : + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] [INFO] Building Maven Default Project [INFO]task-segment: [archetype:create] (aggregator-style) [INFO] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-3:create': Cannot find Plexus container for plugin: org.apache.maven.plugins:maven-archetype-plugin [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-3:create': Cannot find Plexus container for plugin: org.apache.maven.plugins:maven-archetype-plugin at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default LifecycleExecutor.java:523) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa l(DefaultLifecycleExecutor.java:482) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL ifecycleExecutor.java:452) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle Failures(DefaultLifecycleExecutor.java:301) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:214) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:137) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113) at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.PluginManagerException: Cannot find Plexus container for plugin: org.apache.maven.plugins:maven-archetype-plugin at org.apache.maven.plugin.DefaultPluginManager.getPluginContainer(DefaultP luginManager.java:486) at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPl uginManager.java:501) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa nager.java:377) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default LifecycleExecutor.java:519) ... 16 more [INFO] [INFO] Total time: 1 second [INFO] Finished at: Wed Nov 23 10:15:16 EST 2005 [INFO] Final Memory: 1M/2M [INFO] -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 6:37 PM To: Maven Users List Subject: Re: Build Error while creating project This is a different error you are getting: Cannot find Plexus container for plugin: Can you run with -e as suggested to see if it provides more information? - Brett On 11/23/05, Mordo, Aviran (EXP N-NANNATEK) [EMAIL PROTECTED] wrote: I tried running mvn archetype:create -DgroupId=com.company -DartifactId=testapp -DarchetypeArtifactId=maven-archetype-webapp -U - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Build Error while creating project
Can you file a bug in JIRA? This will require more investigation. - Brett On 11/24/05, Mordo, Aviran (EXP N-NANNATEK) [EMAIL PROTECTED] wrote: Here is what I'm getting : + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] [INFO] Building Maven Default Project [INFO]task-segment: [archetype:create] (aggregator-style) [INFO] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-3:create': Cannot find Plexus container for plugin: org.apache.maven.plugins:maven-archetype-plugin [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-3:create': Cannot find Plexus container for plugin: org.apache.maven.plugins:maven-archetype-plugin at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default LifecycleExecutor.java:523) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa l(DefaultLifecycleExecutor.java:482) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL ifecycleExecutor.java:452) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle Failures(DefaultLifecycleExecutor.java:301) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:214) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:137) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113) at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.PluginManagerException: Cannot find Plexus container for plugin: org.apache.maven.plugins:maven-archetype-plugin at org.apache.maven.plugin.DefaultPluginManager.getPluginContainer(DefaultP luginManager.java:486) at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPl uginManager.java:501) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa nager.java:377) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default LifecycleExecutor.java:519) ... 16 more [INFO] [INFO] Total time: 1 second [INFO] Finished at: Wed Nov 23 10:15:16 EST 2005 [INFO] Final Memory: 1M/2M [INFO] -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 6:37 PM To: Maven Users List Subject: Re: Build Error while creating project This is a different error you are getting: Cannot find Plexus container for plugin: Can you run with -e as suggested to see if it provides more information? - Brett On 11/23/05, Mordo, Aviran (EXP N-NANNATEK) [EMAIL PROTECTED] wrote: I tried running mvn archetype:create -DgroupId=com.company -DartifactId=testapp -DarchetypeArtifactId=maven-archetype-webapp -U - 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: Build Error while creating project
This is a different error you are getting: Cannot find Plexus container for plugin: Can you run with -e as suggested to see if it provides more information? - Brett On 11/23/05, Mordo, Aviran (EXP N-NANNATEK) [EMAIL PROTECTED] wrote: I tried running mvn archetype:create -DgroupId=com.company -DartifactId=testapp -DarchetypeArtifactId=maven-archetype-webapp -U And still getting [INFO] Scanning for projects... [INFO] [INFO] Building Maven Default Project [INFO]task-segment: [archetype:create] (aggregator-style) [INFO] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-3:create': Cannot find Plexus container for plugin: org.apache.maven.plugins:maven-archetype-plugin [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Tue Nov 22 10:29:28 EST 2005 [INFO] Final Memory: 1M/2M [INFO] -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 4:04 PM To: Maven Users List Subject: Re: Build Error while creating project Try -U: there is a bug in 2.0 where the plugin gets stuck if it is not found the first time. - Brett - 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: Build Error while creating project
Try -U: there is a bug in 2.0 where the plugin gets stuck if it is not found the first time. - Brett On 11/22/05, Mordo, Aviran (EXP N-NANNATEK) [EMAIL PROTECTED] wrote: I'm having the same problem, I already have a project setup and maven can download all the other plugins, but if I want to create a new project I'm getting the same error -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 3:24 AM To: Maven Users List; Deepak biswas Subject: Re: Build Error while creating project It's most likely because you need to set up a proxy. - Brett On 21 Nov 2005 08:18:25 -, Deepak biswas [EMAIL PROTECTED] wrote: I have installed the mvn 2.0 and have set the path accordingly. but when i am trying to execute the following command it is giving the following error. Please suggest me what to do. C:\Documents and Settings\ciscomvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] -- --- --- [ERROR] BUILD ERROR [INFO] -- --- --- [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exi st or no valid version could be found [INFO] -- --- --- [INFO] For more information, run Maven with the -e switch [INFO] -- --- --- [INFO] Total time: 1 second [INFO] Finished at: Mon Nov 21 13:20:40 GMT+05:30 2005 [INFO] Final Memory: 1M/2M [INFO] -- --- --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Build Error
This is severely underdocumented, here's what you get by reading the source code: SCM contains an error message which says: The scm url must be on the form 'scm:scm providerdelimiterprovider specific part' where delimiter can be either ':' or '|'. However, this is misleading. If you check the code, what it should say is this: The scm url must be on the form 'scmdelimiterscm providerdelimiterprovider specific part' where delimiter can be either ':' or '|'. (DefaultScmManager checks for the delimiter in the 4th character.) cvs supports a method called 'local', not to be confused with SCM's support for a 'local' SCM provider: scm|local|path_to_repository|module_name As to meaning of repository and module_name - the meanings are as for CVS, ie the repository is the root directory of where version control stores all the versions of all your projects; individual projects are called 'modules'. Hence I'd expect if you have a directory structure something like: C:\blah\myrepo\myproject1\project.xml C:\blah\myrepo\myproject1\src\java\RocketPower.java C:\blah\myrepo\myproject2\project.xml C:\blah\myrepo\myproject2\src\java\waterbased\Hydrophones.java Then you could use SCM URLs like scm|local|C:/blah/myrepo/|myproject1 scm|local|C:/blah/myrepo/|myproject2 NB I used forward slashes in the URL. This doesnt matter too much as SCM changes backslashes into forward slashes for you, but there are some circumstances - e.g. writing the URL as a java string, or in a properties file - where backslashes are special, so the habit of using forward slashes in URLs avoids errors. If you tried to use the ':' delimiter in the SCM URL above: scm:local:C:/blah/myrepo/:myproject2 You can see the delimiter now splits the URL into 5 components where SCM expected 4, hence it'll complain this is an invalid URL. If you want to know more about CVS, you'll need to read up on it. The manual is everywhere on the web, just google for it. -Baz On 11/2/05, Malcolm Wong Ho [EMAIL PROTECTED] wrote: From the Continuum web interface I try to change the Scm Url from the 'Update Continuum Project' page, with this format 'scm:local:path_to_repository:module_name' then I get an error 'Enter the Maven SCM URL[ You must provide an scm url ]', but if I enter this format 'scm:cvs:local:path_to_repository:module_name' it saves the changes. Another question, what is the module_name ? This e-mail is sent on the Terms and Conditions that can be accessed by Clicking on this link http://www.vodacom.net/legal/email.aspx
Re: Build Error
This pb is fixed in svn, it's due to a pb in scm execution. Emmanuel Malcolm Wong Ho a écrit : Continuum build failing, not sure what the cause is. Using Maven2 and Continuum1. Log :- jvm 1| 2005-11-01 09:00:00,013 [scheduler1_Worker-11] INFO SchedulesActivator - Executing build job (DEFAULT_SCHEDULE)... jvm 1| 2005-11-01 09:00:00,053 [scheduler1_Worker-11] INFO Continuum - Enqueuing 'Maven Quick Start Archetype' (Build definition id=10 . jvm 1| 2005-11-01 09:00:00,154 [Thread-1] INFO ContinuumScm - Checking out project: 'Maven Quick Start Archetype', id: '10' to 'C:\blackb ird\continuum-1.0\bin\win32\..\..\apps\continuum\working-directory\10'. jvm 1| 2005-11-01 09:00:00,234 [Thread-1] WARN ConfigurationService - Error reading build output for build '25'. jvm 1| java.io.FileNotFoundException: C:\blackbird\continuum-1.0\bin\win32\..\..\apps\continuum\build-output-d irectory\10\25.log.txt (The system cannot find the file specified) jvm 1| at java.io.FileInputStream.open(Native Method) jvm 1| at java.io.FileInputStream.init(FileInputStream.java:106) jvm 1| at org.codehaus.plexus.util.FileUtils.fileRead(FileUtils.java:269) jvm 1| at org.codehaus.plexus.util.FileUtils.fileRead(FileUtils.java:261) jvm 1| at org.apache.maven.continuum.configuration.DefaultConfigurationService.get BuildOutput(DefaultConfigurationService.java:167) jvm 1| at org.apache.maven.continuum.notification.DefaultContinuumNotificationDisp atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:1 29) jvm 1| at org.apache.maven.continuum.notification.DefaultContinuumNotificationDisp atcher.buildComplete(DefaultContinuumNotificationDispatcher.java:96) jvm 1| at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build( DefaultBuildController.java:261) jvm 1| at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.exec uteTask(BuildProjectTaskExecutor.java:53) jvm 1| at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Execut orRunnable.run(ThreadedTaskQueueExecutor.java:103) jvm 1| at java.lang.Thread.run(Thread.java:595) Malcolm Wong Ho An investment in knowledge always pays the best interest. -- Benjamin Franklin “This e-mail is sent on the Terms and Conditions that can be accessed by Clicking on this link http://www.vodacom.net/legal/email.aspx
RE: Build Error
I'm using Linux, not Windows, so this may not be 100% correct. As I recall, if you want to put the drive designator in the SCM URL, you need to use something other than ':' as a delimiter. Try connectionscm|local|C:\Documents and Settings\WongHoma\.m2\repository|status-change/connection -Original Message- From: Malcolm Wong Ho [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 01, 2005 13:53 To: continuum-users@maven.apache.org Subject: RE: Build Error Here is a code snippet of my pom.xml file, I'm trying to use mavens local repository. Does the pom.xml file look right? pom.xml :- scm connectionscm:local:C:\Documents and Settings\WongHoma\.m2\repository:status-change/connection /scm This e-mail is sent on the Terms and Conditions that can be accessed by Clicking on this link http://www.vodacom.net/legal/email.aspx
Re: build error problem
maybe you need %JAVA_HOME%/bin in the path? - Brett On Tue, 07 Dec 2004 09:27:57 -0600, David Liles [EMAIL PROTECTED] wrote: Yesterday I downloaded Maven 1.0.1 and installed it according to the instructions. I have JAVA_HOME specified as well. When I run maven java:compile there are no problems. But when I run maven site:generate I get the following error: BUILD FAILED Javadoc failed: java.io.IOException: CreateProcess: javadoc.exe -d C:\projects\r esearch\target\docs\apidocs -use -windowtitle Dynamic Hostings Research Project 1.0-SNAPSHOT API -stylesheetfile C:\Documents and Settings\christina\.maven\c ache\maven-javadoc-plugin-1.7\plugin-resources\stylesheet.css -docencoding ISO- 8859-1 -charset ISO-8859-1 -doctitle Dynamic Hostings Research Project 1.0-SNAP SHOT API -bottom Copyright copy; 2004 Dynamic Hostings, L.L.C.. All Rights Re served. -classpath C:\projects\research\target\classes -sourcepath C:\projects\ research\WEB-INF\src -version -author @C:\projects\research\javadoc706224202 err or=2 at org.apache.tools.ant.taskdefs.Javadoc.execute(Javadoc.java:1850) at org.apache.tools.ant.Task.perform(Task.java:341) at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa g.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor mAction(MavenGoalTag.java:110) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttai nGoalTag.java:127) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:1 45) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa g.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor mAction(MavenGoalTag.java:110) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttai nGoalTag.java:127) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa g.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor mAction(MavenGoalTag.java:110) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.Goal.attainPrecursors(Goal.java:488) at com.werken.werkz.Goal.attain(Goal.java:573) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java: 671) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) at org.apache.maven.cli.App.doMain(App.java:488) at org.apache.maven.cli.App.main(App.java:1239) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) Caused by: java.io.IOException: CreateProcess: javadoc.exe -d C:\projects\resear ch\target\docs\apidocs -use -windowtitle Dynamic Hostings Research Project 1.0- SNAPSHOT