How do I install a test-jar in maven?

You don’t need to install them manually. Maven will do this for you when executing: mvn clean install You need a configuration along the lines of: … <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>2.2</version> <executions> <execution> <goals> <goal>test-jar</goal> </goals> </execution> </executions> </plugin> </plugins> </build> … Then, later on in your other module where you’ll need to … Read more

Missing artifact com.oracle:ojdbc6:jar:11.2.0 in pom.xml

Due to Oracle license restriction, there are no public repositories that provide ojdbc jar. You need to download it and install in your local repository. Get jar from Oracle and install it in your local maven repository using mvn install:install-file -Dfile={path/to/your/ojdbc.jar} -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0 -Dpackaging=jar If you are using ojdbc7, here is the link

What does the parent tag in Maven pom represent?

Yes, maven reads the parent POM from your local repository (or proxies like nexus) and creates an ‘effective POM’ by merging the information from parent and module POM. See also Introduction to the POM One reason to use a parent is that you have a central place to store information about versions of artifacts, compiler-settings … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)