[
https://issues.apache.org/jira/browse/MANT-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed MANT-71.
------------------------------
Resolution: Auto Closed
This issue has been auto closed because it has been inactive for a long period
of time. If you think this issue still applies, retest your problem with the
most recent version of Maven and the affected component, reopen and post your
results.
> Plugin not work with offline repository
> ---------------------------------------
>
> Key: MANT-71
> URL: https://issues.apache.org/jira/browse/MANT-71
> Project: Maven Ant Plugin
> Issue Type: Bug
> Affects Versions: 2.3
> Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
> Maven home: C:\sviluppo\apache-maven\bin\..
> Java version: 1.6.0_25, vendor: Sun Microsystems Inc.
> Java home: C:\sviluppo\Java\jdk1.6.0_25\jre
> Default locale: it_IT, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
> Reporter: luca preziati
> Attachments: patchJar.txt
>
>
> When I run the command mvn ant:ant -o on my project where I have a Jar
> Module, I got this line
> <target name="package" depends="compile,test" description="Package the
> application">
> <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
> compress="true"
> index="true"
> basedir="${maven.build.outputDir}"
> excludes="**/package.html">
> <manifest>
> <attribute name="Main-Class"/>
> </manifest>
> </jar>
> </target>
> which give error.
> If I remove the manifest tags all works well.
> My file not have main class because is a module for a webapp.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)