Skip to content

Commit

Permalink
fix new mvn path
Browse files Browse the repository at this point in the history
  • Loading branch information
stockiNail committed Jan 27, 2024
1 parent 889e071 commit 546d388
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 44 deletions.
59 changes: 21 additions & 38 deletions .classpath
Original file line number Diff line number Diff line change
@@ -1,38 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<attribute name="test" value="true"/>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
<attributes>
<attribute name="test" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
<attribute name="module" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
20 changes: 14 additions & 6 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,26 +22,34 @@
CHARBA SHOWCASE - install new CHARBA LIB
-->
<target name="installCharba" description="Install new CHARBA lib">
<exec dir="." executable="cmd">
<arg line="/c mvn install:install-file -DgroupId=org.pepstock -Dfile=./lib/charba-6.4.jar -DartifactId=charba -Dversion=6.4 -Dpackaging=jar --no-transfer-progress"/>
<exec dir="." executable="mvn">
<arg value="install:install-file"/>
<arg value="-Dfile=./lib/charba-6.4.jar"/>
<arg value="-DgroupId=org.pepstock"/>
<arg value="-DartifactId=charba"/>
<arg value="-Dversion=6.4"/>
<arg value="-Dpackaging=jar"/>
<arg value="--no-transfer-progress"/>
</exec>
</target>

<!--
CHARBA SHOWCASE - MVN clean
-->
<target name="clean" description="MVN clean">
<exec dir="." executable="cmd">
<arg line="/c mvn clean --no-transfer-progress"/>
<exec dir="." executable="mvn">
<arg value="clean"/>
<arg value="--no-transfer-progress"/>
</exec>
</target>

<!--
CHARBA SHOWCASE - MVN install
-->
<target name="install" description="MVN install">
<exec dir="." executable="cmd">
<arg line="/c mvn install --no-transfer-progress"/>
<exec dir="." executable="mvn">
<arg value="install"/>
<arg value="--no-transfer-progress"/>
</exec>
</target>

Expand Down

0 comments on commit 546d388

Please sign in to comment.