Why the following can't be resolved
mvn compile [INFO] [compiler:compile] Compiling 17 source files to C:\evergreen\MavenEvergreen\eicom\modules\util\target\classes [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure C:\evergreen\MavenEvergreen\eicom\modules\util\src\main\java\com\evergreen\util\BeanUtil.java:[23,32] cannot resolve symbol symbol : method isReadable (java.lang.Object,java.lang.String) location: class org.apache.commons.beanutils.PropertyUtils [INFO] [INFO] Trace org.apache.maven.BuildFailureException: Compilation failure at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:552) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:472) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:303 ) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:270) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139) 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) Yet my pom has the following entry dependency groupIdcommons-beanutils/groupId artifactIdcommons-beanutils/artifactId version1.0/version /dependency and my localRepository looks like MavenRepository -- commons-beanutils -- commons-beanutils --1.0 -- commons-beanutils-1.0.jar and the PropertyUtils class in this jar does have the method isReadable (java.lang.Object,java.lang.String) Thanks, Mike
Re: Why the following can't be resolved
Thanks, Martin ...That did it:) -- Mike Martin Cooper [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 04/13/2006 01:43 PM Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Re: Why the following can't be resolved You're using a really old version of BeanUtils, from 5 years ago. The method quite likely didn't exist back then. I would suggest updating to something newer. BeanUtils 1.7.0 is the latest. http://jakarta.apache.org/commons/beanutils/ -- Martin Cooper On 4/13/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: mvn compile [INFO] [compiler:compile] Compiling 17 source files to C:\evergreen\MavenEvergreen\eicom\modules\util\target\classes [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure C:\evergreen\MavenEvergreen\eicom\modules\util\src\main\java\com\evergreen\util\BeanUtil.java:[23,32] cannot resolve symbol symbol : method isReadable (java.lang.Object,java.lang.String) location: class org.apache.commons.beanutils.PropertyUtils [INFO] [INFO] Trace org.apache.maven.BuildFailureException: Compilation failure at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:552) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle (DefaultLifecycleExecutor.java:472) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:303 ) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:270) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:139) 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) Yet my pom has the following entry dependency groupIdcommons-beanutils/groupId artifactIdcommons-beanutils/artifactId version1.0/version /dependency and my localRepository looks like MavenRepository -- commons-beanutils -- commons-beanutils --1.0 -- commons-beanutils-1.0.jar and the PropertyUtils class in this jar does have the method isReadable (java.lang.Object,java.lang.String) Thanks, Mike
Question on mvn compile
Can someone explain why during mvn compile, that librarires from apache commons, i.e. commons-digester and commons-logging are not retrieved automatically as a plugin? I can see why licensing for mail and activation packages from sun need to be installed manually into your local repository, but how come these too? Am I not putting something in my dependency tags that will first look at the apache site or ibiblio? Thanks, Mike Tedesco
Re: Question on mvn compile
Yes, but only after it complained it couldn't find them the first time. Are you saying that if I just put these as dependencies, I don't need to download the jars seperately and install them manually into my local respository? Arik Kfir [EMAIL PROTECTED] 04/12/2006 08:27 AM Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Re: Question on mvn compile Hi MTedesco, Did you specify them as dependencies in your pom.xml file? On 4/12/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Can someone explain why during mvn compile, that librarires from apache commons, i.e. commons-digester and commons-logging are not retrieved automatically as a plugin? I can see why licensing for mail and activation packages from sun need to be installed manually into your local repository, but how come these too? Am I not putting something in my dependency tags that will first look at the apache site or ibiblio? Thanks, Mike Tedesco
Re: Question on mvn compile
Wonderful, thanks.. Arik Kfir [EMAIL PROTECTED] 04/12/2006 08:35 AM Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Re: Question on mvn compile Try adding this to your pom.xml, under the project tag: dependencies dependency groupIdcommons-logging/groupId artifactIdcommons-logging/artifactId version1.0.4/version !-- or any other specific version that you need... -- /dependency !-- you can add as many dependencies as you need -- /dependencies On 4/12/06, Arik Kfir [EMAIL PROTECTED] wrote: Hi MTedesco, Did you specify them as dependencies in your pom.xml file? On 4/12/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Can someone explain why during mvn compile, that librarires from apache commons, i.e. commons-digester and commons-logging are not retrieved automatically as a plugin? I can see why licensing for mail and activation packages from sun need to be installed manually into your local repository, but how come these too? Am I not putting something in my dependency tags that will first look at the apache site or ibiblio? Thanks, Mike Tedesco
How to add dependency for jars
I have a number of project pom.xml files for a number of modules I am building eventaully culminating in an ear. How do I include a dependency from a previously built jar in a different module? Is it recommended that I install it into my local repository first? Otherwise as long as I specify the correct groupId, can I assume that the mvn compile goal will find all the submodules in other packages? Thanks, Mike
manual install of logging not working
Can someone explain why I am getting this error below during mvn compile I have installed the activation and mail jars into my local repository works fine, then installed the logging.jar however commons logging .jar is not being picked up. Did I not install it correctly? Why is it still going outside my local repository? mvn install:install-file -Dfile=commons-logging.jar -DgroupId=commons-logging -DartifactId=commons-logging -Dversion=1.0 -Dpackaging=jar produces in my repository commons-logging - commons-logging - 1.0 - commons-logging-1.0jar [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. Downloading: http://repo1.maven.org/maven2/root/project/projects/logging/1.0/logging-1.0.jar [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. required artifacts missing: root.project.projects:logging:jar:1.0 for the artifact: root.project:primary-source:jar:1.0 from the specified remote repositories: central (http://repo1.maven.org/maven2) -- Thanks, Michael Tedesco --
Setting up Ear Project
I am trying to create an initial ear project mvn archetype:create -DgroupId=com.mycompany -DartifactId=mycom -DarchetypeArtifactId=maven-archetype-ear but get the following error any ideas? [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. GroupId: org.apache.maven.archetypes ArtifactId: maven-archetype-ear Version: RELEASE Reason: Unable to determine the release version org.apache.maven.archetypes:maven-archetype-ear:jar:RELEASE [INFO]
Experiencing following problem on Building an Ear
Experiencing following problem on Building an Ear during compilation Any reason why, - has the location changed and how do I compensate [INFO] [INFO] Building core project classes [INFO]task-segment: [compile] [INFO] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. Downloading: http://repo1.maven.org/maven2/javax/activation/activation/1.0.2/activation-1.0.2.jar [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) Downloading: http://repo1.maven.org/maven2/root/project/projects/logging/1.0/logging-1.0.jar [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) Downloading: http://repo1.maven.org/maven2/javax/mail/mail/1.3.2/mail-1.3.2.jar [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2) [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. required artifacts missing: javax.activation:activation:jar:1.0.2 root.project.projects:logging:jar:1.0 javax.mail:mail:jar:1.3.2 for the artifact: root.project:primary-source:jar:1.0 from the specified remote repositories: central (http://repo1.maven.org/maven2) [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: required artifacts missing: javax.activation:activation:jar:1.0.2 root.project.projects:logging:jar:1.0 javax.mail:mail:jar:1.3.2 Thanks, Mike
Quick explanation requested
I'd appreciate if someone can shed some light on 2 points. 1) Why is it a good idea to have a complete app stored on ibiblio including source? Is there any safeguards as to who can download these projects (i.e. what security is in place, for example if someone knows or guesses your artifactId)? 2) Why would we initate the following command below, if we get all the plugin components initally when we download any goal the first time? mvn install:install-file -DgroupId=javax.activation -DartifactId=activation -Dversion=1.0.2 -Dpackaging=jar -Dfile=/ Thanks. -- Miike Tedesco --
Re: Quick explanation requested
Oh Ok thanks for the explanation I think the internal repository idea is more what I had in mind. What can Mahven do in terms of this feature and is there any documentation for it? -- Thanks, Mike -- Gareth Western [EMAIL PROTECTED] 03/31/2006 09:34 AM Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Re: Quick explanation requested Hi, You would only have an app stored on ibiblio if you were willing to distribute your application (along with the source), and as long as your application's licensing is compatible with this. AFAIK there are no safeguards on ibiblio. It's a publicly-browsable repository which people can use to retrieve code on which their own application relies. I would guess that you don't need to upload your application to ibiblio anyway. Perhaps you're confusing ibiblio with creating your own internal repository, the latter of which you COULD upload your own applications for internal downloads, etc.? Cheers, Gareth On 3/31/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'd appreciate if someone can shed some light on 2 points. 1) Why is it a good idea to have a complete app stored on ibiblio including source? Is there any safeguards as to who can download these projects (i.e. what security is in place, for example if someone knows or guesses your artifactId)? 2) Why would we initate the following command below, if we get all the plugin components initally when we download any goal the first time? mvn install:install-file -DgroupId=javax.activation -DartifactId=activation -Dversion=1.0.2 -Dpackaging=jar -Dfile=/ Thanks. -- Miike Tedesco --
RE: Quick explanation requested
Thanks, For the explanation Johann Johann Reyes [EMAIL PROTECTED] 03/31/2006 09:13 AM Please respond to Maven Users List users@maven.apache.org To 'Maven Users List' users@maven.apache.org cc Subject RE: Quick explanation requested Hello Miike About point 2: You would need to manually add (mvn install:install-file) a dependency when they cannot be found in ibiblio. In the example that you gave, that jar along others from Sun (like Transaction, and Mail) it wouldn't be found in ibiblio thanks to licensing issues about the distribution of the jar, it cannot be added to ibiblio thus you have to manually go and download the jar from Sun and install it. Regards Johann Reyes -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, March 31, 2006 8:59 AM To: Maven Users List Subject: Quick explanation requested I'd appreciate if someone can shed some light on 2 points. 1) Why is it a good idea to have a complete app stored on ibiblio including source? Is there any safeguards as to who can download these projects (i.e. what security is in place, for example if someone knows or guesses your artifactId)? 2) Why would we initate the following command below, if we get all the plugin components initally when we download any goal the first time? mvn install:install-file -DgroupId=javax.activation -DartifactId=activation -Dversion=1.0.2 -Dpackaging=jar -Dfile=/ Thanks. -- Miike Tedesco -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Any ideas on why adding a single line of code would cause this error
Hi, I've added a single line of code to the maven test app (my-app) and received the below error message. Any ideas? C:\evergreen\MavenMy-Appmvn test [INFO] Scanning for projects... [INFO] [INFO] Building Maven Quick Start Archetype [INFO]task-segment: [test] [INFO] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [surefire:test] [INFO] Setting reports dir: C:\MavenMy-App\target/surefire-reports --- T E S T S --- java.lang.ClassFormatError: com/mycompany/app/AppTest (Illegal Field name has inconsistent hierarchy) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) -- Michael Tedesco Evergreen Investments - Technology Email: [EMAIL PROTECTED] P: 617-210-3515 C: 978-590-8022 --
Re: Any ideas on why adding a single line of code would cause this error
/** * Rigourous Test :-) */ public void testApp() { System.out.println(In AppTest testApp()); assertTrue( true ); } Wayne Fay [EMAIL PROTECTED] 03/31/2006 02:28 PM Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Re: Any ideas on why adding a single line of code would cause this error What's the single line of code?? Can you send it? Wayne On 3/31/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I've added a single line of code to the maven test app (my-app) and received the below error message. Any ideas? C:\evergreen\MavenMy-Appmvn test [INFO] Scanning for projects... [INFO] [INFO] Building Maven Quick Start Archetype [INFO]task-segment: [test] [INFO] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [surefire:test] [INFO] Setting reports dir: C:\MavenMy-App\target/surefire-reports --- T E S T S --- java.lang.ClassFormatError: com/mycompany/app/AppTest (Illegal Field name has inconsistent hierarchy) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) -- Michael Tedesco Evergreen Investments - Technology Email: [EMAIL PROTECTED] P: 617-210-3515 C: 978-590-8022 --
Re: Any ideas on why adding a single line of code would cause this error
Think I'm all set on this. Apparently under the test branch some directories got created (i.e from sunfire) and presented a problem. I just deleted the class files and rerun the lifecycles. It ok now -- Thanks, -- Wayne Fay [EMAIL PROTECTED] 03/31/2006 02:28 PM Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Re: Any ideas on why adding a single line of code would cause this error What's the single line of code?? Can you send it? Wayne On 3/31/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I've added a single line of code to the maven test app (my-app) and received the below error message. Any ideas? C:\evergreen\MavenMy-Appmvn test [INFO] Scanning for projects... [INFO] [INFO] Building Maven Quick Start Archetype [INFO]task-segment: [test] [INFO] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [surefire:test] [INFO] Setting reports dir: C:\MavenMy-App\target/surefire-reports --- T E S T S --- java.lang.ClassFormatError: com/mycompany/app/AppTest (Illegal Field name has inconsistent hierarchy) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) -- Michael Tedesco Evergreen Investments - Technology Email: [EMAIL PROTECTED] P: 617-210-3515 C: 978-590-8022 --
Why would I get this problem on initial create of project
Hi I am trying to create my first Maven project as guided in the Maven GettingStarted Guide But I get the following errors. Any ideas? This is my first step after installing Maven202. c:mvn -e archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Maven Quick Start Archetype [INFO] Maven Mojo Archetype [INFO] Unnamed - com.devx.greeter:greeter-web:war:1.0-SNAPSHOT [INFO] Unnamed - com.devx.greeter:greeter:pom:1.0-SNAPSHOT [INFO] Searching repository for plugin with prefix: 'archetype'. [WARNING] Cannot resolve plugin-mapping metadata for groupId: org.apache.maven.plugins - IGNORING. [WARNING] Cannot resolve plugin-mapping metadata for groupId: org.codehaus.mojo - IGNORING. [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: org.apache.maven.plugins:maven-archetype-plugin Reason: Error getting POM for 'org.apache.maven.plugins:maven-archetype-plugin' from the repository: Unable to read local cop y of metadata: Cannot read metadata from 'c:\MavenRepo\org\apache\maven\plugins\maven-archetype-plugin\maven-metadata-central .xml': attribute value must start with quotation or apostrophe not s (position: TEXT seen .../head\r\nbody\r\nlink rel=s ... @6:12) org.apache.maven.plugins:maven-archetype-plugin:pom:LATEST [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error resolving version for 'org.apache.maven.plugins:maven-archetype -plugin': Unable to read the metadata file for artifact 'org.apache.maven.plugins:maven-archetype-plugin:pom': Error getting POM for 'org.apache.maven.plugins:maven-archetype-plugin' from the repository: Unable to read local copy of metadata: Cannot read metadata from 'c:\MavenRepo\org\apache\maven\plugins\maven-archetype-plugin\maven-metadata-central.xml': attribute value must start with quotation or apostrophe not s (position: TEXT seen .../head\r\nbody\r\nlink rel=s... @6:12) org.apache.maven.plugins:maven-archetype-plugin:pom:LATEST
Why would I get this problem on initial create of project
Hi I am trying to create my first Maven project as guided in the Maven GettingStarted Guide But I get the following errors. Any ideas? This is my first step after installing Maven202. Thanks, c:mvn -e archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Maven Quick Start Archetype [INFO] Maven Mojo Archetype [INFO] Unnamed - com.devx.greeter:greeter-web:war:1.0-SNAPSHOT [INFO] Unnamed - com.devx.greeter:greeter:pom:1.0-SNAPSHOT [INFO] Searching repository for plugin with prefix: 'archetype'. [WARNING] Cannot resolve plugin-mapping metadata for groupId: org.apache.maven.plugins - IGNORING. [WARNING] Cannot resolve plugin-mapping metadata for groupId: org.codehaus.mojo - IGNORING. [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: org.apache.maven.plugins:maven-archetype-plugin Reason: Error getting POM for 'org.apache.maven.plugins:maven-archetype-plugin' from the repository: Unable to read local cop y of metadata: Cannot read metadata from 'c:\MavenRepo\org\apache\maven\plugins\maven-archetype-plugin\maven-metadata-central .xml': attribute value must start with quotation or apostrophe not s (position: TEXT seen .../head\r\nbody\r\nlink rel=s ... @6:12) org.apache.maven.plugins:maven-archetype-plugin:pom:LATEST [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error resolving version for 'org.apache.maven.plugins:maven-archetype -plugin': Unable to read the metadata file for artifact 'org.apache.maven.plugins:maven-archetype-plugin:pom': Error getting POM for 'org.apache.maven.plugins:maven-archetype-plugin' from the repository: Unable to read local copy of metadata: Cannot read metadata from 'c:\MavenRepo\org\apache\maven\plugins\maven-archetype-plugin\maven-metadata-central.xml': attribute value must start with quotation or apostrophe not s (position: TEXT seen .../head\r\nbody\r\nlink rel=s... @6:12) org.apache.maven.plugins:maven-archetype-plugin:pom:LATEST
Can someone explain to me the following
I am having a real tough time understanding this point 1) Why am I having such a hard time getting past step 1 in creating my first Maven project mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app Reason: Error getting POM for 'org.apache.maven.plugins:maven-archetype-plugin' from the repository: Unable to read local cop y of metadata: Cannot read metadata from 'c:\MavenRepo\org\apache\maven\plugins\maven-archetype-plugin\maven-metadata-central .xml': attribute value must start with quotation or apostrophe not s (position: TEXT seen .../head\r\nbody\r\nlink rel=s ... @6:12) org.apache.maven.plugins:maven-archetype-plugin:pom:LATEST Everyone mentions it could be a Http proxy issue. Well I tried that too. If that's the case and I know my HTTP proxy server and start changing the settings.xml file, do I need to know the server's username/password. Why is it so hard to set-up? Is there a workaround to this method? -- Thanks, Mike
Re: Can someone explain to me the following
Great Wayne tahnks, I think I'm further along! Wayne Fay [EMAIL PROTECTED] 03/30/2006 04:10 PM Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Re: Can someone explain to me the following go open the file: c:\MavenRepo\org\apache\maven\plugins\maven-archetype-plugin\maven-metadata-central.xml in a text editor. looks like html... something is wrong with your setup. delete the repo and start over. Wayne On 3/30/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I am having a real tough time understanding this point 1) Why am I having such a hard time getting past step 1 in creating my first Maven project mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app Reason: Error getting POM for 'org.apache.maven.plugins:maven-archetype-plugin' from the repository: Unable to read local cop y of metadata: Cannot read metadata from 'c:\MavenRepo\org\apache\maven\plugins\maven-archetype-plugin\maven-metadata-central .xml': attribute value must start with quotation or apostrophe not s (position: TEXT seen .../head\r\nbody\r\nlink rel=s ... @6:12) org.apache.maven.plugins:maven-archetype-plugin:pom:LATEST Everyone mentions it could be a Http proxy issue. Well I tried that too. If that's the case and I know my HTTP proxy server and start changing the settings.xml file, do I need to know the server's username/password. Why is it so hard to set-up? Is there a workaround to this method? -- Thanks, Mike