"no main manifest attribute" и Maven

При попытке выполнения jar собранного с помошью maven, я столкнулся со следующей проблемой:

no main manifest attribute

Для решения этой проблемы нужно указать класс для выполнения. Как мы уже знаем, что в maven всё делается через плагины, вот пример моего pom.xml:

 

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <groupId>ru.devhead</groupId>
  <artifactId>SuperApp</artifactId>
  <version>1.0-SNAPSHOT</version>
  <packaging>jar</packaging>

  <name>SuperApp</name>
  <url>http://maven.apache.org</url>

  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>

  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.10</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  
   <build>
   <plugins>
   <plugin>
    <!-- Build an executable JAR -->
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-jar-plugin</artifactId>
    <configuration>
    <archive>
      <manifest>
      <addClasspath>true</addClasspath>
      <classpathPrefix>lib/</classpathPrefix>
          <mainClass>ru.devhead.superapp.App</mainClass>
      </manifest>
    </archive>
     </configuration>
    </plugin>
    </plugins>
    </build>

</project>

 

Теги: , ,

Дата: 19 августа 2012

Автор: Аноним

Комментарии: 7

Комментарии: 7

  1. Best Adult Toys and Sex Toys for your Healthy Life! Sex Toys, Dildos, Vibrators, Sex Dolls, and Many More

    When you want to shop erotic toys, AdulToySex.com has it all. Whether male or female, straight or gay, and anywhere in between, we have the adult toys and movies you’re looking for.

    We also provided FREE SHIPPING WORLDWIDE without minimum orders!

    http://www.AdulToySex.com/

  2. [url=http://essaywritingserviceus.com]essay writing website[/url]
    buy a paper online http://essaywritingserviceus.com

  3. ou acheter cialis 20|enter site canadian rx cialis|para conseguir cialis|just try natural cialis pills|online cialis in canada|cialis generique vrai ou fau|red cialis 600 mg|ou acheter cialis forum|cialis kaufen ohne kreditkarte|comprar cialis jelly original|generic cialis brazil|ebay generic cialis|costco pharmacy cialis cost|only today super cialis|only here cialis 5 mg buy|cialis eye problems|cialis 20 mg o levitra|cialis 5 mg vendita online|cialis generic means|costo de la pastilla cialis|cialis instrucciones|wow look it cheap cialis uk|india cheapest cialis|cialis pr|cialis cheap on line|comprar cialis recoger correos|recherche cialis generique|cialis generico line italia|cialis with dapoxetine generic|e20 cialis|cialis wirkt nicht meh|cialis daily pill dosage|price of cialis at cvs|cialispillen ohne vorschrift|cialis suisse 100 mg|buy authentic cialis order|cialis ireland|cialis tv commercial 2011|cialis secure online purchase|cialis duree de vie|buying cialis in bulk|best fda cialis online|dosage for cialis daily use|cialis experience bodybuilding|kpa cialis sverige|cialis dosage 10 mg or 20 mg|cialis for sale in us view|generic cialis uk safety|cialis rezeptfrei europa|legal to buy brand cialis|generic cialis by cipla pharma|click here what is cialis|reliable cialis online|cialis en ecuador|cialis achat ligne|cialis mit rezept bestellen|levitra vs cialis australia|achat cialis par internet|wow cialis england|online cialis soft|cialis online nabp|cialis precio farmacia|taking cialis and alcohol|manufacturer of cialis|very good site uk cialis|uk cialis|cost cialis does much|brand cialis perth australia|cialis 10mg tadalafil|cialis super active online usa|cialis soft australia price|donde comprar cialis neuquen|cialis 5mg in half|cialis baratos en lnea|vente cialis lign|cialis 20 mg comprimes filmes|ventas de cialis estonia|cialis generico yahoo|to take mg cialis when|cialis sin receta en argentina|cialis daily dose purchase|cialis i migliori|pldoras cialis suaves|we use it professional cialis|buy prescription cialis online|cialis order on line|cialis dosage options 2010|cialis one a da|try it cialis from canada|cialisprofessional online|try it cialis overnight|discount cialis pills|il cialis e mutuabil|venta cialis sin receta|cialis doctissimo|cialis achat pas cher|cialis 40 mg europe|cialis europ|look there get cialis online|link for you cialis vs levitra|buy cheap cialis no rx|just try cialis generic india|cialis 5mg side|pastilla cialis uso|cialis 20 efectos secundarios|only now cheap 25mg cialis|buy cheap cialis black online|cialis stripes kaufen|what cost cialis in india|just try cialis|click now next day cialis|cialis levitra preis|canada cialis pills|cialis pills canadian|cialis 5 costo|cialis per bankeinzug|generic walmart cialis|how much cialis tadalafil 20mg|on cialis prices|che cose cialis generico|buy cialis online in montreal|costo del cialis generico|precio de costo de cialis|cialis masticable|venta de cialis 20|cialis bestellung|acheter du cialis en thailande|cheap pharmacy cialis price|cialis generico forocoches|costco pharmacy cialis|order cialis sublingual online|active reviews cialis|cost cialis cvs|buy cialis in port elizabeth|cialis generic rx pharmacy|the best choice cialis generic|super cialis sale|cialis generico bogota|average price of cialis 20mg|ordina cialis|much cialis canada|cialis superactiveplus|cialis buy phone|comprar cialis generico 5 mg|cialis vente ligne|cialis tadalafil deutschland|cialis sold canada|cialis 50 online|money order for cialis|long cialis side effects term|cialis professional 10 mg cost|cialis zaragoz|order generic cialis order|cialis johanniskraut|cialis natural|safe places to buy cialis|online cialis side effects|buy cialis cipla best price|cialis 20mg meinungen|where buy cialis in new york|cialis dosierun|price mg canada cialis|acquisto cialis ne|lo que es cialis genrico|we use it buy canada in cialis|cialis line on|cialis 5mg online uk|cialis generic 5mg daily use|tabletas de cialis de 20 mg|buying cialis in durban|cialis jelly pharmacy order|ed pills cialis buy now|pack sample cialis|lily lcos cialis online|forum cialis prise quotidienne|maximum daily dose cialis|wow look it real cialis|cheap canadian pharmacy cialis|cialis einnahme|can you get cialis|buy canada in cialis|pasticche cialis|cheap cialis 20mg pills us|cialis kaufen shop|cialis erfahrung forum|real cialis online canada|cheapest and best cialis|anyone in uk buy cialis|lowest price on cialis 20 mg|wow look it get cialis|cialis online uk|daily use generic cialis 5mg|wow look it cialis cheap|click now cialis pfizer canada|what does cialis daily cost|just try budget cialis|boutique prix du cialis|cialis costa troppo|effetti cialis e cocaina|comprar cialis generic|cialis generique prxshopcom|pastilla cialis preci|venta de cialis por internet|price daily cialis|cialis pills sale|generic cialis japan|mail order cialis|buy cheap cialis 20mg|click here buy cialis on line|cialis precio espaa|cheapest cialis sale|get cialis uk|cialis 20 mg online purchase|ever taken cialis with levitra|order cialis 10mg 20 tabs|cialis generico preco rj|vendo cialis lima peru|cialis rezeptfrei generika|cialis prix conseill|cialis daily use side effects|generic cialis from mubai|cialis mdicament|cialis pharmacie internet|cialis tadalafil 100mg uk|20 mg cialis baratos en uk|only now cialis mexico|precios cialis baratos|cialis daily use cheaper|20mg cialis dosage interval|where do i buy cialis|cialis generika 20 mg|cialis torrinomedic|cialis 5 mg a cosa serve|cialis professional generic|kaiser price for cialis|cialis 5mg precio en mexico|kaiser permanente cialis cost|cialis a achete|online cialis super active|we like it overnight cialis|cost of cialis at wall mart|vente de cialise|super active cialis cheap|the best site overnight cialis|cialis every day generic|buy cialis cannada|cialis on sale online mexico|50mg cialis for sale|can u buy cialis is pakistan|20 mg cialis effects

    [url=http://cialisusser.com/]generic cialis,cialis online,cialis,buy cialis,generic cialis online,generic cialis,cialis cheap,cialis online,buy cialis,cialis[/url]
    generic cialis,cialis online,cialis,buy cialis,generic cialis online,generic cialis,cialis cheap,cialis online,buy cialis,cialis

    ou acheter cialis 20|enter site canadian rx cialis|para conseguir cialis|just try natural cialis pills|online cialis in canada|cialis generique vrai ou fau|red cialis 600 mg|ou acheter cialis forum|cialis kaufen ohne kreditkarte|comprar cialis jelly original|generic cialis brazil|ebay generic cialis|costco pharmacy cialis cost|only today super cialis|only here cialis 5 mg buy|cialis eye problems|cialis 20 mg o levitra|cialis 5 mg vendita online|cialis generic means|costo de la pastilla cialis|cialis instrucciones|wow look it cheap cialis uk|india cheapest cialis|cialis pr|cialis cheap on line|comprar cialis recoger correos|recherche cialis generique|cialis generico line italia|cialis with dapoxetine generic|e20 cialis|cialis wirkt nicht meh|cialis daily pill dosage|price of cialis at cvs|cialispillen ohne vorschrift|cialis suisse 100 mg|buy authentic cialis order|cialis ireland|cialis tv commercial 2011|cialis secure online purchase|cialis duree de vie|buying cialis in bulk|best fda cialis online|dosage for cialis daily use|cialis experience bodybuilding|kpa cialis sverige|cialis dosage 10 mg or 20 mg|cialis for sale in us view|generic cialis uk safety|cialis rezeptfrei europa|legal to buy brand cialis|generic cialis by cipla pharma|click here what is cialis|reliable cialis online|cialis en ecuador|cialis achat ligne|cialis mit rezept bestellen|levitra vs cialis australia|achat cialis par internet|wow cialis england|online cialis soft|cialis online nabp|cialis precio farmacia|taking cialis and alcohol|manufacturer of cialis|very good site uk cialis|uk cialis|cost cialis does much|brand cialis perth australia|cialis 10mg tadalafil|cialis super active online usa|cialis soft australia price|donde comprar cialis neuquen|cialis 5mg in half|cialis baratos en lnea|vente cialis lign|cialis 20 mg comprimes filmes|ventas de cialis estonia|cialis generico yahoo|to take mg cialis when|cialis sin receta en argentina|cialis daily dose purchase|cialis i migliori|pldoras cialis suaves|we use it professional cialis|buy prescription cialis online|cialis order on line|cialis dosage options 2010|cialis one a da|try it cialis from canada|cialisprofessional online|try it cialis overnight|discount cialis pills|il cialis e mutuabil|venta cialis sin receta|cialis doctissimo|cialis achat pas cher|cialis 40 mg europe|cialis europ|look there get cialis online|link for you cialis vs levitra|buy cheap cialis no rx|just try cialis generic india|cialis 5mg side|pastilla cialis uso|cialis 20 efectos secundarios|only now cheap 25mg cialis|buy cheap cialis black online|cialis stripes kaufen|what cost cialis in india|just try cialis|click now next day cialis|cialis levitra preis|canada cialis pills|cialis pills canadian|cialis 5 costo|cialis per bankeinzug|generic walmart cialis|how much cialis tadalafil 20mg|on cialis prices|che cose cialis generico|buy cialis online in montreal|costo del cialis generico|precio de costo de cialis|cialis masticable|venta de cialis 20|cialis bestellung|acheter du cialis en thailande|cheap pharmacy cialis price|cialis generico forocoches|costco pharmacy cialis|order cialis sublingual online|active reviews cialis|cost cialis cvs|buy cialis in port elizabeth|cialis generic rx pharmacy|the best choice cialis generic|super cialis sale|cialis generico bogota|average price of cialis 20mg|ordina cialis|much cialis canada|cialis superactiveplus|cialis buy phone|comprar cialis generico 5 mg|cialis vente ligne|cialis tadalafil deutschland|cialis sold canada|cialis 50 online|money order for cialis|long cialis side effects term|cialis professional 10 mg cost|cialis zaragoz|order generic cialis order|cialis johanniskraut|cialis natural|safe places to buy cialis|online cialis side effects|buy cialis cipla best price|cialis 20mg meinungen|where buy cialis in new york|cialis dosierun|price mg canada cialis|acquisto cialis ne|lo que es cialis genrico|we use it buy canada in cialis|cialis line on|cialis 5mg online uk|cialis generic 5mg daily use|tabletas de cialis de 20 mg|buying cialis in durban|cialis jelly pharmacy order|ed pills cialis buy now|pack sample cialis|lily lcos cialis online|forum cialis prise quotidienne|maximum daily dose cialis|wow look it real cialis|cheap canadian pharmacy cialis|cialis einnahme|can you get cialis|buy canada in cialis|pasticche cialis|cheap cialis 20mg pills us|cialis kaufen shop|cialis erfahrung forum|real cialis online canada|cheapest and best cialis|anyone in uk buy cialis|lowest price on cialis 20 mg|wow look it get cialis|cialis online uk|daily use generic cialis 5mg|wow look it cialis cheap|click now cialis pfizer canada|what does cialis daily cost|just try budget cialis|boutique prix du cialis|cialis costa troppo|effetti cialis e cocaina|comprar cialis generic|cialis generique prxshopcom|pastilla cialis preci|venta de cialis por internet|price daily cialis|cialis pills sale|generic cialis japan|mail order cialis|buy cheap cialis 20mg|click here buy cialis on line|cialis precio espaa|cheapest cialis sale|get cialis uk|cialis 20 mg online purchase|ever taken cialis with levitra|order cialis 10mg 20 tabs|cialis generico preco rj|vendo cialis lima peru|cialis rezeptfrei generika|cialis prix conseill|cialis daily use side effects|generic cialis from mubai|cialis mdicament|cialis pharmacie internet|cialis tadalafil 100mg uk|20 mg cialis baratos en uk|only now cialis mexico|precios cialis baratos|cialis daily use cheaper|20mg cialis dosage interval|where do i buy cialis|cialis generika 20 mg|cialis torrinomedic|cialis 5 mg a cosa serve|cialis professional generic|kaiser price for cialis|cialis 5mg precio en mexico|kaiser permanente cialis cost|cialis a achete|online cialis super active|we like it overnight cialis|cost of cialis at wall mart|vente de cialise|super active cialis cheap|the best site overnight cialis|cialis every day generic|buy cialis cannada|cialis on sale online mexico|50mg cialis for sale|can u buy cialis is pakistan|20 mg cialis effects

Оставить комментарий

*

Комментарий:

Ваш e-mail не будет опубликован.
Обязательные поля помечены *

Разрешенные HTML теги:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>