Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Gah! Netbeans, Maven, and EclipseLink

H David,

I am not sure what you mean about "auto-complete for eclipse maven repo
elements".  I am using Eclipse, not Netbeans.  :)

I wrote my "repository" section like this:

		<repository>
		    <id>EclipseLink Repo</id>
		   
<url>http://www.eclipse.org/downloads/download.php?r=1&amp;nf=1&amp;file=/rt/eclipselink/maven.repo</url>
		</repository>   		

Actually, we cache the files we need from that repo in our own, so I haven't
used that link in a long time.

However, when I click on that URL in a web browser, I am able to browse
around the repository.  After I click on the "org.eclipse.persistence.core"
directory, I see lots of files.  Here's the exact link that the eclipse.org
URL resolved to:
http://mirrors.xmission.com/eclipse/rt/eclipselink/maven.repo/org/eclipse/persistence/org.eclipse.persistence.core/

These are the files that I see:

[DIR] 1.0-M7/                 08-May-2008 11:28    -   
[DIR] 1.0-M8/                 04-Jun-2008 12:27    -   
[DIR] 1.0-M9/                 18-Jun-2008 12:07    -   
[DIR] 1.0-M10/                25-Jun-2008 15:34    -   
[DIR] 1.0-M11/                02-Jul-2008 14:33    -   
[DIR] 1.0-SNAPSHOT/           07-Jul-2008 02:44    -   
[DIR] 1.0.1-M2/               28-Aug-2008 09:49    -   
[DIR] 1.0.1-M3/               03-Sep-2008 14:05    -   
[DIR] 1.0.1-SNAPSHOT/         03-Sep-2008 03:10    -   
[DIR] 1.0.1/                  12-Sep-2008 07:07    -   
[DIR] 1.0/                    29-Aug-2008 07:36    -   
[DIR] 1.01-SNAPSHOT/          30-Jun-2008 23:22    -   
[DIR] 1.1-M1/                 27-Aug-2008 14:09    -   
[DIR] 1.1-M2/                 18-Sep-2008 19:34    -   
[DIR] 1.1-SNAPSHOT/           25-Sep-2008 15:02    -   
[   ] maven-metadata.xml      25-Sep-2008 15:02  873   
[   ] maven-metadata.xml.md5  25-Sep-2008 15:02   32   
[   ] maven-metadata.xml.sha1 25-Sep-2008 15:02   40   

Are you saying you can't see these files when you browse it?  Maybe
different mirrors store different artifacts?

--Polly


David Nedrow-4 wrote:
> 
> 
> On Sep 26, 2008, at 1:38 PM, amphoras wrote:
> 
>>
>> Yes, I also found it a pain to use Maven with EclipseLink at first.   
>> But now
>> things work fine.  The trick is to convert the "&" symbol to "&  
>> amp;" in the
>> URL (remove the space in that quoted string--that was the only way I  
>> could
>> get the string to display properly by this forum).
> 
> 
> I had already done that with no joy. Are you able to get auto-complete  
> for eclipse maven repo elements?
> 
> How do you have the actual repository defined?
> 
> Here's my current repo definition that only displays eclipselink 1.0- 
> SNAPSHOT under org.eclipse.persistence. I'm not presented with any  
> release versions, etc.
> 
>          <repository>
>              <id>EclipseLink Repo</id>
>              
> <url>http://www.eclipse.org/downloads/download.php?r=1&amp;nf=1&amp;file=/rt/eclipselink/maven.repo 
> </url>
>               <releases><enabled>1</enabled></releases>
>               <snapshots><enabled>1</enabled></snapshots>
>          </repository>
> 
> 
> -David
> _______________________________________________
> eclipselink-users mailing list
> eclipselink-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/eclipselink-users
> 
> 

-- 
View this message in context: http://www.nabble.com/Gah%21-Netbeans%2C-Maven%2C-and-EclipseLink-tp19675861p19696154.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top