maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Whitford <anth...@whitford.com>
Subject Re: Problem in building a thin sbar/jar deploy
Date Wed, 22 May 2019 14:20:44 GMT
Is an sbar file a zip file like a jar is a zip file?
If so, I’d compare the contents and see what is different.

I’ve had success using WinMerge to quickly compare:  http://winmerge.org/


> On May 22, 2019, at 5:21 AM, Tor Sannes <tor.sannes@avancemetering.com> wrote:
> 
> Hello:
> 
> I am working on moving the Jenkins/Maven build environment from a Linux based platform
to a Windows based platform, and everything is more or less working, except that the resulting
sbar file is approx. 200 MB, while the wanted size (from old environment) is about 65 kB!
> I have searched for building hints everywhere, and also compared the two installations,
but can't identify a solution to my problem :(
> 
> Thx, for any help/suggestions!
> 
> Best Regards,
> Tor Sannes
> 
> The pom.xml of the sbar file looks like this:
> <?xml version="1.0" encoding="UTF-8"?>
> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>    <modelVersion>4.0.0</modelVersion>
>    <parent>
>        <groupId>com.oracle.servicebus</groupId>
>        <artifactId>sbar-project-common</artifactId>
>        <version>12.1.3-0-0</version>
>    </parent>
>    <groupId>SSYS</groupId>
>    <artifactId>EventResponse</artifactId>
>    <version>1.0-SNAPSHOT</version>
>    <packaging>sbar</packaging>
>    <description/>
> </project>
> 
> And the central Maven settings.xml looks like this:
> <?xml version="1.0" encoding="UTF-8"?>
> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
>          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
>  <pluginGroups>
>  </pluginGroups>
>  <proxies>
>  </proxies>
>  <servers>
>    <server>
>      <username>admin</username>
>      <password>????</password>
>      <id>internal</id>
>    </server>
>    <server>
>      <username>admin</username>
>      <password>????</password>
>      <id>test</id>
>    </server>
>  </servers>
>  <mirrors>
>    <mirror>
>      <mirrorOf>*</mirrorOf>
>      <name>Internal nexus Mirror of Central</name>
>      <url>http://localhost:8081/repository/maven-public/</url>
>      <id>central</id>
>    </mirror>
>  </mirrors>
>  <profiles>
>    <profile>
>      <id>nexus</id>
>                  <properties>
>                               <oracleHome>C:\Oracle\Middleware\Oracle_Home\</oracleHome>
>                  </properties>
>      <repositories>
>        <repository>
>          <snapshots>
>            <enabled>false</enabled>
>          </snapshots>
>          <id>internal</id>
>          <name>internal</name>
>          <url>http://localhost:8081/nexus/content/repositories/thirdparty</url>
>        </repository>
>        <repository>
>          <snapshots>
>            <enabled>false</enabled>
>          </snapshots>
>          <id>test</id>
>          <name>test</name>
>          <url>http://localhost:8081/nexus/content/repositories/test</url>
>        </repository>
>        <repository>
>          <snapshots>
>            <enabled>false</enabled>
>          </snapshots>
>          <id>maven-public</id>
>                                 <name>maven-public</name>
>          <url>http://localhost:8081/repository/maven-public/</url>
>        </repository>
>      </repositories>
>    </profile>
>                <profile>
>                  <id>oracle-maven</id>
>      <properties>
>        <testOnly>false</testOnly>
>        <failOnError>false</failOnError>
>        <serverId>internal</serverId>
>        <overwriteParent>true</overwriteParent>
>        <oracleHome>C:\Oracle\Middleware\Oracle_Home\</oracleHome>
>      </properties>
>                </profile>
>  </profiles>
>  <activeProfiles>
>    <activeProfile>nexus</activeProfile>
>    <activeProfile>oracle-maven</activeProfile>
>  </activeProfiles>
> </settings>

Mime
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message