These don't sound like m2e issues, should probably look at the tycho list
or the maven user lists.

On 13 October 2015 at 09:41, Christelle BURGUERA <[email protected]
> wrote:

> I’ve done the test under Cygwin with tycho 0.23.1 and Maven 3.3.3 …
>
> Always the same error L
>
>
>
> *From:* Christelle BURGUERA
> *Sent:* Tuesday, October 13, 2015 1:54 PM
> *To:* 'Maven Integration for Eclipse users mailing list'
> *Subject:* RE: Issue with maven install of a product Eclipse
>
>
>
> Perhaps, it’s due to version of typcho I use … 0.19.0 under kepler ?? and
> maven 1.4.0.
>
> From which version can I use the eclipse-repository packaging ?
>
>
>
> *From:* Christelle BURGUERA
> *Sent:* Tuesday, October 13, 2015 1:28 PM
> *To:* Maven Integration for Eclipse users mailing list
> *Subject:* RE: Issue with maven install of a product Eclipse
>
>
>
> No, not throw the UI but in the console like this :
>
> [ERROR] The build could not read 1 project -> [Help 1]
>
> *org.apache.maven.project.ProjectBuildingException*: Some problems were
> encountered while processing the POMs:
>
> [ERROR] Unknown packaging: eclipse-repository @ line 8, column 13
>
>
>
>        at org.apache.maven.project.DefaultProjectBuilder.build(
> *DefaultProjectBuilder.java:363*)
>
>        at org.apache.maven.DefaultMaven.collectProjects(
> *DefaultMaven.java:636*)
>
> …..
>
>
>
> I’ll take a look on vogel’s blog !
>
> Thank you
>
>
>
> *From:* [email protected] [
> mailto:[email protected] <[email protected]>] *On
> Behalf Of *Vincent GUIGNOT
> *Sent:* Tuesday, October 13, 2015 1:24 PM
>
> *To:* Maven Integration for Eclipse users mailing list
> *Subject:* Re: [m2e-users] Issue with maven install of a product Eclipse
>
>
>
> You’ve this error throw the UI, normaly on build, there is no error like
> this.
>
> Strange, take a look @
> http://www.vogella.com/tutorials/EclipseTycho/article.html
>
> Regards
>
>
>
> *De :* [email protected] [mailto:[email protected]
> <[email protected]>] *De la part de* Christelle BURGUERA
> *Envoyé :* mardi 13 octobre 2015 13:18
> *À :* Maven Integration for Eclipse users mailing list
> *Objet :* Re: [m2e-users] Issue with maven install of a product Eclipse
>
>
>
> Hi Vincent !
>
> Thank you to answer me … but if I change the packaging for
> eclipse-repository in my pom product I’ve this error :
>
> Unknown packaging: eclipse-repository
>
>
>
> *From:* [email protected] [
> mailto:[email protected] <[email protected]>] *On
> Behalf Of *Vincent GUIGNOT
> *Sent:* Tuesday, October 13, 2015 11:46 AM
> *To:* Maven Integration for Eclipse users mailing list
> *Subject:* Re: [m2e-users] Issue with maven install of a product Eclipse
>
>
>
> Hi,
>
> Maybe you need to put eclipse-repository instead of pom in your product
> pom.xml file packaging.
>
>
>
>
>
> *De :* [email protected] [mailto:[email protected]
> <[email protected]>] *De la part de* Christelle BURGUERA
> *Envoyé :* mardi 13 octobre 2015 11:16
> *À :* [email protected]
> *Objet :* [m2e-users] Issue with maven install of a product Eclipse
>
>
>
> Hello !
>
>
>
> I’m a newbie with Maven.
>
> I’ve some Eclipse plugins which are installed under a CDT Eclipse.
>
>
>
> I wanted to use Maven … J
>
>
>
> I’ve done already the “install” of Update site of my plugins with maven
> technology and it works very fine !
>
>
>
> I’ve added a product to make my branding, so I’ve a plugin product and its
> feature to generate my Eclipse and it’s ok.
>
> Now I want to do the same with maven.
>
>
>
> So I added a pom to my product plugin and a pom to the associated feature,
> see the poms below:
>
> Product pom :
>
> [CODE]
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <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/xsd/maven-4.0.0.xsd
> <http://maven.apache.org/POM/4.0.0%20http:/maven.apache.org/xsd/maven-4.0.0.xsd>
> ">
>
> <modelVersion>4.0.0</modelVersion>
>
>
>
> <groupId>pouet.workbench</groupId>
>
> <artifactId>pouet.product</artifactId>
>
> <version>1.0.0-SNAPSHOT</version>
>
> <packaging>pom</packaging>
>
>
>
> <properties>
>
>   <version>1.0.0</version>
>
> </properties>
>
>
>
> <repositories>
>
>   <repository>
>
>     <id>eclipse-kepler</id>
>
>     <layout>p2</layout>
>
>     <url>http://download.eclipse.org/releases/kepler</url>
>
>   </repository>
>
> </repositories>
>
>
>
> <build>
>
>   <plugins>
>
>     <plugin>
>
>       <groupId>org.eclipse.tycho</groupId>
>
>       <artifactId>target-platform-configuration</artifactId>
>
>       <version>0.19.0</version>
>
>     </plugin>
>
>     <plugin>
>
>       <groupId>org.eclipse.tycho</groupId>
>
>       <artifactId>tycho-p2-director-plugin</artifactId>
>
>       <version>0.19.0</version>
>
>       <executions>
>
>         <execution>
>
>           <id>materialize-products</id>
>
>           <goals>
>
>             <goal>materialize-products</goal>
>
>           </goals>
>
>         </execution>
>
>       </executions>
>
>     </plugin>
>
>   </plugins>
>
> </build>
>
> </project>
>
> [/CODE]
>
>
>
> Feature pom :
>
> [CODE]
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/xsd/maven-4.0.0.xsd
> <http://maven.apache.org/POM/4.0.0%20http:/maven.apache.org/xsd/maven-4.0.0.xsd>"
> xmlns="http://maven.apache.org/POM/4.0.0";
>
>   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>
>   <modelVersion>4.0.0</modelVersion>
>
>   <artifactId>pouet.product.feature</artifactId>
>
>   <packaging>eclipse-feature</packaging>
>
>   <parent>
>
>   <groupId>pouet.workbench</groupId>
>
>   <artifactId>pouet.product</artifactId>
>
>   <version>1.0.0-SNAPSHOT</version>
>
>   </parent>
>
> </project>
>
> [/CODE]
>
>
>
>
>
> I’ve this issue :
>
> Caused by: java.lang.IllegalStateException: Tycho build extension not
> configured for MavenProject: pouet.workbench:pouet.product:1.0.0-SNAPSHOT @
> C:\Users\burguera\TestSWMavensousKepler\pouet.product\pom.xml
> at
> org.eclipse.tycho.core.utils.TychoProjectUtils.getTargetPlatform(TychoProjectUtils.java:63)
> at
> org.eclipse.tycho.p2.facade.RepositoryReferenceTool.addTargetPlatformRepository(RepositoryReferenceTool.java:116)
> ...
>
>
>
> I looked in the code of Tycho:
>
> [CODE]
>
> public static TargetPlatform getTargetPlatform(MavenProject project) {
>
>         TargetPlatform targetPlatform = (TargetPlatform)
> project.getContextValue(TychoConstants.CTX_TARGET_PLATFORM);
>
>         if (targetPlatform == null) {
>
>             throw new IllegalStateException(TYCHO_NOT_CONFIGURED +
> project.toString());
>
>         }
>
>         return targetPlatform;
>
>     }
>
> [/CODE]
>
>
>
> Where CTX_TARGET_PLATFORM = targetPlatform
>
>
>
> I don’t understand because I’ve a target platform define like this :
>
> <repository>
> < id>eclipse-kepler</id>
> < layout>p2</layout>
> < url>http://download.eclipse.org/releases/kepler</url>
> < /repository>
>
>
>
> I really don’t understand where is the trouble ???
>
> Any idea ?
>
>
>
> Thank you !
>
> Chris
>
>
>
> _______________________________________________
> m2e-users mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/m2e-users
>
_______________________________________________
m2e-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to