Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Pomless Typo builds

hi,
The problem is not located the parent pom, I do not know why I have include my parent pom in the root folder. I have my parent pom on a project at the same level as the plug-in an features that are part of muy product.
The error is the next

PS F:\WorkSpace\ADQA_TYCHO\com.isb.qahost.adqa.ml.aggregator> mvn clean verify
[INFO] Scanning for projects...
F:\WorkSpace\ADQA_TYCHO\com.isb.qahost.adqa.ml.trxop.test.common\.polyglot.build.properties
F:\WorkSpace\ADQA_TYCHO\com.isb.hoba.compare.test\.polyglot.build.properties
F:\WorkSpace\ADQA_TYCHO\com.isb.qahost.adqa.ml.p2.ui\.polyglot.build.properties
F:\WorkSpace\ADQA_TYCHO\com.isb.qahost.adqa.ml.platform.feature\.polyglot.build.properties
F:\WorkSpace\ADQA_TYCHO\com.isb.qahost.adqa.ml.p2.feature\.polyglot.build.properties
F:\WorkSpace\ADQA_TYCHO\com.isb.qahost.adqa.rootfiles.feature\.polyglot.build.properties
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-readable POM F:\WorkSpace\ADQA_TYCHO\com.isb.qahost.adqa.ml.trxop.test.common\.polyglot.build.properties: No parent
pom file found in F:\WorkSpace\ADQA_TYCHO @
[FATAL] Non-readable POM F:\WorkSpace\ADQA_TYCHO\com.isb.hoba.compare.test\.polyglot.build.properties: No parent pom file found
in F:\WorkSpace\ADQA_TYCHO @
[FATAL] Non-readable POM F:\WorkSpace\ADQA_TYCHO\com.isb.qahost.adqa.ml.p2.ui\.polyglot.build.properties: No parent pom file fou
nd in F:\WorkSpace\ADQA_TYCHO @
[FATAL] Non-readable POM F:\WorkSpace\ADQA_TYCHO\com.isb.qahost.adqa.ml.platform.feature\.polyglot.build.properties: No parent p
om file found in F:\WorkSpace\ADQA_TYCHO @
[FATAL] Non-readable POM F:\WorkSpace\ADQA_TYCHO\com.isb.qahost.adqa.ml.p2.feature\.polyglot.build.properties: No parent pom fil
e found in F:\WorkSpace\ADQA_TYCHO @
[FATAL] Non-readable POM F:\WorkSpace\ADQA_TYCHO\com.isb.qahost.adqa.rootfiles.feature\.polyglot.build.properties: No parent pom
 file found in F:\WorkSpace\ADQA_TYCHO @
 @
[ERROR] The build could not read 6 projects -> [Help 1]
[ERROR]
[ERROR]   The project  (F:\WorkSpace\ADQA_TYCHO\com.isb.qahost.adqa.ml.trxop.test.common\.polyglot.build.properties) has 1 error

[ERROR]     Non-readable POM F:\WorkSpace\ADQA_TYCHO\com.isb.qahost.adqa.ml.trxop.test.common\.polyglot.build.properties: No par
ent pom file found in F:\WorkSpace\ADQA_TYCHO
[ERROR]
[ERROR]   The project  (F:\WorkSpace\ADQA_TYCHO\com.isb.hoba.compare.test\.polyglot.build.properties) has 1 error
[ERROR]     Non-readable POM F:\WorkSpace\ADQA_TYCHO\com.isb.hoba.compare.test\.polyglot.build.properties: No parent pom file fo
und in F:\WorkSpace\ADQA_TYCHO
[ERROR]
[ERROR]   The project  (F:\WorkSpace\ADQA_TYCHO\com.isb.qahost.adqa.ml.p2.ui\.polyglot.build.properties) has 1 error
[ERROR]     Non-readable POM F:\WorkSpace\ADQA_TYCHO\com.isb.qahost.adqa.ml.p2.ui\.polyglot.build.properties: No parent pom file
 found in F:\WorkSpace\ADQA_TYCHO
[ERROR]
[ERROR]   The project  (F:\WorkSpace\ADQA_TYCHO\com.isb.qahost.adqa.ml.platform.feature\.polyglot.build.properties) has 1 error
[ERROR]     Non-readable POM F:\WorkSpace\ADQA_TYCHO\com.isb.qahost.adqa.ml.platform.feature\.polyglot.build.properties: No pare
nt pom file found in F:\WorkSpace\ADQA_TYCHO
[ERROR]
[ERROR]   The project  (F:\WorkSpace\ADQA_TYCHO\com.isb.qahost.adqa.ml.p2.feature\.polyglot.build.properties) has 1 error
[ERROR]     Non-readable POM F:\WorkSpace\ADQA_TYCHO\com.isb.qahost.adqa.ml.p2.feature\.polyglot.build.properties: No parent pom
 file found in F:\WorkSpace\ADQA_TYCHO
[ERROR]
[ERROR]   The project  (F:\WorkSpace\ADQA_TYCHO\com.isb.qahost.adqa.rootfiles.feature\.polyglot.build.properties) has 1 error
[ERROR]     Non-readable POM F:\WorkSpace\ADQA_TYCHO\com.isb.qahost.adqa.rootfiles.feature\.polyglot.build.properties: No parent
 pom file found in F:\WorkSpace\ADQA_TYCHO
[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:

If i added the parent pom in the root folder the build work fine.



Un Saludo
Juan Antonio González Cano


2015-09-30 13:34 GMT+01:00 SCHREIBER.Martin <Martin.SCHREIBER@xxxxxxxxxxxxx>:

Hi,

 

and what’s the error you are seeing?

 

-martin

 

Von: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] Im Auftrag von Juan Antonio Gonzalez Cano
Gesendet: Mittwoch, 30. September 2015 11:21


An: Tycho user list
Betreff: Re: [tycho-user] Pomless Typo builds

 

Hi Martin

i've had configure the extension via .mvn/extensions.xml in the top directory of my workspace in the same level of .metadata

 

<?xml version="1.0" encoding="UTF-8"?>

<extensions>

  <extension>

    <groupId>org.eclipse.tycho.extras</groupId>

    <artifactId>tycho-pomless</artifactId>

    <version>0.24.0-SNAPSHOT</version>

  </extension>

</extensions>

 

in my parent pom:

 

<pluginRepositories>

                <pluginRepository>

                               <id>tycho-snapshots</id>

                               <url>https://repo.eclipse.org/content/repositories/tycho-snapshots/</url>

                </pluginRepository>

</pluginRepositories>

 

and in my ~/.m2/settings.xml:

 

 

<settings>

<profiles>

    <profile>

      <id>tycho-snapshots</id>

      <pluginRepositories>

        <pluginRepository>

          <id>tycho-snapshots</id>

        </pluginRepository>

      </pluginRepositories>

   </profile>

  </profiles>

  <activeProfiles>

    <activeProfile>tycho-snapshots</activeProfile>

  </activeProfiles>

</settings> 

 

 

y launched my goal maven from my pom aggregator

 

mvn clean verify -Dmaven.test.failure.ignore=true -Dmaven.build.version=yyyyMMdd'-N'

 

Un Saludo

Juan Antonio González Cano

 

 

2015-09-30 6:36 GMT+01:00 SCHREIBER.Martin <Martin.SCHREIBER@xxxxxxxxxxxxx>:

Hi Juan Antonio,

 

Lars had a typo in the filename (setting.xml instead of settingS.xml). Can you describe your problem in more detail.

 

Thanks

Martin

 

 

 

Von: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] Im Auftrag von Juan Antonio Gonzalez Cano
Gesendet: Dienstag, 29. September 2015 14:14
An: Tycho user list
Betreff: Re: [tycho-user] Pomless Typo builds

 

Hi,

 

I also have problems for generate my RCP with pomless, what was your solution?


 

 

 

Un Saludo

 

Juan Antonio González Cano

 

 

2015-09-29 12:08 GMT+01:00 Lars Vogel <lars.vogel@xxxxxxxxx>:

Hi Jan,

 

thanks. Indeed my file was named incorrectly. Shame on me, thanks for the help.

 

Build works fine now.

 

Best regards, Lars

 

2015-09-29 9:31 GMT+02:00 Sievers, Jan <jan.sievers@xxxxxxx>:

>My ~/.m2/setting.xml looks like the following:

looks like the tycho snapshots repo is not known to the build

any chance there is a typo

~/.m2/settings.xml



(note the s) or the maven profile is not active?

Jan



On 28/09/15 20:48, "tycho-user-bounces@xxxxxxxxxxx on behalf of Lars
Vogel" <tycho-user-bounces@xxxxxxxxxxx on behalf of lars.vogel@xxxxxxxxx>
wrote:

>Hi,
>
>
>I'm trying to following the description of pomless Tycho builds: from
>here:
>https://wiki.eclipse.org/Tycho/Release_Notes/0.24#POM-less_Tycho_builds
><https://wiki.eclipse.org/Tycho/Release_Notes/0.24#POM-less_Tycho_builds>.

>
>
>
>Here is my error message:
>
>
>I get the following[WARNING] The POM for
>org.eclipse.tycho.extras:tycho-pomless:jar:0.24.0-SNAPSHOT is missing, no
>dependency information available
>[WARNING] Failed to read extensions descriptor
>/home/vogella/git/com.vogella.saneclipse/.mvn/extensions.xml: Plugin
>org.eclipse.tycho.extras:tycho-pomless:0.24.0-SNAPSHOT or one of its
>dependencies could not be resolved: Could not find artifact
>org.eclipse.tycho.extras:tycho-pomless:jar:0.24.0-SNAPSHOT
>[INFO] Scanning for projects...
>[ERROR] [ERROR] Some problems were encountered while processing the POMs:
>[ERROR] Child module
>/home/vogella/git/com.vogella.saneclipse/./com.vogella.saneclipse.preferen
>ces/pom.xml of /home/vogella/git/com.vogella.saneclipse/pom.xml does not
>exist @
>.... [similar error messages cut of]
>
>
>
>My trivial test is the remove the pom files of my plug-in, features and
>update sites from my existing Tycho example and to configure the
>extension via .mvn/extensions.xml in the top directory.
>
>
><?xml version="1.0" encoding="UTF-8"?>
><extensions>
>  <extension>
>    <groupId>org.eclipse.tycho.extras</groupId>
>    <artifactId>tycho-pomless</artifactId>
>    <version>0.24.0-SNAPSHOT</version>
>  </extension>
></extensions>
>
>
>
>
>
>My ~/.m2/setting.xml looks like the following:
>
>
>
>
><settings>
><profiles>
>    <profile>
>      <id>tycho-snapshots</id>
>      <pluginRepositories>
>        <pluginRepository>
>          <id>tycho-snapshots</id>
>
><url>https://repo.eclipse.org/content/repositories/tycho-snapshots/</url>
>        </pluginRepository>
>      </pluginRepositories>
>   </profile>
>  </profiles>
>  <activeProfiles>
>    <activeProfile>tycho-snapshots</activeProfile>
>  </activeProfiles>
></settings>
>
>
>
>Any advice?
>
>
>Best regards, Lars
>
>
>
>
>
>
>
>
>

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user

 


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user

 


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user

 


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top