I have created maven project in interactive mode using
mvn archetype:generate
used Quick one. It creates default App.java I just modified the class as follows
String greeting;
public App(String msg)
{
greeting = msg;
}
public String getMessage()
{
return greeting;
}
And mvn compile
and then mvn eclipse:eclipse
and imported maven project as follows file->new->maven->existing maven project->selected sample
sample contains the project.
But local has target directory with classes but eclipse has empty target directory. I just tried alt+f5
It has src
folder, maven dependencies
and empty target
Why target is empty here?
Any suggestions?