Skip to content

Commit 114ff40

Browse files
committed
Fixed the archetype package path problem
1 parent b78002c commit 114ff40

File tree

4 files changed

+29
-1
lines changed

4 files changed

+29
-1
lines changed

build/cse-and-qa/main.pdf

45.7 KB
Binary file not shown.

fig/cse-and-qa/package-name.png

48.2 KB
Loading

lst/cse-and-qa/settings.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<server>
2+
<id>oaqa</id>
3+
<username>ID</username>
4+
<password>PASSWORD</password>
5+
</server>

src/cse-and-qa/bioqa/maven.tex

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ \section{Creating Maven project from the archetype}
2323
``HelloBioQA Catalog''. Then click \textbf{OK} on the \textbf{Remote Archetype
2424
Catalog} window and another \textbf{OK} on the \textbf{Preferences} window.
2525

26+
\item Include the following lines in your \texttt{settings.xml} in order to
27+
download the artifact if you didn't do so in Homework 1.
28+
29+
\lstinputlisting[language=XML,float,linewidth=1.1\textwidth,caption=Configuring settings.xml,label=settings]{settings.xml}
30+
2631
\item Now you can follow almost the same steps to import to Eclipse as you did
2732
for Homework 1. Since we have created the archetype for you, remember to
2833
unselect \textbf{Create a simple project (skip archetype selction)}. Then click
@@ -48,11 +53,29 @@ \section{Creating Maven project from the archetype}
4853
\textbf{hw2-teamXX}
4954
\end{center}
5055

51-
with XX being your team number. Then click \textbf{Finish}.
56+
with XX being your team number. Since we also included two sample components for
57+
retrieval strategist and passage extraction within a particular, remember to
58+
specify \texttt{Package} as
59+
60+
\begin{center}
61+
\textbf{edu.cmu.lti.oaqa.openqa.hellobioqa}
62+
\end{center}
63+
64+
See Figure \ref{fig:package-name}. Then click \textbf{Finish}.
65+
66+
\begin{figure}[t]
67+
\centering
68+
\includegraphics[scale=0.3]{package-name}
69+
\caption{Parameters to create a Maven artifact from archetype\label{fig:package-name}}
70+
\end{figure}
5271

5372
\item You need to edit the \texttt{pom.xml} file to type in the SCM information
5473
of your GitHub repository for Homework 2 as you did in Homework 0.
5574

75+
\item You also need to manually edit the \texttt{launches/hellobioqa.launch}
76+
file. Open the file, replace the \verb|${project_name}| with your project name
77+
(e.g., \verb|hw2-team00|).
78+
5679
\item Same as before, you probably need to right-click the project name, and
5780
click \textbf{Maven} $\rightarrow$ \textbf{Update Project} to download the
5881
dependencies.

0 commit comments

Comments
 (0)