Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Unable to use Proxy with m2e Discovery

Please open a bugreport and attach any relevant entries from eclipse .log file.

--
Regards,
Igor

On 11-08-23 7:25 PM, Michael Sena wrote:
Hi Igor,

Yes it does.  Marketplace and Pulse Updater both work.

Michael

-----Original Message-----
From: m2e-users-bounces@xxxxxxxxxxx
[mailto:m2e-users-bounces@xxxxxxxxxxx] On Behalf Of
m2e-users-request@xxxxxxxxxxx
Sent: Wednesday, 24 August 2011 2:00 AM
To: m2e-users@xxxxxxxxxxx
Subject: m2e-users Digest, Vol 31, Issue 54

Send m2e-users mailing list submissions to
	m2e-users@xxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
	https://dev.eclipse.org/mailman/listinfo/m2e-users
or, via email, send a message with subject or body 'help' to
	m2e-users-request@xxxxxxxxxxx

You can reach the person managing the list at
	m2e-users-owner@xxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of m2e-users digest..."


Today's Topics:

    1. Re: Generated sources directory not being added to	source
       folders (Anders Hammar)
    2. Re: Unable to use Proxy with m2e Discovery (Igor Fedorenko)
    3. Re: m2e-wtp 0.13 war overlays - problem with publishing	to
       server (Hugi Thordarson)
    4. Re: Archetype Selection Using m2eclipse (sdoca sdoca)
    5. Re: Archetype Selection Using m2eclipse (Igor Fedorenko)


----------------------------------------------------------------------

Message: 1
Date: Tue, 23 Aug 2011 10:10:03 +0200
From: Anders Hammar<anders@xxxxxxxxxx>
To: Maven Integration for Eclipse users mailing list
	<m2e-users@xxxxxxxxxxx>
Subject: Re: [m2e-users] Generated sources directory not being added
	to	source folders
Message-ID:
	
<CAKDUN1tPMbN8yvdv7wuhmB8wAEtS35wJhtiuvo-qCV57tWMwMw@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1

You need to use a m2e connector for this. IIRC there is one in the
discovery catalog. m2e should warn you about the jaxws-m-p not being
supported by m2e and give you the choice of discovering a connector.
But possibly you've configure m2e to ignore this plugin in your pom?

/Anders

On Tue, Aug 23, 2011 at 09:03, Asplund Marko<marko.asplund@xxxxxxxxxx>
wrote:
Hi,

I'm having some Eclipse source folder issues when using
jaxws-maven-plugin
for generating JAXB classes from XML schema.
Should the generated sources directory be automatically added to the
Eclipse source folders?
Or do I need to somehow add it manually?

Source folders includes the following:
- myprj/src/main/java
- myprj/src/main/resources

- myprj/src/test/java

- myprj/src/test/resources

- myprj/target/wsdl

I've tried 'update project configuration' and 'update dependencies'
but
this doesn't seem to help.
Here's my jaxws-maven-plugin config:

? ? ?<plugin>
? ? ? ?<groupId>org.codehaus.mojo</groupId>
? ? ? ?<artifactId>jaxws-maven-plugin</artifactId>
? ? ? ?<version>1.10</version>
? ? ? ?<executions>
? ? ? ? ?<execution>
? ? ? ? ? ?<goals>
? ? ? ? ? ? ?<goal>wsimport</goal>
? ? ? ? ? ?</goals>
? ? ? ? ?</execution>
? ? ? ?</executions>
? ? ? ?<configuration>
? ? ? ? ?<target>${jaxws-api.version}</target>
? ? ? ?
?<wsdlDirectory>${project.build.directory}/wsdl</wsdlDirectory>
? ? ? ? ?<extension>true</extension>
? ? ? ? ?<xadditionalHeaders>true</xadditionalHeaders>


<sourceDestDir>${project.build.directory}/generated-sources</sourceDestD
ir>
? ? ? ?</configuration>
? ? ?</plugin>


Version details:
- m2e: 1.0.100.20110804-1717
- jaxws-maven-plugin:1.10
- Maven: 3.0.3
- Eclipse: Indigo



marko


_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users



------------------------------

Message: 2
Date: Tue, 23 Aug 2011 07:29:41 -0400
From: Igor Fedorenko<igor@xxxxxxxxxxxxxx>
To: m2e-users@xxxxxxxxxxx
Subject: Re: [m2e-users] Unable to use Proxy with m2e Discovery
Message-ID:<4E538F25.7010405@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset=windows-1252; format=flowed

Does eclipse marketplace client work?

--
Regards,
Igor

On 11-08-23 2:53 AM, Michael Sena wrote:
Hi Guys,

I?m not able to use m2e discovery due to a proxy issue.

I?m not sure where the fault lies, but how I have Eclipse at the
moment is:

-Manual proxy

-Settings applied for HTTP&  HTTPS

-(Logs show that this proxy is used when attempting to get the catalog
jar)

-Pulse works fine with these settings.

Trying to open the catalog of m2e discovery though, its not able to
and
results in a 0byte jar file.

How do I either:

-Override the JAR file myself

-Override discovery.xml to use HTTP instead of HTTPS

-Make it use proxy settings right?

Its the only thing that isn?t working with proxies and I?ve gone
through
settings again and again, so I?m pretty sure its not that.

Thanks,

Michael

NOTICE

This e-mail and any attachments are confidential and may contain
copyright material of Macquarie Group Limited or third parties. If you
are not the intended recipient of this email you should not read,
print,
re-transmit, store or act in reliance on this e-mail or any
attachments,
and should destroy all copies of them. Macquarie Group Limited does
not
guarantee the integrity of any emails or any attached files. The views
or opinions expressed are the author's own and may not reflect the
views
or opinions of Macquarie Group Limited.



_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users


------------------------------

Message: 3
Date: Tue, 23 Aug 2011 13:46:10 +0000
From: Hugi Thordarson<hugi@xxxxxxxxxxx>
To: Maven Integration for Eclipse users mailing list
	<m2e-users@xxxxxxxxxxx>
Subject: Re: [m2e-users] m2e-wtp 0.13 war overlays - problem with
	publishing	to server
Message-ID:<CC622DC0-F6F5-4978-A2A3-1E2987B931D9@xxxxxxxxxxx>
Content-Type: text/plain; charset="windows-1252"

Hi Fred.

Thanks for pointing me to the .log file. I had a stack trace there that
provided me some foundation for googling?and found out it was a
configuration problem with my Tomcat. I intalled a fresh Tomcat 6 and
used that instead, and had more luck with it that way.

However, now I'm getting odd errors when attempting to start up the
application; sometimes the app doesn't find the compiled jsp pages, and
sometimes it can't find regular classes, even after I've explicitly
added the projects containing them to the project's build path.

Are there any additional steps involved in running a mvn-wtp (or war
overlay) project? I should just be able to follow the following
procedure, right?

1. Checkout the maven projects from source control
2. Import them into my workspace
3. Create a new runtime from my fresh Tomcat 6 installation
4. Right click on the project, select "Run As? Run on server" and run it
on the new server
5. Enjoy the fruits of my hard labour, with automatic copying of
resources and class hotswapping

Am I missing something here?

Cheers,
- hugi


On 22.8.2011, at 23:56, Fred Bricon wrote:

The error message hints at an error in the WTP server adapter layer. I
don't have enough information to point to a specific m2e-wtp issue.
Can you look in Eclipse log file (<workspace>/.metadata/.log ) to get
more details on the exception stacktrace?

Regards,

Fred Bricon

2011/8/10 Hugi Thordarson<hugi@xxxxxxxxxxx>
Hi all.

I'm trying out the m2e-wtp support in m2e-wtp (huzzah that it's
finally there!)
I'm hitting a problem though. I import my overlays into the workspace
(maven war projects) and then I import my web project, that depends on
the war projects. So far so good.

Then I create a new Tomcat 6 server, and attempt to publish (choosing
Run as ->  Run on server).

When the server attempts to start, I get this error:

"
Removing obsolete files from server
Could not clean server of obsolete files: null
java lang NullPointerException"
"

Anyone have an idea what's happening? Or know where I can find some
better debugging information?

Cheers,
- hug
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users



--
"Have you tried turning it off and on again" - The IT Crowd
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://dev.eclipse.org/mailman/private/m2e-users/attachments/20110823/
1db8ffb8/attachment.htm>

------------------------------

Message: 4
Date: Tue, 23 Aug 2011 08:58:01 -0600
From: sdoca sdoca<sdoca@xxxxxxx>
To: m2e-users@xxxxxxxxxxx
Subject: Re: [m2e-users] Archetype Selection Using m2eclipse
Message-ID:<fb7217656bad1.4e536b99@xxxxxxx>
Content-Type: text/plain; charset=windows-1252

Hi,

Looking at the Plugin Console, the only ones installed are ?Core
Plugins?:

Core Documentation
Indexer Lucene
OSS LDAP
Plugin Console
Remote Repository Browsing

Thanks!

From: m2e-users-bounces@xxxxxxxxxxx
[mailto:m2e-users-bounces@xxxxxxxxxxx] On Behalf Of zuxiong lin
Sent: Saturday, 20 August 2011 1:05 AM
To: Maven Integration for Eclipse users mailing list
Subject: Re: [m2e-users] Archetype Selection Using m2eclipse

Do you add plugins or config your Nexus  Server that more details?

2011/8/20 sdoca sdoca<sdoca@xxxxxxx>
Hi,

Can anybody help me with understanding how archetypes are loaded by
m2eclipse?  Is there a better forum that I should be asking?

Thanks!


----- Original Message -----
From: sdoca sdoca<sdoca@xxxxxxx>
Date: Tuesday, August 16, 2011 4:25 pm
Subject: [m2e-users] Archetype Selection Using m2eclipse
To: m2e-users@xxxxxxxxxxx

Hi,

I would like to create a new Maven project in Eclipse using an
archetype using the New Maven Project wizard. At the
"Select an Archetype" step, I
  have three catalogs to choose from: Nexus Indexer,
Internal and Default Local.
   I don't understand where the content for these catalogs
should be
coming from.  If I click on the "Configure" button, they
are all greyed
out and I can't modify them.

Only the Internal catalog has any archetypes listed in
it.  Where are these archetypes coming from?  It's not
from my local
Maven repository because the group/artifacts are not in it (and
archetypes in the repo are not listed).

Why is the Nexus Indexer list empty? I've read some
posts that the Nexus index needs to be updated, but not how to
do this.
  Is this different than the repository indexes (which are
scheduled to
be updated daily).

As you can see, I'm a little confused about the whole catalog
business and how Maven, m2eclipse and Nexus interact. Any
clarification
is most welcome!

My setup:

Eclipse: Helios Service Release 2 (Build id: 20110218-0911)
Apache Maven 3.0.3 m2eclipse: 0.12.1.20110112-1712 (set up to
use external Maven install) Sonatype Nexus? Open Source Edition,
Version: 1.9.0.2

My local Maven settings.xml looks like this:

<settings>
   <mirrors>
     <mirror>
       <!--This sends everything else to /public -->
       <id>nexus</id>
       <mirrorOf>*</mirrorOf>

<url>http://myserver:8080/nexus/content/groups/public</url>
</mirror>
   </mirrors>
   <profiles>
     <profile>
       <id>nexus</id>
       <!--Enable snapshots for the built in central repo to
direct -->
       <!--all requests to nexus via the mirror -->
       <repositories>
         <repository>
           <id>central</id>
           <url>http://central</url>
           <releases><enabled>true</enabled></releases>
           <snapshots><enabled>true</enabled></snapshots>
         </repository>
       </repositories>
      <pluginRepositories>
         <pluginRepository>
           <id>central</id>
           <url>http://central</url>
           <releases><enabled>true</enabled></releases>
           <snapshots><enabled>true</enabled></snapshots>
         </pluginRepository>
       </pluginRepositories>
     </profile>
   </profiles>
   <activeProfiles>
     <!--make the profile active all the time -->
     <activeProfile>nexus

   <servers>
       <server>
           <id>my-snapshots</id>
           <username>user</username>
           <password>password</password>
       </server>
       <server>
           <id>my-releases</id>
           <username>user</username>
           <password>password</password>
       </server>
   </servers>
</settings>


_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users





------------------------------

Message: 5
Date: Tue, 23 Aug 2011 11:02:43 -0400
From: Igor Fedorenko<igor@xxxxxxxxxxxxxx>
To: m2e-users@xxxxxxxxxxx
Subject: Re: [m2e-users] Archetype Selection Using m2eclipse
Message-ID:<4E53C113.3090702@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset=windows-1252; format=flowed

Please nexus user list to discuss nexus-related topics. Thank you.

--
Regards,
Igor

On 11-08-23 10:58 AM, sdoca sdoca wrote:
Hi,

Looking at the Plugin Console, the only ones installed are ?Core
Plugins?:

Core Documentation
Indexer Lucene
OSS LDAP
Plugin Console
Remote Repository Browsing

Thanks!

From: m2e-users-bounces@xxxxxxxxxxx
[mailto:m2e-users-bounces@xxxxxxxxxxx] On Behalf Of zuxiong lin
Sent: Saturday, 20 August 2011 1:05 AM
To: Maven Integration for Eclipse users mailing list
Subject: Re: [m2e-users] Archetype Selection Using m2eclipse

Do you add plugins or config your Nexus  Server that more details?

2011/8/20 sdoca sdoca<sdoca@xxxxxxx>
Hi,

Can anybody help me with understanding how archetypes are loaded by
m2eclipse?  Is there a better forum that I should be asking?

Thanks!


----- Original Message -----
From: sdoca sdoca<sdoca@xxxxxxx>
Date: Tuesday, August 16, 2011 4:25 pm
Subject: [m2e-users] Archetype Selection Using m2eclipse
To: m2e-users@xxxxxxxxxxx

Hi,

I would like to create a new Maven project in Eclipse using an
archetype using the New Maven Project wizard. At the
"Select an Archetype" step, I
   have three catalogs to choose from: Nexus Indexer,
Internal and Default Local.
    I don't understand where the content for these catalogs
should be
coming from.  If I click on the "Configure" button, they
are all greyed
out and I can't modify them.

Only the Internal catalog has any archetypes listed in
it.  Where are these archetypes coming from?  It's not
from my local
Maven repository because the group/artifacts are not in it (and
archetypes in the repo are not listed).

Why is the Nexus Indexer list empty? I've read some
posts that the Nexus index needs to be updated, but not how to
do this.
   Is this different than the repository indexes (which are
scheduled to
be updated daily).

As you can see, I'm a little confused about the whole catalog
business and how Maven, m2eclipse and Nexus interact. Any
clarification
is most welcome!

My setup:

Eclipse: Helios Service Release 2 (Build id: 20110218-0911)
Apache Maven 3.0.3 m2eclipse: 0.12.1.20110112-1712 (set up to
use external Maven install) Sonatype Nexus? Open Source Edition,
Version: 1.9.0.2

My local Maven settings.xml looks like this:

<settings>
    <mirrors>
      <mirror>
        <!--This sends everything else to /public -->
        <id>nexus</id>
        <mirrorOf>*</mirrorOf>

<url>http://myserver:8080/nexus/content/groups/public</url>
</mirror>
    </mirrors>
    <profiles>
      <profile>
        <id>nexus</id>
        <!--Enable snapshots for the built in central repo to
direct -->
        <!--all requests to nexus via the mirror -->
        <repositories>
          <repository>
            <id>central</id>
            <url>http://central</url>
            <releases><enabled>true</enabled></releases>
            <snapshots><enabled>true</enabled></snapshots>
          </repository>
        </repositories>
       <pluginRepositories>
          <pluginRepository>
            <id>central</id>
            <url>http://central</url>
            <releases><enabled>true</enabled></releases>
            <snapshots><enabled>true</enabled></snapshots>
          </pluginRepository>
        </pluginRepositories>
      </profile>
    </profiles>
    <activeProfiles>
      <!--make the profile active all the time -->
      <activeProfile>nexus

    <servers>
        <server>
            <id>my-snapshots</id>
            <username>user</username>
            <password>password</password>
        </server>
        <server>
            <id>my-releases</id>
            <username>user</username>
            <password>password</password>
        </server>
    </servers>
</settings>


_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users



_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users


------------------------------

_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users


End of m2e-users Digest, Vol 31, Issue 54
*****************************************
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users


Back to the top