cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache CXF Documentation > Building your cxf project with maven
Date Mon, 24 Aug 2009 14:47:00 GMT
<html>
<head>
    <base href="http://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1519/1/1/_/styles/combined.css?spaceKey=CXF20DOC&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background-color: white" bgcolor="white">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
     <h2><s>Building your cxf project with maven</s></h2>
     <h4>Page <b>removed</b> by             <a href="http://cwiki.apache.org/confluence/display/~mazzag">Glen
Mazza</a>
    </h4>
     <br/>
     <div class="notificationGreySide">
         <p>Add this code as pom.xml and call mvn eclipse:eclipse. This will setup your
eclipse project file.</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-xml">
<span class="code-tag">&lt;?xml version=<span class="code-quote">"1.0"</span>
encoding=<span class="code-quote">"UTF-8"</span>?&gt;</span>
&lt;project xmlns=<span class="code-quote">"http://maven.apache.org/POM/4.0.0"</span>
	<span class="code-keyword">xmlns:xsi</span>=<span class="code-quote">"http://www.w3.org/2001/XMLSchema-instance"</span>
	xsi:schemaLocation=<span class="code-quote">"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"</span>&gt;

	<span class="code-tag">&lt;modelVersion&gt;</span>4.0.0<span class="code-tag">&lt;/modelVersion&gt;</span>
	<span class="code-tag">&lt;groupId&gt;</span>com.mydomain<span class="code-tag">&lt;/groupId&gt;</span>
	<span class="code-tag">&lt;artifactId&gt;</span>myproject<span class="code-tag">&lt;/artifactId&gt;</span>
	<span class="code-tag">&lt;version&gt;</span>1.0.0<span class="code-tag">&lt;/version&gt;</span>
	<span class="code-tag">&lt;properties&gt;</span>
		<span class="code-tag">&lt;cxf.version&gt;</span>2.1<span class="code-tag">&lt;/cxf.version&gt;</span>
	<span class="code-tag">&lt;/properties&gt;</span>
	<span class="code-tag">&lt;dependencies&gt;</span>
		<span class="code-tag"><span class="code-comment">&lt;!-- Depending on your
requirements you may need more or fewer modules from cxf --&gt;</span></span>
		<span class="code-tag">&lt;dependency&gt;</span>
			<span class="code-tag">&lt;groupId&gt;</span>org.apache.cxf<span
class="code-tag">&lt;/groupId&gt;</span>
			<span class="code-tag">&lt;artifactId&gt;</span>cxf-rt-core<span
class="code-tag">&lt;/artifactId&gt;</span>
			<span class="code-tag">&lt;version&gt;</span>${cxf.version}<span
class="code-tag">&lt;/version&gt;</span>
		<span class="code-tag">&lt;/dependency&gt;</span>
		<span class="code-tag">&lt;dependency&gt;</span>
			<span class="code-tag">&lt;groupId&gt;</span>org.apache.cxf<span
class="code-tag">&lt;/groupId&gt;</span>
			<span class="code-tag">&lt;artifactId&gt;</span>cxf-rt-frontend-simple<span
class="code-tag">&lt;/artifactId&gt;</span>
			<span class="code-tag">&lt;version&gt;</span>${cxf.version}<span
class="code-tag">&lt;/version&gt;</span>
		<span class="code-tag">&lt;/dependency&gt;</span>
		<span class="code-tag">&lt;dependency&gt;</span>
			<span class="code-tag">&lt;groupId&gt;</span>org.apache.cxf<span
class="code-tag">&lt;/groupId&gt;</span>
			<span class="code-tag">&lt;artifactId&gt;</span>cxf-rt-frontend-jaxws<span
class="code-tag">&lt;/artifactId&gt;</span>
			<span class="code-tag">&lt;version&gt;</span>${cxf.version}<span
class="code-tag">&lt;/version&gt;</span>
		<span class="code-tag">&lt;/dependency&gt;</span>
		<span class="code-tag">&lt;dependency&gt;</span>
			<span class="code-tag">&lt;groupId&gt;</span>org.apache.cxf<span
class="code-tag">&lt;/groupId&gt;</span>
			<span class="code-tag">&lt;artifactId&gt;</span>cxf-rt-databinding-aegis<span
class="code-tag">&lt;/artifactId&gt;</span>
			<span class="code-tag">&lt;version&gt;</span>${cxf.version}<span
class="code-tag">&lt;/version&gt;</span>
		<span class="code-tag">&lt;/dependency&gt;</span>
		<span class="code-tag">&lt;dependency&gt;</span>
			<span class="code-tag">&lt;groupId&gt;</span>org.apache.cxf<span
class="code-tag">&lt;/groupId&gt;</span>
			<span class="code-tag">&lt;artifactId&gt;</span>cxf-rt-transports-local<span
class="code-tag">&lt;/artifactId&gt;</span>
			<span class="code-tag">&lt;version&gt;</span>${cxf.version}<span
class="code-tag">&lt;/version&gt;</span>
		<span class="code-tag">&lt;/dependency&gt;</span>
		<span class="code-tag">&lt;dependency&gt;</span>
			<span class="code-tag">&lt;groupId&gt;</span>org.apache.cxf<span
class="code-tag">&lt;/groupId&gt;</span>
			<span class="code-tag">&lt;artifactId&gt;</span>cxf-rt-transports-http<span
class="code-tag">&lt;/artifactId&gt;</span>
			<span class="code-tag">&lt;version&gt;</span>${cxf.version}<span
class="code-tag">&lt;/version&gt;</span>
		<span class="code-tag">&lt;/dependency&gt;</span>
		<span class="code-tag">&lt;dependency&gt;</span>
			<span class="code-tag">&lt;groupId&gt;</span>org.apache.cxf<span
class="code-tag">&lt;/groupId&gt;</span>
			<span class="code-tag">&lt;artifactId&gt;</span>cxf-rt-transports-http-jetty<span
class="code-tag">&lt;/artifactId&gt;</span>
			<span class="code-tag">&lt;version&gt;</span>${cxf.version}<span
class="code-tag">&lt;/version&gt;</span>
		<span class="code-tag">&lt;/dependency&gt;</span>
		<span class="code-tag">&lt;dependency&gt;</span>
			<span class="code-tag">&lt;groupId&gt;</span>org.apache.cxf<span
class="code-tag">&lt;/groupId&gt;</span>
			<span class="code-tag">&lt;artifactId&gt;</span>cxf-rt-transports-jms<span
class="code-tag">&lt;/artifactId&gt;</span>
			<span class="code-tag">&lt;version&gt;</span>${cxf.version}<span
class="code-tag">&lt;/version&gt;</span>
		<span class="code-tag">&lt;/dependency&gt;</span>
		<span class="code-tag">&lt;dependency&gt;</span>
			<span class="code-tag">&lt;groupId&gt;</span>org.apache.cxf<span
class="code-tag">&lt;/groupId&gt;</span>
			<span class="code-tag">&lt;artifactId&gt;</span>cxf-rt-management<span
class="code-tag">&lt;/artifactId&gt;</span>
			<span class="code-tag">&lt;version&gt;</span>${cxf.version}<span
class="code-tag">&lt;/version&gt;</span>
		<span class="code-tag">&lt;/dependency&gt;</span>
		<span class="code-tag">&lt;dependency&gt;</span>
			<span class="code-tag">&lt;groupId&gt;</span>org.apache.cxf<span
class="code-tag">&lt;/groupId&gt;</span>
			<span class="code-tag">&lt;artifactId&gt;</span>cxf-common-utilities<span
class="code-tag">&lt;/artifactId&gt;</span>
			<span class="code-tag">&lt;version&gt;</span>${cxf.version}<span
class="code-tag">&lt;/version&gt;</span>
		<span class="code-tag">&lt;/dependency&gt;</span>
		<span class="code-tag">&lt;dependency&gt;</span>
			<span class="code-tag">&lt;groupId&gt;</span>org.mortbay.jetty<span
class="code-tag">&lt;/groupId&gt;</span>
			<span class="code-tag">&lt;artifactId&gt;</span>jetty<span class="code-tag">&lt;/artifactId&gt;</span>
			<span class="code-tag">&lt;version&gt;</span>6.1.6<span class="code-tag">&lt;/version&gt;</span>
		<span class="code-tag">&lt;/dependency&gt;</span>
		<span class="code-tag">&lt;dependency&gt;</span>
			<span class="code-tag">&lt;groupId&gt;</span>junit<span class="code-tag">&lt;/groupId&gt;</span>
			<span class="code-tag">&lt;artifactId&gt;</span>junit<span class="code-tag">&lt;/artifactId&gt;</span>
			<span class="code-tag">&lt;version&gt;</span>3.8.2<span class="code-tag">&lt;/version&gt;</span>
			<span class="code-tag">&lt;scope&gt;</span>test<span class="code-tag">&lt;/scope&gt;</span>
		<span class="code-tag">&lt;/dependency&gt;</span>
	<span class="code-tag">&lt;/dependencies&gt;</span>
	<span class="code-tag">&lt;build&gt;</span>
		<span class="code-tag">&lt;plugins&gt;</span>
			<span class="code-tag">&lt;plugin&gt;</span>
				<span class="code-tag">&lt;artifactId&gt;</span>maven-compiler-plugin<span
class="code-tag">&lt;/artifactId&gt;</span>
				<span class="code-tag">&lt;configuration&gt;</span>
					<span class="code-tag">&lt;source&gt;</span>1.5<span class="code-tag">&lt;/source&gt;</span>
					<span class="code-tag">&lt;target&gt;</span>1.5<span class="code-tag">&lt;/target&gt;</span>
				<span class="code-tag">&lt;/configuration&gt;</span>
			<span class="code-tag">&lt;/plugin&gt;</span>
		<span class="code-tag">&lt;/plugins&gt;</span>
	<span class="code-tag">&lt;/build&gt;</span>
<span class="code-tag">&lt;/project&gt;</span>

</pre>
</div></div>
     </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message