[ 
http://jira.dspace.org/jira/browse/DS-371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10780#action_10780
 ] 

Stuart Lewis commented on DS-371:
---------------------------------

Hi Hardik,

'mvn package' is the way that files are compiled and jars are generated and 
placed in the right directories.

Other common maven commands are:

    * validate: validate the project is correct and all necessary information 
is available
    * compile: compile the source code of the project
    * test: test the compiled source code using a suitable unit testing 
framework. These tests should not require the code be packaged or deployed
    * package: take the compiled code and package it in its distributable 
format, such as a JAR.
    * integration-test: process and deploy the package if necessary into an 
environment where integration tests can be run
    * verify: run any checks to verify the package is valid and meets quality 
criteria
    * install: install the package into the local repository, for use as a 
dependency in other projects locally
    * deploy: done in an integration or release environment, copies the final 
package to the remote repository for sharing with other developers and projects.
    * clean: cleans up artifacts created by prior builds
    * site: generates site documentation for this project

http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html might 
help explain this in more detail.

> Maven package should be improved
> --------------------------------
>
>                 Key: DS-371
>                 URL: http://jira.dspace.org/jira/browse/DS-371
>             Project: DSpace 1.x
>          Issue Type: Improvement
>          Components: DSpace API
>    Affects Versions: 1.5.2
>         Environment: ALL OS
>            Reporter: Hardik Mishra
>
> When ever we change in java code we need to re-package it by using mvn 
> package.
> I suggest it should be in way that java files are gets complied and jars are 
> generated and placed in respective directories.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to