Skip to content

Invalid XML fix for pom #188

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 23 additions & 23 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,23 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<thredds.version>4.5.3</thredds.version>
</properties>


<distributionManagement>
<repository>
<id>asa-maven-releases</id>
<name>ASA Repo</name>
<url>>http://maven.asascience.com/maven/ncsos-releases</url>
<url>http://maven.asascience.com/maven/ncsos-releases</url>
</repository>
</distributionManagement>

<repositories>
<repository>
<id>asascience</id>
<name>asascience</name>
<url>http://maven.asascience.com/maven/thirdparty/</url>
</repository>

<repository>
<releases>
<enabled>true</enabled>
Expand Down Expand Up @@ -121,15 +121,15 @@
<groupId>json-taglib</groupId>
<artifactId>json-taglib</artifactId>
</exclusion>
</exclusions>
</exclusions>
</dependency>
<dependency>
<groupId>json-taglib</groupId>
<artifactId>json-taglib</artifactId>
<scope>runtime</scope>
</dependency>
</dependencies>

<build>
<resources>
<resource>
Expand Down Expand Up @@ -168,7 +168,7 @@
</includes>
</resource>
</resources>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -178,9 +178,9 @@
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>

</manifest>

</archive>
</configuration>
</plugin>
Expand All @@ -192,36 +192,36 @@
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<executions>

<execution>
<id>package></id>
<id>package></id>
<phase>package</phase>
<configuration>
<target>
<taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath" />

<copy file="Readme.md" todir="target/" />
<zip destfile="target/ncSOS-${project.version}.zip" basedir="target/" includes="*xml *.txt *.jar" />
<copy file="target/ncSOS-${project.version}.zip" todir="jar/" />
<copy file="target/ncSOS-${project.version}.zip" tofile="jar/ncSOS.zip" />

<!-- Put a path to Tomcat directory here to deploy on build -->
<!--<property name="tomcat.path" value="/srv/tomcat/apache-tomcat-7.0.47" />-->
<property name="tomcat.path" value="" />
<if>
<if>
<and>
<isreference refid="tomcat.path" />
<not>
<equals arg1="${tomcat.path}" arg2="" />
</not>
</not>
</and>
<then>
<copy file="target/ncsos-${project.version}.jar" todir="${tomcat.path}/webapps/thredds/WEB-INF/lib/" />
<copy file="target/ncsos-${project.version}.jar" todir="${tomcat.path}/webapps/thredds/WEB-INF/lib/" />
<exec executable="${tomcat.path}/bin/shutdown.sh" />
<exec executable="${tomcat.path}/bin/startup.sh" />
</then>
Expand Down Expand Up @@ -259,13 +259,13 @@
</plugin>
</plugins>
</build>

<scm>
<connection>scm:git:git://github.com/asascience-open/ncSOS.git</connection>
<developerConnection>scm:git:git://github.com/asascience-open/ncSOS.git</developerConnection>
<url>git://github.com/asascience-open/ncSOS.git</url>
</scm>

<reporting>
<plugins>
<plugin>
Expand All @@ -276,8 +276,8 @@
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugin>
</plugins>
</reporting>
</reporting>

</project>