You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by derkoe <ta...@gmail.com> on 2011/11/08 13:05:33 UTC

[5.3] JPA Maven Dependency not found

Just tried to use 5.3-rc-2 tapestry-jpa module, but Maven cannot find the
dependency to org.eclipse.persistence:javax.persistence:2.0.3

There seems to be a 2.0.0 but not 2.0.3:
http://search.maven.org/#search|ga|1|a%3A%22javax.persistence%22
http://mvnrepository.com/artifact/org.eclipse.persistence/javax.persistence

Anyway - I think it's not good to have this artifact as a transient
dependency: it would be good when the artifact is marked as optional=true or
scope=provided in the pom so that it is not inherited transiently.

-- 
Chris


--
View this message in context: http://tapestry.1045711.n5.nabble.com/5-3-JPA-Maven-Dependency-not-found-tp4974063p4974063.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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


Re: [5.3] JPA Maven Dependency not found

Posted by jeczmien <je...@podgorska.ddns.info>.
I've already done it.
This is not case - problem is it still not corrected in repository.
Developers (users) waste their time to fix problem, which shouldn't happen
in STABLE version.



--
View this message in context: http://tapestry.1045711.n5.nabble.com/5-3-JPA-Maven-Dependency-not-found-tp4974063p5059481.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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


Re: [5.3] JPA Maven Dependency not found

Posted by Igor Drobiazko <ig...@gmail.com>.
You can also add the following repository to get the dependencies:

http://download.eclipse.org/rt/eclipselink/maven.repo/

This is how we fixed the issue in trunk and 5.3 branch.

On Wed, Dec 7, 2011 at 10:36 PM, Lenny Primak <lp...@hope.nyc.ny.us>wrote:

> Use this:
>        <dependency>
>            <groupId>org.apache.tapestry</groupId>
>            <artifactId>tapestry-jpa</artifactId>
>            <version>${tap.version}</version>
>            <type>jar</type>
>            <scope>compile</scope>
>            <exclusions>
>                <exclusion>
>                    <artifactId>javax.persistence</artifactId>
>                    <groupId>org.eclipse.persistence</groupId>
>                </exclusion>
>            </exclusions>
>        </dependency>
>
> More examples here:
> http://code.google.com/p/flowlogix/source/browse/build-core/pom.xml
>
>
> On Dec 7, 2011, at 4:34 PM, jeczmien wrote:
>
> > 5.3 is out, but dependency persist...
> >
> > --
> > View this message in context:
> http://tapestry.1045711.n5.nabble.com/5-3-JPA-Maven-Dependency-not-found-tp4974063p5057050.html
> > Sent from the Tapestry - User mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
Best regards,

Igor Drobiazko
http://tapestry5.de

Re: [5.3] JPA Maven Dependency not found

Posted by Lenny Primak <lp...@hope.nyc.ny.us>.
Use this:
        <dependency>
            <groupId>org.apache.tapestry</groupId>
            <artifactId>tapestry-jpa</artifactId>
            <version>${tap.version}</version>
            <type>jar</type>
            <scope>compile</scope>
            <exclusions>
                <exclusion>
                    <artifactId>javax.persistence</artifactId>
                    <groupId>org.eclipse.persistence</groupId>
                </exclusion>
            </exclusions>
        </dependency>

More examples here: http://code.google.com/p/flowlogix/source/browse/build-core/pom.xml


On Dec 7, 2011, at 4:34 PM, jeczmien wrote:

> 5.3 is out, but dependency persist...
> 
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/5-3-JPA-Maven-Dependency-not-found-tp4974063p5057050.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 


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


Re: [5.3] JPA Maven Dependency not found

Posted by jeczmien <je...@podgorska.ddns.info>.
5.3 is out, but dependency persist...

--
View this message in context: http://tapestry.1045711.n5.nabble.com/5-3-JPA-Maven-Dependency-not-found-tp4974063p5057050.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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


Re: [5.3] JPA Maven Dependency not found

Posted by derkoe <ta...@gmail.com>.
Yeah - that's what I did but I think this should be fixed before releasing
5.3


lprimak wrote:
> 
> I specifically exclude persistence in my Pom when I import tapestry-jpa as
> a workaround. 
> 
> On Nov 8, 2011, at 7:05 AM, derkoe &lt;tapestry.christian.koeberl@&gt;
> wrote:
> 
>> Just tried to use 5.3-rc-2 tapestry-jpa module, but Maven cannot find the
>> dependency to org.eclipse.persistence:javax.persistence:2.0.3
>> 
> 

--
View this message in context: http://tapestry.1045711.n5.nabble.com/5-3-JPA-Maven-Dependency-not-found-tp4974063p4974541.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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


Re: [5.3] JPA Maven Dependency not found

Posted by Lenny Primak <lp...@hope.nyc.ny.us>.
I specifically exclude persistence in my Pom when I import tapestry-jpa as a workaround. 



On Nov 8, 2011, at 7:05 AM, derkoe <ta...@gmail.com> wrote:

> Just tried to use 5.3-rc-2 tapestry-jpa module, but Maven cannot find the
> dependency to org.eclipse.persistence:javax.persistence:2.0.3
> 
> There seems to be a 2.0.0 but not 2.0.3:
> http://search.maven.org/#search|ga|1|a%3A%22javax.persistence%22
> http://mvnrepository.com/artifact/org.eclipse.persistence/javax.persistence
> 
> Anyway - I think it's not good to have this artifact as a transient
> dependency: it would be good when the artifact is marked as optional=true or
> scope=provided in the pom so that it is not inherited transiently.
> 
> -- 
> Chris
> 
> 
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/5-3-JPA-Maven-Dependency-not-found-tp4974063p4974063.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 

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