On Tue, Apr 09, 2013 at 04:09:30AM -0700, Meron Mesfin wrote:
>  when i install maven and run "mvn archetype:generate " at the end
> of the command

"archetype:generate" is not something you would do when building
DSpace (unless you are creating a new Maven project to contain e.g. a
new webapp to become part of your DSpace), so it's a question for the
maven-users list, not this list.

> it asks me about
> 
> Groupid:
> artifactid:
> version: 1.0snapshot:
> package:
> do you have any idea what  i should write on the listed questions.please

You've asked Maven to create a new project, and it needs these to
create the Project Object Model.  "package" is the Java package in
which the project should exist.  I would leave "version" alone unless
you know that you want something different.

"groupId" and "artifactId" are entirely up to you, but if you intend
to publish artifacts to Maven Central then their requirements will
influence these (and a few other matters).  Typically "artifactId"
will resemble the name you may have given to your project and may echo
the last element of "package".  "groupId" often looks a lot like all
but the last element of "package", but need not if something works
better to identify "where this software comes from".  You can probably
get much better advice from the Maven list than from me.

Sonatype has released several books that you may find helpful,
including _Maven by Example_ and _Maven:  the Complete Reference_.
Both are available online:

  http://www.sonatype.com/books/mvnex-book/reference/public-book.html
  http://www.sonatype.com/books/mvnref-book/reference/public-book.html

-- 
Mark H. Wood, Lead System Programmer   [email protected]
There's an app for that:  your browser

Attachment: pgphdoJE4m5Av.pgp
Description: PGP signature

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to