You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Gautham Pamu <ga...@gmail.com> on 2006/04/05 19:01:23 UTC
m2 unable to build on linux with maven-compiler-plugin 2.0.1 version
Hi Everyone,
There seems to be a problem in the pom.xml files of plexus-compiler-api:jar:
1.5.2 and maven-compiler-plugin 2.0.1 is using this version.
I have seem this sun.io.MalformedInputException error while compile java
code if the code has special characters in comments.
The code is not build on Linux platform as the jvm does not like these pom
files, I think the pom.xml file has some special characters.
When I changed to maven-compiler-plugin 2.0, it worked...
[INFO] Using default encoding to copy filtered resources.
[INFO] ------------------------------------------------------------------------[ERROR]
BUILD ERROR
[INFO]
------------------------------------------------------------------------[INFO]
Error building POM (may not be this project's POM).
Project ID: null:plexus-compiler-api:jar:1.5.2
Reason: Cannot find parent: org.codehaus.plexus:plexus-compiler for project:
null:plexus-compiler-api:jar:1.5.2
[INFO]
------------------------------------------------------------------------[INFO]
Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get
dependency information: Unable to read the metadata file for artifact '
org.codehaus.plexus:plexus-compiler-api:jar': Cannot find parent:
org.codehaus.plexus:plexus-compiler for project:
null:plexus-compiler-api:jar:1.5.2
org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
from the specified remote repositories:
central (http://repo1.maven.org/maven2 ),
apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
snapshots (http://snapshots.maven.codehaus.org/maven2 )
Path to dependency:
1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java :551)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:475)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java :454)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (
DefaultLifecycleExecutor.java:273)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:140)
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:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (
DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
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.artifact.resolver.ArtifactResolutionException :
Unable to get dependency information: Unable to read the metadata file for
artifact 'org.codehaus.plexus:plexus-compiler-api:jar': Cannot find parent:
org.codehaus.plexus:plexus-compiler for project:
null:plexus-compiler-api:jar: 1.5.2
org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
apache.snapshots ( http://svn.apache.org/maven-snapshot-repository),
snapshots (http://snapshots.maven.codehaus.org/maven2 )
Path to dependency:
1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(
DefaultArtifactCollector.java :297)
at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(
DefaultArtifactCollector.java(Compiled Code))
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(
DefaultArtifactResolver.java:223)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
(DefaultArtifactResolver.java:211)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(
DefaultArtifactResolver.java:182)
at
org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComplete
(DefaultPluginManager.java:608)
at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo (
DefaultPluginManager.java:519)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:390)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java :534)
... 17 more
Caused by:
org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException:
Unable to read the metadata file for artifact '
org.codehaus.plexus:plexus-compiler-api:jar': Cannot find parent:
org.codehaus.plexus:plexus-compiler for project:
null:plexus-compiler-api:jar:1.5.2
at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(
MavenMetadataSource.java:131)
at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse (
DefaultArtifactCollector.java:275)
... 25 more
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find
parent: org.codehaus.plexus:plexus-compiler for project:
null:plexus-compiler-api:jar: 1.5.2
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
DefaultMavenProjectBuilder.java:1139)
at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal
(DefaultMavenProjectBuilder.java :672)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(
DefaultMavenProjectBuilder.java:225)
at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(
MavenMetadataSource.java :102)
... 26 more
Caused by: org.apache.maven.project.ProjectBuildingException: Failed to
build model from file
'/home/gpamu/.m2/repository/org/codehaus/plexus/plexus-compiler/1.5.2/plexus-
compiler-1.5.2.pom '.
Error: 'null'
at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(
DefaultMavenProjectBuilder.java:1259)
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(
DefaultMavenProjectBuilder.java:469)
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
DefaultMavenProjectBuilder.java:1135)
... 29 more
Caused by: sun.io.MalformedInputException
at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java(Compiled Code))
at sun.nio.cs.StreamDecoder$ConverterSD.convertInto(
StreamDecoder.java(Inlined Compiled Code))
at sun.nio.cs.StreamDecoder$ConverterSD.implRead
(StreamDecoder.java(Compiled
Code))
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java(Compiled Code))
at java.io.InputStreamReader.read(InputStreamReader.java(Compiled
Code))
at java.io.Reader.read (Reader.java(Inlined Compiled Code))
at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java(Compiled Code))
at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:200)
at org.apache.maven.project.DefaultMavenProjectBuilder.readModel (
DefaultMavenProjectBuilder.java:1273)
at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(
DefaultMavenProjectBuilder.java:1250)
... 31 more
[INFO]
------------------------------------------------------------------------[INFO]
Total time: 13 seconds
[INFO] Finished at: Wed Apr 05 11:30:30 CDT 2006
[INFO] Final Memory: 12M/36M
--
-Gautham Pamu
Re: m2 unable to build on linux with maven-compiler-plugin 2.0.1 version
Posted by Gautham Pamu <ga...@gmail.com>.
Hi Carlos,
It fixed the problem with I removed that directory. Now I am seeing the
problem with mvn 2.0.4.
I just downloaded mvn 2.0.4 version and cleanup my repository directory and
try to compile my projects. I am
getting this error... I think there is problem with pom files of
plexus-container-default:jar:1.0-alpha-9 . They
should be having invalid characters..in those white spaces..
How to reproduce it..
- setup mvn 2.0.4 on Linux ( using IBM JDK)
- cleanup the local repository
- try build mvn compile on the system... you should get this error..
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-containers/1.0.3/plexus-containers-1.0.3.pom
492b downloaded
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: null:plexus-container-default:jar:1.0-alpha-9
Reason: Cannot find parent: org.codehaus.plexus:plexus-containers for
project: null:plexus-container-default:jar:1.0-alpha-9
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 26 seconds
[INFO] Finished at: Thu Apr 13 16:18:49 CDT 2006
[INFO] Final Memory: 7M/19M
[INFO]
------------------------------------------------------------------------
--
-Gautham Pamu
On 4/10/06, Carlos Sanchez <ca...@apache.org> wrote:
>
> to be sure, try removing /home/gpamu/.m2/repository/org/codehaus/plexus
> Are you behind a proxy? using a mirror?
>
> On 4/8/06, Gautham Pamu <ga...@gmail.com> wrote:
> > Hi Carlos,
> >
> > I now remove the
> >
> /home/gpamu/.m2/repository/org/codehaus/plexus/plexus-compiler/1.5.2/plexus-
> > compiler-1.5.2.pom but now it is failing with javac pom file.
> >
> > [INFO] [antrun:run]
> > [INFO] Executing tasks
> > [INFO] Executed tasks
> > [INFO] [resources:resources]
> > [INFO] Using default encoding to copy filtered resources.
> > Downloading:
> >
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler/1.5.2/plexus-compiler-1.5.2.pom
> > 761b downloaded
> > Downloading:
> >
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-components/1.1.5/plexus-components-1.1.5.pom
> > 2K downloaded
> > Downloading:
> >
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.5/plexus-1.0.5.pom
> > 5K downloaded
> > Downloading:
> >
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.5.2/plexus-compiler-manager-1.5.2.pom
> > 634b downloaded
> > Downloading:
> >
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-javac/1.5.2/plexus-compiler-javac-1.5.2.pom
> > 625b downloaded
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Error building POM (may not be this project's POM).
> >
> >
> > Project ID: null:plexus-compiler-javac:jar:1.5.2
> >
> > Reason: Cannot find parent: org.codehaus.plexus:plexus-compilers for
> > project: null:plexus-compiler-javac:jar:1.5.2
> >
> >
> >
> > On 4/7/06, Carlos Sanchez <ca...@apache.org> wrote:
> > >
> > > You need to remove
> > >
> > >
> /home/gpamu/.m2/repository/org/codehaus/plexus/plexus-compiler/1.5.2/plexus-
> > > compiler-1.5.2.pom
> > >
> > > On 4/7/06, Gautham Pamu <ga...@gmail.com> wrote:
> > > > HI Carlos,
> > > >
> > > > I removed the plexus-compiler-api, plexus-compiler-manager and
> > > > plexus-compiler-javac. I am still getting the same error...
> > > >
> > > > [INFO]
> > > >
> > >
> ------------------------------------------------------------------------[ERROR]
> > > > BUILD ERROR
> > > > [INFO]
> > > >
> > >
> ------------------------------------------------------------------------[INFO]
> > > > Error building POM (may not be this project's POM).
> > > >
> > > >
> > > > Project ID: null:plexus-compiler-api:jar:1.5.2
> > > >
> > > > Reason: Cannot find parent: org.codehaus.plexus:plexus-compiler for
> > > project:
> > > > null:plexus-compiler-api:jar:1.5.2
> > > >
> > > >
> > > > [INFO]
> > > >
> > >
> ------------------------------------------------------------------------[INFO]
> > > > Trace
> > > > org.apache.maven.lifecycle.LifecycleExecutionException: Unable to
> get
> > > > dependency information: Unable to read the metadata file for
> artifact '
> > > > org.codehaus.plexus:plexus-compiler-api:jar': Cannot find parent:
> > > > org.codehaus.plexus:plexus-compiler for project:
> > > > null:plexus-compiler-api:jar:1.5.2
> > > > org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
> > > >
> > > > from the specified remote repositories:
> > > > central (http://repo1.maven.org/maven2),
> > > > apache.snapshots (http://svn.apache.org/maven-snapshot-repository
> ),
> > > > snapshots (http://snapshots.maven.codehaus.org/maven2)
> > > > Path to dependency:
> > > > 1)
> > > org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
> > > >
> > > >
> > > > at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > > > DefaultLifecycleExecutor.java:551)
> > > > at
> > > >
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> > > > (DefaultLifecycleExecutor.java:475)
> > > > at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> > > > DefaultLifecycleExecutor.java:454)
> > > > at
> > > >
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> > > > (DefaultLifecycleExecutor.java:306)
> > > > at
> > > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> > > > DefaultLifecycleExecutor.java:273)
> > > > at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
> > > > DefaultLifecycleExecutor.java:140)
> > > > 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:256)
> > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> > > > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > > > NativeMethodAccessorImpl.java:85)
> > > > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > > > NativeMethodAccessorImpl.java:58)
> > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > > > DelegatingMethodAccessorImpl.java:60)
> > > > at java.lang.reflect.Method.invoke(Method.java:391)
> > > > 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.artifact.resolver.ArtifactResolutionException:
> > > > Unable to get dependency information: Unable to read the metadata
> file
> > > for
> > > > artifact 'org.codehaus.plexus:plexus-compiler-api:jar': Cannot find
> > > parent:
> > > > org.codehaus.plexus:plexus-compiler for project:
> > > > null:plexus-compiler-api:jar:1.5.2
> > > > org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
> > > >
> > > > from the specified remote repositories:
> > > > central (http://repo1.maven.org/maven2),
> > > > apache.snapshots (http://svn.apache.org/maven-snapshot-repository
> ),
> > > > snapshots (http://snapshots.maven.codehaus.org/maven2)
> > > > Path to dependency:
> > > > 1)
> > > org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
> > > >
> > > >
> > > > at
> > > > org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(
> > > > DefaultArtifactCollector.java:297)
> > > > at
> > > > org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(
> > > > DefaultArtifactCollector.java(Compiled Code))
> > > > at
> > > >
> > >
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> > > > (DefaultArtifactResolver.java:223)
> > > > at
> > > >
> > >
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> > > > (DefaultArtifactResolver.java:211)
> > > > at
> > > >
> > >
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> > > > (DefaultArtifactResolver.java:182)
> > > > at
> > > >
> > >
> org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComplete
> > > > (DefaultPluginManager.java:608)
> > > > at
> > > org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(
> > > > DefaultPluginManager.java:519)
> > > > at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
> > > > DefaultPluginManager.java:390)
> > > > at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > > > DefaultLifecycleExecutor.java:534)
> > > > ... 17 more
> > > > Caused by:
> > > >
> org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException:
> > > > Unable to read the metadata file for artifact '
> > > > org.codehaus.plexus:plexus-compiler-api:jar': Cannot find parent:
> > > > org.codehaus.plexus:plexus-compiler for project:
> > > > null:plexus-compiler-api:jar:1.5.2
> > > > at
> > > org.apache.maven.project.artifact.MavenMetadataSource.retrieve(
> > > > MavenMetadataSource.java:131)
> > > > at
> > > > org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(
> > > > DefaultArtifactCollector.java:275)
> > > > ... 25 more
> > > > Caused by: org.apache.maven.project.ProjectBuildingException: Cannot
> > > find
> > > > parent: org.codehaus.plexus:plexus-compiler for project:
> > > > null:plexus-compiler-api:jar:1.5.2
> > > > at
> > > > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> > > > DefaultMavenProjectBuilder.java:1139)
> > > > at
> > > org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal
> > > > (DefaultMavenProjectBuilder.java:672)
> > > > at
> > > >
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(
> > > > DefaultMavenProjectBuilder.java:225)
> > > > at
> > > org.apache.maven.project.artifact.MavenMetadataSource.retrieve(
> > > > MavenMetadataSource.java:102)
> > > > ... 26 more
> > > > Caused by: org.apache.maven.project.ProjectBuildingException: Failed
> to
> > > > build model from file
> > > >
> > >
> '/home/gpamu/.m2/repository/org/codehaus/plexus/plexus-compiler/1.5.2/plexus-
> > > > compiler-1.5.2.pom'.
> > > > Error: 'null'
> > > > at
> org.apache.maven.project.DefaultMavenProjectBuilder.readModel
> > > (
> > > > DefaultMavenProjectBuilder.java:1259)
> > > > at
> > > >
> > >
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository
> > > (
> > > > DefaultMavenProjectBuilder.java:469)
> > > > at
> > > > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> > > > DefaultMavenProjectBuilder.java:1135)
> > > > ... 29 more
> > > > Caused by: sun.io.MalformedInputException
> > > > at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java
> (Compiled
> > > Code))
> > > > at sun.nio.cs.StreamDecoder$ConverterSD.convertInto(
> > > > StreamDecoder.java(Inlined Compiled Code))
> > > > at sun.nio.cs.StreamDecoder$ConverterSD.implRead(
> > > StreamDecoder.java(Compiled
> > > > Code))
> > > > at sun.nio.cs.StreamDecoder.read(StreamDecoder.java(Compiled
> > > Code))
> > > > at java.io.InputStreamReader.read(InputStreamReader.java
> > > (Compiled
> > > > Code))
> > > > at java.io.Reader.read(Reader.java(Inlined Compiled Code))
> > > > at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java(Compiled
> > > Code))
> > > > at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:200)
> > > > at
> org.apache.maven.project.DefaultMavenProjectBuilder.readModel
> > > (
> > > > DefaultMavenProjectBuilder.java:1273)
> > > > at
> org.apache.maven.project.DefaultMavenProjectBuilder.readModel
> > > (
> > > > DefaultMavenProjectBuilder.java:1250)
> > > > ... 31 more
> > > > [INFO]
> > > >
> > >
> ------------------------------------------------------------------------[INFO]
> > > > Total time: 14 seconds
> > > > [INFO] Finished at: Fri Apr 07 09:36:22 CDT 2006
> > > > [INFO] Final Memory: 12M/36M
> > > > [INFO]
> > > >
> ------------------------------------------------------------------------
> > > > gpamu@gpamu3:~/dev/csdpbuild/csdp>
> > > >
> > > > On 4/6/06, Carlos Sanchez <ca...@apache.org> wrote:
> > > > >
> > > > > It's fixed now. You need to delete the poms of that plexus-*
> > > > > components from your local repo so they get downloaded again.
> > > > >
> > > > > On 4/6/06, Gautham Pamu <ga...@gmail.com> wrote:
> > > > > > Hi Carlos and Wayne,
> > > > > >
> > > > > > Do you still want me to open the bug report on
> > > > > > http://jira.codehaus.org/browse or is it already opened. Carlos,
> can
> > > you
> > > > > > tell me on which project I should open
> > > > > > this bug.
> > > > > >
> > > > > > Thanks
> > > > > > Gautham Pamu
> > > > > >
> > > > > >
> > > > > > On 4/5/06, Carlos Sanchez <ca...@apache.org> wrote:
> > > > > > >
> > > > > > > I'm fixing it
> > > > > > >
> > > > > > >
> > > > > > > On 4/5/06, Gautham Pamu <ga...@gmail.com> wrote:
> > > > > > > > There seems to be some special character in the white spaces
> in
> > > > > pom.xml
> > > > > > > > files for plexus-compiler-manager, plexus-compiler-javac,
> > > > > > > > plexus-compiler-api for 1.5.2
> > > > > > > > version. Could you please fix it as soon as possible and
> upload
> > > to
> > > > > the
> > > > > > > maven
> > > > > > > > repository.
> > > > > > > >
> > > > > > > > Thanks
> > > > > > > > Gautham Pamu
> > > > > > > >
> > > > > > > >
> > > > > > > > On 4/5/06, Wayne Fay <wa...@gmail.com> wrote:
> > > > > > > > > Sounds like a bug report. Try to find the bad character
> (or
> > > other
> > > > > root
> > > > > > > > > cause) and post the issue on JIRA.
> > > > > > > > >
> > > > > > > > > Wayne
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On 4/5/06, Gautham Pamu <gautham.pamu@gmail.com > wrote:
> > > > > > > > > > Hi Everyone,
> > > > > > > > > >
> > > > > > > > > > There seems to be a problem in the pom.xml files of
> > > > > > > > plexus-compiler-api:jar:
> > > > > > > > > > 1.5.2 and maven-compiler-plugin 2.0.1 is using this
> version.
> > > > > > > > > >
> > > > > > > > > > I have seem this sun.io.MalformedInputException error
> while
> > > > > compile
> > > > > > > java
> > > > > > > > > > code if the code has special characters in comments.
> > > > > > > > > > The code is not build on Linux platform as the jvm does
> not
> > > like
> > > > > > > these
> > > > > > > > pom
> > > > > > > > > > files, I think the pom.xml file has some special
> characters.
> > > > > > > > > >
> > > > > > > > > > When I changed to maven-compiler-plugin 2.0, it
> worked...
> > > > > > > > > >
> > > > > > > > > > [INFO] Using default encoding to copy filtered
> resources.
> > > > > > > > > > [INFO]
> > > > > > > >
> > > > > > >
> > > > >
> > >
> ------------------------------------------------------------------------[ERROR]
> > > > > > > > > > BUILD ERROR
> > > > > > > > > > [INFO]
> > > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > >
> > >
> ------------------------------------------------------------------------[INFO]
> > > > > > > > > > Error building POM (may not be this project's POM).
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Project ID: null:plexus-compiler-api:jar: 1.5.2
> > > > > > > > > >
> > > > > > > > > > Reason: Cannot find parent:
> > > > > > > > org.codehaus.plexus:plexus-compiler for project:
> > > > > > > > > > null:plexus-compiler-api:jar:1.5.2
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > [INFO]
> > > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > >
> > >
> ------------------------------------------------------------------------[INFO]
> > > > > > > > > > Trace
> > > > > > > > > > org.apache.maven.lifecycle.LifecycleExecutionException:
> > > > > > > > Unable to get
> > > > > > > > > > dependency information: Unable to read the metadata file
> for
> > > > > > > artifact '
> > > > > > > > > > org.codehaus.plexus:plexus-compiler-api:jar ': Cannot
> > > > > > > > find parent:
> > > > > > > > > > org.codehaus.plexus:plexus-compiler for project:
> > > > > > > > > > null:plexus-compiler-api:jar:1.5.2
> > > > > > > > > > org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
> > > > > > > > > >
> > > > > > > > > > from the specified remote repositories:
> > > > > > > > > > central (http://repo1.maven.org/maven2 ),
> > > > > > > > > > apache.snapshots
> > > > > > > > (http://svn.apache.org/maven-snapshot-repository ),
> > > > > > > > > > snapshots (http://snapshots.maven.codehaus.org/maven2
> > > > > > > > )
> > > > > > > > > > Path to dependency:
> > > > > > > > > > 1)
> > > > > > > >
> > > org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > at
> > > > > > > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
> > > (
> > > > > > > > > > DefaultLifecycleExecutor.java :551)
> > > > > > > > > > at
> > > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > >
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> > > > > > > > > > (DefaultLifecycleExecutor.java:475)
> > > > > > > > > > at
> > > > > > > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> > > > > > > > > > DefaultLifecycleExecutor.java :454)
> > > > > > > > > > at
> > > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > >
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> > > > > > > > > > (DefaultLifecycleExecutor.java:306)
> > > > > > > > > > at
> > > > > > > > > >
> > > > > > > >
> > > > >
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
> > > > > > > > (
> > > > > > > > > > DefaultLifecycleExecutor.java:273)
> > > > > > > > > > at
> > > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> > > > > > > > (
> > > > > > > > > > DefaultLifecycleExecutor.java:140)
> > > > > > > > > > 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:256)
> > > > > > > > > > at
> > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > > > > > > > > > NativeMethodAccessorImpl.java :85)
> > > > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > > > > > > > > > NativeMethodAccessorImpl.java:58)
> > > > > > > > > > at
> > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke (
> > > > > > > > > > DelegatingMethodAccessorImpl.java:60)
> > > > > > > > > > at java.lang.reflect.Method.invoke(Method.java
> :391)
> > > > > > > > > > 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.artifact.resolver.ArtifactResolutionException
> > > > > > > > :
> > > > > > > > > > Unable to get dependency information: Unable to read the
> > > > > metadata
> > > > > > > file
> > > > > > > > for
> > > > > > > > > > artifact 'org.codehaus.plexus:plexus-compiler-api:jar':
> > > > > > > > Cannot find parent:
> > > > > > > > > > org.codehaus.plexus:plexus-compiler for project:
> > > > > > > > > > null:plexus-compiler-api:jar: 1.5.2
> > > > > > > > > > org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
> > > > > > > > > >
> > > > > > > > > > from the specified remote repositories:
> > > > > > > > > > central (http://repo1.maven.org/maven2 ),
> > > > > > > > > > apache.snapshots (
> > > > > > > > http://svn.apache.org/maven-snapshot-repository),
> > > > > > > > > > snapshots (http://snapshots.maven.codehaus.org/maven2
> > > > > > > > )
> > > > > > > > > > Path to dependency:
> > > > > > > > > > 1)
> > > > > > > >
> > > org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > at
> > > > > > > > > >
> > > > > > > >
> > > org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse
> > > > > > > > (
> > > > > > > > > > DefaultArtifactCollector.java :297)
> > > > > > > > > > at
> > > > > > > > > >
> > > > > > > >
> > > org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(
> > > > > > > > > > DefaultArtifactCollector.java(Compiled Code))
> > > > > > > > > > at
> > > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > >
> > >
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> > > > > > > (
> > > > > > > > > > DefaultArtifactResolver.java:223)
> > > > > > > > > > at
> > > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > >
> > >
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> > > > > > > > > > (DefaultArtifactResolver.java:211)
> > > > > > > > > > at
> > > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > >
> > >
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> > > > > > > (
> > > > > > > > > > DefaultArtifactResolver.java:182)
> > > > > > > > > > at
> > > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > >
> > >
> org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComplete
> > > > > > > > > > (DefaultPluginManager.java:608)
> > > > > > > > > > at
> > > > > > > >
> org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo
> > > > > > > > (
> > > > > > > > > > DefaultPluginManager.java:519)
> > > > > > > > > > at
> > > > > > > > org.apache.maven.plugin.DefaultPluginManager.executeMojo
> > > > > > > > (
> > > > > > > > > > DefaultPluginManager.java:390)
> > > > > > > > > > at
> > > > > > > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
> > > (
> > > > > > > > > > DefaultLifecycleExecutor.java :534)
> > > > > > > > > > ... 17 more
> > > > > > > > > > Caused by:
> > > > > > > > > >
> > > > > > > >
> > > > >
> org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException:
> > > > > > > > > > Unable to read the metadata file for artifact '
> > > > > > > > > > org.codehaus.plexus:plexus-compiler-api:jar': Cannot
> > > > > > > > find parent:
> > > > > > > > > > org.codehaus.plexus:plexus-compiler for project:
> > > > > > > > > > null:plexus-compiler-api:jar:1.5.2
> > > > > > > > > > at
> > > > > > > >
> org.apache.maven.project.artifact.MavenMetadataSource.retrieve(
> > > > > > > > > > MavenMetadataSource.java:131)
> > > > > > > > > > at
> > > > > > > > > >
> > > > > > > >
> > > org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse
> > > > > > > > (
> > > > > > > > > > DefaultArtifactCollector.java:275)
> > > > > > > > > > ... 25 more
> > > > > > > > > > Caused by:
> > > > > > > > org.apache.maven.project.ProjectBuildingException: Cannot
> > > > > > > > find
> > > > > > > > > > parent: org.codehaus.plexus:plexus-compiler for
> > > > > > > > project:
> > > > > > > > > > null:plexus-compiler-api:jar: 1.5.2
> > > > > > > > > > at
> > > > > > > > > >
> > > > > > > >
> > > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> > > > > > > > > > DefaultMavenProjectBuilder.java:1139)
> > > > > > > > > > at
> > > > > > > >
> > > org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal
> > > > > > > > > > (DefaultMavenProjectBuilder.java :672)
> > > > > > > > > > at
> > > > > > > > > >
> > > > > > > >
> > > > >
> > >
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(
> > > > > > > > > > DefaultMavenProjectBuilder.java:225)
> > > > > > > > > > at
> > > > > > > >
> org.apache.maven.project.artifact.MavenMetadataSource.retrieve
> > > > > > > > (
> > > > > > > > > > MavenMetadataSource.java :102)
> > > > > > > > > > ... 26 more
> > > > > > > > > > Caused by:
> > > > > > > > org.apache.maven.project.ProjectBuildingException: Failed
> > > > > > > > to
> > > > > > > > > > build model from file
> > > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > >
> > >
> '/home/gpamu/.m2/repository/org/codehaus/plexus/plexus-compiler/1.5.2/plexus-
> > > > > > > > > > compiler-1.5.2.pom '.
> > > > > > > > > > Error: 'null'
> > > > > > > > > > at
> > > > > > > >
> org.apache.maven.project.DefaultMavenProjectBuilder.readModel(
> > > > > > > > > > DefaultMavenProjectBuilder.java:1259)
> > > > > > > > > > at
> > > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > >
> > >
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository
> > > > > > > > (
> > > > > > > > > > DefaultMavenProjectBuilder.java:469)
> > > > > > > > > > at
> > > > > > > > > >
> > > > > > > >
> > > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> > > > > > > > > > DefaultMavenProjectBuilder.java:1135)
> > > > > > > > > > ... 29 more
> > > > > > > > > > Caused by: sun.io.MalformedInputException
> > > > > > > > > > at sun.io.ByteToCharUTF8.convert(
> ByteToCharUTF8.java
> > > > > (Compiled
> > > > > > > > Code))
> > > > > > > > > > at
> > > > > > > > sun.nio.cs.StreamDecoder$ConverterSD.convertInto(
> > > > > > > > > > StreamDecoder.java(Inlined Compiled Code))
> > > > > > > > > > at sun.nio.cs.StreamDecoder$ConverterSD.implRead
> > > > > > > > > > (StreamDecoder.java(Compiled
> > > > > > > > > > Code))
> > > > > > > > > > at sun.nio.cs.StreamDecoder.read(
> StreamDecoder.java
> > > > > (Compiled
> > > > > > > > Code))
> > > > > > > > > > at java.io.InputStreamReader.read
> > > > > > > > (InputStreamReader.java(Compiled
> > > > > > > > > > Code))
> > > > > > > > > > at java.io.Reader.read (Reader.java(Inlined
> Compiled
> > > > > Code))
> > > > > > > > > > at
> > > > > > > > org.codehaus.plexus.util.IOUtil.copy(IOUtil.java(Compiled
> > > > > > > > Code))
> > > > > > > > > > at
> > > > > > > > org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:200)
> > > > > > > > > > at
> > > > > > > >
> org.apache.maven.project.DefaultMavenProjectBuilder.readModel
> > > > > > > > (
> > > > > > > > > > DefaultMavenProjectBuilder.java:1273)
> > > > > > > > > > at
> > > > > > > >
> org.apache.maven.project.DefaultMavenProjectBuilder.readModel
> > > > > > > > (
> > > > > > > > > > DefaultMavenProjectBuilder.java:1250)
> > > > > > > > > > ... 31 more
> > > > > > > > > > [INFO]
> > > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > >
> > >
> ------------------------------------------------------------------------[INFO]
> > > > > > > > > > Total time: 13 seconds
> > > > > > > > > > [INFO] Finished at: Wed Apr 05 11:30:30 CDT 2006
> > > > > > > > > > [INFO] Final Memory: 12M/36M
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > -Gautham Pamu
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > -Gautham Pamu
> > > > > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > I could give you my word as a Spaniard.
> > > > > > > No good. I've known too many Spaniards.
> > > > > > > -- The Princess Bride
> > > > > > >
> > > > > > >
> > > ---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > -Gautham Pamu
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > I could give you my word as a Spaniard.
> > > > > No good. I've known too many Spaniards.
> > > > > -- The Princess Bride
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > -Gautham Pamu
> > > >
> > > >
> > >
> > >
> > > --
> > > I could give you my word as a Spaniard.
> > > No good. I've known too many Spaniards.
> > > -- The Princess Bride
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> >
> > --
> > -Gautham Pamu
> >
> >
>
>
> --
> I could give you my word as a Spaniard.
> No good. I've known too many Spaniards.
> -- The Princess Bride
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
-Gautham Pamu
Re: m2 unable to build on linux with maven-compiler-plugin 2.0.1 version
Posted by Carlos Sanchez <ca...@apache.org>.
to be sure, try removing /home/gpamu/.m2/repository/org/codehaus/plexus
Are you behind a proxy? using a mirror?
On 4/8/06, Gautham Pamu <ga...@gmail.com> wrote:
> Hi Carlos,
>
> I now remove the
> /home/gpamu/.m2/repository/org/codehaus/plexus/plexus-compiler/1.5.2/plexus-
> compiler-1.5.2.pom but now it is failing with javac pom file.
>
> [INFO] [antrun:run]
> [INFO] Executing tasks
> [INFO] Executed tasks
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> Downloading:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler/1.5.2/plexus-compiler-1.5.2.pom
> 761b downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-components/1.1.5/plexus-components-1.1.5.pom
> 2K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.5/plexus-1.0.5.pom
> 5K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.5.2/plexus-compiler-manager-1.5.2.pom
> 634b downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-javac/1.5.2/plexus-compiler-javac-1.5.2.pom
> 625b downloaded
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: null:plexus-compiler-javac:jar:1.5.2
>
> Reason: Cannot find parent: org.codehaus.plexus:plexus-compilers for
> project: null:plexus-compiler-javac:jar:1.5.2
>
>
>
> On 4/7/06, Carlos Sanchez <ca...@apache.org> wrote:
> >
> > You need to remove
> >
> > /home/gpamu/.m2/repository/org/codehaus/plexus/plexus-compiler/1.5.2/plexus-
> > compiler-1.5.2.pom
> >
> > On 4/7/06, Gautham Pamu <ga...@gmail.com> wrote:
> > > HI Carlos,
> > >
> > > I removed the plexus-compiler-api, plexus-compiler-manager and
> > > plexus-compiler-javac. I am still getting the same error...
> > >
> > > [INFO]
> > >
> > ------------------------------------------------------------------------[ERROR]
> > > BUILD ERROR
> > > [INFO]
> > >
> > ------------------------------------------------------------------------[INFO]
> > > Error building POM (may not be this project's POM).
> > >
> > >
> > > Project ID: null:plexus-compiler-api:jar:1.5.2
> > >
> > > Reason: Cannot find parent: org.codehaus.plexus:plexus-compiler for
> > project:
> > > null:plexus-compiler-api:jar:1.5.2
> > >
> > >
> > > [INFO]
> > >
> > ------------------------------------------------------------------------[INFO]
> > > Trace
> > > org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get
> > > dependency information: Unable to read the metadata file for artifact '
> > > org.codehaus.plexus:plexus-compiler-api:jar': Cannot find parent:
> > > org.codehaus.plexus:plexus-compiler for project:
> > > null:plexus-compiler-api:jar:1.5.2
> > > org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
> > >
> > > from the specified remote repositories:
> > > central (http://repo1.maven.org/maven2),
> > > apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
> > > snapshots (http://snapshots.maven.codehaus.org/maven2)
> > > Path to dependency:
> > > 1)
> > org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
> > >
> > >
> > > at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > > DefaultLifecycleExecutor.java:551)
> > > at
> > >
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> > > (DefaultLifecycleExecutor.java:475)
> > > at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> > > DefaultLifecycleExecutor.java:454)
> > > at
> > >
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> > > (DefaultLifecycleExecutor.java:306)
> > > at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> > > DefaultLifecycleExecutor.java:273)
> > > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
> > > DefaultLifecycleExecutor.java:140)
> > > 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:256)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > > NativeMethodAccessorImpl.java:85)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > > NativeMethodAccessorImpl.java:58)
> > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > > DelegatingMethodAccessorImpl.java:60)
> > > at java.lang.reflect.Method.invoke(Method.java:391)
> > > 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.artifact.resolver.ArtifactResolutionException:
> > > Unable to get dependency information: Unable to read the metadata file
> > for
> > > artifact 'org.codehaus.plexus:plexus-compiler-api:jar': Cannot find
> > parent:
> > > org.codehaus.plexus:plexus-compiler for project:
> > > null:plexus-compiler-api:jar:1.5.2
> > > org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
> > >
> > > from the specified remote repositories:
> > > central (http://repo1.maven.org/maven2),
> > > apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
> > > snapshots (http://snapshots.maven.codehaus.org/maven2)
> > > Path to dependency:
> > > 1)
> > org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
> > >
> > >
> > > at
> > > org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(
> > > DefaultArtifactCollector.java:297)
> > > at
> > > org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(
> > > DefaultArtifactCollector.java(Compiled Code))
> > > at
> > >
> > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> > > (DefaultArtifactResolver.java:223)
> > > at
> > >
> > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> > > (DefaultArtifactResolver.java:211)
> > > at
> > >
> > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> > > (DefaultArtifactResolver.java:182)
> > > at
> > >
> > org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComplete
> > > (DefaultPluginManager.java:608)
> > > at
> > org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(
> > > DefaultPluginManager.java:519)
> > > at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
> > > DefaultPluginManager.java:390)
> > > at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > > DefaultLifecycleExecutor.java:534)
> > > ... 17 more
> > > Caused by:
> > > org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException:
> > > Unable to read the metadata file for artifact '
> > > org.codehaus.plexus:plexus-compiler-api:jar': Cannot find parent:
> > > org.codehaus.plexus:plexus-compiler for project:
> > > null:plexus-compiler-api:jar:1.5.2
> > > at
> > org.apache.maven.project.artifact.MavenMetadataSource.retrieve(
> > > MavenMetadataSource.java:131)
> > > at
> > > org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(
> > > DefaultArtifactCollector.java:275)
> > > ... 25 more
> > > Caused by: org.apache.maven.project.ProjectBuildingException: Cannot
> > find
> > > parent: org.codehaus.plexus:plexus-compiler for project:
> > > null:plexus-compiler-api:jar:1.5.2
> > > at
> > > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> > > DefaultMavenProjectBuilder.java:1139)
> > > at
> > org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal
> > > (DefaultMavenProjectBuilder.java:672)
> > > at
> > > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(
> > > DefaultMavenProjectBuilder.java:225)
> > > at
> > org.apache.maven.project.artifact.MavenMetadataSource.retrieve(
> > > MavenMetadataSource.java:102)
> > > ... 26 more
> > > Caused by: org.apache.maven.project.ProjectBuildingException: Failed to
> > > build model from file
> > >
> > '/home/gpamu/.m2/repository/org/codehaus/plexus/plexus-compiler/1.5.2/plexus-
> > > compiler-1.5.2.pom'.
> > > Error: 'null'
> > > at org.apache.maven.project.DefaultMavenProjectBuilder.readModel
> > (
> > > DefaultMavenProjectBuilder.java:1259)
> > > at
> > >
> > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository
> > (
> > > DefaultMavenProjectBuilder.java:469)
> > > at
> > > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> > > DefaultMavenProjectBuilder.java:1135)
> > > ... 29 more
> > > Caused by: sun.io.MalformedInputException
> > > at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java(Compiled
> > Code))
> > > at sun.nio.cs.StreamDecoder$ConverterSD.convertInto(
> > > StreamDecoder.java(Inlined Compiled Code))
> > > at sun.nio.cs.StreamDecoder$ConverterSD.implRead(
> > StreamDecoder.java(Compiled
> > > Code))
> > > at sun.nio.cs.StreamDecoder.read(StreamDecoder.java(Compiled
> > Code))
> > > at java.io.InputStreamReader.read(InputStreamReader.java
> > (Compiled
> > > Code))
> > > at java.io.Reader.read(Reader.java(Inlined Compiled Code))
> > > at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java(Compiled
> > Code))
> > > at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:200)
> > > at org.apache.maven.project.DefaultMavenProjectBuilder.readModel
> > (
> > > DefaultMavenProjectBuilder.java:1273)
> > > at org.apache.maven.project.DefaultMavenProjectBuilder.readModel
> > (
> > > DefaultMavenProjectBuilder.java:1250)
> > > ... 31 more
> > > [INFO]
> > >
> > ------------------------------------------------------------------------[INFO]
> > > Total time: 14 seconds
> > > [INFO] Finished at: Fri Apr 07 09:36:22 CDT 2006
> > > [INFO] Final Memory: 12M/36M
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > gpamu@gpamu3:~/dev/csdpbuild/csdp>
> > >
> > > On 4/6/06, Carlos Sanchez <ca...@apache.org> wrote:
> > > >
> > > > It's fixed now. You need to delete the poms of that plexus-*
> > > > components from your local repo so they get downloaded again.
> > > >
> > > > On 4/6/06, Gautham Pamu <ga...@gmail.com> wrote:
> > > > > Hi Carlos and Wayne,
> > > > >
> > > > > Do you still want me to open the bug report on
> > > > > http://jira.codehaus.org/browse or is it already opened. Carlos, can
> > you
> > > > > tell me on which project I should open
> > > > > this bug.
> > > > >
> > > > > Thanks
> > > > > Gautham Pamu
> > > > >
> > > > >
> > > > > On 4/5/06, Carlos Sanchez <ca...@apache.org> wrote:
> > > > > >
> > > > > > I'm fixing it
> > > > > >
> > > > > >
> > > > > > On 4/5/06, Gautham Pamu <ga...@gmail.com> wrote:
> > > > > > > There seems to be some special character in the white spaces in
> > > > pom.xml
> > > > > > > files for plexus-compiler-manager, plexus-compiler-javac,
> > > > > > > plexus-compiler-api for 1.5.2
> > > > > > > version. Could you please fix it as soon as possible and upload
> > to
> > > > the
> > > > > > maven
> > > > > > > repository.
> > > > > > >
> > > > > > > Thanks
> > > > > > > Gautham Pamu
> > > > > > >
> > > > > > >
> > > > > > > On 4/5/06, Wayne Fay <wa...@gmail.com> wrote:
> > > > > > > > Sounds like a bug report. Try to find the bad character (or
> > other
> > > > root
> > > > > > > > cause) and post the issue on JIRA.
> > > > > > > >
> > > > > > > > Wayne
> > > > > > > >
> > > > > > > >
> > > > > > > > On 4/5/06, Gautham Pamu <gautham.pamu@gmail.com > wrote:
> > > > > > > > > Hi Everyone,
> > > > > > > > >
> > > > > > > > > There seems to be a problem in the pom.xml files of
> > > > > > > plexus-compiler-api:jar:
> > > > > > > > > 1.5.2 and maven-compiler-plugin 2.0.1 is using this version.
> > > > > > > > >
> > > > > > > > > I have seem this sun.io.MalformedInputException error while
> > > > compile
> > > > > > java
> > > > > > > > > code if the code has special characters in comments.
> > > > > > > > > The code is not build on Linux platform as the jvm does not
> > like
> > > > > > these
> > > > > > > pom
> > > > > > > > > files, I think the pom.xml file has some special characters.
> > > > > > > > >
> > > > > > > > > When I changed to maven-compiler-plugin 2.0, it worked...
> > > > > > > > >
> > > > > > > > > [INFO] Using default encoding to copy filtered resources.
> > > > > > > > > [INFO]
> > > > > > >
> > > > > >
> > > >
> > ------------------------------------------------------------------------[ERROR]
> > > > > > > > > BUILD ERROR
> > > > > > > > > [INFO]
> > > > > > > > >
> > > > > > >
> > > > > >
> > > >
> > ------------------------------------------------------------------------[INFO]
> > > > > > > > > Error building POM (may not be this project's POM).
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Project ID: null:plexus-compiler-api:jar: 1.5.2
> > > > > > > > >
> > > > > > > > > Reason: Cannot find parent:
> > > > > > > org.codehaus.plexus:plexus-compiler for project:
> > > > > > > > > null:plexus-compiler-api:jar:1.5.2
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > [INFO]
> > > > > > > > >
> > > > > > >
> > > > > >
> > > >
> > ------------------------------------------------------------------------[INFO]
> > > > > > > > > Trace
> > > > > > > > > org.apache.maven.lifecycle.LifecycleExecutionException:
> > > > > > > Unable to get
> > > > > > > > > dependency information: Unable to read the metadata file for
> > > > > > artifact '
> > > > > > > > > org.codehaus.plexus:plexus-compiler-api:jar ': Cannot
> > > > > > > find parent:
> > > > > > > > > org.codehaus.plexus:plexus-compiler for project:
> > > > > > > > > null:plexus-compiler-api:jar:1.5.2
> > > > > > > > > org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
> > > > > > > > >
> > > > > > > > > from the specified remote repositories:
> > > > > > > > > central (http://repo1.maven.org/maven2 ),
> > > > > > > > > apache.snapshots
> > > > > > > (http://svn.apache.org/maven-snapshot-repository ),
> > > > > > > > > snapshots (http://snapshots.maven.codehaus.org/maven2
> > > > > > > )
> > > > > > > > > Path to dependency:
> > > > > > > > > 1)
> > > > > > >
> > org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > at
> > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
> > (
> > > > > > > > > DefaultLifecycleExecutor.java :551)
> > > > > > > > > at
> > > > > > > > >
> > > > > > >
> > > > > >
> > > >
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> > > > > > > > > (DefaultLifecycleExecutor.java:475)
> > > > > > > > > at
> > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> > > > > > > > > DefaultLifecycleExecutor.java :454)
> > > > > > > > > at
> > > > > > > > >
> > > > > > >
> > > > > >
> > > >
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> > > > > > > > > (DefaultLifecycleExecutor.java:306)
> > > > > > > > > at
> > > > > > > > >
> > > > > > >
> > > >
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
> > > > > > > (
> > > > > > > > > DefaultLifecycleExecutor.java:273)
> > > > > > > > > at
> > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> > > > > > > (
> > > > > > > > > DefaultLifecycleExecutor.java:140)
> > > > > > > > > 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:256)
> > > > > > > > > at
> > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > > > > > > > > NativeMethodAccessorImpl.java :85)
> > > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > > > > > > > > NativeMethodAccessorImpl.java:58)
> > > > > > > > > at
> > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke (
> > > > > > > > > DelegatingMethodAccessorImpl.java:60)
> > > > > > > > > at java.lang.reflect.Method.invoke(Method.java:391)
> > > > > > > > > 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.artifact.resolver.ArtifactResolutionException
> > > > > > > :
> > > > > > > > > Unable to get dependency information: Unable to read the
> > > > metadata
> > > > > > file
> > > > > > > for
> > > > > > > > > artifact 'org.codehaus.plexus:plexus-compiler-api:jar':
> > > > > > > Cannot find parent:
> > > > > > > > > org.codehaus.plexus:plexus-compiler for project:
> > > > > > > > > null:plexus-compiler-api:jar: 1.5.2
> > > > > > > > > org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
> > > > > > > > >
> > > > > > > > > from the specified remote repositories:
> > > > > > > > > central (http://repo1.maven.org/maven2 ),
> > > > > > > > > apache.snapshots (
> > > > > > > http://svn.apache.org/maven-snapshot-repository),
> > > > > > > > > snapshots (http://snapshots.maven.codehaus.org/maven2
> > > > > > > )
> > > > > > > > > Path to dependency:
> > > > > > > > > 1)
> > > > > > >
> > org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > at
> > > > > > > > >
> > > > > > >
> > org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse
> > > > > > > (
> > > > > > > > > DefaultArtifactCollector.java :297)
> > > > > > > > > at
> > > > > > > > >
> > > > > > >
> > org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(
> > > > > > > > > DefaultArtifactCollector.java(Compiled Code))
> > > > > > > > > at
> > > > > > > > >
> > > > > > >
> > > > > >
> > > >
> > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> > > > > > (
> > > > > > > > > DefaultArtifactResolver.java:223)
> > > > > > > > > at
> > > > > > > > >
> > > > > > >
> > > > > >
> > > >
> > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> > > > > > > > > (DefaultArtifactResolver.java:211)
> > > > > > > > > at
> > > > > > > > >
> > > > > > >
> > > > > >
> > > >
> > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> > > > > > (
> > > > > > > > > DefaultArtifactResolver.java:182)
> > > > > > > > > at
> > > > > > > > >
> > > > > > >
> > > > > >
> > > >
> > org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComplete
> > > > > > > > > (DefaultPluginManager.java:608)
> > > > > > > > > at
> > > > > > > org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo
> > > > > > > (
> > > > > > > > > DefaultPluginManager.java:519)
> > > > > > > > > at
> > > > > > > org.apache.maven.plugin.DefaultPluginManager.executeMojo
> > > > > > > (
> > > > > > > > > DefaultPluginManager.java:390)
> > > > > > > > > at
> > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
> > (
> > > > > > > > > DefaultLifecycleExecutor.java :534)
> > > > > > > > > ... 17 more
> > > > > > > > > Caused by:
> > > > > > > > >
> > > > > > >
> > > > org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException:
> > > > > > > > > Unable to read the metadata file for artifact '
> > > > > > > > > org.codehaus.plexus:plexus-compiler-api:jar': Cannot
> > > > > > > find parent:
> > > > > > > > > org.codehaus.plexus:plexus-compiler for project:
> > > > > > > > > null:plexus-compiler-api:jar:1.5.2
> > > > > > > > > at
> > > > > > > org.apache.maven.project.artifact.MavenMetadataSource.retrieve(
> > > > > > > > > MavenMetadataSource.java:131)
> > > > > > > > > at
> > > > > > > > >
> > > > > > >
> > org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse
> > > > > > > (
> > > > > > > > > DefaultArtifactCollector.java:275)
> > > > > > > > > ... 25 more
> > > > > > > > > Caused by:
> > > > > > > org.apache.maven.project.ProjectBuildingException: Cannot
> > > > > > > find
> > > > > > > > > parent: org.codehaus.plexus:plexus-compiler for
> > > > > > > project:
> > > > > > > > > null:plexus-compiler-api:jar: 1.5.2
> > > > > > > > > at
> > > > > > > > >
> > > > > > >
> > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> > > > > > > > > DefaultMavenProjectBuilder.java:1139)
> > > > > > > > > at
> > > > > > >
> > org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal
> > > > > > > > > (DefaultMavenProjectBuilder.java :672)
> > > > > > > > > at
> > > > > > > > >
> > > > > > >
> > > >
> > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(
> > > > > > > > > DefaultMavenProjectBuilder.java:225)
> > > > > > > > > at
> > > > > > > org.apache.maven.project.artifact.MavenMetadataSource.retrieve
> > > > > > > (
> > > > > > > > > MavenMetadataSource.java :102)
> > > > > > > > > ... 26 more
> > > > > > > > > Caused by:
> > > > > > > org.apache.maven.project.ProjectBuildingException: Failed
> > > > > > > to
> > > > > > > > > build model from file
> > > > > > > > >
> > > > > > >
> > > > > >
> > > >
> > '/home/gpamu/.m2/repository/org/codehaus/plexus/plexus-compiler/1.5.2/plexus-
> > > > > > > > > compiler-1.5.2.pom '.
> > > > > > > > > Error: 'null'
> > > > > > > > > at
> > > > > > > org.apache.maven.project.DefaultMavenProjectBuilder.readModel(
> > > > > > > > > DefaultMavenProjectBuilder.java:1259)
> > > > > > > > > at
> > > > > > > > >
> > > > > > >
> > > > > >
> > > >
> > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository
> > > > > > > (
> > > > > > > > > DefaultMavenProjectBuilder.java:469)
> > > > > > > > > at
> > > > > > > > >
> > > > > > >
> > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> > > > > > > > > DefaultMavenProjectBuilder.java:1135)
> > > > > > > > > ... 29 more
> > > > > > > > > Caused by: sun.io.MalformedInputException
> > > > > > > > > at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java
> > > > (Compiled
> > > > > > > Code))
> > > > > > > > > at
> > > > > > > sun.nio.cs.StreamDecoder$ConverterSD.convertInto(
> > > > > > > > > StreamDecoder.java(Inlined Compiled Code))
> > > > > > > > > at sun.nio.cs.StreamDecoder$ConverterSD.implRead
> > > > > > > > > (StreamDecoder.java(Compiled
> > > > > > > > > Code))
> > > > > > > > > at sun.nio.cs.StreamDecoder.read(StreamDecoder.java
> > > > (Compiled
> > > > > > > Code))
> > > > > > > > > at java.io.InputStreamReader.read
> > > > > > > (InputStreamReader.java(Compiled
> > > > > > > > > Code))
> > > > > > > > > at java.io.Reader.read (Reader.java(Inlined Compiled
> > > > Code))
> > > > > > > > > at
> > > > > > > org.codehaus.plexus.util.IOUtil.copy(IOUtil.java(Compiled
> > > > > > > Code))
> > > > > > > > > at
> > > > > > > org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:200)
> > > > > > > > > at
> > > > > > > org.apache.maven.project.DefaultMavenProjectBuilder.readModel
> > > > > > > (
> > > > > > > > > DefaultMavenProjectBuilder.java:1273)
> > > > > > > > > at
> > > > > > > org.apache.maven.project.DefaultMavenProjectBuilder.readModel
> > > > > > > (
> > > > > > > > > DefaultMavenProjectBuilder.java:1250)
> > > > > > > > > ... 31 more
> > > > > > > > > [INFO]
> > > > > > > > >
> > > > > > >
> > > > > >
> > > >
> > ------------------------------------------------------------------------[INFO]
> > > > > > > > > Total time: 13 seconds
> > > > > > > > > [INFO] Finished at: Wed Apr 05 11:30:30 CDT 2006
> > > > > > > > > [INFO] Final Memory: 12M/36M
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > -Gautham Pamu
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > -Gautham Pamu
> > > > > > >
> > > > ---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > I could give you my word as a Spaniard.
> > > > > > No good. I've known too many Spaniards.
> > > > > > -- The Princess Bride
> > > > > >
> > > > > >
> > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > -Gautham Pamu
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > I could give you my word as a Spaniard.
> > > > No good. I've known too many Spaniards.
> > > > -- The Princess Bride
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> > >
> > > --
> > > -Gautham Pamu
> > >
> > >
> >
> >
> > --
> > I could give you my word as a Spaniard.
> > No good. I've known too many Spaniards.
> > -- The Princess Bride
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> --
> -Gautham Pamu
>
>
--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
-- The Princess Bride
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: m2 unable to build on linux with maven-compiler-plugin 2.0.1 version
Posted by Gautham Pamu <ga...@gmail.com>.
Hi Carlos,
I now remove the
/home/gpamu/.m2/repository/org/codehaus/plexus/plexus-compiler/1.5.2/plexus-
compiler-1.5.2.pom but now it is failing with javac pom file.
[INFO] [antrun:run]
[INFO] Executing tasks
[INFO] Executed tasks
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading:
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler/1.5.2/plexus-compiler-1.5.2.pom
761b downloaded
Downloading:
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-components/1.1.5/plexus-components-1.1.5.pom
2K downloaded
Downloading:
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.5/plexus-1.0.5.pom
5K downloaded
Downloading:
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.5.2/plexus-compiler-manager-1.5.2.pom
634b downloaded
Downloading:
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-javac/1.5.2/plexus-compiler-javac-1.5.2.pom
625b downloaded
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: null:plexus-compiler-javac:jar:1.5.2
Reason: Cannot find parent: org.codehaus.plexus:plexus-compilers for
project: null:plexus-compiler-javac:jar:1.5.2
On 4/7/06, Carlos Sanchez <ca...@apache.org> wrote:
>
> You need to remove
>
> /home/gpamu/.m2/repository/org/codehaus/plexus/plexus-compiler/1.5.2/plexus-
> compiler-1.5.2.pom
>
> On 4/7/06, Gautham Pamu <ga...@gmail.com> wrote:
> > HI Carlos,
> >
> > I removed the plexus-compiler-api, plexus-compiler-manager and
> > plexus-compiler-javac. I am still getting the same error...
> >
> > [INFO]
> >
> ------------------------------------------------------------------------[ERROR]
> > BUILD ERROR
> > [INFO]
> >
> ------------------------------------------------------------------------[INFO]
> > Error building POM (may not be this project's POM).
> >
> >
> > Project ID: null:plexus-compiler-api:jar:1.5.2
> >
> > Reason: Cannot find parent: org.codehaus.plexus:plexus-compiler for
> project:
> > null:plexus-compiler-api:jar:1.5.2
> >
> >
> > [INFO]
> >
> ------------------------------------------------------------------------[INFO]
> > Trace
> > org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get
> > dependency information: Unable to read the metadata file for artifact '
> > org.codehaus.plexus:plexus-compiler-api:jar': Cannot find parent:
> > org.codehaus.plexus:plexus-compiler for project:
> > null:plexus-compiler-api:jar:1.5.2
> > org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
> >
> > from the specified remote repositories:
> > central (http://repo1.maven.org/maven2),
> > apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
> > snapshots (http://snapshots.maven.codehaus.org/maven2)
> > Path to dependency:
> > 1)
> org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
> >
> >
> > at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > DefaultLifecycleExecutor.java:551)
> > at
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> > (DefaultLifecycleExecutor.java:475)
> > at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> > DefaultLifecycleExecutor.java:454)
> > at
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> > (DefaultLifecycleExecutor.java:306)
> > at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> > DefaultLifecycleExecutor.java:273)
> > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
> > DefaultLifecycleExecutor.java:140)
> > 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:256)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > NativeMethodAccessorImpl.java:85)
> > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > NativeMethodAccessorImpl.java:58)
> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > DelegatingMethodAccessorImpl.java:60)
> > at java.lang.reflect.Method.invoke(Method.java:391)
> > 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.artifact.resolver.ArtifactResolutionException:
> > Unable to get dependency information: Unable to read the metadata file
> for
> > artifact 'org.codehaus.plexus:plexus-compiler-api:jar': Cannot find
> parent:
> > org.codehaus.plexus:plexus-compiler for project:
> > null:plexus-compiler-api:jar:1.5.2
> > org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
> >
> > from the specified remote repositories:
> > central (http://repo1.maven.org/maven2),
> > apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
> > snapshots (http://snapshots.maven.codehaus.org/maven2)
> > Path to dependency:
> > 1)
> org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
> >
> >
> > at
> > org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(
> > DefaultArtifactCollector.java:297)
> > at
> > org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(
> > DefaultArtifactCollector.java(Compiled Code))
> > at
> >
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> > (DefaultArtifactResolver.java:223)
> > at
> >
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> > (DefaultArtifactResolver.java:211)
> > at
> >
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> > (DefaultArtifactResolver.java:182)
> > at
> >
> org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComplete
> > (DefaultPluginManager.java:608)
> > at
> org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(
> > DefaultPluginManager.java:519)
> > at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
> > DefaultPluginManager.java:390)
> > at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > DefaultLifecycleExecutor.java:534)
> > ... 17 more
> > Caused by:
> > org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException:
> > Unable to read the metadata file for artifact '
> > org.codehaus.plexus:plexus-compiler-api:jar': Cannot find parent:
> > org.codehaus.plexus:plexus-compiler for project:
> > null:plexus-compiler-api:jar:1.5.2
> > at
> org.apache.maven.project.artifact.MavenMetadataSource.retrieve(
> > MavenMetadataSource.java:131)
> > at
> > org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(
> > DefaultArtifactCollector.java:275)
> > ... 25 more
> > Caused by: org.apache.maven.project.ProjectBuildingException: Cannot
> find
> > parent: org.codehaus.plexus:plexus-compiler for project:
> > null:plexus-compiler-api:jar:1.5.2
> > at
> > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> > DefaultMavenProjectBuilder.java:1139)
> > at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal
> > (DefaultMavenProjectBuilder.java:672)
> > at
> > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(
> > DefaultMavenProjectBuilder.java:225)
> > at
> org.apache.maven.project.artifact.MavenMetadataSource.retrieve(
> > MavenMetadataSource.java:102)
> > ... 26 more
> > Caused by: org.apache.maven.project.ProjectBuildingException: Failed to
> > build model from file
> >
> '/home/gpamu/.m2/repository/org/codehaus/plexus/plexus-compiler/1.5.2/plexus-
> > compiler-1.5.2.pom'.
> > Error: 'null'
> > at org.apache.maven.project.DefaultMavenProjectBuilder.readModel
> (
> > DefaultMavenProjectBuilder.java:1259)
> > at
> >
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository
> (
> > DefaultMavenProjectBuilder.java:469)
> > at
> > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> > DefaultMavenProjectBuilder.java:1135)
> > ... 29 more
> > Caused by: sun.io.MalformedInputException
> > at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java(Compiled
> Code))
> > at sun.nio.cs.StreamDecoder$ConverterSD.convertInto(
> > StreamDecoder.java(Inlined Compiled Code))
> > at sun.nio.cs.StreamDecoder$ConverterSD.implRead(
> StreamDecoder.java(Compiled
> > Code))
> > at sun.nio.cs.StreamDecoder.read(StreamDecoder.java(Compiled
> Code))
> > at java.io.InputStreamReader.read(InputStreamReader.java
> (Compiled
> > Code))
> > at java.io.Reader.read(Reader.java(Inlined Compiled Code))
> > at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java(Compiled
> Code))
> > at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:200)
> > at org.apache.maven.project.DefaultMavenProjectBuilder.readModel
> (
> > DefaultMavenProjectBuilder.java:1273)
> > at org.apache.maven.project.DefaultMavenProjectBuilder.readModel
> (
> > DefaultMavenProjectBuilder.java:1250)
> > ... 31 more
> > [INFO]
> >
> ------------------------------------------------------------------------[INFO]
> > Total time: 14 seconds
> > [INFO] Finished at: Fri Apr 07 09:36:22 CDT 2006
> > [INFO] Final Memory: 12M/36M
> > [INFO]
> > ------------------------------------------------------------------------
> > gpamu@gpamu3:~/dev/csdpbuild/csdp>
> >
> > On 4/6/06, Carlos Sanchez <ca...@apache.org> wrote:
> > >
> > > It's fixed now. You need to delete the poms of that plexus-*
> > > components from your local repo so they get downloaded again.
> > >
> > > On 4/6/06, Gautham Pamu <ga...@gmail.com> wrote:
> > > > Hi Carlos and Wayne,
> > > >
> > > > Do you still want me to open the bug report on
> > > > http://jira.codehaus.org/browse or is it already opened. Carlos, can
> you
> > > > tell me on which project I should open
> > > > this bug.
> > > >
> > > > Thanks
> > > > Gautham Pamu
> > > >
> > > >
> > > > On 4/5/06, Carlos Sanchez <ca...@apache.org> wrote:
> > > > >
> > > > > I'm fixing it
> > > > >
> > > > >
> > > > > On 4/5/06, Gautham Pamu <ga...@gmail.com> wrote:
> > > > > > There seems to be some special character in the white spaces in
> > > pom.xml
> > > > > > files for plexus-compiler-manager, plexus-compiler-javac,
> > > > > > plexus-compiler-api for 1.5.2
> > > > > > version. Could you please fix it as soon as possible and upload
> to
> > > the
> > > > > maven
> > > > > > repository.
> > > > > >
> > > > > > Thanks
> > > > > > Gautham Pamu
> > > > > >
> > > > > >
> > > > > > On 4/5/06, Wayne Fay <wa...@gmail.com> wrote:
> > > > > > > Sounds like a bug report. Try to find the bad character (or
> other
> > > root
> > > > > > > cause) and post the issue on JIRA.
> > > > > > >
> > > > > > > Wayne
> > > > > > >
> > > > > > >
> > > > > > > On 4/5/06, Gautham Pamu <gautham.pamu@gmail.com > wrote:
> > > > > > > > Hi Everyone,
> > > > > > > >
> > > > > > > > There seems to be a problem in the pom.xml files of
> > > > > > plexus-compiler-api:jar:
> > > > > > > > 1.5.2 and maven-compiler-plugin 2.0.1 is using this version.
> > > > > > > >
> > > > > > > > I have seem this sun.io.MalformedInputException error while
> > > compile
> > > > > java
> > > > > > > > code if the code has special characters in comments.
> > > > > > > > The code is not build on Linux platform as the jvm does not
> like
> > > > > these
> > > > > > pom
> > > > > > > > files, I think the pom.xml file has some special characters.
> > > > > > > >
> > > > > > > > When I changed to maven-compiler-plugin 2.0, it worked...
> > > > > > > >
> > > > > > > > [INFO] Using default encoding to copy filtered resources.
> > > > > > > > [INFO]
> > > > > >
> > > > >
> > >
> ------------------------------------------------------------------------[ERROR]
> > > > > > > > BUILD ERROR
> > > > > > > > [INFO]
> > > > > > > >
> > > > > >
> > > > >
> > >
> ------------------------------------------------------------------------[INFO]
> > > > > > > > Error building POM (may not be this project's POM).
> > > > > > > >
> > > > > > > >
> > > > > > > > Project ID: null:plexus-compiler-api:jar: 1.5.2
> > > > > > > >
> > > > > > > > Reason: Cannot find parent:
> > > > > > org.codehaus.plexus:plexus-compiler for project:
> > > > > > > > null:plexus-compiler-api:jar:1.5.2
> > > > > > > >
> > > > > > > >
> > > > > > > > [INFO]
> > > > > > > >
> > > > > >
> > > > >
> > >
> ------------------------------------------------------------------------[INFO]
> > > > > > > > Trace
> > > > > > > > org.apache.maven.lifecycle.LifecycleExecutionException:
> > > > > > Unable to get
> > > > > > > > dependency information: Unable to read the metadata file for
> > > > > artifact '
> > > > > > > > org.codehaus.plexus:plexus-compiler-api:jar ': Cannot
> > > > > > find parent:
> > > > > > > > org.codehaus.plexus:plexus-compiler for project:
> > > > > > > > null:plexus-compiler-api:jar:1.5.2
> > > > > > > > org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
> > > > > > > >
> > > > > > > > from the specified remote repositories:
> > > > > > > > central (http://repo1.maven.org/maven2 ),
> > > > > > > > apache.snapshots
> > > > > > (http://svn.apache.org/maven-snapshot-repository ),
> > > > > > > > snapshots (http://snapshots.maven.codehaus.org/maven2
> > > > > > )
> > > > > > > > Path to dependency:
> > > > > > > > 1)
> > > > > >
> org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
> > > > > > > >
> > > > > > > >
> > > > > > > > at
> > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
> (
> > > > > > > > DefaultLifecycleExecutor.java :551)
> > > > > > > > at
> > > > > > > >
> > > > > >
> > > > >
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> > > > > > > > (DefaultLifecycleExecutor.java:475)
> > > > > > > > at
> > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> > > > > > > > DefaultLifecycleExecutor.java :454)
> > > > > > > > at
> > > > > > > >
> > > > > >
> > > > >
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> > > > > > > > (DefaultLifecycleExecutor.java:306)
> > > > > > > > at
> > > > > > > >
> > > > > >
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
> > > > > > (
> > > > > > > > DefaultLifecycleExecutor.java:273)
> > > > > > > > at
> > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> > > > > > (
> > > > > > > > DefaultLifecycleExecutor.java:140)
> > > > > > > > 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:256)
> > > > > > > > at
> > > > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > > > > > > > NativeMethodAccessorImpl.java :85)
> > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > > > > > > > NativeMethodAccessorImpl.java:58)
> > > > > > > > at
> > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke (
> > > > > > > > DelegatingMethodAccessorImpl.java:60)
> > > > > > > > at java.lang.reflect.Method.invoke(Method.java:391)
> > > > > > > > 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.artifact.resolver.ArtifactResolutionException
> > > > > > :
> > > > > > > > Unable to get dependency information: Unable to read the
> > > metadata
> > > > > file
> > > > > > for
> > > > > > > > artifact 'org.codehaus.plexus:plexus-compiler-api:jar':
> > > > > > Cannot find parent:
> > > > > > > > org.codehaus.plexus:plexus-compiler for project:
> > > > > > > > null:plexus-compiler-api:jar: 1.5.2
> > > > > > > > org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
> > > > > > > >
> > > > > > > > from the specified remote repositories:
> > > > > > > > central (http://repo1.maven.org/maven2 ),
> > > > > > > > apache.snapshots (
> > > > > > http://svn.apache.org/maven-snapshot-repository),
> > > > > > > > snapshots (http://snapshots.maven.codehaus.org/maven2
> > > > > > )
> > > > > > > > Path to dependency:
> > > > > > > > 1)
> > > > > >
> org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
> > > > > > > >
> > > > > > > >
> > > > > > > > at
> > > > > > > >
> > > > > >
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse
> > > > > > (
> > > > > > > > DefaultArtifactCollector.java :297)
> > > > > > > > at
> > > > > > > >
> > > > > >
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(
> > > > > > > > DefaultArtifactCollector.java(Compiled Code))
> > > > > > > > at
> > > > > > > >
> > > > > >
> > > > >
> > >
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> > > > > (
> > > > > > > > DefaultArtifactResolver.java:223)
> > > > > > > > at
> > > > > > > >
> > > > > >
> > > > >
> > >
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> > > > > > > > (DefaultArtifactResolver.java:211)
> > > > > > > > at
> > > > > > > >
> > > > > >
> > > > >
> > >
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> > > > > (
> > > > > > > > DefaultArtifactResolver.java:182)
> > > > > > > > at
> > > > > > > >
> > > > > >
> > > > >
> > >
> org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComplete
> > > > > > > > (DefaultPluginManager.java:608)
> > > > > > > > at
> > > > > > org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo
> > > > > > (
> > > > > > > > DefaultPluginManager.java:519)
> > > > > > > > at
> > > > > > org.apache.maven.plugin.DefaultPluginManager.executeMojo
> > > > > > (
> > > > > > > > DefaultPluginManager.java:390)
> > > > > > > > at
> > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
> (
> > > > > > > > DefaultLifecycleExecutor.java :534)
> > > > > > > > ... 17 more
> > > > > > > > Caused by:
> > > > > > > >
> > > > > >
> > > org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException:
> > > > > > > > Unable to read the metadata file for artifact '
> > > > > > > > org.codehaus.plexus:plexus-compiler-api:jar': Cannot
> > > > > > find parent:
> > > > > > > > org.codehaus.plexus:plexus-compiler for project:
> > > > > > > > null:plexus-compiler-api:jar:1.5.2
> > > > > > > > at
> > > > > > org.apache.maven.project.artifact.MavenMetadataSource.retrieve(
> > > > > > > > MavenMetadataSource.java:131)
> > > > > > > > at
> > > > > > > >
> > > > > >
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse
> > > > > > (
> > > > > > > > DefaultArtifactCollector.java:275)
> > > > > > > > ... 25 more
> > > > > > > > Caused by:
> > > > > > org.apache.maven.project.ProjectBuildingException: Cannot
> > > > > > find
> > > > > > > > parent: org.codehaus.plexus:plexus-compiler for
> > > > > > project:
> > > > > > > > null:plexus-compiler-api:jar: 1.5.2
> > > > > > > > at
> > > > > > > >
> > > > > >
> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> > > > > > > > DefaultMavenProjectBuilder.java:1139)
> > > > > > > > at
> > > > > >
> org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal
> > > > > > > > (DefaultMavenProjectBuilder.java :672)
> > > > > > > > at
> > > > > > > >
> > > > > >
> > >
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(
> > > > > > > > DefaultMavenProjectBuilder.java:225)
> > > > > > > > at
> > > > > > org.apache.maven.project.artifact.MavenMetadataSource.retrieve
> > > > > > (
> > > > > > > > MavenMetadataSource.java :102)
> > > > > > > > ... 26 more
> > > > > > > > Caused by:
> > > > > > org.apache.maven.project.ProjectBuildingException: Failed
> > > > > > to
> > > > > > > > build model from file
> > > > > > > >
> > > > > >
> > > > >
> > >
> '/home/gpamu/.m2/repository/org/codehaus/plexus/plexus-compiler/1.5.2/plexus-
> > > > > > > > compiler-1.5.2.pom '.
> > > > > > > > Error: 'null'
> > > > > > > > at
> > > > > > org.apache.maven.project.DefaultMavenProjectBuilder.readModel(
> > > > > > > > DefaultMavenProjectBuilder.java:1259)
> > > > > > > > at
> > > > > > > >
> > > > > >
> > > > >
> > >
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository
> > > > > > (
> > > > > > > > DefaultMavenProjectBuilder.java:469)
> > > > > > > > at
> > > > > > > >
> > > > > >
> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> > > > > > > > DefaultMavenProjectBuilder.java:1135)
> > > > > > > > ... 29 more
> > > > > > > > Caused by: sun.io.MalformedInputException
> > > > > > > > at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java
> > > (Compiled
> > > > > > Code))
> > > > > > > > at
> > > > > > sun.nio.cs.StreamDecoder$ConverterSD.convertInto(
> > > > > > > > StreamDecoder.java(Inlined Compiled Code))
> > > > > > > > at sun.nio.cs.StreamDecoder$ConverterSD.implRead
> > > > > > > > (StreamDecoder.java(Compiled
> > > > > > > > Code))
> > > > > > > > at sun.nio.cs.StreamDecoder.read(StreamDecoder.java
> > > (Compiled
> > > > > > Code))
> > > > > > > > at java.io.InputStreamReader.read
> > > > > > (InputStreamReader.java(Compiled
> > > > > > > > Code))
> > > > > > > > at java.io.Reader.read (Reader.java(Inlined Compiled
> > > Code))
> > > > > > > > at
> > > > > > org.codehaus.plexus.util.IOUtil.copy(IOUtil.java(Compiled
> > > > > > Code))
> > > > > > > > at
> > > > > > org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:200)
> > > > > > > > at
> > > > > > org.apache.maven.project.DefaultMavenProjectBuilder.readModel
> > > > > > (
> > > > > > > > DefaultMavenProjectBuilder.java:1273)
> > > > > > > > at
> > > > > > org.apache.maven.project.DefaultMavenProjectBuilder.readModel
> > > > > > (
> > > > > > > > DefaultMavenProjectBuilder.java:1250)
> > > > > > > > ... 31 more
> > > > > > > > [INFO]
> > > > > > > >
> > > > > >
> > > > >
> > >
> ------------------------------------------------------------------------[INFO]
> > > > > > > > Total time: 13 seconds
> > > > > > > > [INFO] Finished at: Wed Apr 05 11:30:30 CDT 2006
> > > > > > > > [INFO] Final Memory: 12M/36M
> > > > > > > >
> > > > > > > > --
> > > > > > > > -Gautham Pamu
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > -Gautham Pamu
> > > > > >
> > > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > I could give you my word as a Spaniard.
> > > > > No good. I've known too many Spaniards.
> > > > > -- The Princess Bride
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > -Gautham Pamu
> > > >
> > > >
> > >
> > >
> > > --
> > > I could give you my word as a Spaniard.
> > > No good. I've known too many Spaniards.
> > > -- The Princess Bride
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> >
> > --
> > -Gautham Pamu
> >
> >
>
>
> --
> I could give you my word as a Spaniard.
> No good. I've known too many Spaniards.
> -- The Princess Bride
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
-Gautham Pamu
Re: m2 unable to build on linux with maven-compiler-plugin 2.0.1 version
Posted by Carlos Sanchez <ca...@apache.org>.
You need to remove
/home/gpamu/.m2/repository/org/codehaus/plexus/plexus-compiler/1.5.2/plexus-
compiler-1.5.2.pom
On 4/7/06, Gautham Pamu <ga...@gmail.com> wrote:
> HI Carlos,
>
> I removed the plexus-compiler-api, plexus-compiler-manager and
> plexus-compiler-javac. I am still getting the same error...
>
> [INFO]
> ------------------------------------------------------------------------[ERROR]
> BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------[INFO]
> Error building POM (may not be this project's POM).
>
>
> Project ID: null:plexus-compiler-api:jar:1.5.2
>
> Reason: Cannot find parent: org.codehaus.plexus:plexus-compiler for project:
> null:plexus-compiler-api:jar:1.5.2
>
>
> [INFO]
> ------------------------------------------------------------------------[INFO]
> Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get
> dependency information: Unable to read the metadata file for artifact '
> org.codehaus.plexus:plexus-compiler-api:jar': Cannot find parent:
> org.codehaus.plexus:plexus-compiler for project:
> null:plexus-compiler-api:jar:1.5.2
> org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2),
> apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
> snapshots (http://snapshots.maven.codehaus.org/maven2)
> Path to dependency:
> 1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
>
>
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> DefaultLifecycleExecutor.java:551)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> (DefaultLifecycleExecutor.java:475)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> DefaultLifecycleExecutor.java:454)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> (DefaultLifecycleExecutor.java:306)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> DefaultLifecycleExecutor.java:273)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
> DefaultLifecycleExecutor.java:140)
> 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:256)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:85)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:58)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:60)
> at java.lang.reflect.Method.invoke(Method.java:391)
> 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.artifact.resolver.ArtifactResolutionException:
> Unable to get dependency information: Unable to read the metadata file for
> artifact 'org.codehaus.plexus:plexus-compiler-api:jar': Cannot find parent:
> org.codehaus.plexus:plexus-compiler for project:
> null:plexus-compiler-api:jar:1.5.2
> org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2),
> apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
> snapshots (http://snapshots.maven.codehaus.org/maven2)
> Path to dependency:
> 1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
>
>
> at
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(
> DefaultArtifactCollector.java:297)
> at
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(
> DefaultArtifactCollector.java(Compiled Code))
> at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> (DefaultArtifactResolver.java:223)
> at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> (DefaultArtifactResolver.java:211)
> at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> (DefaultArtifactResolver.java:182)
> at
> org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComplete
> (DefaultPluginManager.java:608)
> at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(
> DefaultPluginManager.java:519)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
> DefaultPluginManager.java:390)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> DefaultLifecycleExecutor.java:534)
> ... 17 more
> Caused by:
> org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException:
> Unable to read the metadata file for artifact '
> org.codehaus.plexus:plexus-compiler-api:jar': Cannot find parent:
> org.codehaus.plexus:plexus-compiler for project:
> null:plexus-compiler-api:jar:1.5.2
> at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(
> MavenMetadataSource.java:131)
> at
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(
> DefaultArtifactCollector.java:275)
> ... 25 more
> Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find
> parent: org.codehaus.plexus:plexus-compiler for project:
> null:plexus-compiler-api:jar:1.5.2
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> DefaultMavenProjectBuilder.java:1139)
> at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal
> (DefaultMavenProjectBuilder.java:672)
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(
> DefaultMavenProjectBuilder.java:225)
> at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(
> MavenMetadataSource.java:102)
> ... 26 more
> Caused by: org.apache.maven.project.ProjectBuildingException: Failed to
> build model from file
> '/home/gpamu/.m2/repository/org/codehaus/plexus/plexus-compiler/1.5.2/plexus-
> compiler-1.5.2.pom'.
> Error: 'null'
> at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(
> DefaultMavenProjectBuilder.java:1259)
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(
> DefaultMavenProjectBuilder.java:469)
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> DefaultMavenProjectBuilder.java:1135)
> ... 29 more
> Caused by: sun.io.MalformedInputException
> at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java(Compiled Code))
> at sun.nio.cs.StreamDecoder$ConverterSD.convertInto(
> StreamDecoder.java(Inlined Compiled Code))
> at sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder.java(Compiled
> Code))
> at sun.nio.cs.StreamDecoder.read(StreamDecoder.java(Compiled Code))
> at java.io.InputStreamReader.read(InputStreamReader.java(Compiled
> Code))
> at java.io.Reader.read(Reader.java(Inlined Compiled Code))
> at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java(Compiled Code))
> at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:200)
> at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(
> DefaultMavenProjectBuilder.java:1273)
> at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(
> DefaultMavenProjectBuilder.java:1250)
> ... 31 more
> [INFO]
> ------------------------------------------------------------------------[INFO]
> Total time: 14 seconds
> [INFO] Finished at: Fri Apr 07 09:36:22 CDT 2006
> [INFO] Final Memory: 12M/36M
> [INFO]
> ------------------------------------------------------------------------
> gpamu@gpamu3:~/dev/csdpbuild/csdp>
>
> On 4/6/06, Carlos Sanchez <ca...@apache.org> wrote:
> >
> > It's fixed now. You need to delete the poms of that plexus-*
> > components from your local repo so they get downloaded again.
> >
> > On 4/6/06, Gautham Pamu <ga...@gmail.com> wrote:
> > > Hi Carlos and Wayne,
> > >
> > > Do you still want me to open the bug report on
> > > http://jira.codehaus.org/browse or is it already opened. Carlos, can you
> > > tell me on which project I should open
> > > this bug.
> > >
> > > Thanks
> > > Gautham Pamu
> > >
> > >
> > > On 4/5/06, Carlos Sanchez <ca...@apache.org> wrote:
> > > >
> > > > I'm fixing it
> > > >
> > > >
> > > > On 4/5/06, Gautham Pamu <ga...@gmail.com> wrote:
> > > > > There seems to be some special character in the white spaces in
> > pom.xml
> > > > > files for plexus-compiler-manager, plexus-compiler-javac,
> > > > > plexus-compiler-api for 1.5.2
> > > > > version. Could you please fix it as soon as possible and upload to
> > the
> > > > maven
> > > > > repository.
> > > > >
> > > > > Thanks
> > > > > Gautham Pamu
> > > > >
> > > > >
> > > > > On 4/5/06, Wayne Fay <wa...@gmail.com> wrote:
> > > > > > Sounds like a bug report. Try to find the bad character (or other
> > root
> > > > > > cause) and post the issue on JIRA.
> > > > > >
> > > > > > Wayne
> > > > > >
> > > > > >
> > > > > > On 4/5/06, Gautham Pamu <gautham.pamu@gmail.com > wrote:
> > > > > > > Hi Everyone,
> > > > > > >
> > > > > > > There seems to be a problem in the pom.xml files of
> > > > > plexus-compiler-api:jar:
> > > > > > > 1.5.2 and maven-compiler-plugin 2.0.1 is using this version.
> > > > > > >
> > > > > > > I have seem this sun.io.MalformedInputException error while
> > compile
> > > > java
> > > > > > > code if the code has special characters in comments.
> > > > > > > The code is not build on Linux platform as the jvm does not like
> > > > these
> > > > > pom
> > > > > > > files, I think the pom.xml file has some special characters.
> > > > > > >
> > > > > > > When I changed to maven-compiler-plugin 2.0, it worked...
> > > > > > >
> > > > > > > [INFO] Using default encoding to copy filtered resources.
> > > > > > > [INFO]
> > > > >
> > > >
> > ------------------------------------------------------------------------[ERROR]
> > > > > > > BUILD ERROR
> > > > > > > [INFO]
> > > > > > >
> > > > >
> > > >
> > ------------------------------------------------------------------------[INFO]
> > > > > > > Error building POM (may not be this project's POM).
> > > > > > >
> > > > > > >
> > > > > > > Project ID: null:plexus-compiler-api:jar: 1.5.2
> > > > > > >
> > > > > > > Reason: Cannot find parent:
> > > > > org.codehaus.plexus:plexus-compiler for project:
> > > > > > > null:plexus-compiler-api:jar:1.5.2
> > > > > > >
> > > > > > >
> > > > > > > [INFO]
> > > > > > >
> > > > >
> > > >
> > ------------------------------------------------------------------------[INFO]
> > > > > > > Trace
> > > > > > > org.apache.maven.lifecycle.LifecycleExecutionException:
> > > > > Unable to get
> > > > > > > dependency information: Unable to read the metadata file for
> > > > artifact '
> > > > > > > org.codehaus.plexus:plexus-compiler-api:jar ': Cannot
> > > > > find parent:
> > > > > > > org.codehaus.plexus:plexus-compiler for project:
> > > > > > > null:plexus-compiler-api:jar:1.5.2
> > > > > > > org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
> > > > > > >
> > > > > > > from the specified remote repositories:
> > > > > > > central (http://repo1.maven.org/maven2 ),
> > > > > > > apache.snapshots
> > > > > (http://svn.apache.org/maven-snapshot-repository ),
> > > > > > > snapshots (http://snapshots.maven.codehaus.org/maven2
> > > > > )
> > > > > > > Path to dependency:
> > > > > > > 1)
> > > > > org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
> > > > > > >
> > > > > > >
> > > > > > > at
> > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > > > > > > DefaultLifecycleExecutor.java :551)
> > > > > > > at
> > > > > > >
> > > > >
> > > >
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> > > > > > > (DefaultLifecycleExecutor.java:475)
> > > > > > > at
> > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> > > > > > > DefaultLifecycleExecutor.java :454)
> > > > > > > at
> > > > > > >
> > > > >
> > > >
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> > > > > > > (DefaultLifecycleExecutor.java:306)
> > > > > > > at
> > > > > > >
> > > > >
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
> > > > > (
> > > > > > > DefaultLifecycleExecutor.java:273)
> > > > > > > at
> > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> > > > > (
> > > > > > > DefaultLifecycleExecutor.java:140)
> > > > > > > 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:256)
> > > > > > > at
> > > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > > > > > > NativeMethodAccessorImpl.java :85)
> > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > > > > > > NativeMethodAccessorImpl.java:58)
> > > > > > > at
> > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke (
> > > > > > > DelegatingMethodAccessorImpl.java:60)
> > > > > > > at java.lang.reflect.Method.invoke(Method.java:391)
> > > > > > > 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.artifact.resolver.ArtifactResolutionException
> > > > > :
> > > > > > > Unable to get dependency information: Unable to read the
> > metadata
> > > > file
> > > > > for
> > > > > > > artifact 'org.codehaus.plexus:plexus-compiler-api:jar':
> > > > > Cannot find parent:
> > > > > > > org.codehaus.plexus:plexus-compiler for project:
> > > > > > > null:plexus-compiler-api:jar: 1.5.2
> > > > > > > org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
> > > > > > >
> > > > > > > from the specified remote repositories:
> > > > > > > central (http://repo1.maven.org/maven2 ),
> > > > > > > apache.snapshots (
> > > > > http://svn.apache.org/maven-snapshot-repository),
> > > > > > > snapshots (http://snapshots.maven.codehaus.org/maven2
> > > > > )
> > > > > > > Path to dependency:
> > > > > > > 1)
> > > > > org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
> > > > > > >
> > > > > > >
> > > > > > > at
> > > > > > >
> > > > > org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse
> > > > > (
> > > > > > > DefaultArtifactCollector.java :297)
> > > > > > > at
> > > > > > >
> > > > > org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(
> > > > > > > DefaultArtifactCollector.java(Compiled Code))
> > > > > > > at
> > > > > > >
> > > > >
> > > >
> > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> > > > (
> > > > > > > DefaultArtifactResolver.java:223)
> > > > > > > at
> > > > > > >
> > > > >
> > > >
> > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> > > > > > > (DefaultArtifactResolver.java:211)
> > > > > > > at
> > > > > > >
> > > > >
> > > >
> > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> > > > (
> > > > > > > DefaultArtifactResolver.java:182)
> > > > > > > at
> > > > > > >
> > > > >
> > > >
> > org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComplete
> > > > > > > (DefaultPluginManager.java:608)
> > > > > > > at
> > > > > org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo
> > > > > (
> > > > > > > DefaultPluginManager.java:519)
> > > > > > > at
> > > > > org.apache.maven.plugin.DefaultPluginManager.executeMojo
> > > > > (
> > > > > > > DefaultPluginManager.java:390)
> > > > > > > at
> > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > > > > > > DefaultLifecycleExecutor.java :534)
> > > > > > > ... 17 more
> > > > > > > Caused by:
> > > > > > >
> > > > >
> > org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException:
> > > > > > > Unable to read the metadata file for artifact '
> > > > > > > org.codehaus.plexus:plexus-compiler-api:jar': Cannot
> > > > > find parent:
> > > > > > > org.codehaus.plexus:plexus-compiler for project:
> > > > > > > null:plexus-compiler-api:jar:1.5.2
> > > > > > > at
> > > > > org.apache.maven.project.artifact.MavenMetadataSource.retrieve(
> > > > > > > MavenMetadataSource.java:131)
> > > > > > > at
> > > > > > >
> > > > > org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse
> > > > > (
> > > > > > > DefaultArtifactCollector.java:275)
> > > > > > > ... 25 more
> > > > > > > Caused by:
> > > > > org.apache.maven.project.ProjectBuildingException: Cannot
> > > > > find
> > > > > > > parent: org.codehaus.plexus:plexus-compiler for
> > > > > project:
> > > > > > > null:plexus-compiler-api:jar: 1.5.2
> > > > > > > at
> > > > > > >
> > > > > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> > > > > > > DefaultMavenProjectBuilder.java:1139)
> > > > > > > at
> > > > > org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal
> > > > > > > (DefaultMavenProjectBuilder.java :672)
> > > > > > > at
> > > > > > >
> > > > >
> > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(
> > > > > > > DefaultMavenProjectBuilder.java:225)
> > > > > > > at
> > > > > org.apache.maven.project.artifact.MavenMetadataSource.retrieve
> > > > > (
> > > > > > > MavenMetadataSource.java :102)
> > > > > > > ... 26 more
> > > > > > > Caused by:
> > > > > org.apache.maven.project.ProjectBuildingException: Failed
> > > > > to
> > > > > > > build model from file
> > > > > > >
> > > > >
> > > >
> > '/home/gpamu/.m2/repository/org/codehaus/plexus/plexus-compiler/1.5.2/plexus-
> > > > > > > compiler-1.5.2.pom '.
> > > > > > > Error: 'null'
> > > > > > > at
> > > > > org.apache.maven.project.DefaultMavenProjectBuilder.readModel(
> > > > > > > DefaultMavenProjectBuilder.java:1259)
> > > > > > > at
> > > > > > >
> > > > >
> > > >
> > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository
> > > > > (
> > > > > > > DefaultMavenProjectBuilder.java:469)
> > > > > > > at
> > > > > > >
> > > > > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> > > > > > > DefaultMavenProjectBuilder.java:1135)
> > > > > > > ... 29 more
> > > > > > > Caused by: sun.io.MalformedInputException
> > > > > > > at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java
> > (Compiled
> > > > > Code))
> > > > > > > at
> > > > > sun.nio.cs.StreamDecoder$ConverterSD.convertInto(
> > > > > > > StreamDecoder.java(Inlined Compiled Code))
> > > > > > > at sun.nio.cs.StreamDecoder$ConverterSD.implRead
> > > > > > > (StreamDecoder.java(Compiled
> > > > > > > Code))
> > > > > > > at sun.nio.cs.StreamDecoder.read(StreamDecoder.java
> > (Compiled
> > > > > Code))
> > > > > > > at java.io.InputStreamReader.read
> > > > > (InputStreamReader.java(Compiled
> > > > > > > Code))
> > > > > > > at java.io.Reader.read (Reader.java(Inlined Compiled
> > Code))
> > > > > > > at
> > > > > org.codehaus.plexus.util.IOUtil.copy(IOUtil.java(Compiled
> > > > > Code))
> > > > > > > at
> > > > > org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:200)
> > > > > > > at
> > > > > org.apache.maven.project.DefaultMavenProjectBuilder.readModel
> > > > > (
> > > > > > > DefaultMavenProjectBuilder.java:1273)
> > > > > > > at
> > > > > org.apache.maven.project.DefaultMavenProjectBuilder.readModel
> > > > > (
> > > > > > > DefaultMavenProjectBuilder.java:1250)
> > > > > > > ... 31 more
> > > > > > > [INFO]
> > > > > > >
> > > > >
> > > >
> > ------------------------------------------------------------------------[INFO]
> > > > > > > Total time: 13 seconds
> > > > > > > [INFO] Finished at: Wed Apr 05 11:30:30 CDT 2006
> > > > > > > [INFO] Final Memory: 12M/36M
> > > > > > >
> > > > > > > --
> > > > > > > -Gautham Pamu
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > -Gautham Pamu
> > > > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > I could give you my word as a Spaniard.
> > > > No good. I've known too many Spaniards.
> > > > -- The Princess Bride
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> > >
> > > --
> > > -Gautham Pamu
> > >
> > >
> >
> >
> > --
> > I could give you my word as a Spaniard.
> > No good. I've known too many Spaniards.
> > -- The Princess Bride
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> --
> -Gautham Pamu
>
>
--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
-- The Princess Bride
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: m2 unable to build on linux with maven-compiler-plugin 2.0.1 version
Posted by Gautham Pamu <ga...@gmail.com>.
HI Carlos,
I removed the plexus-compiler-api, plexus-compiler-manager and
plexus-compiler-javac. I am still getting the same error...
[INFO]
------------------------------------------------------------------------[ERROR]
BUILD ERROR
[INFO]
------------------------------------------------------------------------[INFO]
Error building POM (may not be this project's POM).
Project ID: null:plexus-compiler-api:jar:1.5.2
Reason: Cannot find parent: org.codehaus.plexus:plexus-compiler for project:
null:plexus-compiler-api:jar:1.5.2
[INFO]
------------------------------------------------------------------------[INFO]
Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get
dependency information: Unable to read the metadata file for artifact '
org.codehaus.plexus:plexus-compiler-api:jar': Cannot find parent:
org.codehaus.plexus:plexus-compiler for project:
null:plexus-compiler-api:jar:1.5.2
org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
snapshots (http://snapshots.maven.codehaus.org/maven2)
Path to dependency:
1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:551)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:475)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:454)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:273)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:140)
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:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
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.artifact.resolver.ArtifactResolutionException:
Unable to get dependency information: Unable to read the metadata file for
artifact 'org.codehaus.plexus:plexus-compiler-api:jar': Cannot find parent:
org.codehaus.plexus:plexus-compiler for project:
null:plexus-compiler-api:jar:1.5.2
org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
snapshots (http://snapshots.maven.codehaus.org/maven2)
Path to dependency:
1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(
DefaultArtifactCollector.java:297)
at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(
DefaultArtifactCollector.java(Compiled Code))
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
(DefaultArtifactResolver.java:223)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
(DefaultArtifactResolver.java:211)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
(DefaultArtifactResolver.java:182)
at
org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComplete
(DefaultPluginManager.java:608)
at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(
DefaultPluginManager.java:519)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:390)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:534)
... 17 more
Caused by:
org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException:
Unable to read the metadata file for artifact '
org.codehaus.plexus:plexus-compiler-api:jar': Cannot find parent:
org.codehaus.plexus:plexus-compiler for project:
null:plexus-compiler-api:jar:1.5.2
at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(
MavenMetadataSource.java:131)
at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(
DefaultArtifactCollector.java:275)
... 25 more
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find
parent: org.codehaus.plexus:plexus-compiler for project:
null:plexus-compiler-api:jar:1.5.2
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
DefaultMavenProjectBuilder.java:1139)
at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal
(DefaultMavenProjectBuilder.java:672)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(
DefaultMavenProjectBuilder.java:225)
at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(
MavenMetadataSource.java:102)
... 26 more
Caused by: org.apache.maven.project.ProjectBuildingException: Failed to
build model from file
'/home/gpamu/.m2/repository/org/codehaus/plexus/plexus-compiler/1.5.2/plexus-
compiler-1.5.2.pom'.
Error: 'null'
at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(
DefaultMavenProjectBuilder.java:1259)
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(
DefaultMavenProjectBuilder.java:469)
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
DefaultMavenProjectBuilder.java:1135)
... 29 more
Caused by: sun.io.MalformedInputException
at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java(Compiled Code))
at sun.nio.cs.StreamDecoder$ConverterSD.convertInto(
StreamDecoder.java(Inlined Compiled Code))
at sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder.java(Compiled
Code))
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java(Compiled Code))
at java.io.InputStreamReader.read(InputStreamReader.java(Compiled
Code))
at java.io.Reader.read(Reader.java(Inlined Compiled Code))
at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java(Compiled Code))
at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:200)
at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(
DefaultMavenProjectBuilder.java:1273)
at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(
DefaultMavenProjectBuilder.java:1250)
... 31 more
[INFO]
------------------------------------------------------------------------[INFO]
Total time: 14 seconds
[INFO] Finished at: Fri Apr 07 09:36:22 CDT 2006
[INFO] Final Memory: 12M/36M
[INFO]
------------------------------------------------------------------------
gpamu@gpamu3:~/dev/csdpbuild/csdp>
On 4/6/06, Carlos Sanchez <ca...@apache.org> wrote:
>
> It's fixed now. You need to delete the poms of that plexus-*
> components from your local repo so they get downloaded again.
>
> On 4/6/06, Gautham Pamu <ga...@gmail.com> wrote:
> > Hi Carlos and Wayne,
> >
> > Do you still want me to open the bug report on
> > http://jira.codehaus.org/browse or is it already opened. Carlos, can you
> > tell me on which project I should open
> > this bug.
> >
> > Thanks
> > Gautham Pamu
> >
> >
> > On 4/5/06, Carlos Sanchez <ca...@apache.org> wrote:
> > >
> > > I'm fixing it
> > >
> > >
> > > On 4/5/06, Gautham Pamu <ga...@gmail.com> wrote:
> > > > There seems to be some special character in the white spaces in
> pom.xml
> > > > files for plexus-compiler-manager, plexus-compiler-javac,
> > > > plexus-compiler-api for 1.5.2
> > > > version. Could you please fix it as soon as possible and upload to
> the
> > > maven
> > > > repository.
> > > >
> > > > Thanks
> > > > Gautham Pamu
> > > >
> > > >
> > > > On 4/5/06, Wayne Fay <wa...@gmail.com> wrote:
> > > > > Sounds like a bug report. Try to find the bad character (or other
> root
> > > > > cause) and post the issue on JIRA.
> > > > >
> > > > > Wayne
> > > > >
> > > > >
> > > > > On 4/5/06, Gautham Pamu <gautham.pamu@gmail.com > wrote:
> > > > > > Hi Everyone,
> > > > > >
> > > > > > There seems to be a problem in the pom.xml files of
> > > > plexus-compiler-api:jar:
> > > > > > 1.5.2 and maven-compiler-plugin 2.0.1 is using this version.
> > > > > >
> > > > > > I have seem this sun.io.MalformedInputException error while
> compile
> > > java
> > > > > > code if the code has special characters in comments.
> > > > > > The code is not build on Linux platform as the jvm does not like
> > > these
> > > > pom
> > > > > > files, I think the pom.xml file has some special characters.
> > > > > >
> > > > > > When I changed to maven-compiler-plugin 2.0, it worked...
> > > > > >
> > > > > > [INFO] Using default encoding to copy filtered resources.
> > > > > > [INFO]
> > > >
> > >
> ------------------------------------------------------------------------[ERROR]
> > > > > > BUILD ERROR
> > > > > > [INFO]
> > > > > >
> > > >
> > >
> ------------------------------------------------------------------------[INFO]
> > > > > > Error building POM (may not be this project's POM).
> > > > > >
> > > > > >
> > > > > > Project ID: null:plexus-compiler-api:jar: 1.5.2
> > > > > >
> > > > > > Reason: Cannot find parent:
> > > > org.codehaus.plexus:plexus-compiler for project:
> > > > > > null:plexus-compiler-api:jar:1.5.2
> > > > > >
> > > > > >
> > > > > > [INFO]
> > > > > >
> > > >
> > >
> ------------------------------------------------------------------------[INFO]
> > > > > > Trace
> > > > > > org.apache.maven.lifecycle.LifecycleExecutionException:
> > > > Unable to get
> > > > > > dependency information: Unable to read the metadata file for
> > > artifact '
> > > > > > org.codehaus.plexus:plexus-compiler-api:jar ': Cannot
> > > > find parent:
> > > > > > org.codehaus.plexus:plexus-compiler for project:
> > > > > > null:plexus-compiler-api:jar:1.5.2
> > > > > > org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
> > > > > >
> > > > > > from the specified remote repositories:
> > > > > > central (http://repo1.maven.org/maven2 ),
> > > > > > apache.snapshots
> > > > (http://svn.apache.org/maven-snapshot-repository ),
> > > > > > snapshots (http://snapshots.maven.codehaus.org/maven2
> > > > )
> > > > > > Path to dependency:
> > > > > > 1)
> > > > org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
> > > > > >
> > > > > >
> > > > > > at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > > > > > DefaultLifecycleExecutor.java :551)
> > > > > > at
> > > > > >
> > > >
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> > > > > > (DefaultLifecycleExecutor.java:475)
> > > > > > at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> > > > > > DefaultLifecycleExecutor.java :454)
> > > > > > at
> > > > > >
> > > >
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> > > > > > (DefaultLifecycleExecutor.java:306)
> > > > > > at
> > > > > >
> > > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
> > > > (
> > > > > > DefaultLifecycleExecutor.java:273)
> > > > > > at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> > > > (
> > > > > > DefaultLifecycleExecutor.java:140)
> > > > > > 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:256)
> > > > > > at
> > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > > > > > NativeMethodAccessorImpl.java :85)
> > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > > > > > NativeMethodAccessorImpl.java:58)
> > > > > > at
> > > > sun.reflect.DelegatingMethodAccessorImpl.invoke (
> > > > > > DelegatingMethodAccessorImpl.java:60)
> > > > > > at java.lang.reflect.Method.invoke(Method.java:391)
> > > > > > 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.artifact.resolver.ArtifactResolutionException
> > > > :
> > > > > > Unable to get dependency information: Unable to read the
> metadata
> > > file
> > > > for
> > > > > > artifact 'org.codehaus.plexus:plexus-compiler-api:jar':
> > > > Cannot find parent:
> > > > > > org.codehaus.plexus:plexus-compiler for project:
> > > > > > null:plexus-compiler-api:jar: 1.5.2
> > > > > > org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
> > > > > >
> > > > > > from the specified remote repositories:
> > > > > > central (http://repo1.maven.org/maven2 ),
> > > > > > apache.snapshots (
> > > > http://svn.apache.org/maven-snapshot-repository),
> > > > > > snapshots (http://snapshots.maven.codehaus.org/maven2
> > > > )
> > > > > > Path to dependency:
> > > > > > 1)
> > > > org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
> > > > > >
> > > > > >
> > > > > > at
> > > > > >
> > > > org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse
> > > > (
> > > > > > DefaultArtifactCollector.java :297)
> > > > > > at
> > > > > >
> > > > org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(
> > > > > > DefaultArtifactCollector.java(Compiled Code))
> > > > > > at
> > > > > >
> > > >
> > >
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> > > (
> > > > > > DefaultArtifactResolver.java:223)
> > > > > > at
> > > > > >
> > > >
> > >
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> > > > > > (DefaultArtifactResolver.java:211)
> > > > > > at
> > > > > >
> > > >
> > >
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> > > (
> > > > > > DefaultArtifactResolver.java:182)
> > > > > > at
> > > > > >
> > > >
> > >
> org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComplete
> > > > > > (DefaultPluginManager.java:608)
> > > > > > at
> > > > org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo
> > > > (
> > > > > > DefaultPluginManager.java:519)
> > > > > > at
> > > > org.apache.maven.plugin.DefaultPluginManager.executeMojo
> > > > (
> > > > > > DefaultPluginManager.java:390)
> > > > > > at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > > > > > DefaultLifecycleExecutor.java :534)
> > > > > > ... 17 more
> > > > > > Caused by:
> > > > > >
> > > >
> org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException:
> > > > > > Unable to read the metadata file for artifact '
> > > > > > org.codehaus.plexus:plexus-compiler-api:jar': Cannot
> > > > find parent:
> > > > > > org.codehaus.plexus:plexus-compiler for project:
> > > > > > null:plexus-compiler-api:jar:1.5.2
> > > > > > at
> > > > org.apache.maven.project.artifact.MavenMetadataSource.retrieve(
> > > > > > MavenMetadataSource.java:131)
> > > > > > at
> > > > > >
> > > > org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse
> > > > (
> > > > > > DefaultArtifactCollector.java:275)
> > > > > > ... 25 more
> > > > > > Caused by:
> > > > org.apache.maven.project.ProjectBuildingException: Cannot
> > > > find
> > > > > > parent: org.codehaus.plexus:plexus-compiler for
> > > > project:
> > > > > > null:plexus-compiler-api:jar: 1.5.2
> > > > > > at
> > > > > >
> > > > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> > > > > > DefaultMavenProjectBuilder.java:1139)
> > > > > > at
> > > > org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal
> > > > > > (DefaultMavenProjectBuilder.java :672)
> > > > > > at
> > > > > >
> > > >
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(
> > > > > > DefaultMavenProjectBuilder.java:225)
> > > > > > at
> > > > org.apache.maven.project.artifact.MavenMetadataSource.retrieve
> > > > (
> > > > > > MavenMetadataSource.java :102)
> > > > > > ... 26 more
> > > > > > Caused by:
> > > > org.apache.maven.project.ProjectBuildingException: Failed
> > > > to
> > > > > > build model from file
> > > > > >
> > > >
> > >
> '/home/gpamu/.m2/repository/org/codehaus/plexus/plexus-compiler/1.5.2/plexus-
> > > > > > compiler-1.5.2.pom '.
> > > > > > Error: 'null'
> > > > > > at
> > > > org.apache.maven.project.DefaultMavenProjectBuilder.readModel(
> > > > > > DefaultMavenProjectBuilder.java:1259)
> > > > > > at
> > > > > >
> > > >
> > >
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository
> > > > (
> > > > > > DefaultMavenProjectBuilder.java:469)
> > > > > > at
> > > > > >
> > > > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> > > > > > DefaultMavenProjectBuilder.java:1135)
> > > > > > ... 29 more
> > > > > > Caused by: sun.io.MalformedInputException
> > > > > > at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java
> (Compiled
> > > > Code))
> > > > > > at
> > > > sun.nio.cs.StreamDecoder$ConverterSD.convertInto(
> > > > > > StreamDecoder.java(Inlined Compiled Code))
> > > > > > at sun.nio.cs.StreamDecoder$ConverterSD.implRead
> > > > > > (StreamDecoder.java(Compiled
> > > > > > Code))
> > > > > > at sun.nio.cs.StreamDecoder.read(StreamDecoder.java
> (Compiled
> > > > Code))
> > > > > > at java.io.InputStreamReader.read
> > > > (InputStreamReader.java(Compiled
> > > > > > Code))
> > > > > > at java.io.Reader.read (Reader.java(Inlined Compiled
> Code))
> > > > > > at
> > > > org.codehaus.plexus.util.IOUtil.copy(IOUtil.java(Compiled
> > > > Code))
> > > > > > at
> > > > org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:200)
> > > > > > at
> > > > org.apache.maven.project.DefaultMavenProjectBuilder.readModel
> > > > (
> > > > > > DefaultMavenProjectBuilder.java:1273)
> > > > > > at
> > > > org.apache.maven.project.DefaultMavenProjectBuilder.readModel
> > > > (
> > > > > > DefaultMavenProjectBuilder.java:1250)
> > > > > > ... 31 more
> > > > > > [INFO]
> > > > > >
> > > >
> > >
> ------------------------------------------------------------------------[INFO]
> > > > > > Total time: 13 seconds
> > > > > > [INFO] Finished at: Wed Apr 05 11:30:30 CDT 2006
> > > > > > [INFO] Final Memory: 12M/36M
> > > > > >
> > > > > > --
> > > > > > -Gautham Pamu
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > -Gautham Pamu
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> > >
> > > --
> > > I could give you my word as a Spaniard.
> > > No good. I've known too many Spaniards.
> > > -- The Princess Bride
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> >
> > --
> > -Gautham Pamu
> >
> >
>
>
> --
> I could give you my word as a Spaniard.
> No good. I've known too many Spaniards.
> -- The Princess Bride
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
-Gautham Pamu
Re: m2 unable to build on linux with maven-compiler-plugin 2.0.1 version
Posted by Carlos Sanchez <ca...@apache.org>.
It's fixed now. You need to delete the poms of that plexus-*
components from your local repo so they get downloaded again.
On 4/6/06, Gautham Pamu <ga...@gmail.com> wrote:
> Hi Carlos and Wayne,
>
> Do you still want me to open the bug report on
> http://jira.codehaus.org/browse or is it already opened. Carlos, can you
> tell me on which project I should open
> this bug.
>
> Thanks
> Gautham Pamu
>
>
> On 4/5/06, Carlos Sanchez <ca...@apache.org> wrote:
> >
> > I'm fixing it
> >
> >
> > On 4/5/06, Gautham Pamu <ga...@gmail.com> wrote:
> > > There seems to be some special character in the white spaces in pom.xml
> > > files for plexus-compiler-manager, plexus-compiler-javac,
> > > plexus-compiler-api for 1.5.2
> > > version. Could you please fix it as soon as possible and upload to the
> > maven
> > > repository.
> > >
> > > Thanks
> > > Gautham Pamu
> > >
> > >
> > > On 4/5/06, Wayne Fay <wa...@gmail.com> wrote:
> > > > Sounds like a bug report. Try to find the bad character (or other root
> > > > cause) and post the issue on JIRA.
> > > >
> > > > Wayne
> > > >
> > > >
> > > > On 4/5/06, Gautham Pamu <gautham.pamu@gmail.com > wrote:
> > > > > Hi Everyone,
> > > > >
> > > > > There seems to be a problem in the pom.xml files of
> > > plexus-compiler-api:jar:
> > > > > 1.5.2 and maven-compiler-plugin 2.0.1 is using this version.
> > > > >
> > > > > I have seem this sun.io.MalformedInputException error while compile
> > java
> > > > > code if the code has special characters in comments.
> > > > > The code is not build on Linux platform as the jvm does not like
> > these
> > > pom
> > > > > files, I think the pom.xml file has some special characters.
> > > > >
> > > > > When I changed to maven-compiler-plugin 2.0, it worked...
> > > > >
> > > > > [INFO] Using default encoding to copy filtered resources.
> > > > > [INFO]
> > >
> > ------------------------------------------------------------------------[ERROR]
> > > > > BUILD ERROR
> > > > > [INFO]
> > > > >
> > >
> > ------------------------------------------------------------------------[INFO]
> > > > > Error building POM (may not be this project's POM).
> > > > >
> > > > >
> > > > > Project ID: null:plexus-compiler-api:jar: 1.5.2
> > > > >
> > > > > Reason: Cannot find parent:
> > > org.codehaus.plexus:plexus-compiler for project:
> > > > > null:plexus-compiler-api:jar:1.5.2
> > > > >
> > > > >
> > > > > [INFO]
> > > > >
> > >
> > ------------------------------------------------------------------------[INFO]
> > > > > Trace
> > > > > org.apache.maven.lifecycle.LifecycleExecutionException:
> > > Unable to get
> > > > > dependency information: Unable to read the metadata file for
> > artifact '
> > > > > org.codehaus.plexus:plexus-compiler-api:jar ': Cannot
> > > find parent:
> > > > > org.codehaus.plexus:plexus-compiler for project:
> > > > > null:plexus-compiler-api:jar:1.5.2
> > > > > org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
> > > > >
> > > > > from the specified remote repositories:
> > > > > central (http://repo1.maven.org/maven2 ),
> > > > > apache.snapshots
> > > (http://svn.apache.org/maven-snapshot-repository ),
> > > > > snapshots (http://snapshots.maven.codehaus.org/maven2
> > > )
> > > > > Path to dependency:
> > > > > 1)
> > > org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
> > > > >
> > > > >
> > > > > at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > > > > DefaultLifecycleExecutor.java :551)
> > > > > at
> > > > >
> > >
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> > > > > (DefaultLifecycleExecutor.java:475)
> > > > > at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> > > > > DefaultLifecycleExecutor.java :454)
> > > > > at
> > > > >
> > >
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> > > > > (DefaultLifecycleExecutor.java:306)
> > > > > at
> > > > >
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
> > > (
> > > > > DefaultLifecycleExecutor.java:273)
> > > > > at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> > > (
> > > > > DefaultLifecycleExecutor.java:140)
> > > > > 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:256)
> > > > > at
> > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > > > > NativeMethodAccessorImpl.java :85)
> > > > > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > > > > NativeMethodAccessorImpl.java:58)
> > > > > at
> > > sun.reflect.DelegatingMethodAccessorImpl.invoke (
> > > > > DelegatingMethodAccessorImpl.java:60)
> > > > > at java.lang.reflect.Method.invoke(Method.java:391)
> > > > > 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.artifact.resolver.ArtifactResolutionException
> > > :
> > > > > Unable to get dependency information: Unable to read the metadata
> > file
> > > for
> > > > > artifact 'org.codehaus.plexus:plexus-compiler-api:jar':
> > > Cannot find parent:
> > > > > org.codehaus.plexus:plexus-compiler for project:
> > > > > null:plexus-compiler-api:jar: 1.5.2
> > > > > org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
> > > > >
> > > > > from the specified remote repositories:
> > > > > central (http://repo1.maven.org/maven2 ),
> > > > > apache.snapshots (
> > > http://svn.apache.org/maven-snapshot-repository),
> > > > > snapshots (http://snapshots.maven.codehaus.org/maven2
> > > )
> > > > > Path to dependency:
> > > > > 1)
> > > org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
> > > > >
> > > > >
> > > > > at
> > > > >
> > > org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse
> > > (
> > > > > DefaultArtifactCollector.java :297)
> > > > > at
> > > > >
> > > org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(
> > > > > DefaultArtifactCollector.java(Compiled Code))
> > > > > at
> > > > >
> > >
> > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> > (
> > > > > DefaultArtifactResolver.java:223)
> > > > > at
> > > > >
> > >
> > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> > > > > (DefaultArtifactResolver.java:211)
> > > > > at
> > > > >
> > >
> > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> > (
> > > > > DefaultArtifactResolver.java:182)
> > > > > at
> > > > >
> > >
> > org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComplete
> > > > > (DefaultPluginManager.java:608)
> > > > > at
> > > org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo
> > > (
> > > > > DefaultPluginManager.java:519)
> > > > > at
> > > org.apache.maven.plugin.DefaultPluginManager.executeMojo
> > > (
> > > > > DefaultPluginManager.java:390)
> > > > > at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > > > > DefaultLifecycleExecutor.java :534)
> > > > > ... 17 more
> > > > > Caused by:
> > > > >
> > > org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException:
> > > > > Unable to read the metadata file for artifact '
> > > > > org.codehaus.plexus:plexus-compiler-api:jar': Cannot
> > > find parent:
> > > > > org.codehaus.plexus:plexus-compiler for project:
> > > > > null:plexus-compiler-api:jar:1.5.2
> > > > > at
> > > org.apache.maven.project.artifact.MavenMetadataSource.retrieve(
> > > > > MavenMetadataSource.java:131)
> > > > > at
> > > > >
> > > org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse
> > > (
> > > > > DefaultArtifactCollector.java:275)
> > > > > ... 25 more
> > > > > Caused by:
> > > org.apache.maven.project.ProjectBuildingException: Cannot
> > > find
> > > > > parent: org.codehaus.plexus:plexus-compiler for
> > > project:
> > > > > null:plexus-compiler-api:jar: 1.5.2
> > > > > at
> > > > >
> > > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> > > > > DefaultMavenProjectBuilder.java:1139)
> > > > > at
> > > org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal
> > > > > (DefaultMavenProjectBuilder.java :672)
> > > > > at
> > > > >
> > > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(
> > > > > DefaultMavenProjectBuilder.java:225)
> > > > > at
> > > org.apache.maven.project.artifact.MavenMetadataSource.retrieve
> > > (
> > > > > MavenMetadataSource.java :102)
> > > > > ... 26 more
> > > > > Caused by:
> > > org.apache.maven.project.ProjectBuildingException: Failed
> > > to
> > > > > build model from file
> > > > >
> > >
> > '/home/gpamu/.m2/repository/org/codehaus/plexus/plexus-compiler/1.5.2/plexus-
> > > > > compiler-1.5.2.pom '.
> > > > > Error: 'null'
> > > > > at
> > > org.apache.maven.project.DefaultMavenProjectBuilder.readModel(
> > > > > DefaultMavenProjectBuilder.java:1259)
> > > > > at
> > > > >
> > >
> > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository
> > > (
> > > > > DefaultMavenProjectBuilder.java:469)
> > > > > at
> > > > >
> > > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> > > > > DefaultMavenProjectBuilder.java:1135)
> > > > > ... 29 more
> > > > > Caused by: sun.io.MalformedInputException
> > > > > at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java(Compiled
> > > Code))
> > > > > at
> > > sun.nio.cs.StreamDecoder$ConverterSD.convertInto(
> > > > > StreamDecoder.java(Inlined Compiled Code))
> > > > > at sun.nio.cs.StreamDecoder$ConverterSD.implRead
> > > > > (StreamDecoder.java(Compiled
> > > > > Code))
> > > > > at sun.nio.cs.StreamDecoder.read(StreamDecoder.java(Compiled
> > > Code))
> > > > > at java.io.InputStreamReader.read
> > > (InputStreamReader.java(Compiled
> > > > > Code))
> > > > > at java.io.Reader.read (Reader.java(Inlined Compiled Code))
> > > > > at
> > > org.codehaus.plexus.util.IOUtil.copy(IOUtil.java(Compiled
> > > Code))
> > > > > at
> > > org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:200)
> > > > > at
> > > org.apache.maven.project.DefaultMavenProjectBuilder.readModel
> > > (
> > > > > DefaultMavenProjectBuilder.java:1273)
> > > > > at
> > > org.apache.maven.project.DefaultMavenProjectBuilder.readModel
> > > (
> > > > > DefaultMavenProjectBuilder.java:1250)
> > > > > ... 31 more
> > > > > [INFO]
> > > > >
> > >
> > ------------------------------------------------------------------------[INFO]
> > > > > Total time: 13 seconds
> > > > > [INFO] Finished at: Wed Apr 05 11:30:30 CDT 2006
> > > > > [INFO] Final Memory: 12M/36M
> > > > >
> > > > > --
> > > > > -Gautham Pamu
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > -Gautham Pamu
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> >
> > --
> > I could give you my word as a Spaniard.
> > No good. I've known too many Spaniards.
> > -- The Princess Bride
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> --
> -Gautham Pamu
>
>
--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
-- The Princess Bride
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: m2 unable to build on linux with maven-compiler-plugin 2.0.1 version
Posted by Gautham Pamu <ga...@gmail.com>.
Hi Carlos and Wayne,
Do you still want me to open the bug report on
http://jira.codehaus.org/browse or is it already opened. Carlos, can you
tell me on which project I should open
this bug.
Thanks
Gautham Pamu
On 4/5/06, Carlos Sanchez <ca...@apache.org> wrote:
>
> I'm fixing it
>
>
> On 4/5/06, Gautham Pamu <ga...@gmail.com> wrote:
> > There seems to be some special character in the white spaces in pom.xml
> > files for plexus-compiler-manager, plexus-compiler-javac,
> > plexus-compiler-api for 1.5.2
> > version. Could you please fix it as soon as possible and upload to the
> maven
> > repository.
> >
> > Thanks
> > Gautham Pamu
> >
> >
> > On 4/5/06, Wayne Fay <wa...@gmail.com> wrote:
> > > Sounds like a bug report. Try to find the bad character (or other root
> > > cause) and post the issue on JIRA.
> > >
> > > Wayne
> > >
> > >
> > > On 4/5/06, Gautham Pamu <gautham.pamu@gmail.com > wrote:
> > > > Hi Everyone,
> > > >
> > > > There seems to be a problem in the pom.xml files of
> > plexus-compiler-api:jar:
> > > > 1.5.2 and maven-compiler-plugin 2.0.1 is using this version.
> > > >
> > > > I have seem this sun.io.MalformedInputException error while compile
> java
> > > > code if the code has special characters in comments.
> > > > The code is not build on Linux platform as the jvm does not like
> these
> > pom
> > > > files, I think the pom.xml file has some special characters.
> > > >
> > > > When I changed to maven-compiler-plugin 2.0, it worked...
> > > >
> > > > [INFO] Using default encoding to copy filtered resources.
> > > > [INFO]
> >
> ------------------------------------------------------------------------[ERROR]
> > > > BUILD ERROR
> > > > [INFO]
> > > >
> >
> ------------------------------------------------------------------------[INFO]
> > > > Error building POM (may not be this project's POM).
> > > >
> > > >
> > > > Project ID: null:plexus-compiler-api:jar: 1.5.2
> > > >
> > > > Reason: Cannot find parent:
> > org.codehaus.plexus:plexus-compiler for project:
> > > > null:plexus-compiler-api:jar:1.5.2
> > > >
> > > >
> > > > [INFO]
> > > >
> >
> ------------------------------------------------------------------------[INFO]
> > > > Trace
> > > > org.apache.maven.lifecycle.LifecycleExecutionException:
> > Unable to get
> > > > dependency information: Unable to read the metadata file for
> artifact '
> > > > org.codehaus.plexus:plexus-compiler-api:jar ': Cannot
> > find parent:
> > > > org.codehaus.plexus:plexus-compiler for project:
> > > > null:plexus-compiler-api:jar:1.5.2
> > > > org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
> > > >
> > > > from the specified remote repositories:
> > > > central (http://repo1.maven.org/maven2 ),
> > > > apache.snapshots
> > (http://svn.apache.org/maven-snapshot-repository ),
> > > > snapshots (http://snapshots.maven.codehaus.org/maven2
> > )
> > > > Path to dependency:
> > > > 1)
> > org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
> > > >
> > > >
> > > > at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > > > DefaultLifecycleExecutor.java :551)
> > > > at
> > > >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> > > > (DefaultLifecycleExecutor.java:475)
> > > > at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> > > > DefaultLifecycleExecutor.java :454)
> > > > at
> > > >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> > > > (DefaultLifecycleExecutor.java:306)
> > > > at
> > > >
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
> > (
> > > > DefaultLifecycleExecutor.java:273)
> > > > at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> > (
> > > > DefaultLifecycleExecutor.java:140)
> > > > 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:256)
> > > > at
> > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > > > NativeMethodAccessorImpl.java :85)
> > > > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > > > NativeMethodAccessorImpl.java:58)
> > > > at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke (
> > > > DelegatingMethodAccessorImpl.java:60)
> > > > at java.lang.reflect.Method.invoke(Method.java:391)
> > > > 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.artifact.resolver.ArtifactResolutionException
> > :
> > > > Unable to get dependency information: Unable to read the metadata
> file
> > for
> > > > artifact 'org.codehaus.plexus:plexus-compiler-api:jar':
> > Cannot find parent:
> > > > org.codehaus.plexus:plexus-compiler for project:
> > > > null:plexus-compiler-api:jar: 1.5.2
> > > > org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
> > > >
> > > > from the specified remote repositories:
> > > > central (http://repo1.maven.org/maven2 ),
> > > > apache.snapshots (
> > http://svn.apache.org/maven-snapshot-repository),
> > > > snapshots (http://snapshots.maven.codehaus.org/maven2
> > )
> > > > Path to dependency:
> > > > 1)
> > org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
> > > >
> > > >
> > > > at
> > > >
> > org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse
> > (
> > > > DefaultArtifactCollector.java :297)
> > > > at
> > > >
> > org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(
> > > > DefaultArtifactCollector.java(Compiled Code))
> > > > at
> > > >
> >
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> (
> > > > DefaultArtifactResolver.java:223)
> > > > at
> > > >
> >
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> > > > (DefaultArtifactResolver.java:211)
> > > > at
> > > >
> >
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> (
> > > > DefaultArtifactResolver.java:182)
> > > > at
> > > >
> >
> org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComplete
> > > > (DefaultPluginManager.java:608)
> > > > at
> > org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo
> > (
> > > > DefaultPluginManager.java:519)
> > > > at
> > org.apache.maven.plugin.DefaultPluginManager.executeMojo
> > (
> > > > DefaultPluginManager.java:390)
> > > > at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > > > DefaultLifecycleExecutor.java :534)
> > > > ... 17 more
> > > > Caused by:
> > > >
> > org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException:
> > > > Unable to read the metadata file for artifact '
> > > > org.codehaus.plexus:plexus-compiler-api:jar': Cannot
> > find parent:
> > > > org.codehaus.plexus:plexus-compiler for project:
> > > > null:plexus-compiler-api:jar:1.5.2
> > > > at
> > org.apache.maven.project.artifact.MavenMetadataSource.retrieve(
> > > > MavenMetadataSource.java:131)
> > > > at
> > > >
> > org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse
> > (
> > > > DefaultArtifactCollector.java:275)
> > > > ... 25 more
> > > > Caused by:
> > org.apache.maven.project.ProjectBuildingException: Cannot
> > find
> > > > parent: org.codehaus.plexus:plexus-compiler for
> > project:
> > > > null:plexus-compiler-api:jar: 1.5.2
> > > > at
> > > >
> > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> > > > DefaultMavenProjectBuilder.java:1139)
> > > > at
> > org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal
> > > > (DefaultMavenProjectBuilder.java :672)
> > > > at
> > > >
> > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(
> > > > DefaultMavenProjectBuilder.java:225)
> > > > at
> > org.apache.maven.project.artifact.MavenMetadataSource.retrieve
> > (
> > > > MavenMetadataSource.java :102)
> > > > ... 26 more
> > > > Caused by:
> > org.apache.maven.project.ProjectBuildingException: Failed
> > to
> > > > build model from file
> > > >
> >
> '/home/gpamu/.m2/repository/org/codehaus/plexus/plexus-compiler/1.5.2/plexus-
> > > > compiler-1.5.2.pom '.
> > > > Error: 'null'
> > > > at
> > org.apache.maven.project.DefaultMavenProjectBuilder.readModel(
> > > > DefaultMavenProjectBuilder.java:1259)
> > > > at
> > > >
> >
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository
> > (
> > > > DefaultMavenProjectBuilder.java:469)
> > > > at
> > > >
> > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> > > > DefaultMavenProjectBuilder.java:1135)
> > > > ... 29 more
> > > > Caused by: sun.io.MalformedInputException
> > > > at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java(Compiled
> > Code))
> > > > at
> > sun.nio.cs.StreamDecoder$ConverterSD.convertInto(
> > > > StreamDecoder.java(Inlined Compiled Code))
> > > > at sun.nio.cs.StreamDecoder$ConverterSD.implRead
> > > > (StreamDecoder.java(Compiled
> > > > Code))
> > > > at sun.nio.cs.StreamDecoder.read(StreamDecoder.java(Compiled
> > Code))
> > > > at java.io.InputStreamReader.read
> > (InputStreamReader.java(Compiled
> > > > Code))
> > > > at java.io.Reader.read (Reader.java(Inlined Compiled Code))
> > > > at
> > org.codehaus.plexus.util.IOUtil.copy(IOUtil.java(Compiled
> > Code))
> > > > at
> > org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:200)
> > > > at
> > org.apache.maven.project.DefaultMavenProjectBuilder.readModel
> > (
> > > > DefaultMavenProjectBuilder.java:1273)
> > > > at
> > org.apache.maven.project.DefaultMavenProjectBuilder.readModel
> > (
> > > > DefaultMavenProjectBuilder.java:1250)
> > > > ... 31 more
> > > > [INFO]
> > > >
> >
> ------------------------------------------------------------------------[INFO]
> > > > Total time: 13 seconds
> > > > [INFO] Finished at: Wed Apr 05 11:30:30 CDT 2006
> > > > [INFO] Final Memory: 12M/36M
> > > >
> > > > --
> > > > -Gautham Pamu
> > > >
> > > >
> > >
> >
> >
> >
> > --
> > -Gautham Pamu
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> --
> I could give you my word as a Spaniard.
> No good. I've known too many Spaniards.
> -- The Princess Bride
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
-Gautham Pamu
Re: m2 unable to build on linux with maven-compiler-plugin 2.0.1 version
Posted by Carlos Sanchez <ca...@apache.org>.
I'm fixing it
On 4/5/06, Gautham Pamu <ga...@gmail.com> wrote:
> There seems to be some special character in the white spaces in pom.xml
> files for plexus-compiler-manager, plexus-compiler-javac,
> plexus-compiler-api for 1.5.2
> version. Could you please fix it as soon as possible and upload to the maven
> repository.
>
> Thanks
> Gautham Pamu
>
>
> On 4/5/06, Wayne Fay <wa...@gmail.com> wrote:
> > Sounds like a bug report. Try to find the bad character (or other root
> > cause) and post the issue on JIRA.
> >
> > Wayne
> >
> >
> > On 4/5/06, Gautham Pamu <gautham.pamu@gmail.com > wrote:
> > > Hi Everyone,
> > >
> > > There seems to be a problem in the pom.xml files of
> plexus-compiler-api:jar:
> > > 1.5.2 and maven-compiler-plugin 2.0.1 is using this version.
> > >
> > > I have seem this sun.io.MalformedInputException error while compile java
> > > code if the code has special characters in comments.
> > > The code is not build on Linux platform as the jvm does not like these
> pom
> > > files, I think the pom.xml file has some special characters.
> > >
> > > When I changed to maven-compiler-plugin 2.0, it worked...
> > >
> > > [INFO] Using default encoding to copy filtered resources.
> > > [INFO]
> ------------------------------------------------------------------------[ERROR]
> > > BUILD ERROR
> > > [INFO]
> > >
> ------------------------------------------------------------------------[INFO]
> > > Error building POM (may not be this project's POM).
> > >
> > >
> > > Project ID: null:plexus-compiler-api:jar: 1.5.2
> > >
> > > Reason: Cannot find parent:
> org.codehaus.plexus:plexus-compiler for project:
> > > null:plexus-compiler-api:jar:1.5.2
> > >
> > >
> > > [INFO]
> > >
> ------------------------------------------------------------------------[INFO]
> > > Trace
> > > org.apache.maven.lifecycle.LifecycleExecutionException:
> Unable to get
> > > dependency information: Unable to read the metadata file for artifact '
> > > org.codehaus.plexus:plexus-compiler-api:jar ': Cannot
> find parent:
> > > org.codehaus.plexus:plexus-compiler for project:
> > > null:plexus-compiler-api:jar:1.5.2
> > > org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
> > >
> > > from the specified remote repositories:
> > > central (http://repo1.maven.org/maven2 ),
> > > apache.snapshots
> (http://svn.apache.org/maven-snapshot-repository ),
> > > snapshots (http://snapshots.maven.codehaus.org/maven2
> )
> > > Path to dependency:
> > > 1)
> org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
> > >
> > >
> > > at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > > DefaultLifecycleExecutor.java :551)
> > > at
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> > > (DefaultLifecycleExecutor.java:475)
> > > at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> > > DefaultLifecycleExecutor.java :454)
> > > at
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> > > (DefaultLifecycleExecutor.java:306)
> > > at
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
> (
> > > DefaultLifecycleExecutor.java:273)
> > > at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> (
> > > DefaultLifecycleExecutor.java:140)
> > > 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:256)
> > > at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > > NativeMethodAccessorImpl.java :85)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > > NativeMethodAccessorImpl.java:58)
> > > at
> sun.reflect.DelegatingMethodAccessorImpl.invoke (
> > > DelegatingMethodAccessorImpl.java:60)
> > > at java.lang.reflect.Method.invoke(Method.java:391)
> > > 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.artifact.resolver.ArtifactResolutionException
> :
> > > Unable to get dependency information: Unable to read the metadata file
> for
> > > artifact 'org.codehaus.plexus:plexus-compiler-api:jar':
> Cannot find parent:
> > > org.codehaus.plexus:plexus-compiler for project:
> > > null:plexus-compiler-api:jar: 1.5.2
> > > org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
> > >
> > > from the specified remote repositories:
> > > central (http://repo1.maven.org/maven2 ),
> > > apache.snapshots (
> http://svn.apache.org/maven-snapshot-repository),
> > > snapshots (http://snapshots.maven.codehaus.org/maven2
> )
> > > Path to dependency:
> > > 1)
> org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
> > >
> > >
> > > at
> > >
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse
> (
> > > DefaultArtifactCollector.java :297)
> > > at
> > >
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(
> > > DefaultArtifactCollector.java(Compiled Code))
> > > at
> > >
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(
> > > DefaultArtifactResolver.java:223)
> > > at
> > >
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> > > (DefaultArtifactResolver.java:211)
> > > at
> > >
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(
> > > DefaultArtifactResolver.java:182)
> > > at
> > >
> org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComplete
> > > (DefaultPluginManager.java:608)
> > > at
> org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo
> (
> > > DefaultPluginManager.java:519)
> > > at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo
> (
> > > DefaultPluginManager.java:390)
> > > at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > > DefaultLifecycleExecutor.java :534)
> > > ... 17 more
> > > Caused by:
> > >
> org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException:
> > > Unable to read the metadata file for artifact '
> > > org.codehaus.plexus:plexus-compiler-api:jar': Cannot
> find parent:
> > > org.codehaus.plexus:plexus-compiler for project:
> > > null:plexus-compiler-api:jar:1.5.2
> > > at
> org.apache.maven.project.artifact.MavenMetadataSource.retrieve(
> > > MavenMetadataSource.java:131)
> > > at
> > >
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse
> (
> > > DefaultArtifactCollector.java:275)
> > > ... 25 more
> > > Caused by:
> org.apache.maven.project.ProjectBuildingException: Cannot
> find
> > > parent: org.codehaus.plexus:plexus-compiler for
> project:
> > > null:plexus-compiler-api:jar: 1.5.2
> > > at
> > >
> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> > > DefaultMavenProjectBuilder.java:1139)
> > > at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal
> > > (DefaultMavenProjectBuilder.java :672)
> > > at
> > >
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(
> > > DefaultMavenProjectBuilder.java:225)
> > > at
> org.apache.maven.project.artifact.MavenMetadataSource.retrieve
> (
> > > MavenMetadataSource.java :102)
> > > ... 26 more
> > > Caused by:
> org.apache.maven.project.ProjectBuildingException: Failed
> to
> > > build model from file
> > >
> '/home/gpamu/.m2/repository/org/codehaus/plexus/plexus-compiler/1.5.2/plexus-
> > > compiler-1.5.2.pom '.
> > > Error: 'null'
> > > at
> org.apache.maven.project.DefaultMavenProjectBuilder.readModel(
> > > DefaultMavenProjectBuilder.java:1259)
> > > at
> > >
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository
> (
> > > DefaultMavenProjectBuilder.java:469)
> > > at
> > >
> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> > > DefaultMavenProjectBuilder.java:1135)
> > > ... 29 more
> > > Caused by: sun.io.MalformedInputException
> > > at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java(Compiled
> Code))
> > > at
> sun.nio.cs.StreamDecoder$ConverterSD.convertInto(
> > > StreamDecoder.java(Inlined Compiled Code))
> > > at sun.nio.cs.StreamDecoder$ConverterSD.implRead
> > > (StreamDecoder.java(Compiled
> > > Code))
> > > at sun.nio.cs.StreamDecoder.read(StreamDecoder.java(Compiled
> Code))
> > > at java.io.InputStreamReader.read
> (InputStreamReader.java(Compiled
> > > Code))
> > > at java.io.Reader.read (Reader.java(Inlined Compiled Code))
> > > at
> org.codehaus.plexus.util.IOUtil.copy(IOUtil.java(Compiled
> Code))
> > > at
> org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:200)
> > > at
> org.apache.maven.project.DefaultMavenProjectBuilder.readModel
> (
> > > DefaultMavenProjectBuilder.java:1273)
> > > at
> org.apache.maven.project.DefaultMavenProjectBuilder.readModel
> (
> > > DefaultMavenProjectBuilder.java:1250)
> > > ... 31 more
> > > [INFO]
> > >
> ------------------------------------------------------------------------[INFO]
> > > Total time: 13 seconds
> > > [INFO] Finished at: Wed Apr 05 11:30:30 CDT 2006
> > > [INFO] Final Memory: 12M/36M
> > >
> > > --
> > > -Gautham Pamu
> > >
> > >
> >
>
>
>
> --
> -Gautham Pamu
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
-- The Princess Bride
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: m2 unable to build on linux with maven-compiler-plugin 2.0.1 version
Posted by Wayne Fay <wa...@gmail.com>.
Again, this sounds like something you should file as a bug report in JIRA.
http://jira.codehaus.org/browse
Wayne
On 4/5/06, Gautham Pamu <ga...@gmail.com> wrote:
> There seems to be some special character in the white spaces in pom.xml
> files for plexus-compiler-manager, plexus-compiler-javac,
> plexus-compiler-api for 1.5.2
> version. Could you please fix it as soon as possible and upload to the maven
> repository.
>
> Thanks
> Gautham Pamu
>
>
> On 4/5/06, Wayne Fay <wa...@gmail.com> wrote:
> > Sounds like a bug report. Try to find the bad character (or other root
> > cause) and post the issue on JIRA.
> >
> > Wayne
> >
> >
> > On 4/5/06, Gautham Pamu <gautham.pamu@gmail.com > wrote:
> > > Hi Everyone,
> > >
> > > There seems to be a problem in the pom.xml files of
> plexus-compiler-api:jar:
> > > 1.5.2 and maven-compiler-plugin 2.0.1 is using this version.
> > >
> > > I have seem this sun.io.MalformedInputException error while compile java
> > > code if the code has special characters in comments.
> > > The code is not build on Linux platform as the jvm does not like these
> pom
> > > files, I think the pom.xml file has some special characters.
> > >
> > > When I changed to maven-compiler-plugin 2.0, it worked...
> > >
> > > [INFO] Using default encoding to copy filtered resources.
> > > [INFO]
> ------------------------------------------------------------------------[ERROR]
> > > BUILD ERROR
> > > [INFO]
> > >
> ------------------------------------------------------------------------[INFO]
> > > Error building POM (may not be this project's POM).
> > >
> > >
> > > Project ID: null:plexus-compiler-api:jar: 1.5.2
> > >
> > > Reason: Cannot find parent:
> org.codehaus.plexus:plexus-compiler for project:
> > > null:plexus-compiler-api:jar:1.5.2
> > >
> > >
> > > [INFO]
> > >
> ------------------------------------------------------------------------[INFO]
> > > Trace
> > > org.apache.maven.lifecycle.LifecycleExecutionException:
> Unable to get
> > > dependency information: Unable to read the metadata file for artifact '
> > > org.codehaus.plexus:plexus-compiler-api:jar ': Cannot
> find parent:
> > > org.codehaus.plexus:plexus-compiler for project:
> > > null:plexus-compiler-api:jar:1.5.2
> > > org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
> > >
> > > from the specified remote repositories:
> > > central (http://repo1.maven.org/maven2 ),
> > > apache.snapshots
> (http://svn.apache.org/maven-snapshot-repository ),
> > > snapshots (http://snapshots.maven.codehaus.org/maven2
> )
> > > Path to dependency:
> > > 1)
> org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
> > >
> > >
> > > at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > > DefaultLifecycleExecutor.java :551)
> > > at
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> > > (DefaultLifecycleExecutor.java:475)
> > > at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> > > DefaultLifecycleExecutor.java :454)
> > > at
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> > > (DefaultLifecycleExecutor.java:306)
> > > at
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
> (
> > > DefaultLifecycleExecutor.java:273)
> > > at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> (
> > > DefaultLifecycleExecutor.java:140)
> > > 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:256)
> > > at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > > NativeMethodAccessorImpl.java :85)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > > NativeMethodAccessorImpl.java:58)
> > > at
> sun.reflect.DelegatingMethodAccessorImpl.invoke (
> > > DelegatingMethodAccessorImpl.java:60)
> > > at java.lang.reflect.Method.invoke(Method.java:391)
> > > 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.artifact.resolver.ArtifactResolutionException
> :
> > > Unable to get dependency information: Unable to read the metadata file
> for
> > > artifact 'org.codehaus.plexus:plexus-compiler-api:jar':
> Cannot find parent:
> > > org.codehaus.plexus:plexus-compiler for project:
> > > null:plexus-compiler-api:jar: 1.5.2
> > > org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
> > >
> > > from the specified remote repositories:
> > > central (http://repo1.maven.org/maven2 ),
> > > apache.snapshots (
> http://svn.apache.org/maven-snapshot-repository),
> > > snapshots (http://snapshots.maven.codehaus.org/maven2
> )
> > > Path to dependency:
> > > 1)
> org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
> > >
> > >
> > > at
> > >
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse
> (
> > > DefaultArtifactCollector.java :297)
> > > at
> > >
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(
> > > DefaultArtifactCollector.java(Compiled Code))
> > > at
> > >
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(
> > > DefaultArtifactResolver.java:223)
> > > at
> > >
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> > > (DefaultArtifactResolver.java:211)
> > > at
> > >
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(
> > > DefaultArtifactResolver.java:182)
> > > at
> > >
> org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComplete
> > > (DefaultPluginManager.java:608)
> > > at
> org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo
> (
> > > DefaultPluginManager.java:519)
> > > at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo
> (
> > > DefaultPluginManager.java:390)
> > > at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > > DefaultLifecycleExecutor.java :534)
> > > ... 17 more
> > > Caused by:
> > >
> org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException:
> > > Unable to read the metadata file for artifact '
> > > org.codehaus.plexus:plexus-compiler-api:jar': Cannot
> find parent:
> > > org.codehaus.plexus:plexus-compiler for project:
> > > null:plexus-compiler-api:jar:1.5.2
> > > at
> org.apache.maven.project.artifact.MavenMetadataSource.retrieve(
> > > MavenMetadataSource.java:131)
> > > at
> > >
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse
> (
> > > DefaultArtifactCollector.java:275)
> > > ... 25 more
> > > Caused by:
> org.apache.maven.project.ProjectBuildingException: Cannot
> find
> > > parent: org.codehaus.plexus:plexus-compiler for
> project:
> > > null:plexus-compiler-api:jar: 1.5.2
> > > at
> > >
> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> > > DefaultMavenProjectBuilder.java:1139)
> > > at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal
> > > (DefaultMavenProjectBuilder.java :672)
> > > at
> > >
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(
> > > DefaultMavenProjectBuilder.java:225)
> > > at
> org.apache.maven.project.artifact.MavenMetadataSource.retrieve
> (
> > > MavenMetadataSource.java :102)
> > > ... 26 more
> > > Caused by:
> org.apache.maven.project.ProjectBuildingException: Failed
> to
> > > build model from file
> > >
> '/home/gpamu/.m2/repository/org/codehaus/plexus/plexus-compiler/1.5.2/plexus-
> > > compiler-1.5.2.pom '.
> > > Error: 'null'
> > > at
> org.apache.maven.project.DefaultMavenProjectBuilder.readModel(
> > > DefaultMavenProjectBuilder.java:1259)
> > > at
> > >
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository
> (
> > > DefaultMavenProjectBuilder.java:469)
> > > at
> > >
> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> > > DefaultMavenProjectBuilder.java:1135)
> > > ... 29 more
> > > Caused by: sun.io.MalformedInputException
> > > at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java(Compiled
> Code))
> > > at
> sun.nio.cs.StreamDecoder$ConverterSD.convertInto(
> > > StreamDecoder.java(Inlined Compiled Code))
> > > at sun.nio.cs.StreamDecoder$ConverterSD.implRead
> > > (StreamDecoder.java(Compiled
> > > Code))
> > > at sun.nio.cs.StreamDecoder.read(StreamDecoder.java(Compiled
> Code))
> > > at java.io.InputStreamReader.read
> (InputStreamReader.java(Compiled
> > > Code))
> > > at java.io.Reader.read (Reader.java(Inlined Compiled Code))
> > > at
> org.codehaus.plexus.util.IOUtil.copy(IOUtil.java(Compiled
> Code))
> > > at
> org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:200)
> > > at
> org.apache.maven.project.DefaultMavenProjectBuilder.readModel
> (
> > > DefaultMavenProjectBuilder.java:1273)
> > > at
> org.apache.maven.project.DefaultMavenProjectBuilder.readModel
> (
> > > DefaultMavenProjectBuilder.java:1250)
> > > ... 31 more
> > > [INFO]
> > >
> ------------------------------------------------------------------------[INFO]
> > > Total time: 13 seconds
> > > [INFO] Finished at: Wed Apr 05 11:30:30 CDT 2006
> > > [INFO] Final Memory: 12M/36M
> > >
> > > --
> > > -Gautham Pamu
> > >
> > >
> >
>
>
>
> --
> -Gautham Pamu
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: m2 unable to build on linux with maven-compiler-plugin 2.0.1 version
Posted by Gautham Pamu <ga...@gmail.com>.
There seems to be some special character in the white spaces in
pom.xmlfiles for plexus-compiler-manager, plexus-compiler-javac,
plexus-compiler-api for 1.5.2
version. Could you please fix it as soon as possible and upload to the maven
repository.
Thanks
Gautham Pamu
On 4/5/06, Wayne Fay <wa...@gmail.com> wrote:
>
> Sounds like a bug report. Try to find the bad character (or other root
> cause) and post the issue on JIRA.
>
> Wayne
>
>
> On 4/5/06, Gautham Pamu <ga...@gmail.com> wrote:
> > Hi Everyone,
> >
> > There seems to be a problem in the pom.xml files of
> plexus-compiler-api:jar:
> > 1.5.2 and maven-compiler-plugin 2.0.1 is using this version.
> >
> > I have seem this sun.io.MalformedInputException error while compile java
> > code if the code has special characters in comments.
> > The code is not build on Linux platform as the jvm does not like these
> pom
> > files, I think the pom.xml file has some special characters.
> >
> > When I changed to maven-compiler-plugin 2.0, it worked...
> >
> > [INFO] Using default encoding to copy filtered resources.
> > [INFO]
> ------------------------------------------------------------------------[ERROR]
> > BUILD ERROR
> > [INFO]
> >
> ------------------------------------------------------------------------[INFO]
> > Error building POM (may not be this project's POM).
> >
> >
> > Project ID: null:plexus-compiler-api:jar:1.5.2
> >
> > Reason: Cannot find parent: org.codehaus.plexus:plexus-compiler for
> project:
> > null:plexus-compiler-api:jar:1.5.2
> >
> >
> > [INFO]
> >
> ------------------------------------------------------------------------[INFO]
> > Trace
> > org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get
> > dependency information: Unable to read the metadata file for artifact '
> > org.codehaus.plexus:plexus-compiler-api:jar': Cannot find parent:
> > org.codehaus.plexus:plexus-compiler for project:
> > null:plexus-compiler-api:jar:1.5.2
> > org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
> >
> > from the specified remote repositories:
> > central (http://repo1.maven.org/maven2 ),
> > apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
> > snapshots (http://snapshots.maven.codehaus.org/maven2 )
> > Path to dependency:
> > 1)
> org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
> >
> >
> > at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > DefaultLifecycleExecutor.java :551)
> > at
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> > (DefaultLifecycleExecutor.java:475)
> > at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> > DefaultLifecycleExecutor.java :454)
> > at
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> > (DefaultLifecycleExecutor.java:306)
> > at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> > DefaultLifecycleExecutor.java:273)
> > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
> > DefaultLifecycleExecutor.java:140)
> > 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:256)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > NativeMethodAccessorImpl.java:85)
> > at sun.reflect.NativeMethodAccessorImpl.invoke(
> > NativeMethodAccessorImpl.java:58)
> > at sun.reflect.DelegatingMethodAccessorImpl.invoke (
> > DelegatingMethodAccessorImpl.java:60)
> > at java.lang.reflect.Method.invoke(Method.java:391)
> > 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.artifact.resolver.ArtifactResolutionException :
> > Unable to get dependency information: Unable to read the metadata file
> for
> > artifact 'org.codehaus.plexus:plexus-compiler-api:jar': Cannot find
> parent:
> > org.codehaus.plexus:plexus-compiler for project:
> > null:plexus-compiler-api:jar: 1.5.2
> > org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
> >
> > from the specified remote repositories:
> > central (http://repo1.maven.org/maven2),
> > apache.snapshots ( http://svn.apache.org/maven-snapshot-repository),
> > snapshots (http://snapshots.maven.codehaus.org/maven2 )
> > Path to dependency:
> > 1)
> org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
> >
> >
> > at
> > org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(
> > DefaultArtifactCollector.java :297)
> > at
> > org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(
> > DefaultArtifactCollector.java(Compiled Code))
> > at
> >
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> (
> > DefaultArtifactResolver.java:223)
> > at
> >
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> > (DefaultArtifactResolver.java:211)
> > at
> >
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> (
> > DefaultArtifactResolver.java:182)
> > at
> >
> org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComplete
> > (DefaultPluginManager.java:608)
> > at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(
> > DefaultPluginManager.java:519)
> > at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
> > DefaultPluginManager.java:390)
> > at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> > DefaultLifecycleExecutor.java :534)
> > ... 17 more
> > Caused by:
> > org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException:
> > Unable to read the metadata file for artifact '
> > org.codehaus.plexus:plexus-compiler-api:jar': Cannot find parent:
> > org.codehaus.plexus:plexus-compiler for project:
> > null:plexus-compiler-api:jar:1.5.2
> > at org.apache.maven.project.artifact.MavenMetadataSource.retrieve
> (
> > MavenMetadataSource.java:131)
> > at
> > org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse (
> > DefaultArtifactCollector.java:275)
> > ... 25 more
> > Caused by: org.apache.maven.project.ProjectBuildingException: Cannot
> find
> > parent: org.codehaus.plexus:plexus-compiler for project:
> > null:plexus-compiler-api:jar: 1.5.2
> > at
> > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> > DefaultMavenProjectBuilder.java:1139)
> > at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal
> > (DefaultMavenProjectBuilder.java :672)
> > at
> > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(
> > DefaultMavenProjectBuilder.java:225)
> > at org.apache.maven.project.artifact.MavenMetadataSource.retrieve
> (
> > MavenMetadataSource.java :102)
> > ... 26 more
> > Caused by: org.apache.maven.project.ProjectBuildingException: Failed to
> > build model from file
> >
> '/home/gpamu/.m2/repository/org/codehaus/plexus/plexus-compiler/1.5.2/plexus-
> > compiler-1.5.2.pom '.
> > Error: 'null'
> > at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(
> > DefaultMavenProjectBuilder.java:1259)
> > at
> >
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository
> (
> > DefaultMavenProjectBuilder.java:469)
> > at
> > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> > DefaultMavenProjectBuilder.java:1135)
> > ... 29 more
> > Caused by: sun.io.MalformedInputException
> > at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java(Compiled
> Code))
> > at sun.nio.cs.StreamDecoder$ConverterSD.convertInto(
> > StreamDecoder.java(Inlined Compiled Code))
> > at sun.nio.cs.StreamDecoder$ConverterSD.implRead
> > (StreamDecoder.java(Compiled
> > Code))
> > at sun.nio.cs.StreamDecoder.read(StreamDecoder.java(Compiled
> Code))
> > at java.io.InputStreamReader.read(InputStreamReader.java(Compiled
> > Code))
> > at java.io.Reader.read (Reader.java(Inlined Compiled Code))
> > at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java(Compiled
> Code))
> > at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:200)
> > at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(
> > DefaultMavenProjectBuilder.java:1273)
> > at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(
> > DefaultMavenProjectBuilder.java:1250)
> > ... 31 more
> > [INFO]
> >
> ------------------------------------------------------------------------[INFO]
> > Total time: 13 seconds
> > [INFO] Finished at: Wed Apr 05 11:30:30 CDT 2006
> > [INFO] Final Memory: 12M/36M
> >
> > --
> > -Gautham Pamu
> >
> >
>
--
-Gautham Pamu
Re: m2 unable to build on linux with maven-compiler-plugin 2.0.1 version
Posted by Wayne Fay <wa...@gmail.com>.
Sounds like a bug report. Try to find the bad character (or other root
cause) and post the issue on JIRA.
Wayne
On 4/5/06, Gautham Pamu <ga...@gmail.com> wrote:
> Hi Everyone,
>
> There seems to be a problem in the pom.xml files of plexus-compiler-api:jar:
> 1.5.2 and maven-compiler-plugin 2.0.1 is using this version.
>
> I have seem this sun.io.MalformedInputException error while compile java
> code if the code has special characters in comments.
> The code is not build on Linux platform as the jvm does not like these pom
> files, I think the pom.xml file has some special characters.
>
> When I changed to maven-compiler-plugin 2.0, it worked...
>
> [INFO] Using default encoding to copy filtered resources.
> [INFO] ------------------------------------------------------------------------[ERROR]
> BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------[INFO]
> Error building POM (may not be this project's POM).
>
>
> Project ID: null:plexus-compiler-api:jar:1.5.2
>
> Reason: Cannot find parent: org.codehaus.plexus:plexus-compiler for project:
> null:plexus-compiler-api:jar:1.5.2
>
>
> [INFO]
> ------------------------------------------------------------------------[INFO]
> Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get
> dependency information: Unable to read the metadata file for artifact '
> org.codehaus.plexus:plexus-compiler-api:jar': Cannot find parent:
> org.codehaus.plexus:plexus-compiler for project:
> null:plexus-compiler-api:jar:1.5.2
> org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2 ),
> apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
> snapshots (http://snapshots.maven.codehaus.org/maven2 )
> Path to dependency:
> 1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
>
>
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> DefaultLifecycleExecutor.java :551)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> (DefaultLifecycleExecutor.java:475)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> DefaultLifecycleExecutor.java :454)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> (DefaultLifecycleExecutor.java:306)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (
> DefaultLifecycleExecutor.java:273)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
> DefaultLifecycleExecutor.java:140)
> 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:256)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:85)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:58)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke (
> DelegatingMethodAccessorImpl.java:60)
> at java.lang.reflect.Method.invoke(Method.java:391)
> 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.artifact.resolver.ArtifactResolutionException :
> Unable to get dependency information: Unable to read the metadata file for
> artifact 'org.codehaus.plexus:plexus-compiler-api:jar': Cannot find parent:
> org.codehaus.plexus:plexus-compiler for project:
> null:plexus-compiler-api:jar: 1.5.2
> org.codehaus.plexus:plexus-compiler-api:jar:1.5.2
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2),
> apache.snapshots ( http://svn.apache.org/maven-snapshot-repository),
> snapshots (http://snapshots.maven.codehaus.org/maven2 )
> Path to dependency:
> 1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0.1
>
>
> at
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(
> DefaultArtifactCollector.java :297)
> at
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(
> DefaultArtifactCollector.java(Compiled Code))
> at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(
> DefaultArtifactResolver.java:223)
> at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
> (DefaultArtifactResolver.java:211)
> at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(
> DefaultArtifactResolver.java:182)
> at
> org.apache.maven.plugin.DefaultPluginManager.ensurePluginContainerIsComplete
> (DefaultPluginManager.java:608)
> at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo (
> DefaultPluginManager.java:519)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
> DefaultPluginManager.java:390)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> DefaultLifecycleExecutor.java :534)
> ... 17 more
> Caused by:
> org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException:
> Unable to read the metadata file for artifact '
> org.codehaus.plexus:plexus-compiler-api:jar': Cannot find parent:
> org.codehaus.plexus:plexus-compiler for project:
> null:plexus-compiler-api:jar:1.5.2
> at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(
> MavenMetadataSource.java:131)
> at
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse (
> DefaultArtifactCollector.java:275)
> ... 25 more
> Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find
> parent: org.codehaus.plexus:plexus-compiler for project:
> null:plexus-compiler-api:jar: 1.5.2
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> DefaultMavenProjectBuilder.java:1139)
> at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal
> (DefaultMavenProjectBuilder.java :672)
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(
> DefaultMavenProjectBuilder.java:225)
> at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(
> MavenMetadataSource.java :102)
> ... 26 more
> Caused by: org.apache.maven.project.ProjectBuildingException: Failed to
> build model from file
> '/home/gpamu/.m2/repository/org/codehaus/plexus/plexus-compiler/1.5.2/plexus-
> compiler-1.5.2.pom '.
> Error: 'null'
> at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(
> DefaultMavenProjectBuilder.java:1259)
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(
> DefaultMavenProjectBuilder.java:469)
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(
> DefaultMavenProjectBuilder.java:1135)
> ... 29 more
> Caused by: sun.io.MalformedInputException
> at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java(Compiled Code))
> at sun.nio.cs.StreamDecoder$ConverterSD.convertInto(
> StreamDecoder.java(Inlined Compiled Code))
> at sun.nio.cs.StreamDecoder$ConverterSD.implRead
> (StreamDecoder.java(Compiled
> Code))
> at sun.nio.cs.StreamDecoder.read(StreamDecoder.java(Compiled Code))
> at java.io.InputStreamReader.read(InputStreamReader.java(Compiled
> Code))
> at java.io.Reader.read (Reader.java(Inlined Compiled Code))
> at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java(Compiled Code))
> at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:200)
> at org.apache.maven.project.DefaultMavenProjectBuilder.readModel (
> DefaultMavenProjectBuilder.java:1273)
> at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(
> DefaultMavenProjectBuilder.java:1250)
> ... 31 more
> [INFO]
> ------------------------------------------------------------------------[INFO]
> Total time: 13 seconds
> [INFO] Finished at: Wed Apr 05 11:30:30 CDT 2006
> [INFO] Final Memory: 12M/36M
>
> --
> -Gautham Pamu
>
>