Using different eclipselink than bundled in glassfish-embedded-web -


i use glassfish-embedded-web integration tests inside maven project:

    <dependency>         <groupid>org.glassfish.extras</groupid>         <artifactid>glassfish-embedded-web</artifactid>         <version>3.2-b06</version>         <scope>test</scope>     </dependency> 

glassfish-embedded-web comes eclipselink 2.2.0, project requires features of 2.4. regular deployment, solved adding je required jars glassfish's modules directory , dependency:

    <dependency>       <groupid>org.eclipse.persistence</groupid>       <artifactid>org.eclipse.persistence.core</artifactid>       <version>2.4.1</version>       <scope>provided</scope>     </dependency> 

i tried compile scope, still embedded el 2.2.0 used. adding test scope dependency on el 2.4.1 doesn't help. there way solve this?

did try specify maven scope test? otherwise not available while testing! provide version testing use maven profiles.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -