Skip to content

Commit 179e9ab

Browse files
author
eugenp
committed
cargo work to allow running the service in the default profile
1 parent b4177f1 commit 179e9ab

2 files changed

Lines changed: 22 additions & 40 deletions

File tree

‎pom.xml‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,6 @@
4242
</configuration>
4343
</plugin>
4444

45-
<plugin>
46-
<groupId>org.codehaus.cargo</groupId>
47-
<artifactId>cargo-maven2-plugin</artifactId>
48-
<version>1.2.4</version>
49-
</plugin>
50-
5145
<plugin>
5246
<groupId>org.apache.maven.plugins</groupId>
5347
<artifactId>maven-resources-plugin</artifactId>

‎sec/pom.xml‎

Lines changed: 22 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -188,24 +188,28 @@
188188
</executions>
189189
</plugin>
190190

191-
<!-- generation of JPA 2 Metadata -->
192-
<!--(temporarily disabled) -->
193-
<!-- <plugin> <groupId>com.mysema.maven</groupId> <artifactId>maven-apt-plugin</artifactId>
194-
<version>1.0.2</version> <executions> <execution> <phase>generate-sources</phase>
195-
<goals> <goal>process</goal> </goals> <configuration> <outputDirectory>target/generated-sources</outputDirectory>
196-
<processor>com.mysema.query.apt.jpa.JPAAnnotationProcessor</processor> </configuration>
197-
</execution> </executions> </plugin> -->
198-
199-
<!-- <plugin> <groupId>org.bsc.maven</groupId> <artifactId>maven-processor-plugin</artifactId>
200-
<version>2.0.5</version> <executions> <execution> <id>process</id> <goals>
201-
<goal>process</goal> </goals> <phase>generate-sources</phase> <configuration>
202-
<outputDirectory>src/main/java</outputDirectory> </configuration> </execution>
203-
</executions> </plugin> -->
204-
205-
<!-- <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId>
206-
<version>1.7</version> <executions> <execution> <id>add-source</id> <phase>generate-sources</phase>
207-
<goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>src/main/java/org/sec/model</source>
208-
</sources> </configuration> </execution> </executions> </plugin> -->
191+
<plugin>
192+
<groupId>org.codehaus.cargo</groupId>
193+
<artifactId>cargo-maven2-plugin</artifactId>
194+
<version>1.2.4</version>
195+
<configuration>
196+
<wait>false</wait>
197+
<container>
198+
<containerId>jetty8x</containerId>
199+
<type>embedded</type>
200+
<systemProperties>
201+
<envTarget>dev</envTarget>
202+
<persistenceTarget>cargo</persistenceTarget>
203+
</systemProperties>
204+
</container>
205+
<configuration>
206+
<properties>
207+
<cargo.servlet.port>8080</cargo.servlet.port>
208+
</properties>
209+
</configuration>
210+
</configuration>
211+
</plugin>
212+
209213
</plugins>
210214

211215
<!-- generated by m2e -->
@@ -296,22 +300,6 @@
296300
<plugin>
297301
<groupId>org.codehaus.cargo</groupId>
298302
<artifactId>cargo-maven2-plugin</artifactId>
299-
<configuration>
300-
<wait>false</wait>
301-
<container>
302-
<containerId>jetty8x</containerId>
303-
<type>embedded</type>
304-
<systemProperties>
305-
<envTarget>dev</envTarget>
306-
<persistenceTarget>cargo</persistenceTarget>
307-
</systemProperties>
308-
</container>
309-
<configuration>
310-
<properties>
311-
<cargo.servlet.port>8080</cargo.servlet.port>
312-
</properties>
313-
</configuration>
314-
</configuration>
315303
<executions>
316304
<execution>
317305
<id>start-server</id>

0 commit comments

Comments
 (0)