the plexus container issue is still not resolved... the steps i followed - 1. unzip maven 2. set the JAVA_HOME variable to the JDK 3. set the PATH variable to the maven's bin 4. execute mvn --version, to see the version which is in use 5. create a project - mvn archetype:create -DgroupId=com.demo.app -DartifactId=my-app
At this step, i get an error - The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be found.
I downloaded archetype plugin explicitly....now the error says - plexus container not found in the plugin. I even downloaded plexus container jars. Still the error exist. I am connected to the internet for maven to download plugins during run time for all the operations.
1. where does the local repository get created once maven is installed? 2. The directory structure like src,main,target etc... do they get created automatically. i mean where are the artifacts placed? do we have to create the structure explicitly? 3. how to customize the settings.xml n how to run a sample project on maven?
I have two lists contaning objects of similar type. How do we compare two lists , in other words, how do we see see if a particular object present in one list is present in the other list also?
Thanks for tht API. But I guess objects are printable. For eg in the above mentioned code, the object "rect" is printed. My understanding was we have to import awt.print and implement printable. I agree that the user cannot give acommand to print the object directly. That job is done by the Printable object (If I have understood it right).