maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukas Theussl (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MSITE-332) Unable to load parent project from a relative path: Could not find the model file '<dir>/pom.xml'. for project unknown
Date Thu, 05 Jun 2008 17:15:53 GMT

    [ http://jira.codehaus.org/browse/MSITE-332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=137531#action_137531
] 

Lukas Theussl commented on MSITE-332:
-------------------------------------

I think all the necessary information is in this jira issue already. Workaround: don't use
any SNAPSHOTs.

> Unable to load parent project from a relative path: Could not find the model file '<dir>/pom.xml'.
for project unknown
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: MSITE-332
>                 URL: http://jira.codehaus.org/browse/MSITE-332
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>          Components: site descriptor
>    Affects Versions: 2.0-beta-7
>            Reporter: Michael Stevens
>            Assignee: Dennis Lundberg
>             Fix For: 2.0-beta-7
>
>         Attachments: MSITE-332.tar.gz
>
>
> Execute site:site
> The plugin seems to look for a pom file in the directory above the project directory.
> This started occurring last night for us, using maven-site-plugin:2.0-beta-7-SNAPSHOT.
> Note that the project in question uses a parent POM, but does not specify a relative
path.
> Here is the stack trace:
> [INFO] Unable to load parent project from a relative path: Could not find the model file
'c:\workdir\projects\pom.xml'. for project unknown
> [INFO] Parent project loaded from repository.
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] SiteToolException: Error reading default site descriptor: ${OUTPUTENCODING}
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: SiteToolException: Error reading
default site descriptor: ${OUTPUTENCODING}
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: SiteToolException: Error reading
default site descriptor: ${OUTPUTENCODING}
>         at org.apache.maven.plugins.site.AbstractSiteRenderingMojo.createSiteRenderingContext(AbstractSiteRenderingMojo.java:230)
>         at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:113)
>         at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:96)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
>         ... 16 more
> Caused by: org.apache.maven.doxia.tools.SiteToolException: Error reading default site
descriptor: ${OUTPUTENCODING}
>         at org.apache.maven.doxia.tools.DefaultSiteTool.getDecorationModel(DefaultSiteTool.java:527)
>         at org.apache.maven.plugins.site.AbstractSiteRenderingMojo.createSiteRenderingContext(AbstractSiteRenderingMojo.java:226)
>         ... 20 more
> Caused by: java.io.UnsupportedEncodingException: ${OUTPUTENCODING}
>         at sun.io.Converters.getConverterClass(Converters.java:218)
>         at sun.io.Converters.newConverter(Converters.java:251)
>         at sun.io.ByteToCharConverter.getConverter(ByteToCharConverter.java:68)
>         at sun.nio.cs.StreamDecoder$ConverterSD.<init>(StreamDecoder.java:224)
>         at sun.nio.cs.StreamDecoder$ConverterSD.<init>(StreamDecoder.java:210)
>         at sun.nio.cs.StreamDecoder.forInputStreamReader(StreamDecoder.java:77)
>         at java.io.InputStreamReader.<init>(InputStreamReader.java:83)
>         at org.codehaus.plexus.util.xml.XmlReader.prepareReader(XmlReader.java:483)
>         at org.codehaus.plexus.util.xml.XmlReader.doRawStream(XmlReader.java:466)
>         at org.codehaus.plexus.util.xml.XmlReader.<init>(XmlReader.java:183)
>         at org.codehaus.plexus.util.xml.XmlReader.<init>(XmlReader.java:146)
>         at org.codehaus.plexus.util.xml.XmlStreamReader.<init>(XmlStreamReader.java:90)
>         at org.codehaus.plexus.util.ReaderFactory.newXmlReader(ReaderFactory.java:104)
>         at org.apache.maven.doxia.tools.DefaultSiteTool.getDecorationModel(DefaultSiteTool.java:522)
>         ... 21 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message