Re: How to resolve this javax.transaction:jta:jar:1.0.1B error

2010-02-24 Thread Stephen Connolly
On 24 February 2010 11:25, rsaddey  wrote:

>
>
> stephenconnolly wrote:
> >
> > At the very least stick a repository manager in front and only allow
> > through
> > known good artifacts
> >
> > On 24 February 2010 11:07, Stephen Connolly
> >  >> wrote:
> >
> >> Nooo!!!
> >>
> >> Friends don't let friends use the java.net maven repositories.
> >>
> >> -Stephen
> >>
> >>
> >> On 24 February 2010 10:58, rsaddey  wrote:
> >>
> >>>
> >>>
> >>> Ajoo123 wrote:
> >>> >
> >>> > [...]
> >>> >
> org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException:
> >>> > Missing:
> >>> > --
> >>> > 1) javax.transaction:jta:jar:1.0.1B
> >>> >
> >>>
> >>> You don't need to upload jta to your own repository.
> >>> jta is available from Java.net Maven2 repository at
> >>> http://download.java.net/maven/2/javax/transaction/jta/
> >>>
> >>> Put this in your pom.xml (or even better in your settings.xml):
> >>>
> >>>   
> >>>maven2-repository.dev.java.net
> >>>Java.net Repository for Maven 2
> > [...]
> >
>
> Oops, I wasn't aware of java.net repos causing that much trouble and yes
> we
> have a Nexus and the java.net is at somewhere down end of public group.
>
> Thanks gain, I'll immediately remove my post...
>

Well they break a few of the cardinal rules of maven repositories:

1, They have artifacts with the same GAV coordinates as central and
different content (e.g. JAX-WS)
2. They have been known to delete artifacts and redeploy _the same version_
quite some time after the original was deployed
3. They mix -SNAPSHOT with releases so that the metadata can completely
screw up range resolution

There's more... but IMHO the above 3 should be reason enough not to use the
java.net repositories unless you have a strict repository manager with
filtering sitting in front of them.

-Stephen

--
> View this message in context:
> http://n2.nabble.com/How-to-resolve-this-javax-transaction-jta-jar-1-0-1B-error-tp4623495p4625125.html
> Sent from the maven users mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: How to resolve this javax.transaction:jta:jar:1.0.1B error

2010-02-24 Thread rsaddey


stephenconnolly wrote:
> 
> At the very least stick a repository manager in front and only allow
> through
> known good artifacts
> 
> On 24 February 2010 11:07, Stephen Connolly
> > wrote:
> 
>> Nooo!!!
>>
>> Friends don't let friends use the java.net maven repositories.
>>
>> -Stephen
>>
>>
>> On 24 February 2010 10:58, rsaddey  wrote:
>>
>>>
>>>
>>> Ajoo123 wrote:
>>> >
>>> > [...]
>>> > org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException:
>>> > Missing:
>>> > --
>>> > 1) javax.transaction:jta:jar:1.0.1B
>>> >
>>>
>>> You don't need to upload jta to your own repository.
>>> jta is available from Java.net Maven2 repository at
>>> http://download.java.net/maven/2/javax/transaction/jta/
>>>
>>> Put this in your pom.xml (or even better in your settings.xml):
>>>
>>>   
>>>maven2-repository.dev.java.net
>>>Java.net Repository for Maven 2
> [...]
> 

Oops, I wasn't aware of java.net repos causing that much trouble and yes we
have a Nexus and the java.net is at somewhere down end of public group.

Thanks gain, I'll immediately remove my post...
-- 
View this message in context: 
http://n2.nabble.com/How-to-resolve-this-javax-transaction-jta-jar-1-0-1B-error-tp4623495p4625125.html
Sent from the maven users mailing list archive at Nabble.com.

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



Re: How to resolve this javax.transaction:jta:jar:1.0.1B error

2010-02-24 Thread Stephen Connolly
At the very least stick a repository manager in front and only allow through
known good artifacts

On 24 February 2010 11:07, Stephen Connolly  wrote:

> Nooo!!!
>
> Friends don't let friends use the java.net maven repositories.
>
> -Stephen
>
>
> On 24 February 2010 10:58, rsaddey  wrote:
>
>>
>>
>> Ajoo123 wrote:
>> >
>> > [...]
>> > org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException:
>> > Missing:
>> > --
>> > 1) javax.transaction:jta:jar:1.0.1B
>> >
>>
>> You don't need to upload jta to your own repository.
>> jta is available from Java.net Maven2 repository at
>> http://download.java.net/maven/2/javax/transaction/jta/
>>
>> Put this in your pom.xml (or even better in your settings.xml):
>>
>>   
>>maven2-repository.dev.java.net
>>Java.net Repository for Maven 2
>>http://download.java.net/maven/2
>>
>>true
>>
>>
>>false
>>
>>
>>
>> --
>> View this message in context:
>> http://n2.nabble.com/How-to-resolve-this-javax-transaction-jta-jar-1-0-1B-error-tp4623495p4625005.html
>> Sent from the maven users mailing list archive at Nabble.com.
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
>


Re: How to resolve this javax.transaction:jta:jar:1.0.1B error

2010-02-24 Thread Stephen Connolly
Nooo!!!

Friends don't let friends use the java.net maven repositories.

-Stephen

On 24 February 2010 10:58, rsaddey  wrote:

>
>
> Ajoo123 wrote:
> >
> > [...]
> > org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException:
> > Missing:
> > --
> > 1) javax.transaction:jta:jar:1.0.1B
> >
>
> You don't need to upload jta to your own repository.
> jta is available from Java.net Maven2 repository at
> http://download.java.net/maven/2/javax/transaction/jta/
>
> Put this in your pom.xml (or even better in your settings.xml):
>
>   
>maven2-repository.dev.java.net
>Java.net Repository for Maven 2
>http://download.java.net/maven/2
>
>true
>
>
>false
>
>
>
> --
> View this message in context:
> http://n2.nabble.com/How-to-resolve-this-javax-transaction-jta-jar-1-0-1B-error-tp4623495p4625005.html
> Sent from the maven users mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: How to resolve this javax.transaction:jta:jar:1.0.1B error

2010-02-24 Thread rsaddey


Ajoo123 wrote:
> 
> [...]
> org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException:
> Missing:
> --
> 1) javax.transaction:jta:jar:1.0.1B
> 

You don't need to upload jta to your own repository. 
jta is available from Java.net Maven2 repository at
http://download.java.net/maven/2/javax/transaction/jta/

Put this in your pom.xml (or even better in your settings.xml):

   
maven2-repository.dev.java.net
Java.net Repository for Maven 2
http://download.java.net/maven/2

true


false



-- 
View this message in context: 
http://n2.nabble.com/How-to-resolve-this-javax-transaction-jta-jar-1-0-1B-error-tp4623495p4625005.html
Sent from the maven users mailing list archive at Nabble.com.

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



Re: How to resolve this javax.transaction:jta:jar:1.0.1B error

2010-02-23 Thread Wayne Fay
> I just started learning Mavin and Hibernate. When I comiple I get this
> exception: Below is the pom file
> Question: Where is the local repository created? If I download this jar
> where will I copy it?

I know its asking a lot... but did you READ the message Maven printed
to your console before emailing it?? I think not.

Start at "Try downloading the file" and read the next 10 lines.

Wayne

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



Re: How to resolve this javax.transaction:jta:jar:1.0.1B error

2010-02-23 Thread kristian
download the jar and use the following command and replace the
/path/to/file respectively, it will install it into the local
repository (which is usually $HOME/.m2/repository)

On Wed, Feb 24, 2010 at 8:58 AM, Ajoo123  wrote:
> mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta
> -Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/file
>



-- 
Kristian Meier + Saumya Sharma + Sanuka Meier
Vadakkethu House,
Edayanmula West PO - 689532,
Pathanamthitta District, Kerala, INDIA

tel: +91 468 2319577

protect your privacy while searching the net: www.ixquick.com

 _=_
   q(-_-)p
'_) (_`
/__/  \
 _(<_   / )_
  (__\_\_|_/__)

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