Skip to content
Snippets Groups Projects
Commit 788041ef authored by Goik Martin's avatar Goik Martin
Browse files

Starting inkscape graphics

parent 29bd88d8
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
......@@ -3252,6 +3252,61 @@ Is 2016 a leap year? true</programlisting>
<section xml:id="ed1FractionCancel">
<title>Reducing fractions</title>
<para>The following exercise requires the import of the previous Maven
based exercise <xref linkend="sd1QandaGcd"/>. The import may be effected
by:</para>
<orderedlist>
<listitem>
<para>Creating a local Maven jar archive export by executing
<quote><command>mvn</command> <option>install</option></quote> in
project <xref linkend="sd1QandaGcd"/> at the command line.
Alternatively you may right click on your pom.xml file in Eclipse
hitting <quote>Run as Maven build</quote> using
<parameter>install</parameter> as goal.</para>
</listitem>
<listitem>
<para>Defining <xref linkend="sd1QandaGcd"/> as a dependency <coref
linkend="mvnGcdDep"/> in your current project:</para>
<programlisting language="none">&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
&lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
&lt;groupId&gt;de.hdm-stuttgart.de.sd1&lt;/groupId&gt;
&lt;artifactId&gt;fraction&lt;/artifactId&gt;
&lt;version&gt;1.0&lt;/version&gt;
&lt;packaging&gt;jar&lt;/packaging&gt;
&lt;name&gt;fraction&lt;/name&gt;
...
&lt;dependencies&gt;
<emphasis role="bold">&lt;dependency&gt;</emphasis> <co xml:id="mvnGcdDep"/>
<emphasis role="bold">&lt;groupId&gt;de.hdm-stuttgart.de.sd1&lt;/groupId&gt;
&lt;artifactId&gt;gcd&lt;/artifactId&gt;
&lt;version&gt;1.0&lt;/version&gt;
&lt;scope&gt;compile&lt;/scope&gt;
&lt;/dependency&gt;</emphasis>
&lt;dependency&gt;
&lt;groupId&gt;junit&lt;/groupId&gt;
...
&lt;/dependency&gt;
&lt;/dependencies&gt;
&lt;/project&gt;</programlisting>
</listitem>
</orderedlist>
<figure xml:id="figMavenProjectDependency">
<title>Defining a dependency to another Maven artifact.</title>
<mediaobject>
<imageobject>
<imagedata fileref="Ref/Svg/mavenPrjRef.svg"/>
</imageobject>
</mediaobject>
</figure>
<qandaset defaultlabel="qanda" xml:id="sd1QandaFractionCancel">
<title>Implementing reducing of fractions</title>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment