@@ -23,6 +23,11 @@ \section{Creating Maven project from the archetype}
2323`` HelloBioQA Catalog'' . Then click \textbf {OK } on the \textbf {Remote Archetype
2424Catalog } 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
2732for Homework 1. Since we have created the archetype for you, remember to
2833unselect \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
5473of 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
5780click \textbf {Maven } $ \rightarrow $ \textbf {Update Project } to download the
5881dependencies.
0 commit comments