Friday 15 April 2011

java - Portable maven project -



java - Portable maven project -

i'm working on web-related project.at moment, seek combine frameworks together(hibernate, apache shiro , on).ofc, in nearest future might need addons via maven dependencies. possible pack together, emergency situation pack maven. it's necessary because i'm locating - pc have little configurations (java 1.8 / no maven(no chances install due policy restrictions)).

is possible import maven web - project jar?

thanks suggestions,

good luck! ;)

it seems want maintain entire project directory if i'm understanding correctly.

are sure cannot install maven? if you'd want bundle maven project.

could give me more details environment you'd using?

you import jar maven web project. under modules section web projects pom.xml specify directory if in same project. if not, you'll have add together dependency. you'll need grouping , artifact id of jar want add. can find pointers here.

an illustration project directory structure:

<modules> <module>the web part</module> <module>the backed part</module> </modules>

each different module sub module of master project.

this should help setting classpath. take @ this:

http://stackoverflow.com/questions/364114/can-i-add-jars-to-maven-2-build-classpath-without-installing-them

java hibernate maven import dependencies

No comments:

Post a Comment