You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Harper, Brad" <br...@fiserv.com> on 2009/07/11 00:00:30 UTC

dependency on artifact javax.activation:activation version 1.1.1

While trying to keep our third-party dependencies current, we found that
[1] reports a version 1.1.1 available for javax.activation:activation
... yet no such artifact version appears to exist in the central maven2
repo.

 

On the other hand, [2] reports this version for the JavaBeans Activation
Framework and references the repo at http://repository.jboss.com/maven2.


 

According to content at [3], this version of JAF was announced on
2007-Oct-22. The final release is available separately and in Java SE 6
[presumably via subsequent updates].

 

Oddly, an out-of-the-box maven running on the command line can't resolve
javax.activation:activation:1.1.1, but it seems that m2eclipse can ...
suggesting that the IDE plugin is hitting the jboss repo [even when the
installed maven conf/settings.xml doesn't define jboss as a
<repository>].

 

Questions:

 

  Shouldn't this artifact version be available from the central repo?
[Admittedly, the changes in the subject version appear to be minor.]

 

  Does m2eclipse hit the jboss repo by default [in addition to central,
etc.]?

 

Brad

 

[1] http://www.mavenbrowser.com/pom-report.html

[2] http://www.mavensearch.net/ 

[3] http://java.sun.com/javase/technologies/desktop/javabeans/jaf/

 


Re: dependency on artifact javax.activation:activation version 1.1.1

Posted by Anders Hammar <an...@hammar.net>.
Just to add to Tim's advice, having a repo manager makes it very easy
to add any missing artifact should you need to.

/Anders

On Sat, Jul 11, 2009 at 16:36, Tim O'Brien<to...@discursive.com> wrote:
> Instead of just adding the JBoss repository to your repositories in a
> pom.xml.   Your best bet here is going to be to install a repository
> manager, add all the repositories you need to a repository group, and
> then configure your settings.xml to use a single repository group URL.
>
> If you do this, you'll speed up your builds because Maven will only
> need to query a single URL when trying to locate an artifact, and
> you'll be able to search the group of repositories you have included
> in your repository manager.
>
> 1. Download a repository manager
> 2. Add http://repository.jboss.com/maven2/ as a proxy repository
> 3. Add it to a repository group
> 4. Configure your Maven settings to use a single repo group as a mirrorOf *
>
> An additional benefit is that you will no longer need to use
> mavensearch.net which isn't as full featured as any of the search
> capabilities already present in the three main repository managers.
> Because the JBoss repository already generates the standard
> lucene-based index format, you can just use the search capabilities of
> your IDE plugin or your repo manager to search the repositories your
> are using.   Make sure to configure your repository manager to
> download the remote index for the JBoss repository manager.
>
> Tim O'Brien
>
>
> On Sat, Jul 11, 2009 at 5:29 AM, Edelson,
> Justin<Ju...@mtvstaff.com> wrote:
>> As to your second question, m2eclipse will only index the repositories you tell it to. Open up the Index View and you'll see the list of repos.
>>
>> Justin
>>
>> ________________________________
>>
>> From: Harper, Brad [mailto:brad.harper@fiserv.com]
>> Sent: Fri 7/10/2009 6:00 PM
>> To: Maven Users List
>> Subject: dependency on artifact javax.activation:activation version 1.1.1
>>
>>
>>
>> While trying to keep our third-party dependencies current, we found that
>> [1] reports a version 1.1.1 available for javax.activation:activation
>> ... yet no such artifact version appears to exist in the central maven2
>> repo.
>>
>>
>>
>> On the other hand, [2] reports this version for the JavaBeans Activation
>> Framework and references the repo at http://repository.jboss.com/maven2.
>>
>>
>>
>>
>> According to content at [3], this version of JAF was announced on
>> 2007-Oct-22. The final release is available separately and in Java SE 6
>> [presumably via subsequent updates].
>>
>>
>>
>> Oddly, an out-of-the-box maven running on the command line can't resolve
>> javax.activation:activation:1.1.1, but it seems that m2eclipse can ...
>> suggesting that the IDE plugin is hitting the jboss repo [even when the
>> installed maven conf/settings.xml doesn't define jboss as a
>> <repository>].
>>
>>
>>
>> Questions:
>>
>>
>>
>>  Shouldn't this artifact version be available from the central repo?
>> [Admittedly, the changes in the subject version appear to be minor.]
>>
>>
>>
>>  Does m2eclipse hit the jboss repo by default [in addition to central,
>> etc.]?
>>
>>
>>
>> Brad
>>
>>
>>
>> [1] http://www.mavenbrowser.com/pom-report.html
>>
>> [2] http://www.mavensearch.net/
>>
>> [3] http://java.sun.com/javase/technologies/desktop/javabeans/jaf/
>>
>>
>>
>>
>>
>>
>
> ---------------------------------------------------------------------
> 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: dependency on artifact javax.activation:activation version 1.1.1

Posted by Tim O'Brien <to...@discursive.com>.
Instead of just adding the JBoss repository to your repositories in a
pom.xml.   Your best bet here is going to be to install a repository
manager, add all the repositories you need to a repository group, and
then configure your settings.xml to use a single repository group URL.

If you do this, you'll speed up your builds because Maven will only
need to query a single URL when trying to locate an artifact, and
you'll be able to search the group of repositories you have included
in your repository manager.

1. Download a repository manager
2. Add http://repository.jboss.com/maven2/ as a proxy repository
3. Add it to a repository group
4. Configure your Maven settings to use a single repo group as a mirrorOf *

An additional benefit is that you will no longer need to use
mavensearch.net which isn't as full featured as any of the search
capabilities already present in the three main repository managers.
Because the JBoss repository already generates the standard
lucene-based index format, you can just use the search capabilities of
your IDE plugin or your repo manager to search the repositories your
are using.   Make sure to configure your repository manager to
download the remote index for the JBoss repository manager.

Tim O'Brien


On Sat, Jul 11, 2009 at 5:29 AM, Edelson,
Justin<Ju...@mtvstaff.com> wrote:
> As to your second question, m2eclipse will only index the repositories you tell it to. Open up the Index View and you'll see the list of repos.
>
> Justin
>
> ________________________________
>
> From: Harper, Brad [mailto:brad.harper@fiserv.com]
> Sent: Fri 7/10/2009 6:00 PM
> To: Maven Users List
> Subject: dependency on artifact javax.activation:activation version 1.1.1
>
>
>
> While trying to keep our third-party dependencies current, we found that
> [1] reports a version 1.1.1 available for javax.activation:activation
> ... yet no such artifact version appears to exist in the central maven2
> repo.
>
>
>
> On the other hand, [2] reports this version for the JavaBeans Activation
> Framework and references the repo at http://repository.jboss.com/maven2.
>
>
>
>
> According to content at [3], this version of JAF was announced on
> 2007-Oct-22. The final release is available separately and in Java SE 6
> [presumably via subsequent updates].
>
>
>
> Oddly, an out-of-the-box maven running on the command line can't resolve
> javax.activation:activation:1.1.1, but it seems that m2eclipse can ...
> suggesting that the IDE plugin is hitting the jboss repo [even when the
> installed maven conf/settings.xml doesn't define jboss as a
> <repository>].
>
>
>
> Questions:
>
>
>
>  Shouldn't this artifact version be available from the central repo?
> [Admittedly, the changes in the subject version appear to be minor.]
>
>
>
>  Does m2eclipse hit the jboss repo by default [in addition to central,
> etc.]?
>
>
>
> Brad
>
>
>
> [1] http://www.mavenbrowser.com/pom-report.html
>
> [2] http://www.mavensearch.net/
>
> [3] http://java.sun.com/javase/technologies/desktop/javabeans/jaf/
>
>
>
>
>
>

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


RE: dependency on artifact javax.activation:activation version 1.1.1

Posted by "Edelson, Justin" <Ju...@mtvstaff.com>.
As to your second question, m2eclipse will only index the repositories you tell it to. Open up the Index View and you'll see the list of repos.
 
Justin

________________________________

From: Harper, Brad [mailto:brad.harper@fiserv.com]
Sent: Fri 7/10/2009 6:00 PM
To: Maven Users List
Subject: dependency on artifact javax.activation:activation version 1.1.1



While trying to keep our third-party dependencies current, we found that
[1] reports a version 1.1.1 available for javax.activation:activation
... yet no such artifact version appears to exist in the central maven2
repo.



On the other hand, [2] reports this version for the JavaBeans Activation
Framework and references the repo at http://repository.jboss.com/maven2.




According to content at [3], this version of JAF was announced on
2007-Oct-22. The final release is available separately and in Java SE 6
[presumably via subsequent updates].



Oddly, an out-of-the-box maven running on the command line can't resolve
javax.activation:activation:1.1.1, but it seems that m2eclipse can ...
suggesting that the IDE plugin is hitting the jboss repo [even when the
installed maven conf/settings.xml doesn't define jboss as a
<repository>].



Questions:



  Shouldn't this artifact version be available from the central repo?
[Admittedly, the changes in the subject version appear to be minor.]



  Does m2eclipse hit the jboss repo by default [in addition to central,
etc.]?



Brad



[1] http://www.mavenbrowser.com/pom-report.html

[2] http://www.mavensearch.net/

[3] http://java.sun.com/javase/technologies/desktop/javabeans/jaf/