|
25 | 25 | <version>7.0</version> |
26 | 26 | <scope>provided</scope> |
27 | 27 | </dependency> |
| 28 | + <dependency> |
| 29 | + <groupId>org.apache.derby</groupId> |
| 30 | + <artifactId>derby</artifactId> |
| 31 | + <version>10.8.2.2</version> |
| 32 | + <scope>provided</scope> |
| 33 | + </dependency> |
28 | 34 | </dependencies> |
29 | 35 |
|
30 | 36 | <build> |
|
46 | 52 | <failOnMissingWebXml>false</failOnMissingWebXml> |
47 | 53 | </configuration> |
48 | 54 | </plugin> |
| 55 | + <plugin> |
| 56 | + <groupId>org.codehaus.cargo</groupId> |
| 57 | + <artifactId>cargo-maven2-plugin</artifactId> |
| 58 | + <version>1.4.5-SNAPSHOT</version> |
| 59 | + <configuration> |
| 60 | + <container> |
| 61 | + <dependencies> |
| 62 | + <dependency> |
| 63 | + <groupId>org.apache.derby</groupId> |
| 64 | + <artifactId>derby</artifactId> |
| 65 | + </dependency> |
| 66 | + </dependencies> |
| 67 | + <systemProperties> |
| 68 | + <derby.system.home>${project.build.directory}/derby</derby.system.home> |
| 69 | + </systemProperties> |
| 70 | + </container> |
| 71 | + <configuration> |
| 72 | + <properties> |
| 73 | + <cargo.datasource.datasource.derby> |
| 74 | + cargo.datasource.driver=org.apache.derby.jdbc.EmbeddedDriver| cargo.datasource.url=jdbc:derby:derbyDB;create=true| cargo.datasource.jndi=jdbc/__default| cargo.datasource.username=APP| cargo.datasource.password=APP |
| 75 | + </cargo.datasource.datasource.derby> |
| 76 | + </properties> |
| 77 | + </configuration> |
| 78 | + </configuration> |
| 79 | + </plugin> |
49 | 80 | </plugins> |
50 | 81 | </build> |
51 | 82 |
|
|
60 | 91 | <plugin> |
61 | 92 | <groupId>org.codehaus.cargo</groupId> |
62 | 93 | <artifactId>cargo-maven2-plugin</artifactId> |
63 | | - <version>1.4.4</version> |
| 94 | + <version>1.4.5-SNAPSHOT</version> |
64 | 95 | <inherited>true</inherited> |
65 | 96 | <configuration> |
66 | 97 | <container> |
67 | 98 | <containerId>${cargo.container.glassfish.id}</containerId> |
68 | 99 | <type>installed</type> |
69 | 100 | <home>${glassfish.home}</home> |
| 101 | + <artifactInstaller> |
| 102 | + <groupId>org.glassfish.main.distributions</groupId> |
| 103 | + <artifactId>glassfish</artifactId> |
| 104 | + <version>4.0</version> |
| 105 | + </artifactInstaller> |
70 | 106 | </container> |
71 | | - <configuration> |
| 107 | + <dependencies> |
| 108 | + <dependency> |
| 109 | + <groupId>org.apache.derby</groupId> |
| 110 | + <artifactId>derby</artifactId> |
| 111 | + <classpath>none</classpath> |
| 112 | + </dependency> |
| 113 | + </dependencies> |
| 114 | + <!-- <configuration> |
72 | 115 | <type>standalone</type> |
73 | 116 | <home>${glassfish.home}/glassfish/domains</home> |
74 | | - </configuration> |
| 117 | + </configuration>--> |
75 | 118 | </configuration> |
76 | 119 | </plugin> |
77 | 120 | </plugins> |
|
84 | 127 | <plugin> |
85 | 128 | <groupId>org.codehaus.cargo</groupId> |
86 | 129 | <artifactId>cargo-maven2-plugin</artifactId> |
87 | | - <version>1.4.4</version> |
| 130 | + <version>1.4.5-SNAPSHOT</version> |
88 | 131 | <inherited>true</inherited> |
89 | 132 | <configuration> |
90 | 133 | <container> |
|
108 | 151 | <plugin> |
109 | 152 | <groupId>org.codehaus.cargo</groupId> |
110 | 153 | <artifactId>cargo-maven2-plugin</artifactId> |
111 | | - <version>1.4.4</version> |
| 154 | + <version>1.4.5-SNAPSHOT</version> |
112 | 155 | <inherited>true</inherited> |
113 | 156 | <configuration> |
114 | 157 | <container> |
|
0 commit comments