Child pages
  • dojo.compressor-maven-plugin

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated pom.xml snippets to 0.3.1, which does not require the pluginManagement stuff any more

...

Code Block
  <build>
    <plugins>
	  <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <extensions>true</extensions>
        <configuration>
          <remoteOBR>clazzes.org-dojo-dist</remoteOBR>
          <prefixUrl>http://maven.clazzes.org</prefixUrl>
          <instructions>
            <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
            <Private-Package>
                ....
            </Private-Package>
            <Import-Package>*</Import-Package>
            <X-Dojo-Package>${xDojoPackage}</X-Dojo-Package>
          </instructions>
        </configuration>
      </plugin>
      <plugin>
       <groupId>org.clazzes.dojo</groupId>
       <artifactId>dojo-compressor-maven-plugin</artifactId>
       <version>0.23.0<1</version>
       <executions>
         <execution>
           <phase>generate-resources</phase>
           <configuration>
             <entryPointsToAssemble>dcm-web\.js</entryPointsToAssemble>
             <xDojoPackage>${xDojoPackage}</xDojoPackage>
      	     <munge>true</munge>
      	     <addNorefHack>true</addNorefHack>
           </configuration>
           <goals>
             <goal>compress</goal>
           </goals>
         </execution>
       </executions>
      </plugin>
    </plugins>
    <pluginManagement>
    	<plugins>
    		<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
    		<plugin>
    			<groupId>org.eclipse.m2e</groupId>
    			<artifactId>lifecycle-mapping</artifactId>
    			<version>1.0.0</version>
    			<configuration>
    				<lifecycleMappingMetadata>
    					<pluginExecutions>
    						<pluginExecution>
    							<pluginExecutionFilter>
    								<groupId>org.clazzes.dojo</groupId>
    								<artifactId>
    									dojo-compressor-maven-plugin
    								</artifactId>
    								<versionRange>
    									[0.2.0,)
  
 								</versionRange>     								<goals>
    									<goal>compress</goal>
    								</goals>
    							</pluginExecutionFilter>
    							<action>
    								<ignore></ignore>
    							</action>
    						</pluginExecution>
    					</pluginExecutions>
    				</lifecycleMappingMetadata>
    			</configuration>
    		</plugin>
    	</plugins>
    </pluginManagement>
  </build>