Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GoikLectures
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Goik Martin
GoikLectures
Commits
788041ef
Commit
788041ef
authored
10 years ago
by
Goik Martin
Browse files
Options
Downloads
Patches
Plain Diff
Starting inkscape graphics
parent
29bd88d8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Sd1/Ref/Svg/mavenPrjRef.svg
+867
-0
867 additions, 0 deletions
Sd1/Ref/Svg/mavenPrjRef.svg
Sd1/swd1.xml
+55
-0
55 additions, 0 deletions
Sd1/swd1.xml
with
922 additions
and
0 deletions
Sd1/Ref/Svg/mavenPrjRef.svg
0 → 100644
+
867
−
0
View file @
788041ef
This diff is collapsed.
Click to expand it.
Sd1/swd1.xml
+
55
−
0
View file @
788041ef
...
...
@@ -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"
>
<
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"
>
<
modelVersion
>
4.0.0
<
/modelVersion
>
<
groupId
>
de.hdm-stuttgart.de.sd1
<
/groupId
>
<
artifactId
>
fraction
<
/artifactId
>
<
version
>
1.0
<
/version
>
<
packaging
>
jar
<
/packaging
>
<
name
>
fraction
<
/name
>
...
<
dependencies
>
<emphasis
role=
"bold"
>
<
dependency
>
</emphasis>
<co
xml:id=
"mvnGcdDep"
/>
<emphasis
role=
"bold"
>
<
groupId
>
de.hdm-stuttgart.de.sd1
<
/groupId
>
<
artifactId
>
gcd
<
/artifactId
>
<
version
>
1.0
<
/version
>
<
scope
>
compile
<
/scope
>
<
/dependency
>
</emphasis>
<
dependency
>
<
groupId
>
junit
<
/groupId
>
...
<
/dependency
>
<
/dependencies
>
<
/project
>
</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>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment