Nope, sorry, I only tested replacing the parent pom in mine, I
overlooked your sample. Apologizes.
I tried with both mvn3 and mvn2 but had to suspend the debug due to
job related stuff, I'll continue on the afternoon.
I'll let you know soon!
Simo

http://people.apache.org/~simonetripodi/
http://www.99soft.org/



On Tue, Mar 1, 2011 at 12:54 PM, sebb <seb...@gmail.com> wrote:
> On 1 March 2011 10:35, Simone Tripodi <simonetrip...@apache.org> wrote:
>> Hi Seb,
>> I just tried upgrading locally the Digester3 parent, but unfortunately
>> mvn is not able to resolve it; this is what happens with mvn3:
>
> Did you use the sample POM I provided?
>
> e.g. save as download.xml and run "mvn -f download.xml"
>
> Which version of Maven are you using?
>
> I've only tried with 2.2.1 so far.
>
>> $ mvn clean site && open target/site/index.html
>> [INFO] Scanning for projects...
>> [ERROR] The build could not read 1 project -> [Help 1]
>> [ERROR]
>> [ERROR]   The project
>> org.apache.commons:commons-digester3:3.0-SNAPSHOT
>> (/Users/simonetripodi/Documents/workspace-opensource/commons-digester3/pom.xml)
>> has 1 error
>> [ERROR]     Non-resolvable parent POM: Could not find artifact
>> org.apache.commons:commons-parent:pom:19-SNAPSHOT and
>> 'parent.relativePath' points at wrong local POM @ line 23, column 13
>> -> [Help 2]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with
>> the -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
>> [ERROR] [Help 2]
>> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
>>
>> and this is what happens with mvn2:
>>
>> $ mvn clean site && open target/site/index.html
>> [INFO] Scanning for projects...
>> [INFO] 
>> ------------------------------------------------------------------------
>> [ERROR] FATAL ERROR
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Error building POM (may not be this project's POM).
>>
>>
>> Project ID: null:commons-digester3:jar:3.0-SNAPSHOT
>>
>> Reason: Cannot find parent: org.apache.commons:commons-parent for
>> project: null:commons-digester3:jar:3.0-SNAPSHOT for project
>> null:commons-digester3:jar:3.0-SNAPSHOT
>>
>>
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Trace
>> org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
>> org.apache.commons:commons-parent for project:
>> null:commons-digester3:jar:3.0-SNAPSHOT for project
>> null:commons-digester3:jar:3.0-SNAPSHOT
>>        at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)
>>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
>>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
>>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>>        at 
>> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>        at 
>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> Caused by: org.apache.maven.project.ProjectBuildingException: Cannot
>> find parent: org.apache.commons:commons-parent for project:
>> null:commons-digester3:jar:3.0-SNAPSHOT for project
>> null:commons-digester3:jar:3.0-SNAPSHOT
>>        at 
>> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1396)
>>        at 
>> org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:823)
>>        at 
>> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508)
>>        at 
>> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
>>        at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604)
>>        at 
>> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487)
>>        at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391)
>>        ... 12 more
>> Caused by: org.apache.maven.project.ProjectBuildingException: POM
>> 'org.apache.commons:commons-parent' not found in repository: Unable to
>> download the artifact from any repository
>>
>>  org.apache.commons:commons-parent:pom:19-SNAPSHOT
>>
>> from the specified remote repositories:
>>  central (http://repo1.maven.org/maven2)
>>
>>  for project org.apache.commons:commons-parent
>>        at 
>> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:605)
>>        at 
>> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1392)
>>        ... 18 more
>> Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
>> Unable to download the artifact from any repository
>>
>>  org.apache.commons:commons-parent:pom:19-SNAPSHOT
>>
>> installing locally both the skin and the parent, the code highlighter
>> doesn't work, even if they are declared in the header. I'm firebugging
>> to figure out why.
>>
>> Thanks, have a nice day,
>> Simo
>>
>> http://people.apache.org/~simonetripodi/
>> http://www.99soft.org/
>>
>>
>>
>> On Mon, Feb 28, 2011 at 9:09 PM, sebb <seb...@gmail.com> wrote:
>>> I've uploaded Commons Skin 3-SNAPSHOT and Parent 19-SNAPSHOT to allow
>>> testing of site builds.
>>>
>>> The generated pages should include:
>>> * a clickable link to ApacheCon at the bottom of the menu,
>>> * trademark notices at the bottom of each page
>>> * nicer formatting of source code using colours to distinguish e.g.
>>> strings and keywords.
>>> * updated standard menu items.
>>>
>>> Note that I have not yet changed commons-maven.css, so there will be a
>>> redundant (unclickable) ApacheCon logo at the top of the LHS menu.
>>>
>>> Please try out the new parent & skin and report any problems - just
>>> change the component POM temporarily to depend on Commons Parent
>>> 19-SNAPSHOT and this should pick up the skin too.
>>>
>>> I decided to use relative URLs for the prettify CSS and Javascript
>>> because this means the formatting will work without needing to stage
>>> or upload the site pages.
>>>
>>> You'll need to install Commons-Parent 19-SNAPSHOT to your local repo
>>> first, for example by using the following pom:
>>>
>>> ===========
>>> <project xmlns="http://maven.apache.org/POM/4.0.0";
>>>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>>  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>>> http://maven.apache.org/maven-v4_0_0.xsd";>
>>>  <modelVersion>4.0.0</modelVersion>
>>>  <!-- Depend on ASF parent in order to define the snapshot repo -->
>>>  <parent>
>>>    <groupId>org.apache</groupId>
>>>    <artifactId>apache</artifactId>
>>>    <version>9</version>
>>>  </parent>
>>>  <artifactId>test</artifactId>
>>>  <dependencies>
>>>    <dependency>
>>>      <groupId>org.apache.commons</groupId>
>>>      <artifactId>commons-parent</artifactId>
>>>      <version>19-SNAPSHOT</version>
>>>      <type>pom</type>
>>>    </dependency>
>>>  </dependencies>
>>>  <build>
>>>    <defaultGoal>compile</defaultGoal>
>>>  </build>
>>> </project>
>>> ===========
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>>> For additional commands, e-mail: dev-h...@commons.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>> For additional commands, e-mail: dev-h...@commons.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to