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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED] > 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to