From 10675cb9396967409e2943268288271f9bb2851c Mon Sep 17 00:00:00 2001 From: Justin Calleja Date: Thu, 29 Oct 2015 10:00:08 +0000 Subject: [PATCH] Added source and javadoc plugins to maven build --- README.md | 7 +++ pom.xml | 133 +++++++++++++++++++++++++++++++++--------------------- 2 files changed, 89 insertions(+), 51 deletions(-) diff --git a/README.md b/README.md index faeff47..3b420dd 100644 --- a/README.md +++ b/README.md @@ -26,3 +26,10 @@ and the following dependency (where the version is a release tag - or a short co You can go [here](https://jitpack.io/#Ricston/mule-object-store-jdbc) for logs when this project is built on JitPack's servers. See [JitPack](https://jitpack.io/) for more information. + +# Installing sources locally + +To install the source code in your local repo, checkout this project and run: `mvn install` on it. If Studio does not pick up the sources, you can right click the jar under "Referenced Libraries" in "Package Explorer" view, click "Properties", use M2_REPO as a variable in "Location variable path", and then choose the sources jar from the "Extension" button (they should be visible in the UI element in "Extension" if the sources were installed properly). + +If this doesn't work, you might want to try "Build Path" -> "Configure Build Path" and try the same thing from there... + diff --git a/pom.xml b/pom.xml index 9a26a9c..f4dbacd 100644 --- a/pom.xml +++ b/pom.xml @@ -1,59 +1,90 @@ - 4.0.0 + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 - com.github.Ricston - mule-object-store-jdbc - 0.1.0 - jar + com.github.Ricston + mule-object-store-jdbc + 0.1.1 + jar - mule-object-store-jdbc - http://maven.apache.org + mule-object-store-jdbc + http://maven.apache.org - - UTF-8 - 3.5.0 - 1.7 - 1.7 - + + UTF-8 + 3.5.0 + 1.7 + 1.7 + - - - org.mule.transports - mule-transport-jdbc + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.4 + + + attach-javadocs + + jar + + + + + + org.apache.maven.plugins + maven-source-plugin + 2.4 + + + attach-sources + + jar + + + + + + + + + + org.mule.transports + mule-transport-jdbc ${mule.version} - - - junit - junit - 3.8.1 - test - - + + + junit + junit + 3.8.1 + test + + - - - Central - Central - http://repo1.maven.org/maven2/ - default - - - mulesoft-releases - MuleSoft Releases Repository - http://repository.mulesoft.org/releases/ - default - - - mulesoft-snapshots - MuleSoft Snapshots Repository - http://repository.mulesoft.org/snapshots/ - default - - - muleforge-releases - MuleForge Snapshot Repository - https://repository-master.mulesoft.org/nexus/content/repositories/releases/ - - + + + Central + Central + http://repo1.maven.org/maven2/ + default + + + mulesoft-releases + MuleSoft Releases Repository + http://repository.mulesoft.org/releases/ + default + + + mulesoft-snapshots + MuleSoft Snapshots Repository + http://repository.mulesoft.org/snapshots/ + default + + + muleforge-releases + MuleForge Snapshot Repository + https://repository-master.mulesoft.org/nexus/content/repositories/releases/ + +