Daniel IT Blog
Tips & tricks around Java, SOA, Jcaps, Oracle, Flex and Co.
Friday, 19 July 2019
Verify SSL certificate chain
openssl s_client -showcerts -connect server.company.ch:443 -servername server.company.ch
Monday, 24 April 2017
Maven plugin
- Define one mojo per plugin goal
- Include components.xml to define a lifecycle
- Use defaults in mojo
- Add a parent POM for common configuration
- Define main artifact with:
@Parameter(defaultValue = "${project}", readonly = true, required = true)
private MavenProject project;...project.getArtifact().setFile(xyz);
... - Add the following in components.xml:<component><role>org.codehaus.plexus.
archiver.UnArchiver</role> <role-hint>xyz</role-hint><implementation>org.codehaus.plexus.archiver.zip. ZipUnArchiver</implementation> <instantiation-strategy>per-lookup</instantiation-strategy > </component> - Add the following (plugin level!) dependency in projects using unpack-dependencies:<plugin><groupId>org.apache.maven.
plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>2.9</version><dependencies><dependency><groupId>com.mycompany.myteam</groupId> <artifactId>xyz-maven-plugin</artifactId> <version>1.0.0-SNAPSHOT</version> </dependency></dependencies></plugin>
Tuesday, 14 February 2017
Subscribe to:
Posts (Atom)