Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
fixes manifest and package class
Browse files Browse the repository at this point in the history
  • Loading branch information
dralagen committed Mar 30, 2015
1 parent 0855be2 commit 4d818df
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 32 deletions.
103 changes: 72 additions & 31 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>org.dralagen</groupId>
<groupId>fr.dralagen</groupId>
<artifactId>csv2xml</artifactId>
<version>0.1</version>
<version>0.1.1</version>
<packaging>jar</packaging>

<name>csv2xml</name>
<description>A parser csv file to xml file</description>
<url>https://github.com/dralagen/csv2xml</url>

<licenses>
<license>
Expand All @@ -36,16 +35,14 @@
<url>https://github.com/dralagen/csv2xml</url>
</scm>

<properties>
<!-- github server corresponds to entry in ~/.m2/settings.xml -->
<github.global.server>github</github.global.server>
</properties>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>internal.repo</id>
<name>Temporary Staging Repository</name>
<url>file://${project.build.directory}/mvn-repo</url>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

Expand All @@ -57,7 +54,7 @@
<configuration>
<archive>
<manifest>
<mainClass>org.dralagen.Csv2xml</mainClass>
<mainClass>fr.dralagen.Csv2xml</mainClass>
<addClasspath>true</addClasspath>
</manifest>
</archive>
Expand All @@ -81,35 +78,79 @@
</plugin>

<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.1</version>
<configuration>
<altDeploymentRepository>internal.repo::default::file://${project.build.directory}/mvn-repo</altDeploymentRepository>
</configuration>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
<version>0.10</version>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.3</version>
<extensions>true</extensions>
<configuration>
<message>Add maven artifact : ${project.version}</message>
<merge>true</merge>
<outputDirectory>${project.build.directory}/mvn-repo</outputDirectory>
<branch>refs/heads/master</branch>
<includes><include>**/*</include></includes>
<repositoryName>maven-repo</repositoryName>
<repositoryOwner>dralagen</repositoryOwner>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>site</goal>
<goal>sign</goal>
</goals>
<phase>deploy</phase>
</execution>
</executions>
</plugin>

<!--
mvn jgitflow:release-start
mvn jgitflow:release-finish
-->
<plugin>
<groupId>external.atlassian.jgitflow</groupId>
<artifactId>jgitflow-maven-plugin</artifactId>
<version>1.0-m4.3</version>
<configuration>
<flowInitContext>
<masterBranchName>master</masterBranchName>
<developBranchName>develop</developBranchName>
<versionTagPrefix />
</flowInitContext>
<autoVersionSubmodules>true</autoVersionSubmodules>
<pushReleases>false</pushReleases>
<allowUntracked>true</allowUntracked>
</configuration>
</plugin>

</plugins>
</build>
</project>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.dralagen;
package fr.dralagen;

/*
* csv2xml
Expand Down

0 comments on commit 4d818df

Please sign in to comment.