OpenWebBeans
  1. OpenWebBeans
  2. OWB-636

Samples point to parent pom file that doesn't exist

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.3
    • Fix Version/s: 1.1.4
    • Labels:
    • Environment:
      Any

      Description

      In the samples directory all samples point to a pom.xml file in the parent directory that doesn't exist.
      <parent>
      <artifactId>samples</artifactId>
      <groupId>org.apache.openwebbeans</groupId>
      <version>1.1.3</version>
      <relativePath>../pom.xml</relativePath>
      </parent>

        Activity

        Hide
        Mark Struberg added a comment -

        released with OWB-1.1.4

        Show
        Mark Struberg added a comment - released with OWB-1 .1.4
        Hide
        Mark Struberg added a comment -

        oki, now I got you!
        I only looked at our sources in SVN

        $> svn co https://svn.apache.org/repos/asf/openwebbeans/tags/openwebbeans-1.1.3/samples/

        Will fix that part in the release process.

        Show
        Mark Struberg added a comment - oki, now I got you! I only looked at our sources in SVN $> svn co https://svn.apache.org/repos/asf/openwebbeans/tags/openwebbeans-1.1.3/samples/ Will fix that part in the release process.
        Hide
        Esteve added a comment -

        Marc,

        I am saying tha at: openwebbeans-distribution-1.1.3\samples there is no pom.xml which is referenced from each example:
        <parent>
        <artifactId>samples</artifactId>
        <groupId>org.apache.openwebbeans</groupId>
        <version>1.1.3</version>
        <relativePath>../pom.xml</relativePath>
        </parent>

        C:\Users\ut14568\Documents\Software\openwebbeans-distribution-1.1.3\samples>dir
        El volumen de la unidad C es OSDisk
        El número de serie del volumen es: 5C46-41A9

        Directorio de C:\Users\ut14568\Documents\Software\openwebbeans-distribution-1.1.3\samples

        15/12/2011 12:17 <DIR> .
        15/12/2011 12:17 <DIR> ..
        15/12/2011 12:17 <DIR> conversation-sample
        15/12/2011 12:17 <DIR> ejb-sample
        15/12/2011 12:17 <DIR> ejb-telephone
        15/12/2011 12:17 <DIR> guess
        15/12/2011 12:17 <DIR> jms-sample
        15/12/2011 12:17 <DIR> jsf2sample
        15/12/2011 12:17 <DIR> reservation
        15/12/2011 12:17 <DIR> standalone-sample
        0 archivos 0 bytes
        10 dirs 138.706.575.360 bytes libres

        Show
        Esteve added a comment - Marc, I am saying tha at: openwebbeans-distribution-1.1.3\samples there is no pom.xml which is referenced from each example: <parent> <artifactId>samples</artifactId> <groupId>org.apache.openwebbeans</groupId> <version>1.1.3</version> <relativePath>../pom.xml</relativePath> </parent> C:\Users\ut14568\Documents\Software\openwebbeans-distribution-1.1.3\samples>dir El volumen de la unidad C es OSDisk El número de serie del volumen es: 5C46-41A9 Directorio de C:\Users\ut14568\Documents\Software\openwebbeans-distribution-1.1.3\samples 15/12/2011 12:17 <DIR> . 15/12/2011 12:17 <DIR> .. 15/12/2011 12:17 <DIR> conversation-sample 15/12/2011 12:17 <DIR> ejb-sample 15/12/2011 12:17 <DIR> ejb-telephone 15/12/2011 12:17 <DIR> guess 15/12/2011 12:17 <DIR> jms-sample 15/12/2011 12:17 <DIR> jsf2sample 15/12/2011 12:17 <DIR> reservation 15/12/2011 12:17 <DIR> standalone-sample 0 archivos 0 bytes 10 dirs 138.706.575.360 bytes libres
        Hide
        Mark Struberg added a comment -

        Hi!

        Please just go one directory upwards (cd ..) to
        C:\Users\ut14568\Documents\Software\openwebbeans-distribution-1.1.3\samples

        and build the samples the first time:

        $> mvn clean install

        Show
        Mark Struberg added a comment - Hi! Please just go one directory upwards (cd ..) to C:\Users\ut14568\Documents\Software\openwebbeans-distribution-1.1.3\samples and build the samples the first time: $> mvn clean install
        Hide
        Esteve added a comment -

        Mark,

        I mean this:

        C:\Users\ut14568\Documents\Software\openwebbeans-distribution-1.1.3\samples\jsf2sample>mvn package
        [INFO] Scanning for projects...
        Downloading: http://repo1.maven.org/maven2/org/apache/openwebbeans/samples/1.1.3/samples-1.1.3.pom
        [ERROR] The build could not read 1 project -> [Help 1]
        [ERROR]
        [ERROR] The project org.apache.openwebbeans.samples:jsf2sample:1.1.3 (C:\Users\ut14568\Documents\Software\openwebbeans-distribution-1.1.3\samples\jsf2sample\pom.xml) has 1 error
        [ERROR] Non-resolvable parent POM: Could not find artifact org.apache.openwebbeans:samples:pom:1.1.3 in central (http://repo1.maven.org/maven2) and 'parent.relativePath' points at wrong local POM @ line
        22, 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

        Show
        Esteve added a comment - Mark, I mean this: C:\Users\ut14568\Documents\Software\openwebbeans-distribution-1.1.3\samples\jsf2sample>mvn package [INFO] Scanning for projects... Downloading: http://repo1.maven.org/maven2/org/apache/openwebbeans/samples/1.1.3/samples-1.1.3.pom [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project org.apache.openwebbeans.samples:jsf2sample:1.1.3 (C:\Users\ut14568\Documents\Software\openwebbeans-distribution-1.1.3\samples\jsf2sample\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not find artifact org.apache.openwebbeans:samples:pom:1.1.3 in central ( http://repo1.maven.org/maven2 ) and 'parent.relativePath' points at wrong local POM @ line 22, 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
        Hide
        Mark Struberg added a comment -

        hi Esteve!

        I cannot find any problems with that. What exactly do you mean here? I checked the content of our 1.1.3 tag and trunk with vi - looks good so far.
        Did you mean that samples-1.1.3 is not released to maven.central?

        Show
        Mark Struberg added a comment - hi Esteve! I cannot find any problems with that. What exactly do you mean here? I checked the content of our 1.1.3 tag and trunk with vi - looks good so far. Did you mean that samples-1.1.3 is not released to maven.central?

          People

          • Assignee:
            Mark Struberg
            Reporter:
            Esteve
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development