You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mark Struberg <st...@yahoo.de> on 2006/12/12 14:09:50 UTC

maven-proxy: how to exclude source artifacts from beeing resolved from a public repo

Hi!

Our situation:

We are using maven in our corporate environment,
maintaining our own local artifact and plugin
repository for inhouse stuff. All locally released
artifacts also have attached source artifacts for
debugging purpose in Idea and Eclipse.

We are using maven-proxy to reduce traffic and load
time for caching a few public repos.

Now my question:
Since Idea (idea:idea) and Eclipse (eclipse:eclipse,
m2eclipse) always trie to resolve attached source
artifacts, accessing the global repositories (e.g. for
commons-logging) cause many failed downloads. Is there
any way to tell maven-proxy to exclude some files from
a specific repository, or prevent maven from trying to
resolve a specific artifact type from a specific
repos?

txs in advance,
strub




	
		
___________________________________________________________ 
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven-proxy: how to exclude source artifacts from beeing resolved from a public repo

Posted by Wayne Fay <wa...@gmail.com>.
What JIRA number was this request Nico? And what happened to it?

Wayne

On 12/12/06, nicolas de loof <ni...@gmail.com> wrote:
> I had the same issue, but with another point of view : I expected all
> artifacts on maven repo to have source jars. I have created a private
> "sources" repository, and added missing artifacts sources to it.
> The summer, I have attached my zipped source repository to an upload request
> to make them available on maven repo.
>
> Maintaining such a "source" repository is not a huge work if done by
> incremental additions.
>
> Nico.
>
> 2006/12/12, Mark Struberg <st...@yahoo.de>:
> >
> > Hi!
> >
> > Our situation:
> >
> > We are using maven in our corporate environment,
> > maintaining our own local artifact and plugin
> > repository for inhouse stuff. All locally released
> > artifacts also have attached source artifacts for
> > debugging purpose in Idea and Eclipse.
> >
> > We are using maven-proxy to reduce traffic and load
> > time for caching a few public repos.
> >
> > Now my question:
> > Since Idea (idea:idea) and Eclipse (eclipse:eclipse,
> > m2eclipse) always trie to resolve attached source
> > artifacts, accessing the global repositories (e.g. for
> > commons-logging) cause many failed downloads. Is there
> > any way to tell maven-proxy to exclude some files from
> > a specific repository, or prevent maven from trying to
> > resolve a specific artifact type from a specific
> > repos?
> >
> > txs in advance,
> > strub
> >
> >
> >
> >
> >
> >
> > ___________________________________________________________
> > Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail:
> > http://mail.yahoo.de
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven-proxy: how to exclude source artifacts from beeing resolved from a public repo

Posted by nicolas de loof <ni...@gmail.com>.
I had the same issue, but with another point of view : I expected all
artifacts on maven repo to have source jars. I have created a private
"sources" repository, and added missing artifacts sources to it.
The summer, I have attached my zipped source repository to an upload request
to make them available on maven repo.

Maintaining such a "source" repository is not a huge work if done by
incremental additions.

Nico.

2006/12/12, Mark Struberg <st...@yahoo.de>:
>
> Hi!
>
> Our situation:
>
> We are using maven in our corporate environment,
> maintaining our own local artifact and plugin
> repository for inhouse stuff. All locally released
> artifacts also have attached source artifacts for
> debugging purpose in Idea and Eclipse.
>
> We are using maven-proxy to reduce traffic and load
> time for caching a few public repos.
>
> Now my question:
> Since Idea (idea:idea) and Eclipse (eclipse:eclipse,
> m2eclipse) always trie to resolve attached source
> artifacts, accessing the global repositories (e.g. for
> commons-logging) cause many failed downloads. Is there
> any way to tell maven-proxy to exclude some files from
> a specific repository, or prevent maven from trying to
> resolve a specific artifact type from a specific
> repos?
>
> txs in advance,
> strub
>
>
>
>
>
>
> ___________________________________________________________
> Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail:
> http://mail.yahoo.de
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: maven-proxy: how to exclude source artifacts from beeing resolved from a public repo

Posted by Tom Huybrechts <to...@gmail.com>.
The latest version (in svn) of eclipse:eclipse maintains a status
cache for source downloads.

See the download-soruces parameter in
http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html

On 12/12/06, Mark Struberg <st...@yahoo.de> wrote:
> Hi!
>
> Our situation:
>
> We are using maven in our corporate environment,
> maintaining our own local artifact and plugin
> repository for inhouse stuff. All locally released
> artifacts also have attached source artifacts for
> debugging purpose in Idea and Eclipse.
>
> We are using maven-proxy to reduce traffic and load
> time for caching a few public repos.
>
> Now my question:
> Since Idea (idea:idea) and Eclipse (eclipse:eclipse,
> m2eclipse) always trie to resolve attached source
> artifacts, accessing the global repositories (e.g. for
> commons-logging) cause many failed downloads. Is there
> any way to tell maven-proxy to exclude some files from
> a specific repository, or prevent maven from trying to
> resolve a specific artifact type from a specific
> repos?
>
> txs in advance,
> strub
>
>
>
>
>
>
> ___________________________________________________________
> Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org