Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
frascati
frascati
Commits
66944c91
Commit
66944c91
authored
Nov 25, 2009
by
Christophe Demarey
Browse files
pom refactoring.
parent
ecd7f06b
Changes
20
Hide whitespace changes
Inline
Side-by-side
examples/calculator/client/pom.xml
View file @
66944c91
...
...
@@ -56,7 +56,6 @@
<plugin>
<groupId>
org.apache.cxf
</groupId>
<artifactId>
cxf-codegen-plugin
</artifactId>
<version>
${cxf.version}
</version>
</plugin>
</plugins>
</build>
...
...
examples/chat/client/pom.xml
View file @
66944c91
...
...
@@ -36,7 +36,7 @@
<repositories>
<repository>
<id>
maven2-repository.dev
.java.net
</id>
<id>
download
.java.net
</id>
<name>
Java.net Repository for Maven
</name>
<url>
http://download.java.net/maven/2/
</url>
<layout>
default
</layout>
...
...
examples/counter-rest/pom.xml
View file @
66944c91
...
...
@@ -42,6 +42,44 @@
<artifactId>
parent
</artifactId>
<version>
1.2-SNAPSHOT
</version>
</parent>
<build>
<pluginManagement>
<plugins>
<!-- Build the Web Application archive. -->
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-war-plugin
</artifactId>
<version>
2.0
</version>
<configuration>
<archive>
<manifest>
<addClasspath>
true
</addClasspath>
</manifest>
</archive>
</configuration>
</plugin>
<!-- type 'mvn jetty:run' to launch this war with Jetty. -->
<plugin>
<groupId>
org.mortbay.jetty
</groupId>
<artifactId>
maven-jetty-plugin
</artifactId>
<configuration>
<scanIntervalSeconds>
10
</scanIntervalSeconds>
<!-- Here is the path where the war is deployed. -->
<contextPath>
/counter-rest
</contextPath>
<connectors>
<connector
implementation=
"org.mortbay.jetty.nio.SelectChannelConnector"
>
<!-- Here is the port where Jetty is deployed. -->
<port>
8080
</port>
<maxIdleTime>
60000
</maxIdleTime>
</connector>
</connectors>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<modules>
<module>
client
</module>
...
...
examples/counter-rest/server-explorer-war/pom.xml
View file @
66944c91
...
...
@@ -98,32 +98,12 @@
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-war-plugin
</artifactId>
<version>
2.0
</version>
<configuration>
<archive>
<manifest>
<addClasspath>
true
</addClasspath>
</manifest>
</archive>
</configuration>
</plugin>
<!-- type 'mvn jetty:run' to launch this war with Jetty. -->
<plugin>
<groupId>
org.mortbay.jetty
</groupId>
<artifactId>
maven-jetty-plugin
</artifactId>
<configuration>
<scanIntervalSeconds>
10
</scanIntervalSeconds>
<!-- Here is the path where the war is deployed. -->
<contextPath>
/counter-rest
</contextPath>
<connectors>
<connector
implementation=
"org.mortbay.jetty.nio.SelectChannelConnector"
>
<!-- Here is the port where Jetty is deployed. -->
<port>
8080
</port>
<maxIdleTime>
60000
</maxIdleTime>
</connector>
</connectors>
</configuration>
</plugin>
</plugins>
</build>
...
...
examples/counter-rest/server-war/pom.xml
View file @
66944c91
...
...
@@ -98,32 +98,12 @@
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-war-plugin
</artifactId>
<version>
2.0
</version>
<configuration>
<archive>
<manifest>
<addClasspath>
true
</addClasspath>
</manifest>
</archive>
</configuration>
</plugin>
<!-- type 'mvn jetty:run' to launch this war with Jetty. -->
<plugin>
<groupId>
org.mortbay.jetty
</groupId>
<artifactId>
maven-jetty-plugin
</artifactId>
<configuration>
<scanIntervalSeconds>
10
</scanIntervalSeconds>
<!-- Here is the path where the war is deployed. -->
<contextPath>
/counter-rest
</contextPath>
<connectors>
<connector
implementation=
"org.mortbay.jetty.nio.SelectChannelConnector"
>
<!-- Here is the port where Jetty is deployed. -->
<port>
8080
</port>
<maxIdleTime>
60000
</maxIdleTime>
</connector>
</connectors>
</configuration>
</plugin>
</plugins>
</build>
...
...
examples/dictionary/pom.xml
View file @
66944c91
...
...
@@ -57,7 +57,6 @@
<plugin>
<groupId>
org.apache.cxf
</groupId>
<artifactId>
cxf-codegen-plugin
</artifactId>
<version>
${cxf.version}
</version>
</plugin>
</plugins>
</build>
...
...
@@ -66,8 +65,6 @@
<dependency>
<groupId>
junit
</groupId>
<artifactId>
junit
</artifactId>
<version>
4.6
</version>
<scope>
test
</scope>
</dependency>
<dependency>
...
...
examples/frascati-test/pom.xml
View file @
66944c91
...
...
@@ -33,6 +33,7 @@
<groupId>
org.ow2.frascati.examples.test
</groupId>
<artifactId>
frascati-test
</artifactId>
<version>
1.2-SNAPSHOT
</version>
<packaging>
jar
</packaging>
<name>
OW2 FraSCAti Examples: Testing module
</name>
...
...
@@ -48,7 +49,7 @@
<dependency>
<groupId>
junit
</groupId>
<artifactId>
junit
</artifactId>
<
version>
4.6
</version
>
<
scope>
compile
</scope
>
</dependency>
</dependencies>
...
...
examples/helloworld-annotated/pom.xml
View file @
66944c91
...
...
@@ -53,8 +53,6 @@
<dependency>
<groupId>
junit
</groupId>
<artifactId>
junit
</artifactId>
<version>
4.6
</version>
<scope>
test
</scope>
</dependency>
<dependency>
...
...
examples/helloworld-pojo/pom.xml
View file @
66944c91
...
...
@@ -53,8 +53,6 @@
<dependency>
<groupId>
junit
</groupId>
<artifactId>
junit
</artifactId>
<version>
4.6
</version>
<scope>
test
</scope>
</dependency>
<dependency>
...
...
examples/helloworld-property/pom.xml
View file @
66944c91
...
...
@@ -54,9 +54,8 @@
<dependency>
<groupId>
junit
</groupId>
<artifactId>
junit
</artifactId>
<version>
4.6
</version>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.ow2.frascati.examples.test
</groupId>
<artifactId>
frascati-test
</artifactId>
...
...
examples/helloworld-script/pom.xml
View file @
66944c91
...
...
@@ -51,14 +51,10 @@
<repositories>
<repository>
<id>
java.net-m2-repository
</id>
<id>
download.java.net
</id>
<name>
Java.net Repository for Maven
</name>
<url>
http://download.java.net/maven/2/
</url>
</repository>
<repository>
<id>
maven-snapshot.ow2.org
</id>
<name>
OW2 Central Repository
</name>
<url>
http://maven.ow2.org/maven2-snapshot/
</url>
</repository>
</repositories>
<dependencies>
...
...
@@ -137,8 +133,6 @@
<dependency>
<groupId>
junit
</groupId>
<artifactId>
junit
</artifactId>
<version>
4.6
</version>
<scope>
test
</scope>
</dependency>
<dependency>
...
...
examples/helloworld-ws/client/pom.xml
View file @
66944c91
...
...
@@ -55,7 +55,6 @@
<plugin>
<groupId>
org.apache.cxf
</groupId>
<artifactId>
cxf-codegen-plugin
</artifactId>
<version>
${cxf.version}
</version>
</plugin>
</plugins>
</build>
...
...
examples/helloworld-ws/server/pom.xml
View file @
66944c91
...
...
@@ -51,9 +51,8 @@
<dependency>
<groupId>
junit
</groupId>
<artifactId>
junit
</artifactId>
<version>
4.6
</version>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.ow2.frascati.examples.test
</groupId>
<artifactId>
frascati-test
</artifactId>
...
...
examples/isbn-test/pom.xml
View file @
66944c91
...
...
@@ -57,7 +57,6 @@
<plugin>
<groupId>
org.apache.cxf
</groupId>
<artifactId>
cxf-codegen-plugin
</artifactId>
<version>
${cxf.version}
</version>
</plugin>
</plugins>
</build>
...
...
@@ -66,20 +65,20 @@
<dependency>
<groupId>
junit
</groupId>
<artifactId>
junit
</artifactId>
<version>
4.6
</version>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.ow2.frascati.examples.test
</groupId>
<artifactId>
frascati-test
</artifactId>
<version>
${project.version}
</version>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.swinglabs
</groupId>
<artifactId>
swing-layout
</artifactId>
<version>
1.0.3
</version>
</dependency>
</dependencies>
</dependencies>
</project>
examples/pom.xml
View file @
66944c91
...
...
@@ -37,24 +37,27 @@
<name>
OW2 FraSCAti Examples
</name>
<parent>
<groupId>
org.ow2.frascati
</groupId>
<artifactId>
parent
</artifactId>
<version>
1.2-SNAPSHOT
</version>
</parent>
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<logging.conf.file>
../../../distribution/standalone/src/main/conf/logging.properties
</logging.conf.file>
</properties>
<!-- ===== -->
<!-- Build -->
<!-- ===== -->
<build>
<defaultGoal>
package
</defaultGoal>
<plugins>
<!-- ===== -->
<!-- Build -->
<!-- ===== -->
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<configuration>
<source>
1.5
</source>
<target>
1.5
</target>
</configuration>
</plugin>
<plugin>
...
...
@@ -66,73 +69,9 @@
<useSystemClassLoader>
false
</useSystemClassLoader>
</configuration>
</plugin>
<!-- ========= -->
<!-- Reporting -->
<!-- ========= -->
<plugin>
<groupId>
com.agilejava.docbkx
</groupId>
<artifactId>
docbkx-maven-plugin
</artifactId>
<inherited>
false
</inherited>
<executions>
<execution>
<id>
create-html-docs
</id>
<goals>
<goal>
generate-html
</goal>
</goals>
<phase>
pre-site
</phase>
<configuration>
<!-- This copies content (images, etc) for the HTML version -->
<preProcess>
<copy
todir=
"target/docbkx/html/css"
file=
"${project.basedir}/../ow2-style.css"
/>
</preProcess>
<!-- Any parameters specific to HTML version go here -->
<htmlStylesheet>
css/ow2-style.css
</htmlStylesheet>
<imgSrcPath>
./
</imgSrcPath>
</configuration>
</execution>
<execution>
<id>
create-pdf-docs
</id>
<goals>
<goal>
generate-pdf
</goal>
</goals>
<phase>
pre-site
</phase>
<configuration>
<!--- Any parameters specific to the PDF version go here -->
<imgSrcPath>
file:///${basedir}/src/docbkx/
</imgSrcPath>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>
org.docbook
</groupId>
<artifactId>
docbook-xml
</artifactId>
<version>
4.4
</version>
<scope>
runtime
</scope>
</dependency>
</dependencies>
<configuration>
<!-- Any parameters common to both HTML and PDF go here -->
<xincludeSupported>
true
</xincludeSupported>
</configuration>
</plugin>
</plugins>
</build>
<distributionManagement>
<repository>
<id>
ow2.org
</id>
<name>
OW2 Central Repository
</name>
<url>
scp://forge.objectweb.org/var/lib/gforge/chroot/home/groups/maven/htdocs/maven2
</url>
</repository>
<snapshotRepository>
<id>
frascati.ow2.org
</id>
<name>
OW2 FraSCAti Central Repository
</name>
<url>
scp://forge.objectweb.org/var/lib/gforge/chroot/home/groups/maven/htdocs/maven2-snapshot/
</url>
</snapshotRepository>
</distributionManagement>
<!-- ============ -->
<!-- Dependencies -->
<!-- ============ -->
...
...
@@ -150,13 +89,6 @@
</dependency>
</dependencies>
<repositories>
<repository>
<id>
objectweb-release
</id>
<url>
http://maven.ow2.org/maven2
</url>
</repository>
</repositories>
<!-- ======== -->
<!-- Profiles -->
<!-- ======== -->
...
...
examples/twitter-rest/pom.xml
View file @
66944c91
...
...
@@ -53,8 +53,6 @@
<dependency>
<groupId>
junit
</groupId>
<artifactId>
junit
</artifactId>
<version>
4.6
</version>
<scope>
test
</scope>
</dependency>
<dependency>
...
...
examples/twitter-weather/pom.xml
View file @
66944c91
...
...
@@ -56,7 +56,6 @@
<plugin>
<groupId>
org.apache.cxf
</groupId>
<artifactId>
cxf-codegen-plugin
</artifactId>
<version>
${cxf.version}
</version>
</plugin>
</plugins>
</build>
...
...
@@ -65,8 +64,6 @@
<dependency>
<groupId>
junit
</groupId>
<artifactId>
junit
</artifactId>
<version>
4.6
</version>
<scope>
test
</scope>
</dependency>
<dependency>
...
...
examples/verify-mail/pom.xml
View file @
66944c91
...
...
@@ -56,7 +56,6 @@
<plugin>
<groupId>
org.apache.cxf
</groupId>
<artifactId>
cxf-codegen-plugin
</artifactId>
<version>
${cxf.version}
</version>
</plugin>
</plugins>
</build>
...
...
@@ -65,9 +64,8 @@
<dependency>
<groupId>
junit
</groupId>
<artifactId>
junit
</artifactId>
<version>
4.6
</version>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.ow2.frascati.examples.test
</groupId>
<artifactId>
frascati-test
</artifactId>
...
...
examples/weather/pom.xml
View file @
66944c91
...
...
@@ -57,7 +57,6 @@
<plugin>
<groupId>
org.apache.cxf
</groupId>
<artifactId>
cxf-codegen-plugin
</artifactId>
<version>
${cxf.version}
</version>
</plugin>
</plugins>
</build>
...
...
@@ -66,8 +65,6 @@
<dependency>
<groupId>
junit
</groupId>
<artifactId>
junit
</artifactId>
<version>
4.6
</version>
<scope>
test
</scope>
</dependency>
<dependency>
...
...
pom.xml
View file @
66944c91
...
...
@@ -248,7 +248,7 @@
<dependency>
<groupId>
junit
</groupId>
<artifactId>
junit
</artifactId>
<version>
4.
5
</version>
<version>
4.
6
</version>
<scope>
test
</scope>
</dependency>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment