[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] tycho-user Digest, Vol 26, Issue 8

Yes, thank for reply.
 
thant really ture, i got the information from my company's wiki,  for golable strategy they block it, we should take a intral repository if anything you want can not be reached then this repository will help you to download from internet.
 
One more question:
 
before i do "mvn3 org.eclipse.tycho:tycho-pomgenerator-plugin:0.15.0:generate-poms -DgroupId=com.cc.tycho.build", what prepare job should i do for it? just create a empty folder?
 
thanks.
 
 
 

 
> From: tycho-user-request@xxxxxxxxxxx
> Subject: tycho-user Digest, Vol 26, Issue 8
> To: tycho-user@xxxxxxxxxxx
> Date: Tue, 9 Oct 2012 10:16:44 -0400
>
> Send tycho-user mailing list submissions to
> tycho-user@xxxxxxxxxxx
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://dev.eclipse.org/mailman/listinfo/tycho-user
> or, via email, send a message with subject or body 'help' to
> tycho-user-request@xxxxxxxxxxx
>
> You can reach the person managing the list at
> tycho-user-owner@xxxxxxxxxxx
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of tycho-user digest..."
>
>
> Today's Topics:
>
> 1. Re: "Nested Equinox instance is not supported" in a custom
> mojo (Mickael Istria)
> 2. Fail to run generate-poms (??)
> 3. Re: Fail to run generate-poms (Mikhail Kalkov)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 09 Oct 2012 10:06:20 +0200
> From: Mickael Istria <mistria@xxxxxxxxxx>
> To: tycho-user@xxxxxxxxxxx
> Subject: Re: [tycho-user] "Nested Equinox instance is not supported"
> in a custom mojo
> Message-ID: <5073DAFC.5000801@xxxxxxxxxx>
> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
>
> On 10/05/2012 03:04 PM, Igor Fedorenko wrote:
> > Maven does not have proper support for sharing classloaders among
> > different plugins.
> Sounds annoying...
>
> > Most likely Maven decided it needed separate tycho
> > extensions plugin instance, but I can't tell why without debugging your
> > specific case.
>
> I opened a ticket to describe issue, and attached a sample dummy
> project: https://bugs.eclipse.org/bugs/show_bug.cgi?id=391397
> --
> Mickael Istria
> Eclipse developer at JBoss, by Red Hat <http://www.jboss.org/tools>
> My blog <http://mickaelistria.wordpress.com> - My Tweets
> <http://twitter.com/mickaelistria>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://dev.eclipse.org/mailman/private/tycho-user/attachments/20121009/ec32c14c/attachment.html>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 9 Oct 2012 21:41:36 +0800
> From: ?? <msnwangping@xxxxxxxxxxx>
> To: "tycho-user@xxxxxxxxxxx" <tycho-user@xxxxxxxxxxx>
> Subject: [tycho-user] Fail to run generate-poms
> Message-ID: <SNT002-W147B1AA1913BC9BDA1BCE9FB08F0@xxxxxxx>
> Content-Type: text/plain; charset="gb2312"
>
> I got cuple of artical like : http://zeroturnaround.com/labs/building-eclipse-plug-ins-with-maven-3-and-tycho/
>
> the first step is create pom.xml by :
>
> mvn org.eclipse.tycho:tycho-pomgenerator-plugin:generate-poms -DgroupId=com.vogella.tycho.build
>
> I never run it successly, i think there is something misunderstanding, i will write down my understanding, if i'm wrong, please correct me, thanks.
>
> Before that, i need install mvn3 first and what i got is 3.0.4
>
> And then open command-line, create a umpty folder, go into this new folder, run this:
>
> mvn org.eclipse.tycho:tycho-pomgenerator-plugin:generate-poms -DgroupId=com.vogella.tycho.build
>
> And then i got this:
>
>
> C:\Users\xx\Documents\peter\test4>mvn3 org.eclipse.tycho:tycho-pomgenerator-plugin:generate-poms -DgroupId=com.vogella.tycho.build
> [INFO] Scanning for projects...
> Downloading: http://repo.maven.apache.org/maven2/org/eclipse/tycho/tycho-pomgenerator-plugin/maven-metadata.xml
> [WARNING] Could not transfer metadata org.eclipse.tycho:tycho-pomgenerator-plugin/maven-metadata.xml from/to central (http://repo.maven.apache.org/maven2): Connection to http://repo.maven.apache.org refused
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 23.839s
> [INFO] Finished at: Tue Oct 09 14:33:00 BST 2012
> [INFO] Final Memory: 2M/15M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Error resolving version for plugin 'org.eclipse.tycho:tycho-pomgenerator-plugin' from the repositories [local (C:\Users\xx\.m3), central (http://repo.maven.apache.org/maven2)]: Plugin not found in any plugin repository -> [Help 1]
> [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/PluginVersionResolutionException
>
>
> And then i tried to specific the version number like this:
>
> mvn3 org.eclipse.tycho:tycho-pomgenerator-plugin:0.15.0:generate-poms -DgroupId=com.vogella.tycho.build
>
> And it end up with:
>
>
> C:\Users\xx\Documents\peter\test4>mvn3 org.eclipse.tycho:tycho-pomgenerator-plugin:0.15.0:generate-poms -DgroupId=com.vogella.tycho.build
> [INFO] Scanning for projects...
> Downloading: http://repo.maven.apache.org/maven2/org/eclipse/tycho/tycho-pomgenerator-plugin/0.15.0/tycho-pomgenerator-plugin-0.15.0.pom
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 21.545s
> [INFO] Finished at: Tue Oct 09 14:36:25 BST 2012
> [INFO] Final Memory: 2M/15M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Plugin org.eclipse.tycho:tycho-pomgenerator-plugin:0.15.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.eclipse.tycho:tycho-pomgenerator-plugin:jar:0.15.0: Could not transfer artifact org.eclipse.tycho:tycho-pomgenerator-plugin:pom:0.15.0 from/to central (http://repo.maven.apache.org/maven2): Connection to http://repo.maven.apache.org refused: Connection timed out: connect -> [Help 1]
> [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/PluginResolutionException
>
>
> Any reply will be great help, thanks.
>
>
>
>
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://dev.eclipse.org/mailman/private/tycho-user/attachments/20121009/331c017e/attachment.html>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 09 Oct 2012 16:16:40 +0200 (CEST)
> From: Mikhail Kalkov <mikhail.kalkov@xxxxxxxxxxxxxx>
> To: Tycho user list <tycho-user@xxxxxxxxxxx>
> Subject: Re: [tycho-user] Fail to run generate-poms
> Message-ID: <742222fd-5788-4bed-ac91-27d9e256e114@husmusen>
> Content-Type: text/plain; charset="utf-8"
>
> Hi,
>
> The error message says that mvn could not reach Internet. Are you sure you are not behind a proxy, or have configured it correctly?
>
>
> /Mikhail
>
> ----- Original Message -----
>
> From: "??" <msnwangping@xxxxxxxxxxx>
> To: tycho-user@xxxxxxxxxxx
> Sent: Tuesday, October 9, 2012 3:41:36 PM
> Subject: [tycho-user] Fail to run generate-poms
>
>
> I got cuple of artical like : http://zeroturnaround.com/labs/building-eclipse-plug-ins-with-maven-3-and-tycho/
>
> the first step is create pom.xml by :
>
> mvn org.eclipse.tycho:tycho-pomgenerator-plugin:generate-poms -DgroupId=com.vogella.tycho.build
>
> I never run it successly, i think there is something misunderstanding, i will write down my understanding, if i'm wrong, please correct me, thanks.
>
> Before that, i need install mvn3 first and what i got is 3.0.4
>
> And then open command-line, create a umpty folder, go into this new folder, run this:
>
> mvn org.eclipse.tycho:tycho-pomgenerator-plugin:generate-poms -DgroupId=com.vogella.tycho.build
>
> And then i got this:
>
>
>
> C:\Users\xx\Documents\peter\test4>mvn3 org.eclipse.tycho:tycho-pomgenerator-plugin:generate-poms -DgroupId=com.vogella.tycho.build
> [INFO] Scanning for projects...
> Downloading: http://repo.maven.apache.org/maven2/org/eclipse/tycho/tycho-pomgenerator-plugin/maven-metadata.xml
> [WARNING] Could not transfer metadata org.eclipse.tycho:tycho-pomgenerator-plugin/maven-metadata.xml from/to central ( http://repo.maven.apache.org/maven2 ): Connection to http://repo.maven.apache.org refused
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 23.839s
> [INFO] Finished at: Tue Oct 09 14:33:00 BST 2012
> [INFO] Final Memory: 2M/15M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Error resolving version for plugin 'org.eclipse.tycho:tycho-pomgenerator-plugin' from the repositories [local (C:\Users\xx\.m3), central ( http://repo.maven.apache.org/maven2 )]: Plugin not found in any plugin repository -> [Help 1]
> [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/PluginVersionResolutionException
>
>
>
>
> And then i tried to specific the version number like this:
>
> mvn3 org.eclipse.tycho:tycho-pomgenerator-plugin:0.15.0:generate-poms -DgroupId=com.vogella.tycho.build
>
> And it end up with:
>
>
> <blockquote>
> C:\Users\xx\Documents\peter\test4>mvn3 org.eclipse.tycho:tycho-pomgenerator-plugin:0.15.0:generate-poms -DgroupId=com.vogella.tycho.build
> [INFO] Scanning for projects...
> Downloading: http://repo.maven.apache.org/maven2/org/eclipse/tycho/tycho-pomgenerator-plugin/0.15.0/tycho-pomgenerator-plugin-0.15.0.pom
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 21.545s
> [INFO] Finished at: Tue Oct 09 14:36:25 BST 2012
> [INFO] Final Memory: 2M/15M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Plugin org.eclipse.tycho:tycho-pomgenerator-plugin:0.15.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.eclipse.tycho:tycho-pomgenerator-plugin:jar:0.15.0: Could not transfer artifact org.eclipse.tycho:tycho-pomgenerator-plugin:pom:0.15.0 from/to central ( http://repo.maven.apache.org/maven2 ): Connection to http://repo.maven.apache.org refused: Connection timed out: connect -> [Help 1]
> [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/PluginResolutionException
>
> </blockquote>
>
>
> Any reply will be great help, thanks.
>
>
>
>
>
>
>
>
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://dev.eclipse.org/mailman/private/tycho-user/attachments/20121009/884a3a27/attachment.html>
>
> ------------------------------
>
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
>
>
> End of tycho-user Digest, Vol 26, Issue 8
> *****************************************